.mla-google-overlay{position:fixed;inset:0;z-index:13000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(5,7,11,.82);backdrop-filter:blur(5px)}
.mla-google-overlay[hidden],.mla-google-setup[hidden]{display:none!important}
.mla-google-modal{display:flex;flex-direction:column;width:min(1120px,96vw);max-height:calc(100dvh - 36px);overflow:hidden;border:1px solid rgba(56,189,248,.45);border-radius:14px;background:linear-gradient(180deg,#191d26 0%,#12151c 100%);color:var(--text,#f8fafc);box-shadow:0 28px 80px rgba(0,0,0,.82)}
.mla-google-head,.mla-google-foot{display:flex;align-items:center;gap:12px;padding:14px 20px;background:rgba(255,255,255,.02)}
.mla-google-head{justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08)}
.mla-google-head-title{display:flex;align-items:center;gap:12px}
.mla-google-badge-ico{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:rgba(56,189,248,.16);border:1px solid rgba(56,189,248,.4);font-size:19px}
.mla-google-modal h3{margin:0;font:800 17px Poppins,sans-serif;color:#f8fafc}
.mla-google-subtitle{display:block;color:#94a3b8;font-size:11.5px;margin-top:2px}
.mla-google-head>button{width:34px;height:34px;border:1px solid #2e3646;border-radius:8px;background:#1c212b;color:#cbd5e1;font-size:22px;line-height:1;cursor:pointer;transition:all .15s}
.mla-google-head>button:hover{border-color:#ef4444;background:rgba(239,68,68,.18);color:#fff}
.mla-google-body{overflow:auto;padding:18px 20px;min-height:240px;flex:1}
.mla-google-search-box{padding:14px 16px;border:1px solid #2b3242;border-radius:11px;background:#171b23}
.mla-google-body label{display:block;margin-bottom:7px;font:800 10.5px Poppins,sans-serif;color:#7dd3fc;letter-spacing:.4px;text-transform:uppercase}
.mla-google-search-row{display:flex;gap:10px}
.mla-google-search-row input{flex:1;min-width:0;height:40px;padding:0 14px;border:1px solid #323a4c;border-radius:8px;background:#101319;color:#f8fafc;font-size:13.5px;transition:border-color .15s,box-shadow .15s}
.mla-google-search-row input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.18);outline:0}
.mla-google-search-btn{height:40px;padding:0 18px!important;border-radius:8px!important;font:800 12.5px Poppins,sans-serif!important;white-space:nowrap}
.mla-google-setup{margin-top:12px;padding:14px 16px;border:1px solid rgba(245,158,11,.45);border-radius:10px;background:rgba(245,158,11,.08)}
.mla-google-setup p{margin:0 0 8px;font-size:12.5px;line-height:1.5;color:#e2e8f0}
.mla-google-setup a{display:inline-block;margin-bottom:10px;color:#fbbf24;font-weight:700;font-size:12px}
.mla-google-toolbar{display:flex;align-items:center;justify-content:space-between;margin:12px 0 10px}
#mla-google-note{min-height:20px;margin:0;color:#94a3b8;font:600 12px Poppins,sans-serif}
#mla-google-note.is-error{color:#fb7185}
.mla-google-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px}
.mla-google-card{display:flex;flex-direction:column;justify-content:space-between;gap:7px;min-width:0;padding:10px;border:1px solid #2c3344;border-radius:11px;background:#1b2029;transition:all .15s}
.mla-google-card:hover{border-color:#475569;transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.35)}
.mla-google-card.is-selected{border-color:#22c55e;background:rgba(34,197,94,.07);box-shadow:0 0 0 1px rgba(34,197,94,.3)}
.mla-google-card.is-main{border-color:#f59e0b;background:rgba(245,158,11,.08);box-shadow:0 0 0 2px rgba(245,158,11,.32)}
.mla-google-card label{position:relative;display:flex;align-items:center;justify-content:center;height:148px;padding:6px;border-radius:8px;background:#fff;cursor:pointer;overflow:hidden;margin:0}
.mla-google-card input{position:absolute;top:8px;left:8px;width:19px;height:19px;z-index:2;accent-color:#22c55e;cursor:pointer}
.mla-google-main-ribbon{position:absolute;top:7px;right:7px;z-index:2;padding:2px 8px;border-radius:999px;background:#f59e0b;color:#111827;font:800 9.5px Poppins,sans-serif;box-shadow:0 3px 8px rgba(0,0,0,.35)}
.mla-google-card img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.mla-google-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8;font-size:11px;padding:0 2px}
.mla-google-main-btn{width:100%;justify-content:center;height:30px;font:700 11px Poppins,sans-serif!important;border-radius:7px!important}
.mla-google-card.is-unavailable{opacity:.4;pointer-events:none}
.mla-google-foot{justify-content:flex-end;border-top:1px solid rgba(255,255,255,.08)}
.mla-google-count-pill{margin-right:auto;padding:5px 12px;border-radius:999px;background:#1c212b;border:1px solid #323a4c;font:700 12px Poppins,sans-serif;color:#94a3b8}
.mla-google-count-pill.has-selection{background:rgba(34,197,94,.15);border-color:rgba(34,197,94,.45);color:#4ade80}
.mla-google-apply-btn{height:36px;padding:0 18px!important;font:800 12px Poppins,sans-serif!important;background:linear-gradient(180deg,#22c55e,#16a34a)!important;border-color:#4ade80!important;color:#fff!important}
@media(max-width:640px){.mla-google-overlay{padding:0}.mla-google-modal{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.mla-google-search-row{flex-direction:column}.mla-google-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mla-google-card label{height:120px}.mla-google-foot{flex-wrap:wrap}.mla-google-count-pill{flex-basis:100%}}
