:root{
  --bg:#0b0f14; --bg2:#0f141b; --panel:#141a22; --panel2:#171f29; --line:#253142;
  --text:#f7f2eb; --muted:#aab4c3; --pink:#f3afc1; --pink2:#ffbfd0; --gold:#ddb97b; --green:#8be2bd;
  --radius:20px; --radius-sm:14px; --shadow:0 16px 55px rgba(0,0,0,.33); --shadow-soft:0 8px 30px rgba(0,0,0,.22);
  --container:min(1440px, calc(100% - 32px)); --header-h:90px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at top, #132035 0%, #0c1118 30%, #090c11 100%);color:var(--text);font:16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;min-height:100vh}
a{color:inherit;text-decoration:none} button,input,select,textarea{font:inherit} img{display:block;max-width:100%}
.hidden{display:none !important} .sr-only{position:absolute;left:-9999px}
.container{width:var(--container);margin-inline:auto} .page{padding-top:calc(var(--header-h) + 24px);padding-bottom:56px}
.muted{color:var(--muted)} .accent{color:var(--pink)} .gold{color:var(--gold)}
.icon-btn, .btn{border:1px solid var(--line);background:rgba(20,26,34,.88);color:var(--text);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 18px;cursor:pointer;transition:.2s transform,.2s background,.2s border-color,.2s opacity;box-shadow:none}
.icon-btn{width:44px;padding:0}
.btn:hover,.icon-btn:hover{transform:translateY(-1px);border-color:#465166;background:#1b2430}
.btn.primary{background:linear-gradient(180deg,var(--pink2),var(--pink));color:#241317;border-color:#f0b1c3;font-weight:700}
.btn.outline-gold{border-color:var(--gold)} .btn.small{min-height:38px;padding:0 14px;font-size:14px}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
#app-header{position:fixed;top:0;left:0;right:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(16px);background:rgba(8,11,15,.78)}
.header-inner{min-height:var(--header-h);display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:18px}
.logo{display:flex;align-items:center;gap:14px;min-width:0} .logo-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;border:1px solid #3b4557;background:linear-gradient(180deg,rgba(242,184,198,.09),rgba(221,185,123,.05))}
.logo-mark svg{width:28px;height:28px} .brand-word{font:700 clamp(26px,2.4vw,40px)/1.02 Georgia,serif;color:#e6c184;letter-spacing:.2px}
.brand-tag{font-size:11px;letter-spacing:5px;text-transform:uppercase;color:#efe4cf;margin-top:5px;white-space:nowrap}
.top-nav{display:flex;align-items:center;gap:24px} .top-nav a{font-size:15px;color:#ece7de;padding:10px 0;position:relative;white-space:nowrap} .top-nav a.active::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:3px;border-radius:999px;background:var(--pink)}
.header-search{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.09);background:rgba(20,26,34,.92);border-radius:999px;padding:6px 12px 6px 14px;min-height:48px;min-width:0;width:100%}
.header-search input{flex:1;background:transparent;border:none;outline:none;color:var(--text);min-width:0}
.header-actions{display:flex;align-items:center;gap:12px} .count-dot{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;border-radius:999px;padding:0 4px;background:#ff5e74;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;border:2px solid #0b0f14}
.rel{position:relative} .menu-btn{display:none}
.hero{background:linear-gradient(180deg,rgba(18,24,33,.96),rgba(11,16,23,.96));border:1px solid rgba(255,255,255,.08);border-radius:28px;overflow:hidden;box-shadow:var(--shadow);margin-top:8px}
.hero-grid{display:grid;grid-template-columns:minmax(320px, 1.02fr) minmax(380px, 1.28fr);align-items:stretch}
.hero-copy{padding:42px 34px 30px;display:flex;flex-direction:column;gap:18px;justify-content:center}
.hero-kicker{font-size:14px;letter-spacing:4px;text-transform:uppercase;color:#ebc88d;font-weight:700}
.hero h1{font:700 clamp(48px,5vw,84px)/.95 Georgia,serif;margin:0;color:#fff}
.hero h1 .accent{font-style:italic;color:var(--pink)} .hero p{font-size:clamp(16px,1.45vw,21px);color:#d4d9e2;max-width:36ch;margin:0}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-perks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:6px}
.perk{display:flex;gap:12px;align-items:center;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02);border-radius:18px;padding:14px 14px} .perk strong{display:block;font-size:15px} .perk span{display:block;font-size:13px;color:var(--muted)}
.hero-art{position:relative;padding:14px 14px 14px 0;display:flex;align-items:center}
.hero-stage{width:100%;height:100%;border-radius:24px;overflow:hidden;position:relative;background:linear-gradient(180deg,#121925,#101823);display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.08)}
.hero-stage img{width:100%;height:auto;object-fit:contain} .hero-overlay{position:absolute;right:24px;bottom:24px;display:grid;gap:12px;max-width:250px}
.hero-bubble{background:rgba(12,16,22,.8);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px);border-radius:20px;padding:16px;color:#fff;box-shadow:var(--shadow-soft)}
.hero-bubble h3{margin:0 0 8px;font:700 15px/1.2 Inter, sans-serif;color:#ffc7d6} .hero-bubble ul{margin:0;padding-left:18px;color:#e8e0d7;font-size:14px}
.game-cats{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin:18px 0 8px} .cat-btn{min-height:56px;padding:14px;border-radius:18px;background:rgba(20,26,34,.78);border:1px solid rgba(255,255,255,.07);display:flex;align-items:center;justify-content:center;text-align:center;color:#e6e8eb;cursor:pointer} .cat-btn.active{border-color:#f1adc1;background:rgba(242,184,198,.08);color:#fff;box-shadow:0 0 0 1px rgba(242,184,198,.25) inset}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:26px 0 14px} .section-head h2{font:700 clamp(28px,3vw,48px)/1.02 Georgia,serif;margin:0;display:flex;align-items:center;gap:10px} .section-head p{margin:4px 0 0;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px} .card{background:linear-gradient(180deg,rgba(18,24,33,.96),rgba(12,16,22,.96));border:1px solid rgba(255,255,255,.08);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-soft);min-width:0}
.card-media{aspect-ratio:668/384;position:relative;background:#11161f} .card-media img{width:100%;height:100%;object-fit:cover;image-rendering:auto;filter:none} .fav-btn{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(9,12,17,.7);backdrop-filter:blur(8px);display:grid;place-items:center;cursor:pointer}
.card-body{padding:14px;display:flex;flex-direction:column;gap:10px;flex:1} .eyebrow{font-size:12px;color:#9fb0ca;text-transform:uppercase;letter-spacing:.6px} .card-title{font-weight:700;font-size:21px;line-height:1.15;margin:0} .card-copy{margin:0;color:var(--muted);font-size:14px;min-height:42px}
.card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#dbe2ef} .price{display:inline-flex;align-items:center;gap:8px;font-weight:700;padding:6px 10px;border-radius:12px;background:rgba(242,184,198,.12);color:#ffe7ed;border:1px solid rgba(242,184,198,.3)} .price.free{background:rgba(139,226,189,.12);border-color:rgba(139,226,189,.25);color:#ddfff1}
.card-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin-top:auto} .card-actions .btn{min-height:40px;font-size:14px;padding-inline:12px}
.bottom-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px} .coming-card{border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,rgba(27,40,61,.95),rgba(16,22,31,.96));box-shadow:var(--shadow-soft)} .coming-card[data-type="landing"]{background:linear-gradient(135deg,rgba(43,25,58,.95),rgba(16,22,31,.96))}
.coming-card h3{margin:0 0 6px;font:700 30px/1.05 Georgia,serif} .coming-card p{margin:0;color:#d1dae7;max-width:32ch} .coming-badge{display:inline-block;margin-top:10px;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);color:#ffe1ea;font-size:12px}
.notice-bar{margin-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px} .notice{padding:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02);border-radius:18px;display:flex;gap:12px;align-items:center;color:#eae2d8}
.grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:20px} .panel{background:rgba(20,26,34,.9);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:22px;box-shadow:var(--shadow-soft)}
.page-title{font:700 clamp(34px,4vw,54px)/1.02 Georgia,serif;margin:0 0 8px} .toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.filters{display:flex;flex-wrap:wrap;gap:10px} .pill{padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);cursor:pointer} .pill.active{background:rgba(242,184,198,.12);border-color:rgba(242,184,198,.35)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px} .field{display:grid;gap:8px} label{font-weight:600} input,select,textarea{width:100%;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:#0f141b;color:var(--text)} textarea{min-height:110px;resize:vertical}
.account-shell{max-width:980px;margin:0 auto} .auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px} .auth-panel{padding:24px} .fine{font-size:13px;color:var(--muted)} .account-badges{display:flex;flex-wrap:wrap;gap:10px}
.purchase-item{display:grid;grid-template-columns:110px 1fr auto;gap:14px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(255,255,255,.02)} .purchase-item + .purchase-item{margin-top:12px}
.thumb-sm{width:110px;height:70px;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.08)} .thumb-sm img{width:100%;height:100%;object-fit:cover}
.admin-layout{display:grid;grid-template-columns:360px 1fr;gap:18px} .admin-list{max-height:70vh;overflow:auto;padding-right:4px} .admin-card{padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.03);cursor:pointer} .admin-card.active{border-color:rgba(242,184,198,.4);background:rgba(242,184,198,.08)} .admin-card + .admin-card{margin-top:10px}
.admin-preview{border:1px solid rgba(255,255,255,.08);background:#0e1319;border-radius:18px;padding:12px} .preview-frame{width:100%;min-height:280px;border-radius:18px;border:1px solid rgba(255,255,255,.08);overflow:hidden;background:linear-gradient(180deg,rgba(20,26,34,.9),rgba(8,12,16,.94))}
.site-footer{border-top:1px solid rgba(255,255,255,.08);background:rgba(7,10,14,.7);padding:28px 0 38px;margin-top:40px} .footer-top{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;align-items:start} .footer-links{display:flex;flex-wrap:wrap;gap:14px 18px;justify-content:flex-end}
.admin-locked{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border:1px dashed rgba(255,255,255,.16);border-radius:999px;color:#9ca4ae;cursor:not-allowed;user-select:none} .admin-locked *{pointer-events:none}
.footer-bottom{margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#c7cfdb}
.mobile-nav{position:fixed;inset:0 auto 0 0;width:min(84vw,360px);padding:18px;background:rgba(8,11,15,.98);backdrop-filter:blur(16px);transform:translateX(-102%);transition:transform .25s;z-index:80;border-right:1px solid rgba(255,255,255,.08);display:grid;grid-template-rows:auto 1fr auto;gap:18px} .mobile-nav.open{transform:translateX(0)} .mobile-nav nav{display:grid;gap:10px} .mobile-nav a,.mobile-nav button{padding:14px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.03);text-align:left}
.mobile-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:.2s;z-index:70} .mobile-backdrop.show{opacity:1;pointer-events:auto}
.modal,.toast{position:fixed;z-index:90} .modal{inset:0;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.65)} .modal.show{display:flex} .modal-card{width:min(920px,100%);max-height:min(86vh,900px);overflow:auto;background:linear-gradient(180deg,rgba(18,24,33,.98),rgba(10,14,19,.98));border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:20px;box-shadow:var(--shadow)} .modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.toast-wrap{position:fixed;right:18px;bottom:18px;z-index:100;display:grid;gap:12px} .toast{position:static;min-width:220px;max-width:360px;background:rgba(19,25,33,.97);border:1px solid rgba(255,255,255,.09);color:#fff;padding:14px 16px;border-radius:16px;box-shadow:var(--shadow-soft);animation:slideIn .18s ease-out} @keyframes slideIn{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
.bubble{display:inline-flex;align-items:center;gap:8px;background:rgba(242,184,198,.12);border:1px solid rgba(242,184,198,.28);color:#ffd7e3;padding:8px 12px;border-radius:999px;font-size:13px}
.stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px} .stat{padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.03)} .stat strong{display:block;font-size:24px}
.search-secondary{display:flex;align-items:center;gap:10px;margin:16px 0 6px} .search-secondary input{flex:1}
@media (max-width:1200px){ .cards{grid-template-columns:repeat(4,minmax(0,1fr))} .game-cats{grid-template-columns:repeat(4,minmax(0,1fr))} .notice-bar{grid-template-columns:repeat(2,minmax(0,1fr))} .footer-top{grid-template-columns:1fr} .footer-links{justify-content:flex-start} }
@media (max-width:980px){ :root{--header-h:82px} .header-inner{grid-template-columns:auto 1fr auto auto} .menu-btn{display:inline-flex} .top-nav{display:none} .header-search{grid-column:2 / span 1} .hero-grid{grid-template-columns:1fr} .hero-art{padding:0 16px 16px} .hero-copy{padding-bottom:24px} .hero-overlay{position:static;max-width:none;padding:14px} .cards{grid-template-columns:repeat(3,minmax(0,1fr))} .bottom-panels{grid-template-columns:1fr} .grid-2,.auth-grid,.admin-layout{grid-template-columns:1fr} .admin-list{max-height:none} }
@media (max-width:768px){ :root{--container:min(100% - 24px, 100%)} .brand-word{font-size:22px} .brand-tag{letter-spacing:3px;font-size:9px} .header-actions{gap:8px} .header-search{min-height:44px;padding:4px 10px} .header-actions .btn{padding-inline:14px} .hero-copy{padding:28px 20px 18px} .hero h1{font-size:clamp(40px,11vw,62px)} .hero-perks{grid-template-columns:1fr} .cards{grid-template-columns:repeat(2,minmax(0,1fr))} .notice-bar{grid-template-columns:1fr} .game-cats{grid-template-columns:repeat(3,minmax(0,1fr))} .card-title{font-size:19px} .section-head h2{font-size:34px} .coming-card{padding:18px;flex-direction:column;align-items:flex-start} }
@media (max-width:430px){ .header-inner{gap:10px;grid-template-columns:auto 1fr auto auto} .logo{gap:10px} .logo-mark{width:38px;height:38px} .brand-word{font-size:18px} .brand-tag{display:none} .header-search input::placeholder{font-size:13px} .header-actions .btn{padding-inline:12px;font-size:13px} .header-actions .btn.signup-link{display:none} .cards{grid-template-columns:1fr} .game-cats{grid-template-columns:repeat(2,minmax(0,1fr))} .card-actions{grid-template-columns:1fr 1fr auto} .hero-actions{display:grid;grid-template-columns:1fr;gap:10px} .section-head{align-items:flex-start;flex-direction:column} .page{padding-top:calc(var(--header-h) + 16px)} }
@media (max-width:390px){ .hero-copy{padding-inline:16px} .container{width:min(100% - 18px, 100%)} .btn.small{padding-inline:10px} .header-search{min-width:0} }

/* EduVista 4.1: targeted homepage, carousel, category and footer update. */
:root{--measured-header:90px;--sans:Arial,Helvetica,sans-serif;--serif:Georgia,'Times New Roman',serif;color-scheme:dark}
html{scroll-padding-top:calc(var(--measured-header) + 20px)}
body{font-family:var(--sans);background:#0d1114}
button{color:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
button svg,.icon-btn svg{width:21px;height:21px;flex-shrink:0}
.row{display:flex;align-items:center;justify-content:space-between;gap:14px}
#app-header .header-search{max-width:none;flex:1;margin:0}
#app-header .header-inner{min-height:90px;height:auto;padding-block:12px;grid-template-columns:auto auto minmax(100px,1fr) auto;gap:22px}
#app-header .header-actions .btn{white-space:nowrap}
.page{padding-top:calc(var(--measured-header) + 32px)}
.page.ev-home{padding-top:var(--measured-header);padding-bottom:0}
.ev-carousel{width:100%;position:relative;height:410px;background:#0b0f13;isolation:isolate;overflow:hidden;border-bottom:1px solid #ffffff15}
.ev-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s;pointer-events:none}
.ev-slide.is-active{opacity:1;visibility:visible;z-index:1;pointer-events:auto}
.ev-slide picture{position:absolute;inset:0;display:block;z-index:-1}
.ev-slide picture img{width:100%;height:100%;object-fit:cover;object-position:50% 48%;filter:none}
.ev-slide::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b0f137a 0%,#0b0f1333 40%,transparent 67%);pointer-events:none}
.ev-hero-content{height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-top:15px;padding-bottom:71px;position:relative}
.ev-kicker{font-size:10px;letter-spacing:2.8px;text-transform:uppercase;color:#e6c08a;font-weight:600;margin:0 0 16px}
.ev-headline{font-family:var(--serif);font-size:48px;font-weight:400;line-height:1.14;letter-spacing:-.6px;margin:0 0 17px;max-width:530px;color:#faf6f0;text-wrap:balance}
.ev-headline em{display:block;color:#f3b3c5;font-weight:400}
.ev-hero-description{font-size:15px;line-height:1.75;color:#d9dee2;max-width:435px;margin:0 0 22px;text-wrap:pretty}
.ev-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.ev-hero-actions .btn{min-height:45px;padding:11px 21px;font-size:13px;border-radius:30px;color:#281921;background:#f2b2c4;border:1px solid #f2b2c4;font-weight:600;line-height:1.4;box-shadow:0 3px 16px #0002}
.ev-hero-actions .btn:hover{background:#ffd0dd;border-color:#ffd0dd}
.ev-hero-actions .btn svg{width:16px;height:16px}
.ev-carousel-controls{position:absolute;z-index:5;left:0;right:0;bottom:14px;display:flex;align-items:center;gap:8px;pointer-events:none}
.ev-control{width:40px;height:40px;border-radius:50%;border:1px solid #ffffff30;background:#0b101acc;display:grid;place-items:center;cursor:pointer;color:#eee;pointer-events:auto}
.ev-control:hover{border-color:#f2b2c4;background:#253038}
.ev-control svg{width:16px;height:16px}
.ev-dots{display:flex;gap:0;pointer-events:auto;align-items:center}
.ev-dot{display:grid;place-items:center;width:34px;height:40px;padding:0;background:transparent;border:0;cursor:pointer}
.ev-dot::before{content:'';width:6px;height:6px;border-radius:10px;background:#c1c4c980;transition:width .25s,background .25s}
.ev-dot[aria-pressed=true]::before{width:22px;background:var(--pink)}
.ev-slide-count{font-size:10px;color:#d3d8de;letter-spacing:1.5px;margin-left:7px}
.ev-carousel-label{font-size:10px;color:#a8b1b7;margin-left:7px}
.ev-content{padding-top:21px}
.ev-category-strip{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px;margin:0;padding:0}
.ev-category{min-width:0;min-height:86px;border-radius:10px;border:1px solid #ffffff12;background:linear-gradient(145deg,#19212a,#11171d);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 5px;cursor:pointer;font-size:12px;color:#dce2e6;transition:background .2s,border-color .2s}
.ev-category svg{width:29px;height:29px;filter:drop-shadow(0 3px 4px #0004)}
.ev-category:hover{background:#212932;border-color:#64727f}
.ev-category[aria-pressed=true]{background:linear-gradient(145deg,#2b202b,#151a21);border-color:#edabc0;color:#ffe7ef}
.ev-featured-title{margin:29px 0 17px;align-items:center}
.ev-featured-title h2{font:400 29px/1.2 var(--serif);display:flex;gap:10px;align-items:center;margin:0;letter-spacing:-.4px}
.ev-featured-title h2 svg{width:29px;height:29px;color:#f3afc1}
.ev-featured-title p{font-size:12px;color:#a8b2ba;margin-top:7px}
.ev-featured-title .btn{font-size:12px;min-height:40px;background:transparent;border-color:transparent;color:#f3b3c5;padding-right:0}
.cards{gap:18px}
.card{border-radius:11px;background:linear-gradient(160deg,#171e24,#11181d);border-color:#ffffff20;box-shadow:none}
.card-media{aspect-ratio:1.74;isolation:isolate}
.card-media img{width:100%;height:100%;object-fit:cover;filter:none;transform:none;backface-visibility:hidden}
.fav-btn{width:36px;height:36px;padding:0;color:#eef1f5}
.fav-btn svg{width:21px;height:21px}
.fav-btn[aria-pressed=true]{background:#672e45;color:#ffc8da}
.card-body{padding:14px;gap:9px}
.card-title{font-size:16px;line-height:1.35;font-weight:600;min-height:2.7em;color:#edf1f5;overflow-wrap:anywhere}
.card-copy{font-size:12px;line-height:1.55;min-height:3.1em}
.eyebrow{font-size:10px;line-height:1.5;letter-spacing:.25px}
.card-meta{font-size:11px;gap:5px}.price{font-size:12px;padding:5px 8px;border-radius:7px;white-space:nowrap}
.card-actions{grid-template-columns:minmax(0,1fr) minmax(0,.67fr) 40px;gap:6px}
.card-actions .btn{min-height:42px;border-radius:8px;font-size:11px;padding:7px 5px;line-height:1.3}
.card-actions .icon-btn{width:40px;min-height:42px;border-radius:8px}
.card-actions .icon-btn svg{width:17px;height:17px}
.ev-catalogue-empty{padding:32px;text-align:center;grid-column:1/-1;border:1px dashed #69727a;border-radius:14px;color:#cdd4d9}
.ev-home-note{font-size:11px;color:#89949c;margin:20px 0 0;padding:16px 0 3px;border-top:1px solid #ffffff10;line-height:1.8}
.site-footer{margin-top:36px;padding:40px 0 23px;background:#101416;border-top:1px solid #30383d}
.ev-footer-top{display:grid;grid-template-columns:minmax(230px,1.15fr) minmax(280px,1.45fr) minmax(190px,.8fr);gap:38px;align-items:start}
.ev-footer-brand .logo-mark{width:35px;border:0;background:none;color:var(--pink)}
.ev-footer-brand .brand-word{font:400 38px/1.1 var(--serif);color:#dfbd89;letter-spacing:0}
.ev-footer-brand .brand-tag{font-size:9px;letter-spacing:3px;margin-top:9px;color:#b9c2c8}
.ev-footer-brand p{font-size:12px;line-height:1.9;color:#aab5bd;margin:20px 0 0;max-width:350px}
.ev-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:8px 32px;align-items:start}
.ev-footer-links a,.ev-footer-links .ev-footer-link{padding:8px 0;min-height:42px;font-size:13px;font-weight:400;color:#bfc8cf;background:none;border:0;text-align:left;cursor:pointer;text-decoration:none;display:flex;align-items:center;gap:7px;line-height:1.5;border-radius:3px}
.ev-footer-links a:hover,.ev-footer-links .ev-footer-link:hover{color:var(--pink)}
.ev-footer-links .ev-footer-link svg{width:12px;height:12px;color:#82919b}
.ev-footer-links .ev-footer-contact{color:#f2b3c5}
.ev-admin-locked,.ev-admin-menu{border:1px solid #30393f;border-radius:14px;padding:19px 18px;color:#94a2ab;background:#12171a;font-size:12px;min-width:0}
.ev-admin-locked{user-select:none;cursor:not-allowed}
.ev-admin-locked>span,.ev-admin-menu summary{display:flex;align-items:center;gap:10px;letter-spacing:1.3px;font-weight:600;font-size:12px;line-height:1.6}
.ev-admin-locked svg,.ev-admin-menu svg{width:19px;height:19px}
.ev-admin-locked small,.ev-admin-menu small{display:block;font-size:10px;letter-spacing:0;margin-top:9px;font-weight:400}
.ev-admin-menu summary{cursor:pointer;color:#e4c58d;list-style:none}
.ev-admin-menu nav{display:grid;gap:4px;margin-top:15px}
.ev-admin-menu nav a{min-height:42px;padding:8px;font-size:12px;border-radius:7px;color:#ced6db}
.ev-admin-menu nav a:hover{background:#ffffff0d}
.ev-footer-bottom{margin-top:32px;padding-top:21px;border-top:1px solid #30383d;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;color:#aab4bc;font-size:11px}
.ev-preview-status{display:flex;align-items:center;gap:7px;font-size:10px}
.ev-preview-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#8fcfb8;flex-shrink:0}
.ev-compact-popover{position:fixed;z-index:110;pointer-events:none;color:#301824;background:#f5bfd0;border:1px solid #ffe4ed;border-radius:999px;padding:7px 13px;font:600 11px/1.35 var(--sans);box-shadow:0 5px 20px #0005;white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s}
.ev-compact-popover.is-visible{opacity:1;transform:none}
.ev-compact-popover::after{content:'';position:absolute;left:50%;bottom:-4px;width:7px;height:7px;background:#f5bfd0;transform:rotate(45deg)}
#toast-wrap{position:fixed;bottom:20px;right:18px;z-index:100;display:grid;gap:7px;max-width:calc(100% - 36px);pointer-events:none}
.toast{font-size:12px;padding:11px 15px;min-width:0;max-width:340px;overflow-wrap:anywhere}
.mobile-nav{overflow-y:auto;overscroll-behavior:contain}
.mobile-nav .row .icon-btn{flex-shrink:0}
.modal-card{min-width:0;max-height:86dvh}
.modal-head h2{font-weight:400!important;font-size:30px!important;line-height:1.2!important}
.page-title{font-size:38px;font-weight:400}
.ev-guides{display:grid;gap:18px;max-width:900px;margin-inline:auto}
.ev-guides h2{font:400 24px/1.3 var(--serif);margin:0 0 13px}
.ev-guides p{font-size:14px;line-height:1.9;color:#bbc5cd}
.ev-demo-note{font-size:12px;border:1px solid #9c80513b;background:#9c805109;padding:12px 15px;border-radius:10px;color:#d7bf97;line-height:1.7;margin:0 0 20px}
@media(min-width:1800px){.ev-carousel{height:450px}.ev-headline{font-size:50px}.ev-hero-content{padding-bottom:76px}}
@media(max-width:1200px){#app-header .header-inner{gap:15px}.ev-carousel{height:390px}.ev-headline{font-size:44px;max-width:480px}.ev-hero-description{max-width:405px}.ev-category-strip{gap:8px}.ev-footer-top{gap:26px;grid-template-columns:1fr 1.1fr .8fr}.ev-footer-links{gap:7px 15px}.ev-footer-brand .brand-word{font-size:33px}.ev-footer-brand .brand-tag{font-size:8px;letter-spacing:2px}.ev-admin-locked,.ev-admin-menu{padding:16px 12px}}
@media(min-width:981px) and (max-width:1120px){#app-header .brand-tag{font-size:8px;letter-spacing:2.7px}#app-header .brand-word{font-size:27px}#app-header .header-search input{font-size:13px}#app-header .header-actions{gap:7px}#app-header .header-actions .btn{padding-inline:12px}}
@media(max-width:980px){#app-header .header-inner{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:10px 12px;min-height:112px;padding:12px 0}#app-header .menu-btn{grid-column:1;grid-row:1}#app-header .logo{grid-column:2;grid-row:1}#app-header .header-actions{grid-column:3;grid-row:1}#app-header .header-search{grid-column:1/-1;grid-row:2;min-height:41px;height:41px}#app-header .header-search input{height:38px;padding-block:0;font-size:13px}#app-header .top-nav{display:none}.ev-carousel{height:380px}.ev-slide picture img{object-position:54% 50%}.ev-hero-content{padding-bottom:66px}.ev-headline{font-size:39px;max-width:370px}.ev-hero-description{font-size:13px;line-height:1.7;max-width:320px}.ev-hero-actions{gap:9px}.ev-hero-actions .btn{padding:10px 15px;font-size:12px}.ev-slide::after{background:linear-gradient(90deg,#0b0f1399,#0b0f1377 38%,transparent 80%)}.ev-category-strip{grid-template-columns:repeat(9,minmax(0,1fr));gap:6px}.ev-category{font-size:10px;padding:10px 3px;gap:6px;min-height:78px}.ev-category svg{width:25px;height:25px}.ev-footer-top{grid-template-columns:1fr 1.2fr;gap:25px 30px}.ev-footer-admin{grid-column:2}.ev-footer-links{font-size:12px}.form-grid{min-width:0}.admin-preview .preview-frame{min-height:0}}
@media(max-width:768px){.ev-carousel{height:375px}.ev-headline{font-size:37px;max-width:330px}.ev-hero-description{max-width:295px}.ev-slide picture img{object-position:55% 50%}.ev-featured-title h2{font-size:27px}.ev-featured-title{margin-top:24px}.ev-category-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ev-category{flex-direction:row;gap:12px;min-height:58px;font-size:12px;padding:10px}.ev-category svg{width:26px;height:26px}.ev-category-strip{margin-bottom:0}.cards{gap:14px}.card-title{min-height:0}.card-body{padding:15px}.ev-footer-top{gap:27px 25px}.ev-footer-brand .brand-word{font-size:32px}.ev-footer-brand .logo{gap:6px}.ev-footer-brand .brand-tag{font-size:8px;letter-spacing:1.6px}.ev-footer-links{gap:8px 20px}}
@media(max-width:640px){.ev-carousel{height:560px}.ev-slide{display:grid;grid-template-rows:220px 1fr}.ev-slide picture{position:relative;inset:auto;grid-row:1;z-index:0;min-height:0;width:100%;overflow:hidden}.ev-slide picture img{height:100%;object-fit:cover;object-position:50% 44%}.ev-slide picture::after{content:'';position:absolute;inset:auto 0 0;height:34px;background:linear-gradient(transparent,#0b0f13)}.ev-slide::after{display:none}.ev-hero-content{grid-row:2;justify-content:flex-start;padding-top:17px;padding-bottom:65px;height:auto}.ev-kicker{margin-bottom:10px;font-size:9px;letter-spacing:2px}.ev-headline{font-size:35px;max-width:100%;margin-bottom:12px;line-height:1.15;letter-spacing:-.6px}.ev-hero-description{font-size:13px;max-width:100%;line-height:1.7;margin-bottom:17px}.ev-hero-actions{width:100%;gap:9px}.ev-hero-actions .btn{padding:10px 14px;font-size:12px;min-height:44px}.ev-carousel-controls{bottom:12px}.ev-carousel-label{font-size:9px}.ev-content{padding-top:16px}.ev-category{font-size:11px;gap:8px;padding:9px 6px}.ev-category svg{width:24px;height:24px}.ev-featured-title{flex-direction:row;align-items:center;gap:12px}.ev-featured-title h2{font-size:25px}.ev-featured-title p{font-size:11px;line-height:1.7;max-width:225px}.ev-featured-title .btn{white-space:nowrap;min-height:44px;font-size:11px;padding:0}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card-title{font-size:15px}.card-copy{display:none}.card-meta>span:first-child{display:none}.card-actions{grid-template-columns:1fr 40px}.card-actions .btn[data-action=view]{grid-column:1/-1;grid-row:2;min-height:36px}.card-actions .btn[data-action=demo]{grid-column:1;grid-row:1}.card-actions .icon-btn{grid-column:2;grid-row:1}.card-body{padding:11px;gap:9px}.eyebrow{font-size:9px}.ev-footer-top{grid-template-columns:1fr;gap:23px}.ev-footer-links{grid-template-columns:1fr 1fr;gap:3px 27px}.ev-footer-admin{grid-column:auto;max-width:100%}.ev-footer-brand .brand-word{font-size:35px}.ev-footer-brand .brand-tag{font-size:8px;letter-spacing:3px}.ev-footer-brand p{font-size:12px;margin-top:16px}.ev-footer-links a,.ev-footer-links .ev-footer-link{min-height:44px;font-size:13px}.ev-footer-bottom{font-size:10px;gap:12px}.ev-preview-status{font-size:10px}.ev-footer-top{padding-top:1px}.purchase-item{grid-template-columns:70px 1fr;gap:12px}.purchase-item .thumb-sm{width:70px;height:52px}.purchase-item>div:last-child{grid-column:2;justify-self:start}.form-grid,.stat-row{grid-template-columns:1fr}.page-title{font-size:32px}.toolbar{align-items:flex-start}.search-secondary{width:100%;flex-wrap:wrap}.search-secondary input{min-width:150px}.admin-list{max-height:260px}.modal{padding:12px}.modal-card{padding:16px}.modal-head .icon-btn{flex-shrink:0}.modal-head h2{font-size:25px!important}.auth-panel{padding:18px}.panel{padding:19px}#app-header .header-actions .signup-link{display:inline-flex}}
@media(max-width:430px){#app-header .header-inner{grid-template-columns:32px minmax(0,1fr) auto;gap:9px 8px;min-height:105px;padding:9px 0}#app-header .menu-btn{width:32px;min-height:38px;border:0}#app-header .logo{gap:7px}#app-header .logo-mark{display:none}#app-header .brand-word{font-size:25px;font-weight:400}#app-header .header-actions{gap:6px}#app-header .header-actions .btn{font-size:11px;padding-inline:11px;min-height:40px}#app-header .header-actions .icon-btn{width:33px;height:40px;border:0}#app-header .header-search{height:39px;min-height:39px}#app-header .header-search input{height:36px;font-size:12px}.ev-slide{grid-template-rows:211px 1fr}.ev-carousel{height:558px}.ev-headline{font-size:34px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ev-home-note{font-size:10px;margin-top:18px}.ev-category{font-size:10px;gap:7px;padding:9px 5px}.ev-hero-actions .btn{font-size:12px;padding-inline:14px}.ev-footer-brand .logo-mark{display:grid}.ev-footer-brand .brand-tag{display:block}.ev-featured-title h2{font-size:24px}.ev-featured-title h2 svg{width:24px}.card-title{min-height:2.7em}.card-actions .btn{font-size:10px}.fav-btn{width:30px;height:30px;top:6px;right:6px}.fav-btn svg{width:17px;height:17px}}
@media(max-width:390px){#app-header .brand-word{font-size:23px}#app-header .header-actions .btn{padding-inline:9px}.ev-carousel{height:558px}.ev-headline{font-size:33px}.ev-category svg{width:23px}.ev-hero-description{font-size:12px}.ev-hero-actions .btn{font-size:11px;padding-inline:13px}.ev-carousel-label{display:none}.ev-footer-links{gap:3px 19px}.card-body{padding:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ev-slide,.ev-dot::before,.ev-compact-popover{transition:none}}
.btn svg{width:17px;height:17px;flex-shrink:0}
.ev-featured-title>.btn{white-space:nowrap;flex-shrink:0;gap:8px}
#mobile-nav .brand-word{font-size:27px}#mobile-nav .brand-tag{font-size:8px;letter-spacing:2px}#mobile-nav .logo-mark{width:32px;height:32px;flex-shrink:0}#mobile-nav .logo{gap:8px}#mobile-nav .row>.icon-btn{width:38px;padding:0;border-radius:50%}body.ev-nav-open{overflow:hidden}

/* EduVista v4.2: approved compact catalogue proportions. */
:root{--container:min(1600px,calc(100% - 48px));--measured-header:64px}
#app-header .header-inner{min-height:64px;padding-block:7px;gap:18px}
#app-header .logo{gap:10px}
#app-header .logo-mark{width:40px;height:40px;border-radius:10px}
#app-header .brand-word{font-size:28px}
#app-header .brand-tag{font-size:8px;letter-spacing:3.1px;margin-top:2px}
#app-header .top-nav{gap:28px}
#app-header .top-nav a{font-size:13px}
#app-header .header-search{min-height:40px;padding-block:3px}
#app-header .header-actions{gap:10px}
#app-header .header-actions .btn{min-height:40px;padding-inline:17px;font-size:13px}
#app-header .header-actions .icon-btn{width:40px;min-height:40px}
.ev-carousel{height:270px}
.ev-hero-content{padding-top:8px;padding-bottom:34px}
.ev-kicker{font-size:9px;letter-spacing:2.5px;margin-bottom:8px}
.ev-headline{font-size:38px;line-height:1.06;max-width:460px;margin-bottom:7px}
.ev-hero-description{font-size:13px;line-height:1.45;max-width:405px;margin-bottom:12px}
.ev-hero-actions{gap:10px}
.ev-hero-actions .btn{min-height:38px;padding:8px 17px;font-size:11px}
.ev-carousel-controls{bottom:5px;justify-content:center}
.ev-control{width:32px;height:32px}
.ev-dot{width:24px;height:32px}
.ev-carousel-label{display:none}
.ev-slide-count{font-size:9px;margin-left:3px}
.ev-content{padding-top:11px}
.ev-category-strip{min-height:0;gap:8px}
.ev-category{min-height:62px;padding:7px 4px;gap:4px;font-size:10px}
.ev-category svg{width:25px;height:25px;filter:drop-shadow(0 0 7px currentColor)}
.ev-featured-title{margin:14px 0 8px}
.ev-featured-title h2{font-size:23px;gap:8px}
.ev-featured-title h2 svg{width:24px;height:24px}
.ev-featured-title p{font-size:10px;margin-top:2px}
.ev-featured-title .btn{min-height:34px;font-size:10px}
.cards{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px}
.card{border-radius:9px}
.card-media{aspect-ratio:1.9}
.fav-btn{width:28px;height:28px;top:6px;right:6px}
.fav-btn svg{width:15px;height:15px}
.card-body{padding:8px;gap:5px}
.eyebrow,.card-copy{display:none}
.card-title{font-size:12px;line-height:1.25;min-height:2.5em}
.card-meta{font-size:9px;gap:4px}
.price{font-size:9px;padding:3px 6px;border-radius:6px}
.card-actions{grid-template-columns:minmax(0,1fr) minmax(0,.67fr) 30px;gap:4px}
.card-actions .btn{min-height:30px;padding:4px;font-size:9px;border-radius:6px}
.card-actions .icon-btn{width:30px;min-height:30px;border-radius:6px}
.card-actions .icon-btn svg{width:14px;height:14px}
.ev-home-note{font-size:9px;margin-top:11px;padding-top:9px}
.site-footer{margin-top:18px;padding:20px 0 14px}
.ev-footer-top{grid-template-columns:minmax(210px,1.05fr) minmax(330px,1.8fr) minmax(180px,.75fr);gap:24px}
.ev-footer-brand .brand-word{font-size:30px}
.ev-footer-brand p{font-size:10px;line-height:1.6;margin-top:10px}
.ev-footer-links{gap:2px 25px}
.ev-footer-links a,.ev-footer-links .ev-footer-link{min-height:32px;padding:4px 0;font-size:10px}
.ev-admin-locked,.ev-admin-menu{padding:12px 13px;font-size:10px}
.ev-admin-locked>span,.ev-admin-menu summary{font-size:10px}
.ev-footer-bottom{margin-top:13px;padding-top:11px;font-size:9px}
.ev-preview-status{font-size:9px}
@media(max-width:1200px) and (min-width:981px){
  :root{--container:min(100% - 36px,100%)}
  .cards{grid-template-columns:repeat(auto-fit,minmax(158px,1fr))}
}
@media(max-width:980px){
  :root{--container:min(100% - 28px,100%);--measured-header:106px}
  #app-header .header-inner{min-height:106px;padding:9px 0}
  .ev-carousel{height:348px}
  .ev-hero-content{padding-bottom:48px}
  .ev-headline{font-size:36px;max-width:350px}
  .ev-category-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .ev-category{min-height:50px;flex-direction:row;gap:8px;padding:7px}
  .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
  .ev-footer-top{grid-template-columns:1fr 1.25fr;gap:22px}
}
@media(max-width:640px){
  :root{--container:min(100% - 20px,100%)}
  .ev-carousel{height:520px}
  .ev-slide{grid-template-rows:205px 1fr}
  .ev-hero-content{padding-top:14px;padding-bottom:55px}
  .ev-headline{font-size:32px;max-width:100%;margin-bottom:9px}
  .ev-hero-description{font-size:12px;line-height:1.55;margin-bottom:13px}
  .ev-category-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .card-title{font-size:11px;min-height:2.5em}
  .card-meta{font-size:8px}
  .card-actions .btn{font-size:8px}
  .ev-footer-top{grid-template-columns:1fr;gap:18px}
}
@media(max-width:430px){
  :root{--measured-header:101px}
  #app-header .header-inner{min-height:101px}
  .ev-carousel{height:505px}
  .ev-slide{grid-template-rows:195px 1fr}
  .ev-category{font-size:9px;gap:5px;padding-inline:4px}
  .ev-category svg{width:21px;height:21px}
  .ev-featured-title h2{font-size:20px}
}
@media(max-width:390px){
  :root{--container:min(100% - 16px,100%)}
  .ev-carousel{height:500px}
  .ev-headline{font-size:30px}
  .card-body{padding:7px}
}

/* EduVista v5.6: full-image, no-crop, four-slide carousel and shared neon logo. */
.ev-neon-logo{
  color:#d987ff!important;
  border:1px solid #bc62ff!important;
  background:radial-gradient(circle at 50% 42%,#7d2cb84d,#21102f 72%)!important;
  box-shadow:0 0 8px #bd62ffcc,0 0 20px #8d35d899,inset 0 0 12px #d88bff44!important;
}
.ev-neon-logo .ev-neon-mark{
  width:29px;height:29px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 0 4px #e7b1ff) drop-shadow(0 0 9px #aa41ee);
}
.ev-footer-brand .ev-neon-logo{width:40px;height:40px;border-radius:10px!important}
.ev-carousel{
  --hero-ratio:2172 / 724;
  width:100%;height:auto!important;aspect-ratio:var(--hero-ratio);
  min-height:0!important;max-height:none!important;background:transparent!important;
  transition:aspect-ratio .35s ease;
}
.ev-slide{position:absolute!important;inset:0!important;display:block!important;overflow:hidden}
.ev-slide picture{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;z-index:-1!important;overflow:hidden}
.ev-slide picture::after,.ev-slide::after{display:none!important;content:none!important;background:none!important}
.ev-slide picture img{
  display:block;width:100%!important;height:100%!important;max-width:none!important;
  object-fit:contain!important;object-position:center center!important;
  filter:none!important;transform:none!important;image-rendering:auto;
}
.ev-hero-content{
  position:absolute!important;inset:0!important;height:100%!important;
  justify-content:center!important;padding-top:4%!important;padding-bottom:9%!important;
  pointer-events:none;
}
.ev-hero-content>*{pointer-events:auto}
.ev-slide[data-copy="right"] .ev-hero-content{align-items:flex-end;text-align:right}
.ev-slide[data-copy="right"] .ev-hero-actions{justify-content:flex-end}
.ev-kicker,.ev-headline,.ev-hero-description{
  text-shadow:0 2px 3px #05070b,0 0 8px #05070b,0 0 18px #05070bcc;
}
.ev-headline{font-size:clamp(30px,3vw,48px);max-width:470px}
.ev-hero-description{font-weight:600;color:#fff;max-width:420px}
.ev-carousel-controls{bottom:8px}
@media(max-width:768px){
  .ev-hero-content{padding:4% 15px 10%!important}
  .ev-headline{font-size:clamp(23px,5vw,34px);max-width:62%;margin-bottom:7px}
  .ev-hero-description{font-size:11px;line-height:1.4;max-width:58%;margin-bottom:9px}
  .ev-kicker{font-size:8px;margin-bottom:6px}
  .ev-hero-actions .btn{min-height:34px;padding:6px 12px;font-size:10px}
}
@media(max-width:430px){
  .ev-hero-content{padding:3% 10px 12%!important}
  .ev-headline{font-size:clamp(19px,5.6vw,25px);max-width:65%;line-height:1.07}
  .ev-hero-description{display:none}
  .ev-kicker{display:none}
  .ev-hero-actions{gap:6px;max-width:70%}
  .ev-hero-actions .btn{min-height:30px;padding:4px 9px;font-size:9px}
  .ev-carousel-controls{bottom:3px;gap:3px}
  .ev-control{width:27px;height:27px}
  .ev-dot{width:20px;height:27px}
  .ev-slide-count{display:none}
}
@media(prefers-reduced-motion:reduce){.ev-carousel{transition:none}}


/* EduVista v5.6 premium game-dashboard homepage */
:root{
  --ev50-gold:#f1d28c;
  --ev50-gold-2:#fff0bd;
  --ev50-pink:#ff4f91;
  --ev50-cyan:#43d9e8;
  --ev50-panel:#111820;
  --ev50-panel-2:#151e27;
  --ev50-line:#2a3540;
}

body{animation:ev50-glow .48s ease-out both}
.ev50-home button,.ev50-home a,#app-header button,#app-header a,.ev50-footer button,.ev50-footer a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ev50-home button:focus-visible,.ev50-home a:focus-visible,#app-header button:focus-visible,#app-header a:focus-visible,.ev50-footer button:focus-visible,.ev50-footer a:focus-visible{outline:3px solid #7ce9f2;outline-offset:2px}
@keyframes ev50-glow{from{opacity:.75}to{opacity:1}}
@keyframes ev50-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes ev50-pulse{50%{box-shadow:0 0 22px rgba(255,79,145,.35)}}

#app-header{background:rgba(5,10,14,.96);border-bottom:1px solid #34404a;backdrop-filter:blur(18px)}
#app-header .container{width:min(1500px,calc(100% - 34px))}
#app-header .header-inner{min-height:68px;padding-block:8px;grid-template-columns:auto minmax(360px,1fr) minmax(250px,520px) auto;gap:20px}
#app-header .logo{gap:10px}
#app-header .logo-mark{width:38px;height:38px;border-radius:10px}
#app-header .brand-word{font-size:28px;color:var(--ev50-gold-2)}
#app-header .brand-tag{display:none}
#app-header .top-nav{gap:24px;justify-content:center}
#app-header .top-nav a{font-size:13px;min-height:44px;display:flex;align-items:center;color:#d8e0e6}
#app-header .top-nav a:hover,#app-header .top-nav a.active{color:var(--ev50-gold-2)}
#app-header .top-nav a.active::after{background:var(--ev50-gold);bottom:2px}
#app-header .header-search{min-height:42px;height:42px;background:#111923;border-color:#2c3946}
#app-header .header-actions{gap:7px}
#app-header .header-actions .icon-btn{border:0;background:transparent;color:var(--ev50-gold-2)}
#app-header .header-actions .btn{min-height:40px;padding-inline:21px;background:linear-gradient(180deg,#fff0bd,#d3aa62);color:#21180d;border-color:#ffe5a6;font-weight:800}

.page.ev50-home{padding-top:var(--measured-header);padding-bottom:0;background:radial-gradient(circle at 55% 2%,#142433 0,#091016 42%,#070b0f 100%)}
.ev-carousel.ev50-hero{height:370px!important;max-height:370px!important;aspect-ratio:auto!important;background:#091017!important;border-bottom:1px solid #2f3b45}
.ev50-slide{isolation:isolate}
.ev50-slide picture{position:absolute!important;inset:0!important;z-index:-2!important;overflow:hidden}
.ev50-slide picture img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 45%!important;filter:saturate(1.08) contrast(1.04)!important;transform:scale(1.01)!important}
.ev50-slide::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,9,13,.96) 0%,rgba(6,10,15,.79) 27%,rgba(5,10,15,.20) 59%,rgba(4,8,12,.38) 100%);pointer-events:none}
.ev50-hero-copy{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:26px 0 74px;max-width:590px;animation:ev50-rise .48s ease-out both}
.ev50-eyebrow{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:var(--ev50-gold-2);font-weight:800;margin:0 0 7px}
.ev50-hero-title{font:800 clamp(39px,4.6vw,69px)/.94 Georgia,serif;letter-spacing:-1.7px;margin:0;color:#fff8e9;text-shadow:0 3px 22px #000}
.ev50-hero-title em{font-style:normal;color:var(--ev50-pink);text-shadow:0 0 22px rgba(255,79,145,.4)}
.ev50-hero-sub{font-size:16px;line-height:1.38;max-width:40ch;color:#f1f3f5;margin:10px 0 14px;text-shadow:0 2px 10px #000}
.ev50-hero-description{font-size:12px;line-height:1.45;max-width:47ch;color:#cbd4dc;margin:0 0 17px}
.ev50-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.ev50-hero-actions .btn{min-height:43px;padding:9px 21px;font-size:12px;font-weight:800}
.ev50-hero-actions .btn.primary{background:linear-gradient(180deg,#ff6ba4,#f13c7f);border-color:#ff78ad;color:#fff}
.ev50-hero-actions .btn.secondary{border-color:#d0b06e;background:rgba(7,11,15,.74);color:#fff0bd}
.ev50-hero-badges{position:absolute;left:max(17px,calc((100% - min(1500px,calc(100% - 34px)))/2));bottom:12px;z-index:5;display:flex;gap:12px;pointer-events:none}
.ev50-hero-badge{display:flex;align-items:center;gap:8px;color:#dbe3e9;font-size:10px;min-width:128px}
.ev50-hero-badge b{display:block;color:#fff;font-size:11px}.ev50-hero-badge span:first-child{font-size:20px;color:var(--ev50-gold)}
.ev50-hero .ev-carousel-controls{left:auto;right:max(18px,calc((100% - min(1500px,calc(100% - 34px)))/2));bottom:14px;width:auto}
.ev50-hero .ev-control{width:38px;height:38px;background:rgba(7,12,17,.84);border-color:#53616d}
.ev50-hero .ev-slide-count,.ev50-hero .ev-carousel-label{display:none}

.ev50-shell{width:min(1500px,calc(100% - 34px));margin:0 auto;padding:12px 0 24px}
.ev50-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}
.ev50-quick{min-height:64px;border:1px solid #39434a;background:linear-gradient(145deg,#1a211f,#11171b);border-radius:8px;padding:10px 15px;display:flex;align-items:center;gap:13px;cursor:pointer;color:#f4f1e7;text-align:left;transition:.18s transform,.18s border-color,.18s background}
.ev50-quick:hover{transform:translateY(-2px);border-color:#d9ba79;background:#202822}
.ev50-quick-icon{font-size:26px;filter:drop-shadow(0 0 9px rgba(255,222,151,.45))}
.ev50-quick strong{display:block;font:700 16px/1.15 Georgia,serif}.ev50-quick small{display:block;color:#aeb8c0;font-size:9px;margin-top:3px}.ev50-quick-arrow{margin-left:auto;color:var(--ev50-gold)}

.ev50-dashboard{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,.92fr);gap:12px;align-items:start}
.ev50-main,.ev50-sidebar{display:grid;gap:12px;min-width:0}
.ev50-section,.ev50-side-panel{min-width:0;border:1px solid #28333d;background:linear-gradient(160deg,rgba(15,22,29,.94),rgba(8,13,18,.96));border-radius:9px;padding:10px;box-shadow:0 10px 24px rgba(0,0,0,.14)}
.ev50-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.ev50-section-title{display:flex;align-items:center;gap:8px;min-width:0}
.ev50-section-title>span{font-size:20px}.ev50-section-title h2{font:700 20px/1 Georgia,serif;margin:0;color:#f7f1e4}.ev50-section-title p{font-size:9px;color:#9ca8b1;margin:2px 0 0}
.ev50-view-all{min-height:40px;border:0;background:transparent;color:var(--ev50-gold-2);font-size:10px;cursor:pointer;padding:0 5px}

.ev50-trending-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.ev50-game-card{min-width:0;border:1px solid #303b44;background:#10171e;border-radius:8px;overflow:hidden;transition:.18s transform,.18s border-color;position:relative}
.ev50-game-card:hover{transform:translateY(-3px);border-color:#64727f}
.ev50-game-art{aspect-ratio:1.74;position:relative;overflow:hidden;background:#151c23}
.ev50-game-art img{width:100%;height:100%;object-fit:cover;transition:transform .28s;filter:none}
.ev50-game-card:hover .ev50-game-art img{transform:scale(1.035)}
.ev50-rank{position:absolute;left:7px;top:7px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#0a0f14dd;border:1px solid #ffffff55;font-size:10px;font-weight:800}
.ev50-mini-fav{position:absolute;right:6px;top:6px;width:32px;height:32px;border-radius:50%;border:1px solid #ffffff42;background:#071016d9;color:#fff;display:grid;place-items:center;cursor:pointer}
.ev50-mini-fav[aria-pressed=true]{color:#ff70a6;border-color:#ff70a6}
.ev50-game-info{padding:8px}
.ev50-game-info h3{font-size:12px;line-height:1.24;margin:0 0 4px;color:#f6f0e6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev50-game-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:8px;color:#9eabb5}
.ev50-game-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:5px;font-size:9px}.ev50-stars{color:#f5d06f}
.ev50-card-open{width:28px;height:28px;border-radius:50%;border:1px solid #a68d59;background:#182029;color:#ffe6a8;cursor:pointer;display:grid;place-items:center}

.ev50-world-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.ev50-world{position:relative;min-height:87px;border-radius:7px;overflow:hidden;border:1px solid #35404a;background:#111820;cursor:pointer;padding:0;text-align:left;color:#fff}
.ev50-world img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.1)}
.ev50-world::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071016e8,transparent 75%)}
.ev50-world span{position:absolute;left:8px;right:8px;bottom:7px;z-index:2;font:700 10px/1.2 Georgia,serif;text-shadow:0 2px 6px #000}

.ev50-continue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ev50-continue{display:grid;grid-template-columns:75px 1fr auto;gap:8px;align-items:center;border:1px solid #303b44;border-radius:7px;background:#10171e;padding:6px;min-width:0}
.ev50-continue img{width:75px;height:48px;object-fit:cover;border-radius:5px}.ev50-continue h3{font-size:10px;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ev50-progress{height:4px;border-radius:5px;background:#28333b;overflow:hidden}.ev50-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--ev50-pink),#ff8eb9)}.ev50-progress-meta{display:flex;justify-content:space-between;color:#a8b2b9;font-size:8px;margin-top:4px}

.ev50-release-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.ev50-release{display:grid;grid-template-columns:58px 1fr;gap:7px;align-items:center;border:1px solid #303b44;border-radius:7px;background:#10171e;padding:6px;cursor:pointer;color:#fff;text-align:left;min-width:0}
.ev50-release img{width:58px;height:45px;object-fit:cover;border-radius:5px}.ev50-release strong{font-size:9px;line-height:1.18;display:block}.ev50-release small{font-size:8px;color:#aab4bb}.ev50-release .ev50-stars{font-size:8px}

.ev50-side-panel{padding:10px}
.ev50-ranking{display:grid;gap:5px}.ev50-rank-row{width:100%;display:grid;grid-template-columns:24px 52px 1fr auto;gap:7px;align-items:center;border:0;border-bottom:1px solid #26313a;background:transparent;color:#fff;padding:4px 0;cursor:pointer;text-align:left;min-height:48px}.ev50-rank-row:last-child{border-bottom:0}.ev50-rank-row>span:first-child{font:800 15px/1 Georgia,serif;color:var(--ev50-gold)}.ev50-rank-row img{width:52px;height:35px;border-radius:4px;object-fit:cover}.ev50-rank-row strong{font-size:9px;line-height:1.2;display:block}.ev50-rank-row small{font-size:8px;color:#9ca8b0}.ev50-rank-score{font-size:8px;color:#f5d06f}
.ev50-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:8px}.ev50-tab{border:1px solid #2d3942;background:#17202a;color:#aeb8c0;border-radius:6px;min-height:38px;font-size:8px;cursor:pointer}.ev50-tab[aria-pressed=true]{background:linear-gradient(180deg,#ff6ba4,#ec3f7d);color:white;border-color:#ff78ad}
.ev50-news-list{display:grid;gap:4px}.ev50-news{display:grid;grid-template-columns:52px 1fr;gap:7px;align-items:center;border:0;border-bottom:1px solid #26313a;background:transparent;color:#fff;text-align:left;padding:5px 0;cursor:pointer;min-height:52px}.ev50-news:last-child{border-bottom:0}.ev50-news img{width:52px;height:40px;object-fit:cover;border-radius:4px}.ev50-news strong{font-size:9px;line-height:1.25;display:block}.ev50-news small{font-size:8px;color:#9ba7af}.ev50-news[hidden]{display:none}

.ev50-premium{margin-top:12px;border:1px solid #8e7444;border-radius:9px;background:linear-gradient(100deg,#2a251c,#12171c 43%,#292319);box-shadow:0 0 24px rgba(235,197,119,.15);display:grid;grid-template-columns:1.25fr repeat(3,1fr) auto;align-items:center;gap:0;overflow:hidden}
.ev50-premium>div{padding:11px 18px;border-right:1px solid #514329;min-width:0}.ev50-premium h2{font:700 22px/1 Georgia,serif;margin:0;color:#ffeab7}.ev50-premium p{font-size:9px;color:#c7b990;margin:3px 0 0}.ev50-premium strong{font-size:10px;color:#fff0c4;display:block}.ev50-premium small{font-size:8px;color:#b7b0a0}.ev50-premium .btn{margin:0 15px;min-height:40px;background:linear-gradient(180deg,#fff0bd,#d1a85f);color:#21180d;border-color:#ffe6a9;font-size:10px;font-weight:900}

.ev50-footer{margin-top:0!important;padding:16px 0!important;background:#080d11!important}.ev50-footer-grid{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}.ev50-footer .logo-mark{width:34px;height:34px}.ev50-footer .brand-word{font-size:27px}.ev50-footer-links{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}.ev50-footer-links a,.ev50-footer-links button{border:0;background:transparent;color:#b7c0c7;min-height:42px;font-size:9px;cursor:pointer}.ev50-footer-links a:hover,.ev50-footer-links button:hover{color:var(--ev50-gold)}.ev50-footer-meta{display:flex;align-items:center;gap:10px;font-size:9px;color:#8e999f}.ev50-owner-link{color:#d6bd82!important}

.ev50-demo-question{font:700 clamp(22px,3vw,30px)/1.25 Georgia,serif;margin:0 0 16px}.ev50-answer-grid{display:grid;gap:9px}.ev50-answer{justify-content:flex-start;border-radius:11px;text-align:left}.ev50-answer.is-correct{background:#1f6049;border-color:#5ce0a8;color:#fff}.ev50-answer.is-wrong{background:#672d3b;border-color:#ff6f91;color:#fff}.ev50-feedback{margin-top:14px;padding:12px;border-radius:10px;font-weight:700}.ev50-feedback.correct{background:#183e32;color:#8ff0c4}.ev50-feedback.wrong{background:#46232d;color:#ffb5c6}.ev50-demo-score{font-size:52px;color:var(--ev50-gold);font-family:Georgia,serif;margin:8px 0}

@media(max-width:1180px){
  #app-header .header-inner{grid-template-columns:auto 1fr minmax(220px,390px) auto;gap:12px}#app-header .top-nav{gap:15px}#app-header .top-nav a{font-size:11px}
  .ev50-trending-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ev50-trending-grid .ev50-game-card:nth-child(5){display:none}
  .ev50-world-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ev50-release-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ev50-premium{grid-template-columns:1.3fr repeat(2,1fr) auto}.ev50-premium>div:nth-of-type(4){display:none}
}
@media(max-width:980px){
  #app-header .header-inner{grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto auto;min-height:108px}#app-header .menu-btn{display:inline-flex}#app-header .top-nav{display:none}#app-header .logo{grid-column:2;grid-row:1}#app-header .header-actions{grid-column:3;grid-row:1}#app-header .header-search{grid-column:1/-1;grid-row:2}
  .ev-carousel.ev50-hero{height:350px!important;max-height:350px!important}.ev50-hero-copy{max-width:500px}.ev50-dashboard{grid-template-columns:1fr}.ev50-sidebar{grid-template-columns:1fr 1fr}.ev50-quick-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .ev-carousel.ev50-hero{height:570px!important;max-height:570px!important}.ev50-slide{display:grid!important;grid-template-rows:235px 1fr}.ev50-slide picture{position:relative!important;grid-row:1;z-index:-1!important}.ev50-slide picture img{object-position:center!important}.ev50-slide::before{background:linear-gradient(0deg,#071016 0,#071016 56%,transparent 78%)}
  .ev50-hero-copy{grid-row:2;height:auto;padding:18px 0 70px;justify-content:flex-start;max-width:none}.ev50-hero-title{font-size:39px}.ev50-hero-sub{font-size:14px}.ev50-hero-description{font-size:12px;margin-bottom:13px}.ev50-hero-badges{display:none}.ev50-hero .ev-carousel-controls{left:17px;right:auto}
  .ev50-shell{width:min(100% - 20px,1500px);padding-top:10px}.ev50-quick{min-height:66px}.ev50-quick strong{font-size:14px}
  .ev50-trending-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev50-trending-grid .ev50-game-card:nth-child(5){display:block}.ev50-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev50-continue-grid{grid-template-columns:1fr}.ev50-release-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev50-sidebar{grid-template-columns:1fr}
  .ev50-premium{grid-template-columns:1fr auto}.ev50-premium>div:not(:first-child){display:none}.ev50-premium .btn{margin:10px}
  .ev50-footer-grid{grid-template-columns:1fr;text-align:center}.ev50-footer .logo{justify-content:center}.ev50-footer-links{gap:12px}.ev50-footer-meta{justify-content:center}
}
@media(max-width:430px){
  #app-header .header-inner{grid-template-columns:36px minmax(0,1fr) auto;min-height:102px}#app-header .logo-mark{display:grid;width:33px;height:33px}#app-header .brand-word{font-size:22px}#app-header .header-actions .btn{padding-inline:13px;font-size:10px}#app-header .header-actions [data-action=favourites]{display:none}
  .ev-carousel.ev50-hero{height:555px!important;max-height:555px!important}.ev50-slide{grid-template-rows:210px 1fr}.ev50-hero-title{font-size:34px}.ev50-hero-copy{padding-bottom:66px}.ev50-hero-actions .btn{padding-inline:14px}
  .ev50-quick-grid{gap:7px}.ev50-quick{padding:9px;gap:8px}.ev50-quick-icon{font-size:20px}.ev50-quick small{display:none}
  .ev50-section,.ev50-side-panel{padding:8px}.ev50-section-title h2{font-size:18px}.ev50-game-info h3{font-size:11px}.ev50-world{min-height:82px}.ev50-release-grid{grid-template-columns:1fr 1fr}.ev50-release{grid-template-columns:48px 1fr}.ev50-release img{width:48px;height:41px}
}
@media(max-height:520px) and (orientation:landscape) and (max-width:980px){
  .ev-carousel.ev50-hero{height:330px!important;max-height:330px!important}.ev50-slide{display:block!important}.ev50-slide picture{position:absolute!important;inset:0!important}.ev50-slide::before{background:linear-gradient(90deg,rgba(4,9,13,.96),rgba(6,10,15,.68) 48%,rgba(4,8,12,.18))}.ev50-hero-copy{height:100%;max-width:54%;padding:20px 0 66px}.ev50-hero-title{font-size:34px}.ev50-hero-sub{font-size:12px}.ev50-hero-description{font-size:10px}.ev50-hero-badges{display:none}
}
@media(prefers-reduced-motion:reduce){
  body,.ev50-hero-copy{animation:none!important}.ev50-game-card,.ev50-game-art img,.ev50-quick{transition:none!important}
}


/* EduVista v5.6: left-corner carousel headlines + approved authentication */
@keyframes ev51-headline-fade{from{opacity:0;transform:translate3d(0,24px,0)}to{opacity:1;transform:none}}
.ev50-hero-copy{width:min(560px,calc(100% - 64px))!important;max-width:560px!important;margin-left:32px!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;animation:none!important}
.ev50-slide.is-active .ev50-hero-copy{animation:ev51-headline-fade 1.6s cubic-bezier(.22,.72,.28,1) both!important}

.ev51-auth-page{padding:var(--measured-header,68px) 0 0!important;background:radial-gradient(circle at 50% 0,#17283a,#091117 44%,#070b0f);min-height:100vh}
.ev51-auth-hero{position:relative;isolation:isolate;width:100%;aspect-ratio:2170/725;overflow:hidden;border-bottom:1px solid #3c4852;background:#0b131a}
.ev51-auth-hero>img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:none!important;transform:none!important;image-rendering:auto;animation:ev51-image-fade 1.05s ease-out both}
@keyframes ev51-image-fade{from{opacity:0}to{opacity:1}}
.ev51-auth-copy{position:absolute;z-index:2;left:32px;top:clamp(24px,4vw,66px);width:min(440px,38vw);padding:0;background:transparent;border:0;box-shadow:none;animation:ev51-headline-fade 1.35s .16s ease-out both}
.ev51-auth-eyebrow{margin:0 0 8px;color:#fff0bd;font-size:10px;font-weight:900;letter-spacing:2.7px;text-transform:uppercase;text-shadow:0 2px 8px #000,0 0 16px #000}
.ev51-auth-copy h1{margin:0;color:#fff8e9;font:800 clamp(37px,4vw,59px)/.96 Georgia,serif;letter-spacing:-1.5px;text-shadow:0 3px 5px #000,0 0 18px #000}
.ev51-auth-copy h1 em{display:block;color:#ff73a7;font-style:normal;text-shadow:0 2px 5px #000,0 0 20px rgba(255,87,148,.5)}
.ev51-auth-copy>p:last-of-type{max-width:43ch;margin:14px 0 0;color:#f2f5f7;font-size:13px;font-weight:600;line-height:1.5;text-shadow:0 2px 5px #000,0 0 14px #000}
.ev51-auth-facts{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.ev51-auth-facts span{padding:7px 9px;border:1px solid rgba(255,236,187,.42);border-radius:999px;background:rgba(6,14,20,.64);color:#ffeab7;font-size:8px;font-weight:800;box-shadow:0 2px 8px #0006}
.ev51-auth-shell{position:relative;z-index:3;width:min(1140px,calc(100% - 34px));margin:-25px auto 42px;display:grid;grid-template-columns:minmax(250px,.78fr) minmax(430px,1.22fr);overflow:hidden;border:1px solid #32404b;border-radius:16px;background:#0c131a;box-shadow:0 30px 75px rgba(0,0,0,.4)}
.ev51-auth-welcome{padding:33px;background:linear-gradient(145deg,#18242e,#0d161d 68%,#161a19);border-right:1px solid #32404b}.ev51-auth-welcome .logo{margin-bottom:25px}.ev51-auth-welcome .logo-mark{width:42px;height:42px}.ev51-auth-welcome .brand-word{color:#fff0bd}.ev51-auth-welcome h2{margin:0;color:#fff4da;font:700 28px/1.08 Georgia,serif}.ev51-auth-welcome>p{margin:10px 0 22px;color:#a8b4bd;font-size:12px;line-height:1.55}
.ev51-benefits{display:grid;gap:10px;margin:0;padding:0;list-style:none}.ev51-benefits li{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;padding:10px;border:1px solid #2d3943;border-radius:10px;background:#111a22}.ev51-benefits li>span{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#1b2630;font-size:18px}.ev51-benefits strong{display:block;font-size:11px}.ev51-benefits small{display:block;margin-top:2px;color:#8e9ba5;font-size:9px;line-height:1.35}.ev51-auth-note{margin-top:20px!important;padding-top:17px;border-top:1px solid #2d3841;color:#7f8c95!important;font-size:9px!important}
.ev51-auth-card{padding:28px 36px 34px;background:linear-gradient(155deg,#131d26,#0d141b)}
.ev51-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin-bottom:25px;border:1px solid #2c3944;border-radius:11px;background:#091017}.ev51-auth-tabs a{min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#94a2ac;font-size:11px;font-weight:800;touch-action:manipulation}.ev51-auth-tabs a[aria-selected=true]{color:#21150d;background:linear-gradient(180deg,#fff0bd,#d1a85e);box-shadow:0 5px 18px rgba(240,207,135,.18)}
.ev51-auth-form{display:grid;gap:14px}.ev51-auth-form.signup{grid-template-columns:1fr 1fr}.ev51-auth-form.signup .ev51-auth-form-head,.ev51-auth-form.signup .ev51-auth-actions,.ev51-auth-form.signup .ev51-auth-legal{grid-column:1/-1}.ev51-auth-form-head{margin-bottom:7px}.ev51-auth-kicker{margin:0 0 6px;color:#ff70a6;font-size:10px;font-weight:900;letter-spacing:2px;text-transform:uppercase}.ev51-auth-form-head h1{margin:0;color:#fff7e7;font:700 31px/1.1 Georgia,serif}.ev51-auth-form-head p{margin:7px 0 0;color:#9eabb5;font-size:11px;line-height:1.45}
.ev51-auth-form .field{margin:0}.ev51-auth-form .field label{display:block;margin-bottom:6px;color:#dce4e9;font-size:10px;font-weight:800}.ev51-auth-form input,.ev51-auth-form select{width:100%;min-height:48px;border:1px solid #354450;border-radius:10px;background:#091118;color:white;padding:11px 13px;font-size:12px;outline:none;transition:.18s border-color,.18s box-shadow}.ev51-auth-form input::placeholder{color:#687680}.ev51-auth-form input:focus,.ev51-auth-form select:focus{border-color:#5ee5ef;box-shadow:0 0 0 3px rgba(94,229,239,.13)}
.ev51-auth-password{position:relative}.ev51-auth-password input{padding-right:61px}.ev51-auth-reveal{position:absolute;right:6px;bottom:6px;min-width:49px;height:36px;border:0;border-radius:7px;background:#17232d;color:#ffe7ad;font-size:9px;font-weight:800;cursor:pointer;touch-action:manipulation}.ev51-auth-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:2px}.ev51-auth-actions .btn.primary{min-height:47px;padding:11px 25px;background:linear-gradient(180deg,#ff6ca4,#ed3e7d);border-color:#ff7bad;color:white;font-size:11px;font-weight:900}.ev51-auth-switch{border:0;background:transparent;color:#ffe6aa;font-size:10px;font-weight:800;cursor:pointer}.ev51-auth-legal{margin:0;color:#cbd4db;font-size:13px;line-height:1.5}
.ev51-signed{grid-column:1/-1;padding:42px;text-align:center}.ev51-signed h1{margin:12px 0;color:#fff5de;font:700 36px/1 Georgia,serif}.ev51-signed p{color:#9eabb5}.ev51-signed-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}

@media(max-width:720px){.ev50-hero-copy{width:calc(100% - 24px)!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important}.ev50-slide.is-active .ev50-hero-copy{animation-duration:1.45s!important}.ev51-auth-hero{aspect-ratio:auto;overflow:visible}.ev51-auth-hero>img{position:relative;height:auto;object-fit:contain}.ev51-auth-copy{position:relative;left:auto;top:auto;width:100%;padding:23px 12px;background:#101a22;animation:ev51-headline-fade 1.35s .16s ease-out both}.ev51-auth-copy h1{font-size:36px}.ev51-auth-copy>p:last-of-type{font-size:11px}.ev51-auth-shell{margin:18px auto 40px;grid-template-columns:1fr}.ev51-auth-welcome{border-right:0;border-bottom:1px solid #32404b;padding:24px}.ev51-auth-welcome .logo{display:none}.ev51-benefits{grid-template-columns:repeat(3,1fr)}.ev51-benefits li{grid-template-columns:1fr;text-align:center}.ev51-benefits li>span{margin:auto}.ev51-auth-note{display:none}}
@media(max-width:430px){.ev51-auth-shell{width:calc(100% - 20px);border-radius:12px}.ev51-auth-copy{padding-inline:10px}.ev51-auth-copy h1{font-size:33px}.ev51-auth-facts span{font-size:7px}.ev51-auth-welcome{padding:19px}.ev51-auth-welcome h2{font-size:23px}.ev51-auth-welcome>p{margin-bottom:14px}.ev51-benefits{grid-template-columns:1fr}.ev51-benefits li{grid-template-columns:34px 1fr;text-align:left;padding:8px}.ev51-benefits li>span{margin:0;width:34px;height:34px}.ev51-auth-card{padding:19px 15px 24px}.ev51-auth-tabs{margin-bottom:20px}.ev51-auth-form-head h1{font-size:27px}.ev51-auth-form.signup{grid-template-columns:1fr}.ev51-auth-form.signup .ev51-auth-form-head,.ev51-auth-form.signup .ev51-auth-actions,.ev51-auth-form.signup .ev51-auth-legal{grid-column:auto}.ev51-auth-actions .btn.primary{width:100%}.ev51-auth-actions{justify-content:center}}
@media(max-height:520px) and (orientation:landscape) and (max-width:980px){.ev51-auth-hero{display:grid;grid-template-columns:1.35fr 1fr}.ev51-auth-hero>img{height:100%;min-height:290px;object-fit:cover}.ev51-auth-copy{display:flex;flex-direction:column;justify-content:center;padding:20px}.ev51-auth-copy h1{font-size:31px}.ev51-auth-facts{display:none}}
@media(prefers-reduced-motion:reduce){.ev50-slide.is-active .ev50-hero-copy,.ev51-auth-hero>img,.ev51-auth-copy{animation:none!important}}


/* EduVista v5.6 public login-first safety preview */
.ev52-auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ev52-remember{display:flex!important;align-items:center;gap:8px;color:#b3bec6!important;cursor:pointer}.ev52-remember input{width:17px!important;height:17px!important;min-height:0!important;accent-color:#ff5794}.ev52-auth-status{min-height:18px;margin:0;color:#9caab4;font-size:10px;line-height:1.4}.ev52-auth-status.error{color:#ff9cb5}.ev52-auth-status.success{color:#83e8bd}.ev52-auth-status.loading{color:#fff0bd}.ev52-auth-status[hidden]{display:block;visibility:hidden}.ev52-client-badge{display:inline-flex;align-items:center;gap:6px;margin-top:7px;padding:6px 9px;border:1px solid #35505a;border-radius:999px;color:#9ce7e9;background:#102029;font-size:9px;font-weight:800}.ev52-public-note{width:min(1140px,calc(100% - 34px));margin:0 auto 16px;padding:10px 13px;border:1px solid #35434d;border-radius:9px;background:#0d161d;color:#93a0aa;font-size:9px;line-height:1.45}.ev52-public-note strong{color:#dce5ea}
#ev55LoginForm .ev52-auth-row{justify-content:flex-end}
@media(max-width:430px){.ev52-auth-row{align-items:flex-start}.ev52-public-note{width:calc(100% - 20px)}}


/* EduVista v5.6 — Worlds page only */
.top-nav a{color:#f7f4ed!important}
.top-nav a.active{color:#ffe29a!important}
.top-nav a.active::after{background:#ffe29a!important}
#mobile-nav nav a.active{color:#ffe29a!important;background:#192129}

.ev53-worlds-page{background:#071016;color:#f7f2e8}
.ev53-worlds-hero{position:relative;width:100%;aspect-ratio:2172/724;overflow:hidden;background:#bfe8ff;border-bottom:1px solid #314552;isolation:isolate}
.ev53-worlds-hero>img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;object-position:center;filter:none!important;transform:none!important;image-rendering:auto}
.ev53-worlds-copy{position:absolute;z-index:2;left:max(28px,calc((100% - min(1500px,calc(100% - 34px)))/2));top:50%;width:min(510px,43vw);transform:translateY(-50%);padding:24px 0;color:#fff;text-shadow:0 2px 9px rgba(0,24,43,.92),0 1px 2px rgba(0,13,24,.98);animation:ev53-world-copy-in 1.35s cubic-bezier(.22,.72,.28,1) both}
@keyframes ev53-world-copy-in{from{opacity:0;transform:translate3d(0,calc(-50% + 24px),0)}to{opacity:1;transform:translate3d(0,-50%,0)}}
.ev53-worlds-copy .ev50-eyebrow{color:#fff1bd}
.ev53-worlds-copy .ev50-hero-title{font-size:clamp(37px,4.5vw,72px);line-height:.94;margin-bottom:13px;max-width:510px}
.ev53-worlds-copy .ev50-hero-sub{font-size:clamp(14px,1.4vw,20px);color:#fff;font-weight:800;margin-bottom:8px}
.ev53-worlds-copy .ev50-hero-description{max-width:430px;color:#fff;font-size:clamp(12px,1.05vw,16px);line-height:1.55;margin-bottom:18px}
.ev53-worlds-copy .ev50-hero-actions{display:flex;gap:11px;flex-wrap:wrap}
.ev53-worlds-copy .btn{min-height:48px;text-shadow:none}
.ev53-worlds-facts{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;color:#fff;font-size:11px;font-weight:800}
.ev53-worlds-facts span{display:inline-flex;gap:6px;align-items:center}
.ev53-worlds-shell{width:min(1500px,calc(100% - 34px));margin:0 auto;padding:22px 0 38px}
.ev53-worlds-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.ev53-worlds-heading h2{margin:0;color:#fff4dc;font:700 clamp(26px,3vw,38px)/1 Georgia,serif}
.ev53-worlds-heading p{margin:7px 0 0;color:#9fadb7;font-size:12px}
.ev53-worlds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ev53-world-card{position:relative;min-height:190px;border:1px solid #34444f;border-radius:12px;overflow:hidden;background:#111a21;color:#fff;text-align:left;cursor:pointer;isolation:isolate;touch-action:manipulation}
.ev53-world-card>img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;filter:none;transform:none;z-index:-2}
.ev53-world-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(4,10,15,.94),rgba(4,10,15,.08) 72%);pointer-events:none}
.ev53-world-card-copy{position:absolute;left:15px;right:15px;bottom:13px;display:flex;align-items:end;justify-content:space-between;gap:12px}
.ev53-world-card-copy strong{display:block;font:700 20px/1.1 Georgia,serif}
.ev53-world-card-copy small{display:block;margin-top:5px;color:#d2dce2;font-size:10px}
.ev53-world-card-copy>span:last-child{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #ffe198;border-radius:50%;background:#111a22d9;color:#ffe198;font-size:24px}
.ev53-player-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.ev53-player-item{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:11px;min-height:74px;padding:9px;border:1px solid #303e48;border-radius:10px;background:#101921;color:#fff;text-align:left;cursor:pointer}
.ev53-player-item img{width:54px;height:54px;border-radius:8px;object-fit:cover}
.ev53-player-item strong,.ev53-player-item small{display:block}.ev53-player-item small{margin-top:4px;color:#96a5af;font-size:9px}.ev53-player-item>span:last-child{color:#ffe198;font-size:20px}

@media(max-width:980px){.ev53-worlds-copy{left:24px;width:min(470px,50vw)}.ev53-worlds-copy .ev50-hero-title{font-size:42px}.ev53-worlds-copy .ev50-hero-description{font-size:12px;max-width:370px}.ev53-worlds-facts{display:none}.ev53-worlds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ev53-worlds-hero{aspect-ratio:auto;overflow:visible;background:#101a22}.ev53-worlds-hero>img{position:relative;height:auto;aspect-ratio:2172/724;object-fit:contain}.ev53-worlds-copy{position:relative;left:auto;top:auto;width:100%;transform:none;padding:23px 14px 27px;background:#101a22;animation:none;text-shadow:none}.ev53-worlds-copy .ev50-hero-title{font-size:38px}.ev53-worlds-copy .ev50-hero-description{max-width:100%}.ev53-worlds-facts{display:flex}.ev53-worlds-shell{width:calc(100% - 20px)}.ev53-worlds-heading{align-items:flex-start}.ev53-worlds-grid{grid-template-columns:1fr 1fr;gap:10px}.ev53-world-card{min-height:155px}.ev53-player-strip{grid-template-columns:1fr}}
@media(max-width:430px){.ev53-worlds-copy{padding:20px 10px 24px}.ev53-worlds-copy .ev50-hero-title{font-size:34px}.ev53-worlds-copy .ev50-hero-actions .btn{flex:1;padding-inline:11px;font-size:11px}.ev53-worlds-facts{gap:10px;font-size:9px}.ev53-worlds-heading{display:block}.ev53-worlds-heading .btn{margin-top:12px}.ev53-worlds-grid{grid-template-columns:1fr}.ev53-world-card{min-height:180px}}
@media(max-height:520px) and (orientation:landscape) and (max-width:980px){.ev53-worlds-hero{display:grid;grid-template-columns:1.35fr 1fr;aspect-ratio:auto;overflow:visible;background:#101a22}.ev53-worlds-hero>img{position:relative;inset:auto;width:100%;height:100%;min-height:260px;aspect-ratio:auto;object-fit:contain}.ev53-worlds-copy{position:relative;left:auto;top:auto;width:100%;transform:none;display:flex;flex-direction:column;justify-content:center;padding:17px;background:#101a22;text-shadow:none;animation:none}.ev53-worlds-copy .ev50-eyebrow,.ev53-worlds-copy .ev50-hero-description,.ev53-worlds-facts{display:none}.ev53-worlds-copy .ev50-hero-title{font-size:32px}.ev53-worlds-copy .ev50-hero-sub{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ev53-worlds-copy{animation:none!important}}


/* EduVista v5.6 — Worlds, Shop and Games catalogue heroes */
.ev54-hero{position:relative;width:100%;height:auto;aspect-ratio:3/1;overflow:hidden;isolation:isolate;background:#09131b;border-bottom:1px solid #334550}
.ev54-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .72s ease,visibility .72s}
.ev54-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.ev54-hero-slide picture{position:absolute;inset:0;display:block;z-index:-1;background:#0c1820;overflow:hidden}
.ev54-hero-slide picture img{width:100%;height:100%;display:block;object-fit:contain;object-position:center;filter:none!important;transform:none!important;image-rendering:auto}
.ev54-hero-copy{position:absolute;left:max(30px,calc((100% - min(1500px,calc(100% - 34px)))/2));top:50%;width:min(510px,44vw);transform:translateY(-50%);color:#fff;text-shadow:0 2px 10px #001424,0 1px 3px #001424}
.ev54-hero-slide.is-active .ev54-hero-copy{animation:ev54-copy-fade 1.6s ease-out both}
@keyframes ev54-copy-fade{from{opacity:0;transform:translateY(calc(-50% + 24px))}to{opacity:1;transform:translateY(-50%)}}
.ev54-kicker{margin:0 0 7px;color:#fff1b7;font-size:10px;font-weight:900;letter-spacing:2.5px;text-transform:uppercase}
.ev54-hero-copy h1{margin:0;color:#fff7e8;font:700 clamp(42px,5vw,72px)/.95 Georgia,serif;letter-spacing:-1.4px}
.ev54-hero-copy h1 em{color:#ff5795;font-style:normal}
.ev54-slide-name{margin:12px 0 5px;color:#fff;font:700 clamp(20px,2vw,29px)/1.1 Georgia,serif}
.ev54-hero-copy>p.ev54-description{max-width:445px;margin:0 0 17px;color:#fff;font-size:13px;line-height:1.55;font-weight:600}
.ev54-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.ev54-hero-actions .btn{min-height:47px;text-shadow:none}
.ev54-carousel-controls{position:absolute;z-index:5;right:max(20px,calc((100% - min(1500px,calc(100% - 34px)))/2));bottom:14px;display:flex;align-items:center;gap:7px}
.ev54-control,.ev54-dot{border:1px solid #83909a;background:#0b141bd9;color:white;cursor:pointer;touch-action:manipulation}
.ev54-control{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:20px}
.ev54-dots{display:flex;gap:6px;align-items:center;padding:0 3px}
.ev54-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#a5afb8}
.ev54-dot[aria-pressed="true"]{width:28px;background:#ff9abd}
.ev54-count{min-width:40px;color:#fff;font-size:10px;font-weight:800;letter-spacing:1px;text-shadow:0 1px 3px #00111e}
.ev54-page-shell{width:min(1500px,calc(100% - 34px));margin:0 auto;padding:24px 0 40px}
.ev54-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 15px}
.ev54-section-head h2{margin:0;color:#fff4dc;font:700 clamp(27px,3vw,39px)/1 Georgia,serif}
.ev54-section-head p{margin:6px 0 0;color:#9eabb5;font-size:11px}
.ev54-shop-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.ev54-shop-grid .card{min-width:0}
.ev54-shop-grid .card-media{aspect-ratio:900/517}
.ev54-shop-grid .card-copy{display:none}
.ev54-shop-grid .card-body{padding:11px;gap:9px}
.ev54-shop-grid .card-title{font-size:15px;min-height:2.35em}
.ev54-free-row{margin-top:28px}
.ev54-games-page .ev54-page-shell{padding-top:20px}
.ev54-games-tools{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:17px}
.ev54-games-tools h2{margin:0;color:#fff4dc;font:700 clamp(27px,3vw,39px)/1 Georgia,serif}
.ev54-games-tools p{margin:6px 0 0;color:#9eabb5}
.ev54-games-tools .search-secondary{margin-left:auto}
.ev54-games-catalogue{scroll-margin-top:90px}
.ev54-worlds-page .ev53-worlds-shell{padding-top:24px}

@media(max-width:1180px){.ev54-shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.ev54-hero-copy{left:24px;width:min(460px,51vw)}.ev54-hero-copy h1{font-size:45px}.ev54-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ev54-games-tools{align-items:flex-start;flex-direction:column}.ev54-games-tools .search-secondary{margin-left:0;width:100%}}
@media(max-width:820px){.ev54-hero{height:570px;aspect-ratio:auto;background:#101a22}.ev54-hero-slide{display:grid;grid-template-rows:225px 1fr}.ev54-hero-slide picture{position:relative;inset:auto;grid-row:1;z-index:0}.ev54-hero-slide picture img{object-fit:contain;object-position:center}.ev54-hero-copy{position:relative;left:auto;top:auto;grid-row:2;width:100%;transform:none;padding:22px 13px 68px;background:#101a22;text-shadow:none}.ev54-hero-slide.is-active .ev54-hero-copy{animation:ev54-copy-fade 1.35s ease-out both}.ev54-hero-copy h1{font-size:40px}.ev54-slide-name{font-size:23px}.ev54-carousel-controls{left:12px;right:12px;bottom:12px;justify-content:center}.ev54-count{display:none}.ev54-page-shell{width:calc(100% - 20px)}.ev54-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ev54-section-head{align-items:flex-start}.ev54-games-tools .search-secondary{display:grid;grid-template-columns:1fr auto}.ev54-games-tools .search-secondary input{min-width:0;width:100%}}
@media(max-width:430px){.ev54-hero{height:555px}.ev54-hero-slide{grid-template-rows:205px 1fr}.ev54-hero-copy{padding:19px 10px 66px}.ev54-hero-copy h1{font-size:36px}.ev54-slide-name{font-size:21px}.ev54-hero-copy>p.ev54-description{font-size:12px}.ev54-hero-actions .btn{flex:1;padding-inline:10px;font-size:10px}.ev54-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev54-shop-grid .card-body{padding:9px}.ev54-shop-grid .card-title{font-size:13px}.ev54-section-head{display:block}.ev54-section-head .btn{margin-top:11px}}
@media(max-height:520px) and (orientation:landscape) and (max-width:980px){.ev54-hero{height:300px;display:block}.ev54-hero-slide{display:grid;grid-template-columns:1.35fr 1fr;grid-template-rows:1fr}.ev54-hero-slide picture{position:relative;grid-column:1;grid-row:1;height:100%}.ev54-hero-slide picture img{object-fit:contain}.ev54-hero-copy{position:relative;left:auto;top:auto;grid-column:2;grid-row:1;width:100%;transform:none;display:flex;flex-direction:column;justify-content:center;padding:15px 15px 58px;background:#101a22;text-shadow:none}.ev54-kicker,.ev54-hero-copy>p.ev54-description{display:none}.ev54-hero-copy h1{font-size:31px}.ev54-slide-name{font-size:18px}.ev54-carousel-controls{right:14px;left:auto;bottom:8px}.ev54-control{width:36px;height:36px}.ev54-dots{display:none}}
@media(max-width:820px),(max-height:520px) and (orientation:landscape) and (max-width:980px){.ev54-hero-slide.is-active .ev54-hero-copy{animation-name:ev51-headline-fade}}
@media(prefers-reduced-motion:reduce){.ev54-hero-slide,.ev54-hero-slide.is-active .ev54-hero-copy{transition:none!important;animation:none!important}}

/* EduVista Owner Studio Phase 10 — owner-approved visual website builder */
.ev65-builder{margin:22px 0;border:1px solid #354754;background:#111b23;border-radius:22px;overflow:hidden}
.ev65-builder>summary,.ev57-capabilities>summary,.ev65-conversation-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;color:#fff3dd}
.ev65-builder>summary::-webkit-details-marker,.ev57-capabilities>summary::-webkit-details-marker,.ev65-conversation-details>summary::-webkit-details-marker{display:none}
.ev65-builder>summary>span:first-child,.ev65-conversation-details>summary>span:first-child{display:grid;gap:4px}.ev65-builder>summary strong{font:700 1.45rem Georgia,serif}.ev65-builder>summary small,.ev65-conversation-details>summary>span:last-child{color:#98a7b2;font-size:.78rem}
.ev65-builder[open]>summary,.ev57-capabilities[open]>summary,.ev65-conversation-details[open]>summary{border-bottom:1px solid #2b3943}
.ev65-builder-body{padding:22px;display:grid;gap:24px}.ev65-builder-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ev65-builder-settings label{display:grid;gap:7px;color:#dbe3e8;font-weight:700;font-size:.78rem}.ev65-builder-settings select,.ev65-builder-settings input,.ev65-sort-item input{width:100%;min-width:0;border:1px solid #344550;background:#0b141b;color:#f8f1e5;border-radius:11px;padding:11px 12px}
.ev65-builder-toggles{display:flex;flex-wrap:wrap;gap:10px}.ev65-builder-toggles label,.ev65-inline-check{display:flex!important;align-items:center;gap:7px;border:1px solid #33444f;background:#0c151c;border-radius:999px;padding:9px 12px;color:#cbd5dc;font-size:.75rem!important}.ev65-builder-toggles input,.ev65-inline-check input{accent-color:#f39abb}
.ev65-builder-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ev65-builder h3,.ev65-builder h4{margin:0 0 5px;color:#fff0d5}.ev65-builder p{margin:0 0 13px;color:#9cabb5;font-size:.8rem}.ev65-sort-list{display:grid;gap:8px}.ev65-sort-item{display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(110px,.8fr) auto auto;align-items:center;gap:9px;padding:10px;border:1px solid #31424d;background:#0c151c;border-radius:13px}.ev65-sort-item.dragging{opacity:.45;border-color:#f39abb}.ev65-sort-item>div:nth-child(2){display:grid;gap:2px}.ev65-sort-item strong{color:#f6ead5;font-size:.82rem}.ev65-sort-item small{color:#778792;font-size:.66rem}.ev65-grip,.ev65-move button{border:0;background:#1b2a35;color:#dce5ea;border-radius:8px;min-width:34px;min-height:34px;cursor:grab}.ev65-move{display:flex;gap:4px}.ev65-move button{cursor:pointer}.ev65-move button:disabled{opacity:.35}.ev65-builder-menus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.ev65-builder-menus>h3,.ev65-builder-menus>p{grid-column:1/-1}.ev65-builder-menus .ev65-sort-item{grid-template-columns:auto minmax(82px,1fr);align-items:start}.ev65-builder-menus .ev65-sort-item>input,.ev65-builder-menus .ev65-inline-check,.ev65-builder-menus .ev65-move{grid-column:2}.ev65-studio-controls{border-top:1px solid #2e3e48;padding-top:20px}.ev65-builder-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid #2e3e48;padding-top:20px}.ev65-builder-actions span{color:#95a5af;font-size:.75rem}
.ev57-capabilities>summary{padding:0 0 15px}.ev57-capabilities>summary h3{margin:2px 0 0}.ev57-capabilities:not([open]){padding-bottom:14px}.ev65-conversation-details{display:block}.ev65-conversation-details>summary strong{font-size:1rem}.ev65-conversation-details .ev58-conversation{border:0}
.ev65-section-toggle{margin-left:auto;width:38px;height:38px;display:grid;place-items:center;border:1px solid #3b4b56;background:#131e26;color:#ffe8b6;border-radius:50%;cursor:pointer}.ev65-section-toggle span:first-child{transition:transform .18s ease}.ev65-collapsed .ev65-section-toggle span:first-child{transform:rotate(-90deg)}.ev65-collapsed>:not(header){display:none!important}
.ev65-section-fade .ev50-section{animation:ev65-fade .45s ease both}.ev65-section-rise .ev50-section{animation:ev65-rise .5s ease both}.ev65-section-slide .ev50-section{animation:ev65-slide .5s ease both}@keyframes ev65-fade{from{opacity:0}to{opacity:1}}@keyframes ev65-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes ev65-slide{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}
.ev65-card-none .ev50-game-card,.ev65-card-none .ev50-continue,.ev65-card-none .ev50-release{transition:none!important}.ev65-card-none .ev50-game-card:hover,.ev65-card-none .ev50-continue:hover,.ev65-card-none .ev50-release:hover{transform:none!important;box-shadow:none}.ev65-card-lift .ev50-game-card:hover,.ev65-card-lift .ev50-continue:hover,.ev65-card-lift .ev50-release:hover{transform:translateY(-5px)}.ev65-card-glow .ev50-game-card:hover,.ev65-card-glow .ev50-continue:hover,.ev65-card-glow .ev50-release:hover{border-color:#bf75df;box-shadow:0 0 24px #9d48c84d}.ev65-card-zoom .ev50-game-card:hover img,.ev65-card-zoom .ev50-continue:hover img,.ev65-card-zoom .ev50-release:hover img{transform:scale(1.05)}
#app-header.ev65-menu-compact .top-nav{gap:12px}#app-header.ev65-menu-compact .top-nav a{font-size:11px}#app-header.ev65-menu-hamburger .top-nav{display:none}#app-header.ev65-menu-hamburger .menu-btn{display:inline-flex}
@media(max-width:980px){.ev65-builder-settings,.ev65-builder-columns,.ev65-builder-menus{grid-template-columns:1fr}.ev65-builder-menus>h3,.ev65-builder-menus>p{grid-column:auto}.ev65-sort-item{grid-template-columns:auto minmax(100px,1fr) auto}.ev65-sort-item>input,.ev65-sort-item>.ev65-inline-check{grid-column:2}.ev65-sort-item>.ev65-move{grid-column:3;grid-row:1/3}.ev65-builder-menus .ev65-sort-item>.ev65-move{grid-column:2;grid-row:auto}}
@media(max-width:560px){.ev65-builder-body{padding:14px}.ev65-builder>summary{padding:16px}.ev65-builder-settings{grid-template-columns:1fr}.ev65-sort-item{grid-template-columns:auto 1fr}.ev65-sort-item>.ev65-move{grid-column:2;grid-row:auto}.ev65-builder-actions .btn{flex:1 1 140px}}
@media(prefers-reduced-motion:reduce){.ev65-section-fade .ev50-section,.ev65-section-rise .ev50-section,.ev65-section-slide .ev50-section{animation:none!important}.ev65-card-lift .ev50-game-card,.ev65-card-lift .ev50-continue,.ev65-card-lift .ev50-release,.ev65-card-glow .ev50-game-card,.ev65-card-glow .ev50-continue,.ev65-card-glow .ev50-release,.ev65-card-zoom img{transition:none!important}}


/* EduVista v5.5 — Supabase authentication and account security */
.ev55-loading{
  min-height:62vh;display:grid;place-items:center;padding:48px 20px;text-align:center
}
.ev55-loading-card{
  width:min(560px,100%);padding:32px;border:1px solid rgba(255,255,255,.1);
  border-radius:24px;background:linear-gradient(145deg,rgba(37,42,72,.96),rgba(20,24,46,.96));
  box-shadow:0 22px 70px rgba(4,7,24,.32)
}
.ev55-spinner{
  width:34px;height:34px;margin:0 auto 16px;border:3px solid rgba(255,255,255,.2);
  border-top-color:#eaa8c3;border-radius:50%;animation:ev55-spin .8s linear infinite
}
@keyframes ev55-spin{to{transform:rotate(360deg)}}
.ev55-captcha-wrap{min-height:70px;margin:6px 0 2px;display:flex;align-items:center}
.ev55-captcha-note{
  padding:12px 14px;border:1px solid rgba(234,168,195,.32);border-radius:14px;
  background:rgba(234,168,195,.09);color:#f4dce7;font-size:.9rem;line-height:1.5
}
.ev55-password-help{margin:-4px 0 2px;color:#aeb8c7;font-size:.82rem;line-height:1.45}
.ev55-secure-note{display:flex;gap:8px;align-items:flex-start;color:#b9c4d2;font-size:.83rem;line-height:1.5}
.ev55-secure-note::before{content:'\1F6E1';font-size:1rem}
.ev55-account-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px}
.ev55-profile-card,.ev55-security-card{padding:24px}
.ev55-profile-card h2,.ev55-security-card h2{margin:0 0 8px}
.ev55-profile-card .field input[readonly]{opacity:.72;cursor:not-allowed}
.ev55-verified{display:inline-flex;align-items:center;gap:7px;color:#8ce7c8;font-weight:700;font-size:.86rem}
.ev55-account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.ev55-security-list{display:grid;gap:12px;margin-top:16px}
.ev55-security-row{padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.025)}
.ev55-security-row strong{display:block;margin-bottom:4px}
.ev55-security-row .fine{line-height:1.5}
.ev55-mfa-form{max-width:540px;margin:0 auto}
.ev55-mfa-code{font-size:1.35rem!important;letter-spacing:.22em;text-align:center;font-variant-numeric:tabular-nums}
.ev55-qr{width:min(220px,70vw);aspect-ratio:1;margin:14px auto;padding:10px;border-radius:16px;background:#fff;display:block}
.ev55-secret{
  padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.06);word-break:break-all;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.86rem
}
.ev55-empty{padding:24px;text-align:center;color:#aeb8c7}
.ev55-auth-error{margin:18px auto;max-width:920px;padding:14px 18px;border:1px solid rgba(255,121,137,.34);border-radius:15px;background:rgba(255,84,110,.1);color:#ffd7de}
.ev55-recovery-shell{width:min(620px,calc(100% - 32px));margin:34px auto}
.ev55-live-badge{background:rgba(94,220,174,.12)!important;color:#8ce7c8!important;border-color:rgba(94,220,174,.28)!important}
.ev55-modal-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px}
@media (max-width:860px){.ev55-account-grid{grid-template-columns:1fr}}
@media (max-width:520px){.ev55-profile-card,.ev55-security-card{padding:18px}.ev55-captcha-wrap{transform-origin:left center;transform:scale(.9);width:111%}}
@media (prefers-reduced-motion:reduce){.ev55-spinner{animation-duration:1.8s}}

/* EduVista Owner Studio Phase 1 */
.ev56-page{min-height:72vh;background:
 radial-gradient(circle at 10% 4%,rgba(130,65,188,.17),transparent 28rem),
 linear-gradient(180deg,#0c1218,#0a0f14)}
.ev56-shell{width:min(1540px,calc(100% - 36px));margin:0 auto;padding:36px 0 54px}
.ev56-title{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.ev56-title h1{margin:2px 0 8px;color:#fff4dc;font:700 clamp(38px,5vw,64px)/1 Georgia,serif}
.ev56-title p:not(.ev56-kicker){margin:0;color:#aeb8c7}
.ev56-title-actions,.ev56-editor-actions{display:flex;gap:10px;flex-wrap:wrap}
.ev56-kicker{margin:0 0 5px;color:#ff74a8;font-size:.72rem;font-weight:900;letter-spacing:.2em;text-transform:uppercase}
.ev56-notice,.ev56-form-status,.ev56-agent-output{padding:13px 15px;border:1px solid rgba(118,230,192,.3);border-radius:14px;background:rgba(62,188,146,.1);color:#aaf2da;white-space:pre-wrap}
.ev56-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.ev56-stats>div{padding:18px;border:1px solid #293844;border-radius:16px;background:#121b23}
.ev56-stats strong,.ev56-stats span{display:block}.ev56-stats strong{color:#fff5dd;font-size:1.55rem}.ev56-stats span{margin-top:5px;color:#93a3ae;font-size:.78rem}
.ev56-workspace{display:grid;grid-template-columns:minmax(360px,.82fr) minmax(520px,1.18fr);gap:18px;align-items:start}
.ev56-catalogue,.ev56-editor,.ev56-agent{padding:22px;background:#121a23;border-color:#293844}
.ev56-catalogue>header,.ev56-editor-head,.ev56-agent-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ev56-catalogue h2,.ev56-editor h2,.ev56-agent h2{margin:0;color:#fff5df}
.ev56-catalogue-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 12px;color:#8f9da7;font-size:.75rem}
.ev56-list{display:grid;gap:9px;max-height:760px;overflow:auto;padding-right:3px}
.ev56-list-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px;border:1px solid #293844;border-radius:13px;background:#0c141b;transition:border-color .18s,background .18s}
.ev56-list-item.selected{border-color:#f2a8c3;background:#19212b}
.ev56-list-thumb{width:52px;height:45px;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:#202c37}
.ev56-list-thumb img{width:100%;height:100%;object-fit:cover}.ev56-list-thumb span{font-size:1.25rem}
.ev56-list-main{min-width:0;padding:0;border:0;background:transparent;color:#fff;text-align:left;cursor:pointer}
.ev56-list-main strong,.ev56-list-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev56-list-main small{margin-top:4px;color:#8f9da7;font-size:.7rem;text-transform:capitalize}
.ev56-status{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border:1px solid #46545f;border-radius:999px;color:#c4ced5;font-size:.66rem;font-weight:800}
.ev56-status.published{border-color:rgba(92,218,174,.36);background:rgba(60,188,143,.1);color:#8ce7c8}.ev56-status.archived{opacity:.62}
.ev56-order{display:grid;grid-template-columns:1fr 1fr;gap:4px}.ev56-order button{width:27px;height:27px;padding:0;border:1px solid #3a4853;border-radius:8px;background:#17222b;color:#fff;cursor:pointer}.ev56-order button:disabled{opacity:.25;cursor:not-allowed}
.ev56-empty,.ev56-editor-welcome,.ev56-access-denied,.ev56-setup,.ev56-loading{text-align:center}
.ev56-empty{display:grid;gap:7px;padding:36px 14px;color:#91a0aa}.ev56-empty strong{color:#fff}
.ev56-editor{position:sticky;top:90px}.ev56-editor-welcome{display:grid;place-items:center;min-height:420px}.ev56-editor-welcome>span,.ev56-access-denied>span,.ev56-setup>span{font-size:2.2rem}.ev56-editor-welcome p{color:#94a3ae}
.ev56-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ev56-editor .field{margin-top:14px}.ev56-editor textarea,.ev56-agent textarea{width:100%;resize:vertical}
.ev56-check{display:flex;align-items:center;gap:9px;margin-top:30px;color:#c3ced6}.ev56-check input{width:18px;height:18px;accent-color:#ff6da3}
.ev56-editor-actions{margin-top:18px}.ev56-danger{border-color:rgba(255,111,125,.4)!important;color:#ffc2ca!important}
.ev56-form-status.error{border-color:rgba(255,111,125,.4);background:rgba(255,78,98,.1);color:#ffd1d7}
.ev69-game-publisher{display:grid;justify-items:start;gap:11px;margin-top:22px;padding:17px;border:1px solid #344650;border-radius:14px;background:#0c141b}.ev69-game-publisher h3{margin:0;color:#fff5df}.ev69-game-publisher>p{margin:0;line-height:1.5}.ev69-game-publisher .field{width:100%;margin-top:0}.ev69-game-publisher .ev56-editor-actions{margin-top:0}.ev69-game-publisher .ev56-form-status{width:100%;box-sizing:border-box;overflow-wrap:anywhere}.ev69-game-publisher .fine{overflow-wrap:anywhere}
.ev56-agent{margin-top:18px}.ev56-agent-head{justify-content:flex-start}.ev56-agent-head>span:first-child{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(235,134,255,.34);border-radius:13px;background:rgba(150,73,202,.14);color:#efb1ff;font-size:1.3rem}.ev56-private{margin-left:auto;padding:5px 9px;border:1px solid rgba(118,230,192,.26);border-radius:999px;color:#8ce7c8;font-size:.7rem;font-weight:800}.ev56-agent>p{color:#9ba9b3}.ev56-agent-output{color:#dffcf2}
.ev56-agent-toolbar{display:flex;align-items:end;gap:16px;margin:18px 0}.ev56-agent-toolbar label{display:grid;gap:7px;min-width:230px;color:#e6edf2;font-size:.8rem;font-weight:800}.ev56-agent-toolbar select{min-width:230px}.ev56-agent-toolbar p{margin:0 0 11px;color:#93a3ae;font-size:.78rem}
.ev56-access-denied,.ev56-setup,.ev56-loading{width:min(700px,100%);margin:44px auto;padding:34px}.ev56-access-denied h1,.ev56-setup h2,.ev56-loading h2{color:#fff5df}.ev56-access-denied p,.ev56-setup p,.ev56-loading p{color:#9cabb5}
@media(max-width:1080px){.ev56-workspace{grid-template-columns:1fr}.ev56-editor{position:static}.ev56-list{max-height:540px}}
@media(max-width:760px){.ev56-shell{width:calc(100% - 20px);padding-top:24px}.ev56-title{display:block}.ev56-title-actions{margin-top:16px}.ev56-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ev56-form-grid{grid-template-columns:1fr}.ev56-list-item{grid-template-columns:48px minmax(0,1fr) auto}.ev56-order{grid-column:2/4;display:flex;justify-content:flex-end}.ev56-catalogue-actions{align-items:flex-start;flex-direction:column}.ev56-agent-toolbar{display:grid;gap:8px}.ev56-agent-toolbar label,.ev56-agent-toolbar select{min-width:0;width:100%}.ev56-agent-toolbar p{margin:0}.ev56-check{margin-top:10px}}

/* EduVista Owner Studio Phase 2 — safe AI layout preview and approval */
.ev56-agent-actions,.ev57-proposal-actions,.ev57-preview-banner>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ev56-agent-actions{margin-top:18px}.ev56-agent-actions>span{color:#8f9da7;font-size:.74rem}
.ev56-agent-actions kbd{padding:3px 7px;border:1px solid #3a4853;border-bottom-width:2px;border-radius:6px;background:#0b1219;color:#e7edf1;font:700 .7rem/1 ui-monospace,SFMono-Regular,Consolas,monospace}
.ev57-capabilities{margin:18px 0;padding:18px;border:1px solid #2d3b46;border-radius:16px;background:#0d151c}.ev57-capabilities>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}.ev57-capabilities h3{margin:0;color:#fff3dc;font-size:1.08rem}.ev57-capabilities>header>span{padding:5px 9px;border:1px solid rgba(118,230,192,.26);border-radius:999px;color:#8ce7c8;font-size:.65rem;font-weight:800;white-space:nowrap}.ev57-capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ev57-capability-grid article{display:grid;grid-template-columns:31px 1fr;gap:9px;align-items:start;padding:11px;border:1px solid #293844;border-radius:11px;background:#111c24}.ev57-capability-grid article>span{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:rgba(255,105,162,.12);color:#ff9fc3}.ev57-capability-grid strong,.ev57-capability-grid small{display:block}.ev57-capability-grid strong{color:#eef3f5;font-size:.78rem;line-height:1.25}.ev57-capability-grid small{margin-top:4px;color:#91a0aa;font-size:.68rem;line-height:1.42}.ev57-capability-limit{margin:12px 0 0!important;padding:11px 12px;border-left:3px solid #d7ae64;border-radius:6px;background:rgba(215,174,100,.08);color:#aeb9c1!important;font-size:.72rem;line-height:1.5}.ev57-capability-limit strong{color:#ffe3a7}
.ev57-layout-proposal{margin-top:16px;padding:18px;border:1px solid rgba(255,123,171,.33);border-radius:16px;background:linear-gradient(145deg,rgba(119,52,103,.16),rgba(9,18,25,.72))}
.ev57-layout-proposal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ev57-layout-proposal h3{margin:0;color:#fff3dc;font-size:1.15rem}.ev57-layout-proposal>header>span{padding:5px 9px;border:1px solid rgba(255,210,126,.3);border-radius:999px;color:#ffe09b;font-size:.68rem;font-weight:800;white-space:nowrap}
.ev57-proposal-grid{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(260px,1.1fr);gap:18px;margin:17px 0}.ev57-proposal-grid dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0}.ev57-proposal-grid dl>div{padding:11px;border:1px solid #2d3b46;border-radius:11px;background:#0d151c}.ev57-proposal-grid dt{color:#83939e;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}.ev57-proposal-grid dd{margin:4px 0 0;color:#edf2f5;font-size:.8rem;text-transform:capitalize}
.ev57-mini-browser{min-height:190px;padding:8px;border:1px solid #45535d;border-radius:12px;background:#080e13;box-shadow:0 12px 32px rgba(0,0,0,.28)}.ev57-mini-bar{height:12px;margin-bottom:6px;border-radius:5px;background:#26323c}.ev57-mini-hero{height:57px;border-radius:6px;background:linear-gradient(110deg,#3b1f43,#1e5272 52%,#a96179)}.ev57-mini-hero.immersive{height:76px}.ev57-mini-hero.compact{height:38px}.ev57-mini-links{height:17px;margin-top:6px;border-radius:4px;background:repeating-linear-gradient(90deg,#273844 0 23%,transparent 23% 25%)}.ev57-mini-content{display:grid;grid-template-columns:1fr;gap:6px;margin-top:6px}.ev57-mini-content.with-sidebar{grid-template-columns:3fr 1fr}.ev57-mini-content>div{display:grid;gap:4px}.ev57-mini-content span{display:block;min-height:20px;padding:5px;border-radius:4px;background:#17232c;color:#afbdc6;font-size:.55rem}.ev57-mini-content aside{border-radius:4px;background:#202e38}.ev57-mini-premium{height:15px;margin-top:6px;border-radius:4px;background:#5a4928}.ev57-mini-browser [hidden]{display:none!important}.ev57-proposal-actions{margin-top:4px}
.ev57-preview-banner{position:sticky;top:var(--measured-header);z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(17px,calc((100% - min(1500px,calc(100% - 34px)))/2));border-block:1px solid #e7b45e;background:linear-gradient(90deg,#2e2413,#3d2e16);box-shadow:0 8px 24px rgba(0,0,0,.3);color:#fff4d6}.ev57-preview-banner>div:first-child{display:grid;gap:3px}.ev57-preview-banner span{color:#d8cba9;font-size:.75rem}.ev57-preview-banner .btn{min-height:38px;padding:8px 14px}
.ev50-home.ev57-width-wide .ev50-shell{width:min(1720px,calc(100% - 34px))}.ev50-home .ev50-dashboard.ev57-no-sidebar{grid-template-columns:1fr}.ev50-home [hidden]{display:none!important}
.ev50-home.ev57-hero-immersive .ev-carousel.ev50-hero{height:500px!important;max-height:500px!important}.ev50-home.ev57-hero-compact .ev-carousel.ev50-hero{height:300px!important;max-height:300px!important}.ev50-home.ev57-hero-compact .ev50-hero-description,.ev50-home.ev57-hero-compact .ev50-hero-badges{display:none}
.ev50-home.ev57-density-spacious .ev50-main,.ev50-home.ev57-density-spacious .ev50-sidebar{gap:18px}.ev50-home.ev57-density-spacious .ev50-section,.ev50-home.ev57-density-spacious .ev50-side-panel{padding:15px}.ev50-home.ev57-density-spacious :is(.ev50-trending-grid,.ev50-world-grid,.ev50-continue-grid,.ev50-release-grid){gap:13px}
.ev50-home.ev57-density-compact .ev50-main,.ev50-home.ev57-density-compact .ev50-sidebar{gap:7px}.ev50-home.ev57-density-compact .ev50-section,.ev50-home.ev57-density-compact .ev50-side-panel{padding:7px}.ev50-home.ev57-density-compact :is(.ev50-trending-grid,.ev50-world-grid,.ev50-continue-grid,.ev50-release-grid){gap:5px}.ev50-home.ev57-density-compact .ev50-game-info{padding:6px}
@media(max-width:900px){.ev57-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ev57-proposal-grid{grid-template-columns:1fr}.ev57-preview-banner{position:relative;top:auto;align-items:flex-start;flex-direction:column;padding:12px}.ev50-home.ev57-hero-immersive .ev-carousel.ev50-hero{height:650px!important;max-height:650px!important}.ev50-home.ev57-hero-compact .ev-carousel.ev50-hero{height:470px!important;max-height:470px!important}}
@media(max-width:520px){.ev57-layout-proposal>header,.ev57-capabilities>header{display:grid}.ev57-proposal-grid dl,.ev57-capability-grid{grid-template-columns:1fr}.ev56-agent-actions>span{width:100%}.ev57-preview-banner .btn{flex:1}.ev57-preview-banner>div:last-child{width:100%}}

/* EduVista Owner Studio Phase 3 — private projects and persistent chat history */
.ev58-chat-workspace{display:grid;grid-template-columns:minmax(250px,.38fr) minmax(0,.62fr);min-height:390px;margin:18px 0;border:1px solid #2d3b46;border-radius:17px;overflow:hidden;background:#0b1218}
.ev58-chat-sidebar{padding:15px;border-right:1px solid #2d3b46;background:#0d161d}
.ev58-chat-sidebar>summary{display:none}.ev60-history-body{min-width:0}
.ev58-project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding-bottom:14px;border-bottom:1px solid #27343e}
.ev58-project-row label{display:grid;gap:6px;color:#dce5ea;font-size:.72rem;font-weight:800}.ev58-project-row select{width:100%;min-width:0}
.ev58-project-row .btn,.ev58-chat-list-head .btn{min-height:39px;padding:9px 11px;font-size:.7rem;white-space:nowrap}
.ev58-chat-list-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:15px 0 10px}.ev58-chat-list-head strong,.ev58-chat-list-head small{display:block}.ev58-chat-list-head strong{color:#f8eedc}.ev58-chat-list-head small{max-width:160px;margin-top:3px;overflow:hidden;color:#82929d;font-size:.63rem;text-overflow:ellipsis;white-space:nowrap}
.ev58-chat-list{display:grid;gap:7px;max-height:285px;overflow:auto;padding-right:2px}.ev58-chat-list>p{margin:20px 8px;color:#84939d;font-size:.75rem;text-align:center}
.ev58-chat-list button{display:grid;gap:5px;width:100%;padding:11px;border:1px solid #283741;border-radius:11px;background:#111c24;color:#e9eff2;text-align:left;cursor:pointer}.ev58-chat-list button:hover{border-color:#536570}.ev58-chat-list button[aria-selected="true"]{border-color:#f2a8c3;background:linear-gradient(100deg,rgba(202,85,132,.16),rgba(17,28,36,.96));box-shadow:inset 3px 0 #f2a8c3}.ev58-chat-list button:disabled{cursor:wait;opacity:.68}.ev58-chat-list button strong,.ev58-chat-list button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ev58-chat-list button strong{font-size:.76rem}.ev58-chat-list button small{color:#8999a3;font-size:.62rem}
.ev58-conversation{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0}.ev58-conversation>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;border-bottom:1px solid #27343e}.ev58-conversation>header h3{margin:0;color:#fff3dd;font-size:1rem}.ev58-conversation>header>span{color:#84939d;font-size:.68rem}
.ev58-message-list{display:flex;flex-direction:column;gap:11px;max-height:430px;overflow:auto;padding:18px;scroll-behavior:smooth}
.ev58-message{width:min(88%,680px);padding:12px 14px;border:1px solid #2d3b46;border-radius:14px;background:#111b23}.ev58-message.user{align-self:flex-end;border-color:rgba(244,159,193,.35);background:rgba(137,54,94,.2)}.ev58-message.assistant{align-self:flex-start;border-color:rgba(105,219,182,.27);background:rgba(36,111,91,.15)}.ev58-message header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ev58-message header strong{color:#f6edde;font-size:.72rem}.ev58-message time{color:#7f8f99;font-size:.6rem}.ev58-message p{margin:7px 0 0;color:#c4cfd5;font-size:.78rem;line-height:1.55;white-space:pre-wrap}.ev58-message .btn{margin-top:10px;padding:7px 10px;font-size:.65rem}
.ev58-chat-empty,.ev58-history-state{display:grid;place-items:center;align-content:center;min-height:280px;padding:28px;color:#8c9ba5;text-align:center}.ev58-chat-empty>span{color:#e9a9c6;font-size:1.6rem}.ev58-chat-empty strong,.ev58-history-state strong{margin-top:8px;color:#f4ecdf}.ev58-chat-empty p,.ev58-history-state p{max-width:480px;margin:7px auto 0;font-size:.75rem;line-height:1.5}.ev58-history-state{min-height:180px;margin:18px 0;border:1px solid #2d3b46;border-radius:16px;background:#0d151c}.ev58-history-state .ev55-spinner{width:25px;height:25px;margin-bottom:5px}.ev58-history-state.error{border-color:rgba(255,111,125,.35);background:rgba(255,78,98,.07)}.ev58-history-state .btn{margin-top:14px}
.ev58-project-form{margin-top:16px;padding:18px}.ev58-project-form textarea{width:100%;resize:vertical}
@media(max-width:900px){.ev58-chat-workspace{grid-template-columns:1fr}.ev58-chat-sidebar{border-right:0;border-bottom:1px solid #2d3b46}.ev58-chat-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px}.ev58-chat-list>p{grid-column:1/-1}.ev58-message-list{max-height:380px}}
@media(max-width:560px){.ev58-project-row{grid-template-columns:1fr}.ev58-project-row .btn{width:100%}.ev58-chat-list{grid-template-columns:1fr}.ev58-chat-list-head{align-items:flex-start;flex-direction:column}.ev58-chat-list-head .btn{width:100%}.ev58-message{width:96%}.ev58-message-list{padding:12px}.ev58-conversation>header{align-items:flex-start}.ev58-conversation>header>span{white-space:nowrap}}

/* EduVista Owner Studio Phase 4 — approved copy, versions, reasoning and image generation */
.ev59-studio-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:18px;margin-top:18px;align-items:start}
.ev59-home-editor,.ev59-versions,.ev59-image-studio{padding:22px;background:#121a23;border-color:#293844}
.ev59-home-editor>header,.ev59-versions>header,.ev59-image-studio>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ev59-home-editor h2,.ev59-versions h2,.ev59-image-studio h2{margin:0;color:#fff5df}.ev59-home-editor header p:not(.ev56-kicker),.ev59-versions header p:not(.ev56-kicker),.ev59-image-studio header p:not(.ev56-kicker){margin:6px 0 0;color:#91a0aa;font-size:.78rem;line-height:1.45}
.ev59-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.ev59-home-grid .field{margin:0}.ev59-panel-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:17px}.ev59-panel-actions span{color:#8999a4;font-size:.72rem}
.ev59-version-list{display:grid;gap:8px;margin-top:16px;max-height:485px;overflow:auto;padding-right:3px}.ev59-version-list>p{padding:26px 12px;color:#8797a2;text-align:center;font-size:.75rem}.ev59-version-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #2a3944;border-radius:12px;background:#0d161d}.ev59-version-list strong,.ev59-version-list small{display:block}.ev59-version-list strong{color:#ecf1f3;font-size:.75rem}.ev59-version-list small{margin-top:4px;color:#84949e;font-size:.63rem}.ev59-version-list .btn{min-height:34px;padding:7px 11px;font-size:.67rem}
.ev59-image-studio{margin-top:18px}.ev59-image-studio>header>span{padding:5px 9px;border:1px solid rgba(255,210,126,.3);border-radius:999px;color:#ffe09b;font-size:.66rem;font-weight:800;white-space:nowrap}.ev59-image-grid{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(380px,1.2fr);gap:18px;margin-top:16px}.ev59-image-grid .field{margin-top:12px}.ev59-image-grid textarea{width:100%;resize:vertical}.ev59-image-result{min-height:310px;overflow:hidden;border:1px solid #2d3b46;border-radius:14px;background:#0a1117}.ev59-image-result>img{display:block;width:100%;max-height:430px;aspect-ratio:3/2;object-fit:cover}.ev59-image-result>div:not(.ev59-image-empty){display:flex;align-items:center;gap:10px;padding:12px}.ev59-image-result>div:not(.ev59-image-empty) strong{color:#f7edda}.ev59-image-result>div:not(.ev59-image-empty) span{margin-right:auto;color:#8d9ca6;font-size:.7rem}.ev59-image-empty{min-height:310px;display:grid;place-items:center;align-content:center;padding:24px;color:#8898a2;text-align:center}.ev59-image-empty>span{color:#e9a9c6;font-size:1.8rem}.ev59-image-empty strong{margin-top:8px;color:#eee8de}.ev59-image-empty p{max-width:320px;margin:7px auto 0;font-size:.72rem;line-height:1.5}
.ev56-agent-toolbar{align-items:end;flex-wrap:wrap}.ev56-agent-toolbar label{min-width:210px}.ev56-agent-toolbar p{flex:1;min-width:260px}
.ev59-field-approval{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:17px 0}.ev59-field-approval label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;border:1px solid #2d3b46;border-radius:12px;background:#0d151c;cursor:pointer}.ev59-field-approval input{margin-top:2px;accent-color:#ff6da3}.ev59-field-approval strong,.ev59-field-approval small{display:block}.ev59-field-approval strong{color:#f2ebdf;font-size:.72rem}.ev59-field-approval small{max-height:7.2em;margin-top:5px;overflow:auto;color:#a7b4bc;font-size:.7rem;line-height:1.45;white-space:pre-wrap}
@media(max-width:1050px){.ev59-studio-grid,.ev59-image-grid{grid-template-columns:1fr}}
@media(max-width:650px){.ev59-home-grid,.ev59-field-approval{grid-template-columns:1fr}.ev59-home-editor>header,.ev59-versions>header,.ev59-image-studio>header{display:grid}.ev59-image-grid{grid-template-columns:minmax(0,1fr)}.ev59-image-result>div:not(.ev59-image-empty){align-items:flex-start;flex-direction:column}.ev59-image-result>div:not(.ev59-image-empty) span{margin-right:0}}

/* EduVista Owner Studio Phase 5 — phone and tablet agent workspace */
.ev60-agent-nav{display:none}.ev60-composer{scroll-margin-top:calc(var(--measured-header) + 12px)}
@media(max-width:900px){
 .ev56-page{overflow-x:hidden}.ev56-shell{width:min(100% - 24px,960px);padding-top:26px}.ev56-agent{padding:18px}
 .ev60-agent-nav{position:sticky;top:calc(var(--measured-header) + 8px);z-index:25;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0;padding:6px;border:1px solid #31414d;border-radius:14px;background:rgba(10,17,23,.96);backdrop-filter:blur(14px)}
 .ev60-agent-nav button{min-height:44px;padding:8px;border:0;border-radius:10px;background:#16222c;color:#edf2f5;font:inherit;font-size:.72rem;font-weight:800;line-height:1.2;cursor:pointer}.ev60-agent-nav button:active{background:#283846}
 .ev58-chat-workspace,.ev60-composer,.ev57-capabilities{scroll-margin-top:calc(var(--measured-header) + 82px)}
 .ev58-chat-sidebar{padding:0;border-right:0;border-bottom:1px solid #2d3b46}
 .ev58-chat-sidebar>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 14px;color:#f6edde;cursor:pointer;list-style:none}.ev58-chat-sidebar>summary::-webkit-details-marker{display:none}.ev58-chat-sidebar>summary::after{content:'⌄';color:#f2a8c3;font-size:1.1rem;transition:transform .18s}.ev58-chat-sidebar[open]>summary::after{transform:rotate(180deg)}
 .ev60-history-summary span,.ev60-history-summary small{display:block}.ev60-history-summary small{margin-left:auto;color:#83939d;font-size:.62rem;font-weight:500}.ev60-history-body{padding:0 14px 14px}
 .ev58-message-list{max-height:min(52dvh,520px);overscroll-behavior:contain}.ev58-message{width:min(92%,680px)}
 .ev56-agent-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.ev56-agent-toolbar p{grid-column:1/-1;min-width:0}.ev56-agent-toolbar label,.ev56-agent-toolbar select{width:100%;min-width:0}
 .ev60-composer{margin-top:16px;padding:16px;border:1px solid #2d3b46;border-radius:16px;background:#0d161d}
 .ev60-composer textarea{min-height:118px}.ev56-agent-actions .btn{min-height:46px}
}
@media(max-width:600px){
 .ev56-shell{width:calc(100% - 16px);padding:18px 0 34px}.ev56-title h1{font-size:40px}.ev56-title-actions,.ev56-editor-actions,.ev59-panel-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.ev56-title-actions .btn,.ev56-editor-actions .btn,.ev59-panel-actions .btn{justify-content:center;min-width:0}
 .ev56-stats{gap:8px}.ev56-stats>div{padding:13px}.ev56-stats strong{font-size:1.25rem}.ev56-catalogue,.ev56-editor,.ev59-home-editor,.ev59-versions,.ev59-image-studio,.ev56-agent{padding:14px;border-radius:15px}
 .ev56-catalogue>header,.ev56-editor-head,.ev56-agent-head{align-items:flex-start}.ev56-agent-head>span:first-child{width:38px;height:38px}.ev56-private{font-size:.62rem}
 .ev56-list{max-height:360px}.ev56-list-item{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.ev56-list-thumb{width:44px;height:42px}.ev56-status{font-size:.59rem}.ev56-order{grid-column:2/4}
 .ev58-chat-workspace{min-height:0;border-radius:14px}.ev60-history-summary small{display:none}.ev58-project-row{grid-template-columns:1fr}.ev58-project-row .btn,.ev58-chat-list-head .btn{width:100%;min-height:44px}.ev58-chat-list{grid-template-columns:1fr;max-height:210px}
 .ev58-conversation>header{padding:13px}.ev58-conversation>header h3{font-size:.92rem}.ev58-message-list{max-height:55dvh;padding:10px}.ev58-message{width:94%;padding:11px}.ev58-message header{align-items:flex-start}.ev58-message p{font-size:.82rem}.ev58-message time{white-space:nowrap}
 .ev56-agent-toolbar{grid-template-columns:1fr}.ev56-agent-toolbar p{grid-column:auto}.ev60-composer{padding:12px}.ev60-composer :is(input,select,textarea){font-size:16px}.ev56-agent-actions{display:grid}.ev56-agent-actions .btn{width:100%}.ev56-agent-actions>span{text-align:center}.ev56-agent-actions kbd{display:none}
 .ev57-capabilities{padding:13px}.ev57-capability-grid article{min-height:64px}.ev57-capability-limit{font-size:.7rem}.ev57-proposal-actions{display:grid;grid-template-columns:1fr}.ev57-proposal-actions .btn{width:100%}
 .ev59-version-list article{align-items:flex-start}.ev59-version-list .btn{min-height:42px}.ev59-image-result,.ev59-image-empty{min-height:230px}.ev59-image-result>img{max-height:330px}
}
@media(max-width:380px){.ev60-agent-nav button{font-size:.66rem}.ev56-stats{grid-template-columns:1fr 1fr}.ev56-title-actions,.ev56-editor-actions,.ev59-panel-actions{grid-template-columns:1fr}.ev56-list-item{grid-template-columns:40px minmax(0,1fr)}.ev56-status{grid-column:2}.ev56-order{grid-column:2}.ev57-capability-grid{grid-template-columns:1fr}}

/* EduVista Phase 6 — private media library and bounded uploads. */
.ev61-media{margin-top:18px;padding:24px;border-color:#293844;background:#121a23;scroll-margin-top:calc(var(--measured-header) + 18px)}
.ev61-media>header,.ev61-library-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.ev61-media h2,.ev61-media h3{margin:0;color:#fff5df}.ev61-media h2{font-size:1.5rem}.ev61-media h3{font-size:1.13rem}
.ev61-media header p:not(.ev56-kicker),.ev61-library-head p{margin:6px 0 0;color:#96a6b1;font-size:.8rem;line-height:1.5}
.ev61-storage-badge,.ev61-visibility{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #375e56;border-radius:99px;color:#9be4cd;font-size:.68rem;white-space:nowrap}
.ev61-upload-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:24px;margin-top:22px;padding:20px;border:1px dashed #495969;border-radius:16px;background:#0d151d}
.ev61-upload-grid form{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(170px,1fr);align-items:start;gap:15px;min-width:0}
.ev61-upload-grid .field{margin:0;min-width:0}.ev61-upload-grid :is(input,select){width:100%;min-width:0;max-width:100%}.ev61-upload-grid input[type=file]{padding:10px;font-size:.76rem}
.ev61-upload-grid input[type=file]::file-selector-button{margin-right:10px;padding:9px 11px;border:0;border-radius:8px;background:#2b3945;color:#f5e7e9;font:inherit;cursor:pointer}
.ev61-upload-grid label{display:block;margin-bottom:7px;color:#d9e2e7;font-size:.76rem;font-weight:700}.ev61-upload-grid small{display:block;margin-top:7px;color:#8c9eab;font-size:.7rem;line-height:1.5}
.ev61-selected-file{grid-column:1/-1;min-height:1.5em;margin:0;color:#a5b3bd;font-size:.78rem;overflow-wrap:anywhere}.ev61-selected-file strong{color:#edf1f3}
.ev61-upload-grid aside{padding:4px 0 4px 23px;border-left:1px solid #2d3c46}.ev61-upload-grid aside strong{color:#eddfca;font-size:.91rem}.ev61-upload-grid aside p{margin:9px 0;color:#91a1ac;font-size:.76rem;line-height:1.6}
.ev61-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.ev61-upload-grid form>.ev61-actions{grid-column:1/-1}.ev61-media .btn{min-height:42px;padding:9px 14px;font-size:.75rem}.ev61-media .btn:disabled{opacity:.5;cursor:default}
.ev61-library-head{align-items:center;margin-top:25px;margin-bottom:15px}.ev61-library-head>.ev61-actions{flex-wrap:nowrap}.ev61-filter-label{display:flex;align-items:center;gap:8px;color:#a7b6c0;font-size:.75rem}.ev61-filter-label select{min-height:42px;width:180px;padding:8px 10px}
.ev61-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.ev61-media-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #30404d;border-radius:14px;background:#0d151d}
.ev61-file-visual{display:grid;place-items:center;aspect-ratio:16/7;overflow:hidden;border-bottom:1px solid #293844;background:radial-gradient(ellipse at top right,rgba(216,105,158,.14),transparent 72%),#15202a}.ev61-file-visual>span,.ev61-thumb-status>span{font-size:2.4rem;color:#c98bad}.ev61-file-visual>img{width:100%;height:100%;object-fit:cover}.ev61-thumb-status{display:grid;place-items:center;gap:5px;color:#8194a2;text-align:center}.ev61-thumb-status small{font-size:.64rem}
.ev61-file-info{padding:13px 15px 11px}.ev61-visibility{padding:4px 8px;color:#a7b6c6;border-color:#394a5b;font-size:.6rem}.ev61-visibility.public{color:#ffe0ab;border-color:#786038}.ev61-file-info h4{margin:10px 0 5px;color:#f7efdf;font-size:.92rem;line-height:1.35;overflow-wrap:anywhere}.ev61-file-info p{margin:0;color:#96a6b1;font-size:.72rem}.ev61-file-info small{display:block;margin-top:5px;color:#7d909f;font-size:.65rem}
.ev61-file-actions{display:flex;gap:7px;flex-wrap:wrap;align-content:flex-end;margin-top:auto;padding:0 15px 15px}.ev61-file-actions .btn{min-height:38px;padding:8px 10px;font-size:.67rem;border-radius:9px;white-space:normal;text-align:center}
.ev61-empty{grid-column:1/-1;display:grid;place-items:center;min-height:170px;padding:25px;border:1px solid #293844;border-radius:13px;background:#0d151d;text-align:center}.ev61-empty strong{color:#eae0cd}.ev61-empty p{margin:8px 0 0;color:#8fa0ad;font-size:.78rem}.ev61-load-more{display:flex;margin:17px auto 0}
.ev61-setup{margin-top:18px;padding:22px;border:1px solid #665639;border-radius:13px;background:rgba(133,101,41,.08)}.ev61-setup strong{color:#f7dba2}.ev61-setup p{max-width:700px;color:#adbaa9;font-size:.8rem;line-height:1.6}.ev61-message{color:#9aaebb;font-size:.8rem}
.ev61-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;align-items:center;margin-top:15px;padding:15px 18px;border:1px solid #4d616c;border-radius:13px;background:#14232c}.ev61-progress>div{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:space-between;min-width:0}.ev61-progress strong{color:#f2e4d3;font-size:.79rem;overflow-wrap:anywhere}.ev61-progress span{color:#a6bbbd;font-size:.73rem}.ev61-progress progress{grid-column:1;width:100%;height:7px;appearance:none;border:0;border-radius:9px;background:#273b44}.ev61-progress progress::-webkit-progress-bar{border-radius:9px;background:#273b44}.ev61-progress progress::-webkit-progress-value{border-radius:9px;background:linear-gradient(90deg,#dfa0bc,#7be2c4)}.ev61-progress progress::-moz-progress-bar{border-radius:9px;background:#a9d0bd}.ev61-progress .btn{grid-column:2;grid-row:1/3}
html.ev-modal-open,body.ev-modal-open,html.ev61-preview-open,body.ev61-preview-open{overflow:hidden!important;overscroll-behavior:none}
.ev61-preview-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(2,7,11,.9);backdrop-filter:blur(8px);overscroll-behavior:contain}.ev61-preview-window{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;width:min(1400px,calc(100vw - 48px));height:calc(100dvh - 48px);max-height:1000px;min-height:0;overflow:hidden;border:1px solid #526471;border-radius:18px;background:#0b1218;box-shadow:0 28px 90px rgba(0,0,0,.7)}.ev61-preview-close{position:absolute;z-index:2;top:12px;right:12px;width:44px;height:44px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(8,14,19,.88);color:#fff;font-size:1.7rem;line-height:1;cursor:pointer}.ev61-preview-close:hover,.ev61-preview-close:focus-visible{border-color:#ff9fc3;outline:2px solid rgba(255,159,195,.35)}.ev61-preview-image{display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;padding:18px;overflow:hidden;background:#05090d}.ev61-preview-image img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}.ev61-preview-caption{position:relative;padding:14px 70px 15px 20px;border-top:1px solid #2e3d48;background:#0b1218}.ev61-preview-caption h3{margin:0;color:#fff1dc;font-size:1rem;overflow-wrap:anywhere}.ev61-preview-caption p{margin:6px 0 0;color:#91a1ad;font-size:.72rem}
@media(max-width:620px){.ev61-preview-modal{padding:10px}.ev61-preview-window{height:min(780px,94vh);border-radius:13px}.ev61-preview-image{padding:10px}.ev61-preview-caption{padding:13px 55px 14px 14px}}
.ev59-image-result>div:not(.ev59-image-empty){flex-wrap:wrap}
@media(max-width:1100px){.ev61-library{grid-template-columns:repeat(2,minmax(0,1fr))}.ev61-upload-grid{grid-template-columns:1fr}.ev61-upload-grid aside{padding:15px 0 0;border-left:0;border-top:1px solid #2d3c46}}
@media(max-width:650px){.ev61-media{padding:15px;border-radius:15px}.ev61-media>header,.ev61-library-head{display:grid;gap:13px}.ev61-storage-badge{justify-self:start}.ev61-upload-grid{padding:13px;gap:15px}.ev61-upload-grid form{grid-template-columns:1fr}.ev61-library{grid-template-columns:1fr}.ev61-file-visual{aspect-ratio:16/6}.ev61-library-head>.ev61-actions{justify-content:space-between}.ev61-filter-label{min-width:0}.ev61-filter-label select{width:100%;max-width:190px}.ev61-progress{padding:13px;gap:10px}.ev61-progress>div{display:grid}.ev61-media :is(input,select){font-size:16px}.ev61-file-actions .btn{min-height:43px}.ev61-media .ev56-form-status{overflow-wrap:anywhere}}

/* EduVista Owner Studio Phase 7 — research workspace and conversational composer. */
.ev62-agent-top{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(500px,1.1fr);gap:18px;align-items:start;margin-top:18px}.ev62-agent-top>.ev60-composer,.ev62-agent-top>.ev57-capabilities{margin:0;padding:18px;border:1px solid #2d3b46;border-radius:16px;background:#0d151c}.ev62-agent-top>.ev57-capabilities{max-height:590px;overflow:auto;overscroll-behavior:contain}.ev62-agent-top .ev57-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ev62-prompt-shell{overflow:hidden;border:1px solid #43515d;border-radius:23px;background:#101a22;box-shadow:0 13px 35px rgba(0,0,0,.24);transition:border-color .18s,box-shadow .18s}.ev62-prompt-shell:focus-within{border-color:#e99aba;box-shadow:0 0 0 3px rgba(233,154,186,.11),0 13px 35px rgba(0,0,0,.24)}.ev62-prompt-shell textarea{display:block;min-height:132px;padding:18px 18px 8px;border:0;background:transparent;box-shadow:none!important;color:#f2f4f5;font-size:.94rem;line-height:1.55;resize:vertical}.ev62-prompt-shell textarea:focus{outline:0}.ev62-prompt-footer{display:flex;align-items:center;gap:10px;padding:8px 10px 10px}.ev62-research-toggle{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid #3b4a56;border-radius:999px;color:#dce5e9;font-size:.7rem;font-weight:800;cursor:pointer}.ev62-research-toggle:has(input:checked){border-color:#75d5b7;background:rgba(68,174,140,.13);color:#a8efd9}.ev62-research-toggle input{width:15px;height:15px;margin:0;accent-color:#65d2ad}.ev62-enter-hint{margin-left:auto;color:#7f909b;font-size:.65rem}.ev62-enter-hint kbd{padding:2px 5px;border:1px solid #3a4853;border-radius:5px;background:#0b1219;color:#dce5e9;font:700 .62rem/1 ui-monospace,SFMono-Regular,Consolas,monospace}.ev62-send{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#f3afc8;color:#21131a;font-size:1.2rem;font-weight:900;cursor:pointer}.ev62-send:hover{background:#ffc3d8}.ev62-send:disabled{cursor:wait;opacity:.55}
.ev62-suggestions{display:flex;gap:8px;margin-top:11px;padding-bottom:4px;overflow-x:auto;scrollbar-width:thin}.ev62-suggestions button{flex:0 0 auto;min-height:37px;padding:8px 11px;border:1px solid #354550;border-radius:999px;background:#121e27;color:#dbe3e7;font:inherit;font-size:.67rem;font-weight:700;line-height:1.15;cursor:pointer}.ev62-suggestions button:hover{border-color:#f0a3c0;color:#fff}.ev62-agent-top .ev56-agent-output{margin-top:14px}
.ev58-message.research{width:min(94%,760px);border-color:rgba(114,213,184,.4)}.ev62-research-label{display:inline-flex;margin-left:8px;padding:3px 7px;border:1px solid rgba(114,213,184,.35);border-radius:99px;color:#9ee7d0;font-size:.55rem;vertical-align:middle}.ev62-research-sources{margin-top:12px;padding:11px 13px;border:1px solid #30434b;border-radius:11px;background:rgba(7,16,20,.62)}.ev62-research-sources>strong{color:#abead7;font-size:.7rem}.ev62-research-sources ol{display:grid;gap:7px;margin:8px 0 0;padding-left:20px}.ev62-research-sources li{padding-left:2px;color:#899aa4;font-size:.68rem}.ev62-research-sources a{color:#ffd8e6;text-decoration:underline;text-decoration-color:rgba(255,216,230,.35);text-underline-offset:3px}.ev62-research-sources small{display:block;margin-top:2px;color:#788b96;font-size:.58rem}
@media(max-width:1180px){.ev62-agent-top{grid-template-columns:1fr}.ev62-agent-top>.ev57-capabilities{max-height:470px}.ev62-agent-top .ev57-capability-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ev62-agent-top .ev57-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev62-enter-hint{display:none}.ev62-research-toggle{margin-right:auto}.ev62-prompt-shell textarea{min-height:115px;font-size:16px}}
@media(max-width:520px){.ev62-agent-top{gap:13px}.ev62-agent-top>.ev60-composer,.ev62-agent-top>.ev57-capabilities{padding:12px}.ev62-agent-top .ev57-capability-grid{grid-template-columns:1fr}.ev62-agent-top>.ev57-capabilities{max-height:410px}.ev62-prompt-footer{align-items:stretch}.ev62-research-toggle{min-width:0}.ev62-research-toggle span{white-space:nowrap}.ev62-send{flex:0 0 40px}}

/* EduVista Owner Studio Phase 8 — conversational Agent workspace. */
.ev63-agent{padding:22px 18px}.ev63-agent-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}.ev63-agent-main{display:grid;gap:18px;min-width:0}.ev63-agent .ev62-agent-top{grid-template-columns:minmax(0,1fr);margin:0}.ev63-agent .ev62-agent-top>.ev57-capabilities{max-height:none}.ev63-agent .ev60-composer{position:sticky;top:calc(var(--measured-header) + 10px);z-index:22;padding:17px;border-color:#43515d;border-radius:22px;background:rgba(12,21,28,.97);box-shadow:0 18px 46px rgba(0,0,0,.32);backdrop-filter:blur(18px);scroll-margin-top:calc(var(--measured-header) + 14px)}
.ev63-sidebar{position:sticky;top:calc(var(--measured-header) + 10px);z-index:23;min-height:620px;max-height:calc(100dvh - var(--measured-header) - 28px);overflow:hidden;border:1px solid #2d3d48;border-radius:18px;background:#0b141b;box-shadow:0 15px 38px rgba(0,0,0,.24)}.ev63-sidebar.collapsed{width:58px;min-height:58px}.ev63-sidebar.collapsed .ev63-sidebar-body{display:none}.ev63-sidebar-toggle{display:grid;place-items:center;width:38px;height:38px;margin:10px 10px 6px auto;border:1px solid #3a4b57;border-radius:10px;background:#15222b;color:#f7eadd;font:800 .9rem/1 inherit;cursor:pointer}.ev63-sidebar-body{max-height:calc(100dvh - var(--measured-header) - 84px);padding:0 11px 16px;overflow:auto;overscroll-behavior:contain}.ev63-sidebar-account{display:grid;padding:8px 7px 14px;border-bottom:1px solid #263640}.ev63-sidebar-account strong{color:#fff0dd;font-size:.8rem}.ev63-sidebar-account small{margin-top:3px;color:#83949f;font-size:.62rem;overflow-wrap:anywhere}.ev63-sidebar-project{display:grid;gap:8px;padding:13px 3px}.ev63-sidebar-project label{color:#a7b5bd;font-size:.65rem;font-weight:800}.ev63-sidebar-project select{width:100%;min-height:39px;margin-top:6px;padding:7px 9px;font-size:.72rem}.ev63-sidebar-project>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ev63-sidebar-project .btn{min-width:0;padding:8px 7px;font-size:.65rem}.ev63-sidebar-nav{display:grid;gap:3px;margin:4px 0 13px}.ev63-sidebar-nav button{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;min-height:38px;padding:7px 9px;border:0;border-radius:9px;background:transparent;color:#c9d3d8;text-align:left;font:700 .68rem/1.25 inherit;cursor:pointer}.ev63-sidebar-nav button:hover,.ev63-sidebar-nav button:focus-visible{background:#172630;color:#fff}.ev63-sidebar-nav span{color:#ef9dbb;font-size:.85rem}.ev63-recent{padding-top:12px;border-top:1px solid #263640}.ev63-recent>label{display:grid;gap:7px;color:#a7b5bd;font-size:.67rem;font-weight:800}.ev63-recent input{width:100%;min-height:39px;padding:8px 10px;font-size:.72rem}.ev63-recent>div{display:grid;gap:5px;margin-top:9px}.ev63-recent article{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;border:1px solid transparent;border-radius:10px}.ev63-recent article.active{border-color:#665064;background:rgba(199,101,145,.1)}.ev63-recent article>button:first-child{display:grid;min-width:0;padding:8px;border:0;background:transparent;color:#dfe6e9;text-align:left;cursor:pointer}.ev63-recent article strong,.ev63-recent article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ev63-recent article strong{font-size:.68rem}.ev63-recent article small{margin-top:3px;color:#7f909b;font-size:.58rem}.ev63-recent .ev63-pin{width:30px;height:30px;padding:0;border:0;background:transparent;color:#f3c66f;font-size:.9rem;cursor:pointer}.ev63-recent>div>p{color:#7f909b;font-size:.68rem}.ev63-mobile-menu{display:none;margin-top:12px}
.ev63-agent .ev62-prompt-shell{position:relative}.ev62-prompt-shell.drag-active{border-color:#72d7b8;background:rgba(60,131,111,.13);box-shadow:0 0 0 4px rgba(114,215,184,.13),0 13px 35px rgba(0,0,0,.24)}.ev62-prompt-shell.drag-active::after{content:'Drop files to attach privately';position:absolute;inset:10px;z-index:3;display:grid;place-items:center;border:2px dashed #72d7b8;border-radius:17px;background:rgba(8,18,23,.94);color:#b7f2df;font-size:.82rem;font-weight:800;pointer-events:none}.ev63-attachment-tray{display:flex;gap:8px;padding:12px 12px 0;overflow-x:auto;scrollbar-width:thin}.ev63-attachment{display:grid;grid-template-columns:45px minmax(130px,1fr) 28px;align-items:center;gap:8px;flex:0 0 min(280px,80vw);padding:8px;border:1px solid #354752;border-radius:12px;background:#0b141b}.ev63-attachment.error{border-color:#9c4f67}.ev63-attachment>img,.ev63-attachment>span{width:45px;height:45px;border-radius:8px}.ev63-attachment>img{object-fit:cover}.ev63-attachment>span{display:grid;place-items:center;background:#192832;color:#ef9dbb}.ev63-attachment>div{display:grid;min-width:0}.ev63-attachment strong,.ev63-attachment small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ev63-attachment strong{color:#f4eadc;font-size:.66rem}.ev63-attachment small{margin-top:4px;color:#8fa0aa;font-size:.57rem}.ev63-attachment progress{width:100%;height:4px;margin-top:5px;accent-color:#71d5b7}.ev63-attachment>button{width:27px;height:27px;padding:0;border:0;border-radius:50%;background:#1c2a34;color:#dbe3e7;font-size:1rem;cursor:pointer}.ev63-attach-wrap{position:relative;flex:0 0 auto}.ev63-attach{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #3b4a56;border-radius:50%;background:#14212a;color:#f5e7db;font-size:1.2rem;cursor:pointer}.ev63-attach:hover{border-color:#ef9dbb}.ev63-attach-menu{position:absolute;left:0;bottom:46px;z-index:10;display:grid;width:190px;padding:7px;border:1px solid #40515d;border-radius:12px;background:#111d25;box-shadow:0 15px 38px rgba(0,0,0,.5)}.ev63-attach-menu button{min-height:38px;padding:8px;border:0;border-radius:8px;background:transparent;color:#eef1f2;text-align:left;font:700 .7rem/1.2 inherit;cursor:pointer}.ev63-attach-menu button:hover{background:#20303a}.ev63-attach-menu small{padding:5px 8px;color:#7f919c;font-size:.57rem}.ev63-hidden-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.ev62-send.stop{background:#40222c;color:#ffc5d7}.ev62-send.stop:hover{background:#5a2938}.ev63-message-files{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.ev63-message-files span{max-width:100%;padding:6px 8px;border:1px solid #3a4b56;border-radius:8px;background:#101a21;color:#cad5da;font-size:.62rem;overflow-wrap:anywhere}
.ev63-conversation-only{display:block!important;min-height:0}.ev63-conversation-only .ev58-conversation{min-height:0}.ev63-conversation-only .ev58-message-list{max-height:620px}.ev63-reports,.ev63-plugins,.ev63-settings{padding:18px;border:1px solid #2d3d48;border-radius:16px;background:#0d161d;scroll-margin-top:calc(var(--measured-header) + 18px)}.ev63-reports>header,.ev63-plugins>header,.ev63-settings>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.ev63-reports h3,.ev63-plugins h3,.ev63-settings h3{margin:0;color:#f8ecda}.ev63-reports>header>span,.ev63-plugins>header>span{padding:5px 9px;border:1px solid #3a504d;border-radius:99px;color:#9de5cd;font-size:.62rem}.ev63-reports>article{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;padding:11px;border:1px solid #2c3c47;border-radius:10px;background:#111c24}.ev63-reports>article>div{display:grid;min-width:0}.ev63-reports>article strong{color:#eadfce;font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ev63-reports>article small{margin-top:4px;color:#84949f;font-size:.6rem}.ev63-reports>p,.ev63-section-intro{color:#8e9fa9;font-size:.72rem;line-height:1.55}.ev63-plugin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.ev63-plugin-grid>article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:13px;border:1px solid #31424d;border-radius:13px;background:#101a22}.ev63-plugin-grid>article.disconnected{opacity:.76}.ev63-plugin-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#2b2030;color:#f0a2bf}.ev63-plugin-grid article header{display:flex;align-items:center;justify-content:space-between;gap:7px}.ev63-plugin-grid article header strong{color:#f4eadb;font-size:.75rem}.ev63-plugin-grid article header span{color:#92dfc7;font-size:.57rem}.ev63-plugin-grid article.disconnected header span{color:#a5adb1}.ev63-plugin-grid article p{margin:6px 0;color:#94a4ae;font-size:.65rem;line-height:1.45}.ev63-plugin-grid dl{display:grid;gap:3px;margin:8px 0}.ev63-plugin-grid dl>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:6px}.ev63-plugin-grid dt{color:#798c98;font-size:.58rem}.ev63-plugin-grid dd{margin:0;color:#c1cbd0;font-size:.59rem}.ev63-plugin-grid .btn{margin-top:7px;padding:7px 9px;font-size:.62rem}.ev63-plugin-grid article small{display:block;margin-top:8px;color:#7f909b;font-size:.6rem;line-height:1.4}.ev63-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}.ev63-settings-grid article{padding:13px;border:1px solid #2d3d48;border-radius:11px;background:#101a22}.ev63-settings-grid strong{color:#eddfcd;font-size:.72rem}.ev63-settings-grid p{margin:6px 0 0;color:#8fa0ab;font-size:.65rem;line-height:1.5}
@media(max-width:1100px){.ev63-agent-workspace{grid-template-columns:230px minmax(0,1fr)}.ev63-plugin-grid{grid-template-columns:1fr}.ev63-settings-grid{grid-template-columns:1fr}.ev63-agent .ev62-agent-top .ev57-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.ev63-agent{position:relative}.ev63-mobile-menu{display:inline-flex}.ev63-agent-workspace{display:block}.ev63-sidebar{display:none;position:fixed;inset:calc(var(--measured-header) + 10px) 12px 12px 12px;z-index:90;width:auto;max-height:none;min-height:0;background:#0a131a;box-shadow:0 24px 90px rgba(0,0,0,.82)}.ev63-sidebar.mobile-open{display:block}.ev63-sidebar.mobile-open.collapsed{width:auto}.ev63-sidebar.mobile-open .ev63-sidebar-body{display:block;max-height:calc(100dvh - var(--measured-header) - 80px)}.ev63-sidebar-toggle{position:sticky;top:8px;z-index:2}.ev63-agent .ev60-composer{top:calc(var(--measured-header) + 8px)}.ev63-agent .ev62-agent-top .ev57-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ev63-agent{padding:14px 10px}.ev63-agent .ev60-composer{padding:10px;border-radius:16px}.ev63-agent .ev56-agent-toolbar{display:none}.ev63-attachment{flex-basis:88vw}.ev62-prompt-footer{flex-wrap:wrap}.ev62-enter-hint{display:none}.ev63-plugin-grid>article{grid-template-columns:34px minmax(0,1fr);padding:10px}.ev63-plugin-icon{width:34px;height:34px}.ev63-agent .ev62-agent-top .ev57-capability-grid{grid-template-columns:1fr}.ev63-reports>article{align-items:flex-start;flex-direction:column}.ev63-reports>article .btn{width:100%}}
.ev63-agent-workspace:has(.ev63-sidebar.collapsed){grid-template-columns:58px minmax(0,1fr)}.ev63-attachment-connection{display:flex;align-items:center;gap:7px;padding:10px 13px 0;color:#89a097;font-size:.58rem}.ev63-attachment-connection strong{color:#a8efd9}.ev63-sidebar-nav button.active{background:#222f39;color:#fff;border-left:2px solid #ee9ebb}
