/*
Theme Name: Episvera Luxe Stream
Theme URI: https://example.com/
Author: OpenAI
Description: Premium champagne/ivory short-drama streaming theme designed for Episvera-style global short-drama distribution and monetization.
Version: 0.3.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: episvera-luxe-stream
*/
:root{
  --ev-bg:#f7f0e6;--ev-bg-2:#fffaf3;--ev-panel:#fff7ed;--ev-ink:#24170e;--ev-muted:#725f50;
  --ev-gold:#b8893c;--ev-gold-2:#e6c98c;--ev-brown:#3b291a;--ev-line:rgba(65,44,29,.16);
  --ev-radius:22px;--ev-shadow:0 18px 55px rgba(65,42,21,.12);--ev-max:1480px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fffaf4 0%,#f6eee4 100%);color:var(--ev-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.ev-shell{width:min(var(--ev-max),calc(100% - 48px));margin:0 auto}.ev-serif{font-family:Georgia,"Times New Roman",serif}.site-header{position:sticky;top:0;z-index:90;background:rgba(255,250,244,.93);backdrop-filter:blur(18px);border-bottom:1px solid var(--ev-line)}.ev-header{height:76px;display:flex;align-items:center;gap:28px}.ev-brand{display:flex;align-items:center;gap:12px;font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:700;letter-spacing:.02em;white-space:nowrap}.ev-brand .custom-logo{max-height:46px;width:auto}.ev-mark{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#d6b269,#8c612a);box-shadow:0 8px 22px rgba(166,116,53,.25)}.ev-nav{flex:1}.ev-nav ul{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}.ev-nav a{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:16px}.ev-nav .current-menu-item>a,.ev-nav a:hover{color:#8c612a}.ev-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.ev-search{width:270px;height:42px;border:1px solid var(--ev-line);border-radius:999px;background:#fff9f2;padding:0 16px;color:var(--ev-muted)}.ev-pill,.ev-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:12px 18px;font-weight:800;border:1px solid var(--ev-line);transition:.2s}.ev-pill:hover,.ev-btn:hover{transform:translateY(-1px)}.ev-btn-dark{background:var(--ev-brown);color:#fff7e9;border-color:var(--ev-brown)}.ev-btn-gold{background:linear-gradient(135deg,#f1d59b,#c69648);color:#2b1c11;border-color:transparent}.ev-btn-outline{background:rgba(255,248,237,.8);border-color:#a77b3e;color:#3b291a}.ev-menu-toggle{display:none;border:0;background:none;font-size:27px}.ev-home{padding:18px 0 0}.ev-hero-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(310px,.95fr);gap:14px}.ev-hero{position:relative;min-height:520px;border-radius:26px;overflow:hidden;background:#2e2118;box-shadow:var(--ev-shadow)}.ev-hero-bg{position:absolute;inset:0}.ev-hero-bg img{width:100%;height:100%;object-fit:cover}.ev-hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(34,22,13,.94) 0%,rgba(34,22,13,.72) 33%,rgba(34,22,13,.18) 66%,rgba(34,22,13,.08) 100%)}.ev-hero-content{position:relative;z-index:2;width:min(48%,560px);padding:46px 0 34px 46px;color:#fff7e9}.ev-kicker{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:900;letter-spacing:.34em;text-transform:uppercase;color:#efd49c}.ev-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-style:italic;font-size:clamp(42px,5vw,73px);line-height:.9;margin:18px 0 20px;letter-spacing:-.045em}.ev-hero-copy{font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.3;color:#f6e9d8;max-width:440px}.ev-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.ev-hero-features{display:flex;gap:22px;margin-top:28px;font-size:12px;color:#f7ead5}.ev-hero-features span{display:flex;align-items:center;gap:7px}.ev-side-stack{display:grid;grid-template-rows:1fr 1fr;gap:14px}.ev-side-card{position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(140deg,#fdf3e5,#eddbc3);box-shadow:var(--ev-shadow);border:1px solid rgba(112,81,44,.12);padding:30px}.ev-side-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-75px;top:-80px;background:radial-gradient(circle,#efd39c 0,rgba(239,211,156,.2) 44%,transparent 68%)}.ev-side-card h2{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:40px;line-height:.9;margin:0 0 14px}.ev-side-card p{color:#5e4a39;max-width:270px}.ev-crown{font-size:32px;color:#b88734}.ev-picks-thumb{position:absolute;right:22px;bottom:0;width:44%;height:78%;border-radius:18px 18px 0 0;overflow:hidden;box-shadow:-12px 0 30px rgba(60,38,20,.12)}.ev-picks-thumb img{width:100%;height:100%;object-fit:cover}.ev-section{padding:28px 0}.ev-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}.ev-section-head h2{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:600;font-size:32px;line-height:1;margin:0}.ev-section-head p{color:var(--ev-muted);margin:5px 0 0}.ev-section-head a{font-size:14px;font-weight:800}.ev-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ev-category{min-height:150px;position:relative;overflow:hidden;border-radius:20px;background:linear-gradient(135deg,#ead7bf,#fff7ec);border:1px solid rgba(96,68,39,.1);padding:26px 24px;display:flex;align-items:flex-end}.ev-category:nth-child(2){background:linear-gradient(135deg,#f3ddd0,#fff8f0)}.ev-category:nth-child(3){background:linear-gradient(135deg,#e8d4bd,#fff7e9)}.ev-category:nth-child(4){background:linear-gradient(135deg,#ead5c9,#fff4ed)}.ev-category:before{content:"";position:absolute;width:180px;height:180px;right:-70px;top:-75px;border-radius:50%;background:rgba(184,137,60,.13)}.ev-category-icon{font-size:27px;color:#9b6a28}.ev-category h3{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:28px;margin:4px 0}.ev-category small{color:#665242}.ev-drama-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,1fr);gap:12px;overflow:auto;padding:2px 0 8px;scrollbar-width:none}.ev-drama-row::-webkit-scrollbar{display:none}.ev-card{min-width:0}.ev-poster{position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:18px;background:linear-gradient(145deg,#8b6a51,#cbaa86);box-shadow:0 14px 36px rgba(65,42,21,.14)}.ev-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s}.ev-card:hover .ev-poster img{transform:scale(1.035)}.ev-poster:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(38,24,13,.84))}.ev-badge{position:absolute;z-index:2;top:10px;left:10px;padding:5px 9px;border-radius:999px;background:#f6dca5;color:#382617;font-size:10px;font-weight:900}.ev-card-title{position:absolute;z-index:2;left:14px;right:14px;bottom:32px;color:#fff8ec;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:600;font-size:20px;line-height:1.02;text-shadow:0 2px 15px rgba(0,0,0,.4)}.ev-card-meta{position:absolute;z-index:2;left:14px;right:14px;bottom:11px;color:#f8e9d7;font-size:11px}.ev-country-head{margin-top:3px}.ev-country-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ev-country-panel{border-radius:22px;background:rgba(255,248,237,.86);border:1px solid var(--ev-line);padding:16px;box-shadow:0 10px 30px rgba(65,42,21,.06)}.ev-country-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ev-country-title h3{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:22px;margin:0}.ev-country-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.ev-mini{position:relative;aspect-ratio:1/1.1;border-radius:14px;overflow:hidden;background:#c7a57d}.ev-mini img{width:100%;height:100%;object-fit:cover}.ev-mini:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(42,27,15,.75))}.ev-rank{position:absolute;z-index:2;top:7px;left:8px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#efd39c;font-family:Georgia,"Times New Roman",serif;font-weight:800}.ev-mini-title{position:absolute;z-index:2;left:9px;right:8px;bottom:8px;color:white;font-family:Georgia,"Times New Roman",serif;font-size:13px;font-style:italic;line-height:1}.ev-vip-strip{margin:18px 0 38px;border-radius:24px;background:linear-gradient(100deg,#f4e2c3,#fff8ef 45%,#ead2a7);padding:28px 34px;display:flex;align-items:center;gap:30px;border:1px solid rgba(129,91,42,.14);box-shadow:var(--ev-shadow)}.ev-vip-title{min-width:300px}.ev-vip-title h2{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:34px;margin:0}.ev-vip-title p{margin:5px 0 0;color:var(--ev-muted)}.ev-benefits{flex:1;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ev-benefit{text-align:center;color:#5a4737;font-size:12px}.ev-benefit b{display:block;color:#8f652b;font-size:22px;margin-bottom:4px}.archive-hero{padding:58px 0 22px}.archive-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:54px;font-style:italic;margin:0}.ev-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;padding-bottom:48px}.ev-detail{display:grid;grid-template-columns:330px 1fr;gap:44px;padding:48px 0}.ev-detail-poster img{width:100%;border-radius:24px;box-shadow:var(--ev-shadow)}.ev-detail h1{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:58px;line-height:.98;margin:4px 0 12px}.ev-detail-copy{color:var(--ev-muted);max-width:780px}.aicd-episodes{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-top:16px}.aicd-episode-link{padding:13px 10px;border-radius:12px;background:#fff9f2;border:1px solid var(--ev-line);text-align:center;font-size:13px;font-weight:800}.ev-player-wrap{max-width:600px;margin:30px auto}.aicd-player{aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:#111;box-shadow:var(--ev-shadow)}.aicd-player iframe{width:100%;height:100%;border:0}.aicd-paywall{max-width:680px;margin:50px auto;padding:40px;text-align:center;background:#fff8ee;border:1px solid var(--ev-line);border-radius:24px}.aicd-paywall h2{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:40px}.aicd-btn{display:inline-flex;margin:6px;padding:13px 20px;border-radius:999px;background:var(--ev-brown);color:#fff7e9;font-weight:850}.aicd-btn-alt{background:#c99c54;color:#2e1d10}.site-footer{border-top:1px solid var(--ev-line);background:#efe4d5;padding:40px 0 78px}.ev-footer{display:grid;grid-template-columns:2fr 1fr 1fr;gap:34px}.ev-footer h3{font-family:Georgia,"Times New Roman",serif;font-size:26px}.ev-footer p,.ev-footer a{color:#6a5645;font-size:13px}.ev-footer-links{display:grid;gap:8px}.mobile-bottom-nav{display:none}
@media(max-width:1100px){.ev-hero-grid{grid-template-columns:1fr}.ev-side-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto}.ev-category-grid{grid-template-columns:repeat(2,1fr)}.ev-country-grid{grid-template-columns:1fr}.ev-grid{grid-template-columns:repeat(4,1fr)}.ev-benefits{grid-template-columns:repeat(2,1fr)}.ev-vip-strip{align-items:flex-start;flex-wrap:wrap}.ev-search{display:none}}
@media(max-width:760px){.ev-shell{width:min(100% - 28px,var(--ev-max))}.ev-header{height:64px}.ev-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#fff8ef;padding:20px;border-bottom:1px solid var(--ev-line)}.ev-nav.open{display:block}.ev-nav ul{display:grid;gap:16px}.ev-menu-toggle{display:block}.ev-actions .ev-pill{display:none}.ev-home{padding-top:10px}.ev-hero{min-height:580px}.ev-hero-content{width:75%;padding:36px 0 32px 28px}.ev-hero h1{font-size:48px}.ev-side-stack{grid-template-columns:1fr}.ev-side-card{min-height:190px}.ev-hero-features{display:none}.ev-drama-row{grid-auto-columns:44vw}.ev-grid{grid-template-columns:repeat(2,1fr)}.ev-detail{display:block}.ev-detail-poster{width:46%;float:left;margin:0 18px 10px 0}.ev-detail h1{font-size:39px}.aicd-episodes{clear:both;grid-template-columns:repeat(3,1fr)}.ev-footer{grid-template-columns:1fr 1fr}.ev-footer>div:first-child{grid-column:1/-1}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:95;display:grid;grid-template-columns:repeat(4,1fr);height:62px;background:rgba(255,249,240,.95);backdrop-filter:blur(16px);border-top:1px solid var(--ev-line)}.mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;color:#5b493a}.mobile-bottom-nav b{font-size:18px}.site-footer{padding-bottom:92px}}
@media(max-width:520px){.ev-brand{font-size:22px}.ev-hero-content{width:88%;padding-left:22px}.ev-hero h1{font-size:42px}.ev-hero-copy{font-size:15px}.ev-hero-actions{gap:8px}.ev-hero-actions a{padding:11px 14px;font-size:13px}.ev-category-grid{grid-template-columns:1fr}.ev-section-head h2{font-size:28px}.ev-drama-row{grid-auto-columns:54vw}.ev-vip-strip{padding:24px 20px}.ev-vip-title{min-width:0}.ev-benefits{grid-template-columns:repeat(2,1fr)}}
.ev-demo-stack{position:absolute;right:22px;bottom:18px;width:48%;height:68%}.ev-demo-stack span{position:absolute;inset:0;border-radius:18px;background:linear-gradient(145deg,#a57a52,#e5c798);box-shadow:-10px 8px 25px rgba(66,42,22,.14);transform-origin:bottom center}.ev-demo-stack span:nth-child(1){transform:translateX(22px) rotate(7deg);opacity:.55}.ev-demo-stack span:nth-child(2){transform:translateX(10px) rotate(3deg);opacity:.78}.ev-demo-stack span:nth-child(3){background:linear-gradient(145deg,#5f3c27,#c79b61)}.ev-demo-poster{background-size:cover;background-position:center}.ev-demo-poster-1{background:linear-gradient(160deg,#5f3b29 0%,#b9855e 52%,#2c1d16 100%)}.ev-demo-poster-2{background:linear-gradient(160deg,#7f503b 0%,#e1b995 50%,#3b261c 100%)}.ev-demo-poster-3{background:linear-gradient(160deg,#8e6f55 0%,#f0d7b2 50%,#4d3326 100%)}.ev-demo-poster-4{background:linear-gradient(160deg,#6e352f 0%,#c67762 48%,#2d1c18 100%)}.ev-demo-poster:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 65% 28%,rgba(255,242,214,.38),transparent 31%),linear-gradient(135deg,transparent 35%,rgba(255,255,255,.08) 36%,transparent 52%)}.ev-mini[class*="ev-demo-mini-"]{background-size:cover}.ev-demo-mini-1{background:linear-gradient(145deg,#7a4e36,#c59b70)}.ev-demo-mini-2{background:linear-gradient(145deg,#a06c52,#e0c09c)}.ev-demo-mini-3{background:linear-gradient(145deg,#6b4034,#b88864)}.ev-vip-card{background:linear-gradient(140deg,#fff7ea,#e8cf9f)}.ev-picks-card{background:linear-gradient(140deg,#fff9f1,#ead9c3)}.ev-country-panel,.ev-side-card,.ev-category,.ev-poster,.ev-mini{transition:transform .22s ease,box-shadow .22s ease}.ev-country-panel:hover,.ev-side-card:hover,.ev-category:hover{transform:translateY(-2px);box-shadow:0 18px 45px rgba(65,42,21,.1)}.ev-card:hover .ev-poster,.ev-mini:hover{transform:translateY(-3px)}

