/* Moozonian homepage v4: additive design polish, no changes to original layout rules */
body > #suggestions.moo-v4-portal {
  position: fixed !important;
  z-index: 2147483000 !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px rgba(6,24,58,.28),0 0 0 1px rgba(48,96,160,.07);
  border-radius: 17px;
  backdrop-filter: blur(14px);
}
body > #suggestions.moo-v4-portal.open {display:block !important;}
body > #suggestions.moo-v4-portal .suggestion-heading {position:sticky;top:0;z-index:2;background:var(--panel,#fff);}
body > #suggestions.moo-v4-portal .suggestion-item {min-height:47px;}
body > #suggestions.moo-v4-portal .suggestion-item:focus-visible {outline:2px solid #3a78d5;outline-offset:-2px;}
.moo-ai-widget {display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr);gap:30px;align-items:start;
  background:linear-gradient(110deg,#0b1c42,#14376e 65%,#2159a4);border:1px solid rgba(100,170,255,.23);
  color:#fff;border-radius:23px;padding:25px 27px;margin:0 0 29px;box-shadow:0 13px 36px rgba(8,35,84,.15);}
.moo-ai-tag {font-size:11px;letter-spacing:.14em;font-weight:800;color:#88c6ff;text-transform:uppercase;}
.moo-ai-widget h3 {font-size:clamp(21px,3vw,28px);letter-spacing:-.6px;line-height:1.15;margin:8px 0;}
.moo-ai-widget p {font-size:12px;line-height:1.65;color:#c1d7f3;margin:8px 0 0;}
.moo-ai-question {display:flex;gap:10px;align-items:stretch;background:#fff;padding:7px;border-radius:13px;box-shadow:0 12px 27px rgba(4,15,38,.16);}
.moo-ai-question textarea {resize:vertical;min-height:50px;max-height:160px;flex:1;min-width:0;border:0;background:#fff;padding:10px;color:#172642;outline:0;font:inherit;font-size:14px;line-height:1.4;}
.moo-ai-question button {align-self:stretch;border:0;border-radius:9px;padding:0 20px;background:#2157ce;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap;}
.moo-ai-question button:hover {background:#1644a9;}
.moo-ai-presets {display:flex;flex-wrap:wrap;gap:7px;margin-top:11px;}
.moo-ai-presets button {background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.22);color:#fff;border-radius:999px;padding:8px 11px;font-size:11px;cursor:pointer;}
.moo-ai-presets button:hover {background:rgba(255,255,255,.2);}
.moo-ai-response {grid-column:1/-1;background:rgba(255,255,255,.98);border-radius:15px;padding:13px;color:#1c3151;}
.moo-ai-response[hidden] {display:none;}
.moo-ai-response-head {display:flex;gap:12px;align-items:center;justify-content:space-between;padding:4px 2px 12px;flex-wrap:wrap;}
.moo-ai-response-head strong {font-size:13px;}
.moo-ai-response-actions {display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
.moo-ai-response-actions a,.moo-ai-response-actions button {font-size:12px;color:#1656b5;font-weight:800;border:0;background:none;cursor:pointer;}
.moo-ai-frame {display:block;width:100%;height:460px;border:1px solid #d9e4f3;border-radius:10px;background:#fff;}
.moo-news-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin:0 0 15px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:var(--bg);}
.moo-news-toolbar span {font-size:12px;color:var(--muted);}
.moo-news-toolbar strong {color:var(--text);}
.moo-news-toolbar-actions {display:flex;gap:7px;flex-wrap:wrap;}
.moo-news-toolbar button {background:var(--panel);border:1px solid var(--line);border-radius:9px;color:var(--text);padding:9px 12px;font-size:11px;font-weight:800;cursor:pointer;}
.moo-news-toolbar button:hover {border-color:var(--blue);}
.moo-publisher-panel {background:var(--panel);padding:17px;border:1px solid var(--line);border-radius:16px;margin:0 0 16px;}
.moo-publisher-panel[hidden] {display:none;}
.moo-publisher-title {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;}
.moo-publisher-title strong {font-size:16px;color:var(--text);}
.moo-publisher-title button {border:0;background:var(--bg);padding:8px 10px;border-radius:8px;color:var(--text);cursor:pointer;}
.moo-publisher-filter {width:100%;padding:12px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit;margin-bottom:12px;}
.moo-publisher-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:275px;overflow:auto;overscroll-behavior:contain;}
.moo-publisher {text-align:left;min-width:0;border:1px solid var(--line);background:var(--bg);color:var(--text);padding:10px;border-radius:11px;cursor:pointer;}
.moo-publisher:hover {border-color:var(--blue);background:var(--panel);}
.moo-publisher strong {display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
.moo-publisher small {display:block;font-size:10px;margin-top:5px;opacity:.7;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
.moo-publisher-count {font-size:10px;color:var(--muted);margin-top:9px;}
.moo-feed-notice {grid-column:1/-1;border:1px dashed var(--line);border-radius:15px;background:var(--bg);color:var(--text);padding:28px;min-height:145px;display:flex;flex-direction:column;justify-content:center;gap:9px;}
.moo-feed-notice p {margin:0;font-size:13px;color:var(--muted)}
.moo-feed-notice a {color:var(--blue);font-weight:800;font-size:12px;}
@media(max-width:900px){.moo-ai-widget {grid-template-columns:1fr;gap:14px;padding:21px}.moo-publisher-grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.moo-ai-widget {border-radius:17px;padding:15px;margin-bottom:22px}.moo-ai-question {display:flex;gap:4px}.moo-ai-question button {padding:0 13px}.moo-ai-question textarea {font-size:13px}.moo-ai-frame {height:390px}.moo-publisher-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.moo-news-toolbar {padding:10px;}.moo-news-toolbar-actions {width:100%;}.moo-news-toolbar-actions button{flex:1;}}
@media(prefers-reduced-motion:reduce){.moo-ai-response{scroll-behavior:auto}}

/* MOO_AI_HOMEPAGE_NATIVE_V41: plain, streaming model text (not an iframe). */
.moo-ai-response .moo-ai-native-layout {display:flex;flex-direction:column;gap:11px;}
.moo-ai-response .moo-ai-native-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:2px 0 5px;border-bottom:1px solid #dbe6f5;}
.moo-ai-response #mooAiAnswerStatus {font-size:12px;color:#536b88;line-height:1.5;}
.moo-ai-response .moo-ai-native-actions {display:flex;gap:8px;flex-wrap:wrap;}
.moo-ai-response .moo-ai-native-actions button {font:inherit;font-size:12px;padding:7px 12px;border:1px solid #ced9e9;background:#f6f9fe;color:#17447e;border-radius:9px;cursor:pointer;font-weight:700;}
.moo-ai-response .moo-ai-native-actions button:disabled {opacity:.48;cursor:default;}
.moo-ai-response #mooAiAnswerScroll {max-height:600px;min-height:150px;overflow-y:auto;background:linear-gradient(180deg,#fff,#f9fbff);border:1px solid #e1e9f4;border-radius:13px;padding:21px;overscroll-behavior:contain;}
.moo-ai-response #mooAiAnswerText {font-family:system-ui,-apple-system,'Segoe UI',sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;font-size:15px;line-height:1.8;color:#182c49;}
.moo-ai-response #mooAiNativeError {font-size:12px;color:#a12727;background:#fff0f0;border:1px solid #facaca;border-radius:9px;padding:10px 12px;}
.moo-ai-response #mooAiNativeError[hidden],.moo-ai-response #mooAiStop[hidden]{display:none!important;}
.moo-ai-question button:disabled {opacity:.66;cursor:wait;}
@media(max-width:560px){.moo-ai-response #mooAiAnswerScroll{max-height:490px;min-height:115px;padding:13px}.moo-ai-response #mooAiAnswerText{font-size:14px;line-height:1.7}.moo-ai-native-toolbar{align-items:flex-start}}
