/* Light theme rules (:where(html[data-theme="light"]) ...) generated by themegen.py, 2026-11-16 */
:root{--m-bg:#090e1e;--m-panel:#0e152c;--m-line:rgba(255,255,255,.10);--m-text:#f4f5f7;--m-muted:#a9afb7;--m-red:#ff2638;--m-gold:#7ab0ff}html[data-theme="light"]{--m-bg:#f1f3f8;--m-panel:#f9fafc;--m-line:rgba(14,22,38,0.105);--m-text:#1b212f;--m-muted:#4a5c84}
body.meme-premium{background:var(--m-bg);color:var(--m-text)}.meme-premium .p-nav{position:sticky;top:0;z-index:60}.meme-premium .foot{background:#070b19;border-top:1px solid var(--m-line)}:where(html[data-theme="light"]) .meme-premium .foot{background:#eff1f6}
.mv-hero{position:relative;overflow:hidden;min-height:720px;display:flex;align-items:center;border-bottom:1px solid var(--m-line);background:radial-gradient(circle at 78% 38%,rgba(255,38,56,.13),transparent 28%),radial-gradient(circle at 24% 18%,rgba(122,176,255,0.09),transparent 24%),#090e1e}:where(html[data-theme="light"]) .mv-hero{background:radial-gradient(circle at 78% 38%,rgba(255,38,56,.13),transparent 28%),radial-gradient(circle at 24% 18%,rgba(122,176,255,0.09),transparent 24%),#f1f3f8}.mv-glow{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,14,30,0.98),rgba(9,14,30,0.83) 43%,rgba(9,14,30,0.15) 76%);pointer-events:none}:where(html[data-theme="light"]) .mv-glow{background:linear-gradient(90deg,rgba(241,243,248,0.98),rgba(241,243,248,0.83) 43%,rgba(241,243,248,0.15) 76%)}.mv-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:.92fr 1.08fr;gap:68px;align-items:center;padding:118px 0 72px}.mv-hero-copy{max-width:650px}.mv-eyebrow{font:700 11px/1 'JetBrains Mono',monospace;letter-spacing:.23em;color:#c3c8ce;text-transform:uppercase;margin:0 0 16px}:where(html[data-theme="light"]) .mv-eyebrow{color:#394766}.mv-eyebrow span{color:var(--m-red)}.mv-hero h1{font-size:clamp(64px,7vw,112px);line-height:.87;letter-spacing:-.06em;margin:0 0 22px;font-weight:900}.mv-hero h1 em,.mv-section-head h2 em,.mv-submit-copy h2 em,.mv-end h2 em{font-style:normal;color:var(--m-red)}.mv-hero-copy>p:not(.mv-eyebrow){font-size:19px;line-height:1.55;color:#d5d9dd;max-width:600px;margin:0 0 28px}:where(html[data-theme="light"]) .mv-hero-copy>p:not(.mv-eyebrow){color:#2e3952}.mv-actions{display:flex;gap:12px;flex-wrap:wrap}.mv-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.mv-badges span{font:700 9px/1 'JetBrains Mono',monospace;letter-spacing:.12em;color:#c8ccd1;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.03);padding:8px 10px;border-radius:999px}:where(html[data-theme="light"]) .mv-badges span{color:#374461;border:1px solid rgba(14,22,38,0.116);background:rgba(14,22,38,0.032)}
.mv-collage{position:relative;min-height:510px}.mv-tile{position:absolute;overflow:hidden;border-radius:18px;border:1px solid rgba(255,255,255,.14);box-shadow:0 28px 80px rgba(0,0,0,.42);background:#0c1329}:where(html[data-theme="light"]) .mv-tile{border:1px solid rgba(14,22,38,0.147);box-shadow:0 28px 80px rgba(14,22,38,0.134);background:#f7f8fb}.mv-tile img{width:100%;height:100%;object-fit:cover;display:block}.mv-t1{width:33%;height:74%;left:2%;top:12%;transform:rotate(-6deg);z-index:3}.mv-t2{width:48%;height:40%;left:27%;top:2%;transform:rotate(3deg);z-index:2}.mv-t3{width:37%;height:55%;right:2%;bottom:3%;transform:rotate(5deg);z-index:4}.mv-t4{width:43%;height:37%;left:20%;bottom:0;transform:rotate(-2deg);z-index:1}.mv-stamp{position:absolute;left:43%;top:41%;z-index:6;width:118px;height:118px;border-radius:50%;display:grid;place-items:center;text-align:center;font-size:30px;font-weight:900;line-height:.8;background:#0a0f22;border:2px solid var(--m-red);box-shadow:0 0 0 7px rgba(255,38,56,.08),0 18px 50px rgba(0,0,0,.5);transform:rotate(-7deg)}:where(html[data-theme="light"]) .mv-stamp{background:#f3f5f9;box-shadow:0 0 0 7px rgba(255,38,56,.08),0 18px 50px rgba(14,22,38,0.16)}.mv-stamp small{display:block;font:700 8px/1.1 'JetBrains Mono',monospace;letter-spacing:.11em;color:var(--m-red);margin-top:5px}
.mv-featured,.mv-classics{padding:86px 0;border-bottom:1px solid var(--m-line)}.mv-featured{background:radial-gradient(circle at 90% 0%,rgba(255,38,56,.055),transparent 28%),#090f20}:where(html[data-theme="light"]) .mv-featured{background:radial-gradient(circle at 90% 0%,rgba(255,38,56,.055),transparent 28%),#f2f4f8}.mv-classics{background:#090e1e}:where(html[data-theme="light"]) .mv-classics{background:#f1f3f8}.mv-section-head{display:grid;grid-template-columns:1fr .75fr;gap:72px;align-items:end;margin-bottom:30px}.mv-section-head h2{font-size:clamp(42px,5vw,72px);line-height:.92;letter-spacing:-.05em;margin:0}.mv-section-head>p{margin:0;color:#bfc4ca;font-size:16px;line-height:1.7;max-width:530px}:where(html[data-theme="light"]) .mv-section-head>p{color:#3c4a6b}.mv-fresh-head{margin-top:78px}.mv-feature-card{background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));border:1px solid var(--m-line);border-radius:22px;padding:20px;max-width:720px;box-shadow:0 28px 90px rgba(0,0,0,.28)}:where(html[data-theme="light"]) .mv-feature-card{background:linear-gradient(180deg,rgba(14,22,38,0.047),rgba(14,22,38,0.016));box-shadow:0 28px 90px rgba(14,22,38,0.09)}
.meme-premium .meme-gallery.mv-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.meme-premium .meme-item{margin:0;position:relative;border-radius:16px;overflow:hidden;background:#0d142a;border:1px solid var(--m-line);box-shadow:0 18px 50px rgba(0,0,0,.20);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}:where(html[data-theme="light"]) .meme-premium .meme-item{background:#f8f9fb;box-shadow:0 18px 50px rgba(14,22,38,0.064)}.meme-premium .meme-item:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.22);box-shadow:0 24px 68px rgba(0,0,0,.32)}:where(html[data-theme="light"]) .meme-premium .meme-item:hover{border-color:rgba(14,22,38,0.231);box-shadow:0 24px 68px rgba(14,22,38,0.102)}.meme-premium .meme-open{display:block;width:100%;border:0;padding:0;background:#0c1228;cursor:pointer}:where(html[data-theme="light"]) .meme-premium .meme-open{background:#f6f8fa}.meme-premium .meme-open img{display:block;width:100%;height:auto;max-height:460px;object-fit:cover}.meme-premium .mi-cap{padding:13px 14px 15px;background:#0c1329;display:grid;gap:7px;color:#d5d9dd;font-size:13px;line-height:1.45}:where(html[data-theme="light"]) .meme-premium .mi-cap{background:#f7f8fb;color:#2e3952}.meme-premium .mi-handle{color:var(--m-red);font-weight:800}.mv-classic-grid .meme-item:nth-child(2),.mv-classic-grid .meme-item:nth-child(5),.mv-classic-grid .meme-item:nth-child(9){grid-column:span 2}.mv-empty{color:#999fa7;margin:15px 0}:where(html[data-theme="light"]) .mv-empty{color:#556997}.meme-premium .center-row{margin-top:24px}
.mv-submit{padding:92px 0;background:radial-gradient(circle at 20% 0%,rgba(122,176,255,0.09),transparent 30%),#0a1024;border-bottom:1px solid var(--m-line)}:where(html[data-theme="light"]) .mv-submit{background:radial-gradient(circle at 20% 0%,rgba(122,176,255,0.09),transparent 30%),#f4f6f9}.mv-submit-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:74px;align-items:start}.mv-submit-copy h2{font-size:clamp(46px,5vw,78px);line-height:.91;letter-spacing:-.055em;margin:0 0 20px}.mv-submit-copy>p:not(.mv-eyebrow){font-size:17px;line-height:1.7;color:#c2c7cc}:where(html[data-theme="light"]) .mv-submit-copy>p:not(.mv-eyebrow){color:#3a4868}.mv-submit-copy ul{list-style:none;padding:0;margin:30px 0 0;display:grid;gap:12px}.mv-submit-copy li{position:relative;padding-left:25px;color:#bfc4ca;font-size:14px;line-height:1.5}:where(html[data-theme="light"]) .mv-submit-copy li{color:#3c4a6b}.mv-submit-copy li:before{content:"✓";position:absolute;left:0;color:var(--m-red);font-weight:900}.mv-submit-card.submit-card{margin:0;max-width:none;padding:28px;border-radius:22px;background:linear-gradient(180deg,#131b35,#0c1329);border-color:var(--m-line);box-shadow:0 28px 90px rgba(0,0,0,.30)}:where(html[data-theme="light"]) .mv-submit-card.submit-card{background:linear-gradient(180deg,#fefeff,#f7f8fb);box-shadow:0 28px 90px rgba(14,22,38,0.096)}.mv-submit-card .drop{border-radius:17px;background:#090f20;border-color:rgba(255,255,255,.14);min-height:230px}:where(html[data-theme="light"]) .mv-submit-card .drop{background:#f2f4f8;border-color:rgba(14,22,38,0.147)}.mv-submit-card input[type=text]{background:#090f20;border-color:rgba(255,255,255,.13)}:where(html[data-theme="light"]) .mv-submit-card input[type=text]{background:#f2f4f8;border-color:rgba(14,22,38,0.137)}.mv-submit-card .check{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.09);border-radius:13px;padding:14px}:where(html[data-theme="light"]) .mv-submit-card .check{background:rgba(14,22,38,0.026);border:1px solid rgba(14,22,38,0.095)}.mv-submit-card .btn{min-width:180px;justify-content:center}
.mv-end{padding:86px 0;background:radial-gradient(circle at 50% 0%,rgba(255,38,56,.08),transparent 28%),#090e1e}:where(html[data-theme="light"]) .mv-end{background:radial-gradient(circle at 50% 0%,rgba(255,38,56,.08),transparent 28%),#f1f3f8}.mv-end-inner{text-align:center;max-width:800px}.mv-end h2{font-size:clamp(58px,7vw,104px);line-height:.87;letter-spacing:-.06em;margin:0 0 18px}.mv-end p:not(.mv-eyebrow){font-size:18px;color:#c4c9ce;margin:0 auto 28px}:where(html[data-theme="light"]) .mv-end p:not(.mv-eyebrow){color:#394666}.mv-end .mv-actions{justify-content:center}
.meme-premium .lightbox{background:rgba(6,9,20,0.88);backdrop-filter:blur(12px)}:where(html[data-theme="light"]) .meme-premium .lightbox{background:rgba(236,239,245,0.88)}.meme-premium .lb-inner{background:#0c1329;border:1px solid rgba(255,255,255,.13);border-radius:20px;box-shadow:0 32px 120px rgba(0,0,0,.56)}:where(html[data-theme="light"]) .meme-premium .lb-inner{background:#f7f8fb;border:1px solid rgba(14,22,38,0.137);box-shadow:0 32px 120px rgba(14,22,38,0.179)}.meme-premium .lb-inner>img{border-radius:14px}.meme-premium .lb-cap{color:#d6dadd}:where(html[data-theme="light"]) .meme-premium .lb-cap{color:#2e3952}
@media(max-width:1050px){.mv-hero-grid{grid-template-columns:1fr .9fr;gap:36px}.meme-premium .meme-gallery.mv-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.mv-classic-grid .meme-item:nth-child(2),.mv-classic-grid .meme-item:nth-child(5),.mv-classic-grid .meme-item:nth-child(9){grid-column:span 1}}
@media(max-width:900px){.mv-hero-grid{grid-template-columns:1fr;padding-top:102px}.mv-hero-copy{max-width:780px}.mv-collage{min-height:480px;max-width:760px}.mv-section-head,.mv-submit-grid{grid-template-columns:1fr;gap:24px}.mv-section-head>p{max-width:720px}.meme-premium .meme-gallery.mv-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.mv-submit-grid{gap:38px}}
@media(max-width:700px){.mv-hero{min-height:0}.mv-glow{background:linear-gradient(180deg,rgba(9,14,30,0.25),rgba(9,14,30,0.96) 55%,#090e1e 100%)}:where(html[data-theme="light"]) .mv-glow{background:linear-gradient(180deg,rgba(241,243,248,0.25),rgba(241,243,248,0.96) 55%,#f1f3f8 100%)}.mv-hero-grid{padding:86px 0 44px;gap:30px}.mv-hero h1{font-size:54px}.mv-hero-copy>p:not(.mv-eyebrow){font-size:16px}.mv-actions{display:grid;grid-template-columns:1fr}.mv-actions .btn{width:100%;justify-content:center}.mv-badges{display:grid;grid-template-columns:1fr 1fr}.mv-badges span{font-size:8px;line-height:1.25}.mv-collage{min-height:350px}.mv-t1{width:36%;height:75%;left:2%;top:9%}.mv-t2{width:51%;height:39%;left:28%;top:1%}.mv-t3{width:40%;height:53%;right:1%;bottom:2%}.mv-t4{width:47%;height:35%;left:18%;bottom:0}.mv-stamp{width:86px;height:86px;font-size:23px;left:42%;top:42%}.mv-stamp small{font-size:6px}.mv-featured,.mv-classics,.mv-submit{padding:56px 0}.mv-section-head{margin-bottom:22px}.mv-section-head h2{font-size:40px}.mv-section-head>p{font-size:15px}.mv-fresh-head{margin-top:52px}.meme-premium .meme-gallery.mv-gallery{grid-template-columns:1fr;gap:13px}.meme-premium .meme-open img{max-height:none}.mv-submit-copy h2{font-size:44px}.mv-submit-copy>p:not(.mv-eyebrow){font-size:15px}.mv-submit-card.submit-card{padding:16px;border-radius:16px}.mv-submit-card .drop{min-height:190px}.mv-submit-card .row2{grid-template-columns:1fr}.mv-end{padding:60px 0}.mv-end h2{font-size:62px}.mv-end p:not(.mv-eyebrow){font-size:16px}.meme-premium .lb-actions{display:grid;grid-template-columns:1fr}.meme-premium .lb-actions .btn{width:100%;justify-content:center}}
