
/*
Theme Name: MangaExpert Theme (Ads Placeholder Fix)
Theme URI: https://mangaexpert.com
Author: MangaExpert + ChatGPT
Description: Minimal single-page name generator theme with Customizer-based ads; shows a placeholder when ad code is empty or fails.
Version: 1.2.1
License: GPL-2.0-or-later
Text Domain: mangaexpert
*/
:root{
  --bg:#0b0c10; --panel:#111318; --line:#1b2030; --text:#eef2f8; --muted:#8a90a0; --accent:#ffe100; --accent2:#ffc400;
  --radius:18px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif}
a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:18px 16px 48px}
.header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px}
.header-left{display:flex;align-items:center;gap:12px}
.site-logo{width:180px;max-width:40vw;height:auto;display:block}
.h1{margin:12px auto 18px auto;text-align:center;font-weight:800;font-size:clamp(24px,4.8vw,36px);letter-spacing:.3px;
  color:var(--accent)}
.panel{background:#111318;border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.btn{appearance:none;border:1px solid var(--line);background:#141a24;color:var(--text);padding:10px 12px;border-radius:10px;
  display:inline-flex;align-items:center;gap:8px;font-weight:600}
.btn:hover{background:#1c2431}
.adwrap{display:flex;justify-content:center;align-items:center;margin:10px 0}
.ads-placeholder{border:1px dashed #2e364a;color:var(--muted);background:rgba(255,225,0,0.04);
  padding:12px 14px;border-radius:12px;font-size:14px;text-align:center;width:100%;max-width:728px}
.ads-placeholder small{display:block;color:#98a1b3;margin-top:6px}
.footer{color:var(--muted);font-size:12px;margin-top:22px;text-align:center;padding:18px}
/* favorites block & lists kept simple here – app.js renders content */
#favorites{display:flex;flex-direction:column;gap:10px}
.fav-item{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);padding:10px;border-radius:10px}
.name-card{border:1px solid var(--line);border-radius:12px;padding:14px}
.grid{display:grid;gap:12px;grid-template-columns:repeat(12,1fr)}
.col-12{grid-column:span 12}.col-6{grid-column:span 12}
@media(min-width:720px){.col-6{grid-column:span 6}}
/* Keep ad blocks responsive: */
.resp-ad{min-height:90px;width:100%;display:flex;justify-content:center}


/* Logo sizing */
.header .custom-logo, .header .site-logo { max-height: 56px; height:auto; width:auto; object-fit: contain; }
@media (max-width:640px){ .header .custom-logo, .header .site-logo { max-height: 44px; } }
/* Active filter button */
.btn.active { background:linear-gradient(180deg,#ffe100,#ffc400); color:#111 !important; }
