.anc-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 7, 19, 0.82);
  border-bottom: 1px solid rgba(76, 159, 255, 0.15);
  backdrop-filter: blur(22px);
  transition: background .2s ease, box-shadow .2s ease;
}
.anc-site-header.is-scrolled { background: rgba(2, 7, 19, .96); box-shadow: 0 14px 40px rgba(0, 0, 0, .28); }
.anc-header-inner { min-height: 74px; display: grid; grid-template-columns: minmax(220px, auto) 1fr auto; align-items: center; gap: 28px; }
.anc-brand img, .custom-logo { display: block; width: auto; height: 48px; object-fit: contain; }
.anc-brand-link { display: inline-flex; align-items: center; }
.anc-primary-nav { justify-self: center; }
.anc-menu, .anc-footer-menu { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.anc-menu a { color: #d9e7f7; font-weight: 700; font-size: .94rem; }
.anc-menu a:hover, .anc-menu .current-menu-item > a { color: var(--anc-cyan); }
.anc-menu .sub-menu { position: absolute; min-width: 220px; padding: 12px; margin: 10px 0 0; list-style: none; background: #071528; border: 1px solid var(--anc-border); border-radius: 14px; box-shadow: var(--anc-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.anc-menu li { position: relative; }
.anc-menu li:hover > .sub-menu, .anc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.anc-menu .sub-menu a { display: block; padding: 9px 10px; }
.anc-account-button, .anc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 10px 19px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.anc-account-button, .anc-button-primary { color: #fff; background: linear-gradient(135deg, var(--anc-blue), #0872f6 58%, var(--anc-indigo)); box-shadow: 0 10px 28px rgba(22, 136, 255, .24); }
.anc-account-button:hover, .anc-button-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 15px 34px rgba(22, 136, 255, .35); }
.anc-button-secondary { color: #eaf5ff; background: rgba(4, 13, 28, .72); border-color: rgba(97, 167, 255, .38); }
.anc-button-secondary:hover { color: #fff; border-color: var(--anc-cyan); transform: translateY(-1px); }
.anc-nav-toggle { display: none; width: 46px; height: 44px; border: 1px solid var(--anc-border); border-radius: 12px; background: rgba(7, 21, 40, .92); padding: 10px; cursor: pointer; }
.anc-nav-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }

.anc-hero { position: relative; display: grid; grid-template-columns: minmax(225px, .8fr) minmax(420px, 1.7fr) minmax(270px, 1fr); gap: 22px; padding-top: 28px; }
.anc-hero::before { content: ""; position: absolute; inset: 0 10% auto 25%; height: 520px; background: radial-gradient(circle, rgba(18, 125, 255, .17), transparent 66%); pointer-events: none; }
.anc-panel, .anc-chat-shell, .anc-single-card, .anc-post-card {
  position: relative;
  background: linear-gradient(145deg, rgba(8, 27, 51, .92), rgba(4, 14, 29, .9));
  border: 1px solid var(--anc-border);
  border-radius: var(--anc-radius);
  box-shadow: var(--anc-shadow);
}
.anc-panel { padding: 18px; }
.anc-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.anc-panel-heading h2 { margin: 0; font-size: 1rem; letter-spacing: -.01em; }
.anc-panel-heading a { font-size: .84rem; font-weight: 800; }

.anc-coverage-panel, .anc-topic-panel { align-self: center; z-index: 2; }
.anc-coverage-list { display: grid; gap: 4px; }
.anc-coverage-item { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; padding: 11px 6px; color: var(--anc-text); border-bottom: 1px solid rgba(105, 161, 224, .12); }
.anc-coverage-item:last-child { border-bottom: 0; }
.anc-coverage-item:hover { color: var(--anc-cyan); }
.anc-coverage-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--anc-blue), var(--anc-cyan)); box-shadow: 0 0 12px rgba(19, 228, 255, .7); }
.anc-coverage-copy { min-width: 0; }
.anc-coverage-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .83rem; }
.anc-coverage-copy small { display: block; color: var(--anc-muted); font-size: .71rem; }

.anc-hero-copy { position: relative; z-index: 3; align-self: center; padding: 48px 32% 46px 34px; min-height: 430px; overflow: hidden; border-radius: 28px; background: radial-gradient(circle at 82% 50%, rgba(11, 114, 255, .14), transparent 48%), linear-gradient(145deg, rgba(5, 16, 34, .7), rgba(4, 13, 26, .3)); border: 1px solid rgba(56, 141, 240, .14); }
.anc-eyebrow { display: inline-flex; align-items: center; color: var(--anc-cyan); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.anc-hero-copy h1 { max-width: 650px; margin: 13px 0 20px; font-size: clamp(3.2rem, 5.4vw, 6.6rem); line-height: .98; letter-spacing: -.055em; }
.anc-hero-copy h1 span { display: block; color: transparent; background: linear-gradient(90deg, #1e7dff, #12dfff); background-clip: text; -webkit-background-clip: text; }
.anc-hero-copy > p { max-width: 640px; margin: 0 0 24px; color: #b7c6d8; font-size: 1.08rem; }
.anc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.anc-feature-row { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 24px; color: #a9bbcf; font-size: .82rem; font-weight: 700; }
.anc-feature-row span::first-letter { color: var(--anc-cyan); }

.anc-hero-art { position: absolute; z-index: 4; top: 75px; left: 48.5%; width: 31%; max-width: 450px; pointer-events: none; }
.anc-hero-art img { display: block; width: 100%; filter: drop-shadow(0 22px 48px rgba(0, 143, 255, .33)); mix-blend-mode: screen; }
.anc-chart-bars { position: absolute; right: -42%; bottom: 15%; display: flex; align-items: end; gap: 10px; width: 64%; height: 43%; opacity: .34; }
.anc-chart-bars i { flex: 1; min-width: 7px; border: 1px solid rgba(43, 147, 255, .7); background: rgba(18, 103, 235, .4); }
.anc-chart-bars i:nth-child(1){height:25%}.anc-chart-bars i:nth-child(2){height:38%}.anc-chart-bars i:nth-child(3){height:32%}.anc-chart-bars i:nth-child(4){height:52%}.anc-chart-bars i:nth-child(5){height:66%}.anc-chart-bars i:nth-child(6){height:81%}.anc-chart-bars i:nth-child(7){height:100%}

.anc-live-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--anc-green); font-size: .75rem; font-weight: 900; }
.anc-topic-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: topics; }
.anc-topic-list li a { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 9px; color: var(--anc-text); background: rgba(15, 39, 68, .75); border: 1px solid rgba(79, 154, 237, .12); border-radius: 12px; }
.anc-topic-list li a:hover { border-color: rgba(19, 228, 255, .42); transform: translateX(2px); }
.anc-topic-rank { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #bcd0e8; background: rgba(93, 145, 208, .18); }
.anc-topic-list strong, .anc-topic-list small { display: block; }
.anc-topic-list strong { font-size: .86rem; }
.anc-topic-list small { color: var(--anc-muted); font-size: .7rem; }

.anc-news-grid { display: grid; grid-template-columns: minmax(255px, .8fr) minmax(560px, 1.7fr) minmax(255px, .8fr); gap: 22px; align-items: start; margin-top: 22px; }
.anc-news-list { display: grid; gap: 4px; }
.anc-news-list-item { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(100, 159, 222, .14); }
.anc-news-list-item:last-child { border-bottom: 0; }
.anc-news-thumb { display: grid; place-items: center; min-height: 70px; overflow: hidden; border-radius: 11px; color: #fff; background: radial-gradient(circle at 30% 20%, rgba(39, 213, 255, .5), transparent 50%), linear-gradient(135deg, #143e72, #07172c); }
.anc-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.anc-news-list-item h3 { margin: 0 0 7px; font-size: .86rem; line-height: 1.35; }
.anc-news-list-item h3 a { color: #f4f9ff; }
.anc-news-list-item h3 a:hover { color: var(--anc-cyan); }
.anc-news-list-item p { margin: 0; color: var(--anc-muted); font-size: .7rem; }
.anc-dollar-icon, .anc-source-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--anc-green); border: 1px solid rgba(36, 223, 145, .45); }

.anc-chat-shell { overflow: hidden; padding: 14px; }
.anc-chat-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 7px 8px 14px; }
.anc-chat-heading h2 { margin: 1px 0 0; font-size: 1.18rem; }
.anc-chat-embed { min-width: 0; }
.anc-chat-embed .betdebate-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; }
.anc-chat-embed .betdebate-agentdebates-wrap { border-radius: 15px !important; }
.anc-chat-embed .betdebate-card { border-color: rgba(73, 154, 245, .25) !important; }
.anc-plugin-missing { display: grid; justify-items: center; text-align: center; min-height: 500px; align-content: center; padding: 38px; border: 1px dashed rgba(80, 162, 255, .35); border-radius: 16px; background: rgba(3, 12, 26, .8); }
.anc-plugin-missing img { width: 150px; margin-bottom: 10px; mix-blend-mode: screen; }
.anc-plugin-missing h3 { margin: 0 0 8px; }
.anc-plugin-missing p { max-width: 560px; color: var(--anc-muted); }

.anc-source-feature-list { display: grid; gap: 10px; }
.anc-source-feature-list > div { display: grid; grid-template-columns: 36px 1fr; gap: 11px; align-items: start; padding: 12px; border-radius: 13px; background: rgba(15, 39, 68, .68); }
.anc-source-feature-list > div > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--anc-cyan); font-weight: 900; border: 1px solid rgba(19, 228, 255, .28); }
.anc-source-feature-list p { margin: 0; color: var(--anc-muted); font-size: .77rem; }
.anc-source-feature-list strong { display: block; color: #fff; font-size: .86rem; }
.anc-source-note { margin-top: 14px; padding: 15px; border-radius: 13px; background: linear-gradient(135deg, rgba(11, 117, 255, .16), rgba(19, 228, 255, .06)); border: 1px solid rgba(44, 155, 255, .22); }
.anc-source-note p { margin: 5px 0 0; color: var(--anc-muted); font-size: .79rem; }

.anc-trust-strip { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 18px; margin-top: 22px; margin-bottom: 34px; padding: 18px 20px; background: linear-gradient(135deg, rgba(9, 29, 54, .94), rgba(7, 20, 39, .94)); border: 1px solid var(--anc-border); border-radius: var(--anc-radius); }
.anc-trust-strip > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding-right: 12px; border-right: 1px solid rgba(107, 162, 221, .16); }
.anc-trust-strip > div > span { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--anc-cyan); background: rgba(31, 111, 210, .16); }
.anc-trust-strip strong { font-size: .86rem; }
.anc-trust-strip small { color: var(--anc-muted); font-size: .7rem; }

.anc-empty-state { display: grid; gap: 5px; padding: 15px; color: var(--anc-muted); border-radius: 12px; background: rgba(16, 39, 66, .58); }
.anc-empty-state strong { color: #fff; }

.anc-content-shell { padding-block: 55px; }
.anc-page-header { max-width: 900px; margin-bottom: 28px; }
.anc-page-header h1 { margin: 7px 0 12px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.045em; }
.anc-page-header p, .anc-archive-description { color: var(--anc-muted); }
.anc-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.anc-post-card { overflow: hidden; }
.anc-post-card-image { display: grid; place-items: center; min-height: 230px; color: #fff; font-size: 2rem; background: radial-gradient(circle at 30% 20%, rgba(19, 228, 255, .25), transparent 45%), linear-gradient(135deg, #0c3769, #06172d); }
.anc-post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.anc-post-card-body { padding: 22px; }
.anc-post-meta { color: var(--anc-cyan); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.anc-post-card h2 { margin: 9px 0 11px; line-height: 1.18; }
.anc-post-card h2 a { color: #fff; }
.anc-post-card p { color: var(--anc-muted); }
.anc-text-link { font-weight: 900; }
.anc-single-card { max-width: 1080px; margin: 0 auto; padding: clamp(24px, 5vw, 70px); }
.anc-featured-image { overflow: hidden; margin: 0 0 32px; border-radius: 18px; }
.anc-entry-content { color: #dce7f3; font-size: 1.05rem; }
.anc-entry-content h2, .anc-entry-content h3, .anc-entry-content h4 { color: #fff; }
.anc-entry-content blockquote { margin: 26px 0; padding: 16px 22px; border-left: 4px solid var(--anc-cyan); background: rgba(11, 42, 76, .45); }
.anc-entry-content code, .anc-entry-content pre { background: #020a17; border: 1px solid var(--anc-border); border-radius: 8px; }
.anc-entry-content pre { overflow: auto; padding: 18px; }
.anc-entry-content table { width: 100%; border-collapse: collapse; }
.anc-entry-content th, .anc-entry-content td { padding: 12px; border: 1px solid var(--anc-border); }
.anc-entry-footer { margin-top: 30px; }
.anc-error-page, .anc-empty-page { display: grid; justify-items: start; }
.anc-error-page img { width: 160px; mix-blend-mode: screen; }
.anc-comments { margin-top: 24px; }
.anc-search-form { display: flex; gap: 10px; }
.anc-search-form label { flex: 1; }
.anc-search-field { width: 100%; min-height: 46px; padding: 10px 14px; color: #fff; background: #020b19; border: 1px solid var(--anc-border); border-radius: 12px; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; color: #fff; background: var(--anc-panel); border: 1px solid var(--anc-border); border-radius: 10px; }
.page-numbers.current { background: var(--anc-blue); }

.anc-site-footer { padding: 42px 0 26px; border-top: 1px solid rgba(76, 159, 255, .16); background: rgba(1, 5, 13, .88); }
.anc-footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.anc-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.anc-footer-brand img { width: auto; height: 46px; }
.anc-footer-brand p { margin: 8px 0 0; color: var(--anc-muted); font-size: .82rem; }
.anc-footer-menu a { color: #c7d5e5; font-weight: 700; }
.anc-footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 28px; padding-top: 20px; color: #73879f; font-size: .75rem; border-top: 1px solid rgba(87, 151, 215, .14); }

@media (max-width: 1240px) {
  .anc-header-inner { grid-template-columns: auto 1fr auto; }
  .anc-menu { gap: 18px; }
  .anc-hero { grid-template-columns: 260px 1fr; }
  .anc-hero-copy { grid-column: 2; padding-right: 35%; }
  .anc-hero-art { left: auto; right: 8%; width: 33%; }
  .anc-topic-panel { grid-column: 1; }
  .anc-coverage-panel { grid-row: 1; }
  .anc-news-grid { grid-template-columns: 310px minmax(0, 1fr); }
  .anc-source-panel { grid-column: 1; }
  .anc-chat-shell { grid-column: 2; grid-row: 1 / span 2; }
  .anc-trust-strip { grid-template-columns: repeat(2, 1fr); }
  .anc-trust-strip .anc-button { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .anc-header-inner { grid-template-columns: auto auto 1fr; }
  .anc-brand { grid-column: 1; }
  .anc-nav-toggle { display: block; grid-column: 3; justify-self: end; }
  .anc-account-button { grid-column: 2; grid-row: 1; }
  .anc-primary-nav { position: absolute; top: 100%; left: 20px; right: 20px; display: none; padding: 16px; background: rgba(3, 13, 28, .98); border: 1px solid var(--anc-border); border-radius: 16px; box-shadow: var(--anc-shadow); }
  .anc-primary-nav.is-open { display: block; }
  .anc-menu { align-items: stretch; flex-direction: column; gap: 4px; }
  .anc-menu a { display: block; padding: 10px; }
  .anc-menu .sub-menu { position: static; display: block; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .anc-hero { grid-template-columns: 1fr; }
  .anc-hero-copy { grid-column: 1; grid-row: 1; min-height: 470px; padding: 52px 42% 40px 32px; }
  .anc-hero-art { top: 100px; right: 0; width: 44%; }
  .anc-coverage-panel, .anc-topic-panel { grid-column: auto; grid-row: auto; }
  .anc-coverage-panel { grid-column: 1; }
  .anc-topic-panel { grid-column: 1; }
  .anc-news-grid { grid-template-columns: 1fr; }
  .anc-chat-shell, .anc-source-panel { grid-column: auto; grid-row: auto; }
  .anc-chat-shell { grid-row: 1; }
  .anc-news-list-panel { grid-row: 2; }
  .anc-source-panel { grid-row: 3; }
  .anc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .anc-container { width: min(100% - 24px, 1460px); }
  .anc-header-inner { min-height: 68px; gap: 10px; }
  .anc-brand img, .custom-logo { height: 39px; max-width: 190px; }
  .anc-account-button { min-height: 39px; padding: 8px 11px; font-size: .78rem; }
  .anc-nav-toggle { width: 42px; height: 40px; }
  .anc-hero { padding-top: 14px; gap: 14px; }
  .anc-hero-copy { min-height: 0; padding: 32px 22px 260px; }
  .anc-hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .anc-hero-copy > p { font-size: .98rem; }
  .anc-hero-actions { display: grid; }
  .anc-hero-art { top: 410px; right: 7%; width: 86%; max-width: 360px; }
  .anc-chart-bars { display: none; }
  .anc-feature-row { gap: 9px 14px; }
  .anc-news-grid { margin-top: 14px; gap: 14px; }
  .anc-panel, .anc-chat-shell { border-radius: 16px; }
  .anc-chat-shell { padding: 8px; }
  .anc-chat-heading { align-items: flex-start; }
  .anc-trust-strip { grid-template-columns: 1fr; gap: 12px; }
  .anc-trust-strip > div { border-right: 0; border-bottom: 1px solid rgba(107, 162, 221, .16); padding-bottom: 12px; }
  .anc-post-grid { grid-template-columns: 1fr; }
  .anc-page-header h1 { font-size: 2.6rem; }
  .anc-single-card { padding: 24px 18px; }
  .anc-footer-row, .anc-footer-bottom { align-items: flex-start; flex-direction: column; }
  .anc-footer-menu { flex-wrap: wrap; gap: 14px; }
  .anc-footer-widgets { grid-template-columns: 1fr; }
  .anc-search-form { flex-direction: column; }
}

/* v1.0.1 — live plugin compatibility and responsive homepage repair. */
html body.altcoin-news-ai-theme,
html body.altcoin-news-ai-theme.dealdebates-bg-custom,
html body.altcoin-news-ai-theme.dealdebates-bg-custom #page,
html body.altcoin-news-ai-theme.dealdebates-bg-custom #content,
html body.altcoin-news-ai-theme.dealdebates-bg-custom .site,
html body.altcoin-news-ai-theme.dealdebates-bg-custom .site-content,
html body.altcoin-news-ai-theme.dealdebates-bg-custom .content-area,
html body.altcoin-news-ai-theme.dealdebates-bg-custom main,
html body.altcoin-news-ai-theme.dealdebates-bg-custom .entry-content,
html body.altcoin-news-ai-theme.dealdebates-bg-custom .wp-site-blocks,
html body.altcoin-news-ai-theme.dealdebates-bg-custom .wp-block-post-content {
  color: var(--anc-text) !important;
  background:
    radial-gradient(circle at 70% -10%, rgba(19, 119, 255, .20), transparent 38rem),
    radial-gradient(circle at 8% 40%, rgba(0, 226, 255, .08), transparent 32rem),
    var(--anc-bg) !important;
}

html body.altcoin-news-ai-theme {
  --dealdebates-page-text: #f7fbff;
  --dealdebates-page-muted: #a8b8cb;
  --dealdebates-page-link: #13e4ff;
}

.home.altcoin-news-ai-theme .dealdebates-bg-picker-card {
  display: none !important;
}

.anc-hero {
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr) minmax(230px, 300px);
  align-items: stretch;
}

.anc-hero-center {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
  align-items: center;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid rgba(56, 141, 240, .20);
  border-radius: 28px;
  background:
    radial-gradient(circle at 79% 48%, rgba(14, 137, 255, .20), transparent 42%),
    linear-gradient(145deg, rgba(5, 16, 34, .93), rgba(4, 13, 26, .86));
  box-shadow: var(--anc-shadow);
}

.anc-hero-copy {
  min-width: 0;
  min-height: 0;
  padding: 44px 12px 44px 38px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.anc-hero-copy h1 {
  max-width: 620px;
  font-size: clamp(3.2rem, 5vw, 6rem);
}

.anc-hero-art {
  position: relative;
  inset: auto;
  z-index: 1;
  width: auto;
  max-width: none;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 24px 20px 24px 0;
  pointer-events: none;
}

.anc-hero-art img {
  width: min(100%, 440px);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 22px 48px rgba(0, 143, 255, .35));
  mix-blend-mode: normal;
}

.anc-chart-bars {
  right: -6%;
  bottom: 13%;
  width: 70%;
  height: 40%;
  opacity: .22;
}

.anc-coverage-panel,
.anc-topic-panel {
  align-self: center;
}

.anc-news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.anc-chat-shell {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  overflow: visible;
  padding: 16px;
}

.anc-news-list-panel {
  grid-column: 1;
  grid-row: 2;
}

.anc-source-panel {
  grid-column: 2;
  grid-row: 2;
}

.anc-chat-embed,
.anc-chat-embed .betdebate-wrap,
.anc-chat-embed .betdebate-agentdebates-wrap,
.anc-chat-embed .betdebate-agent-shell {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
}

html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agentdebates-wrap,
html body.altcoin-news-ai-theme.dealdebates-bg-custom .anc-chat-embed .betdebate-agentdebates-wrap {
  min-height: 0 !important;
  color: #f7fbff !important;
  background: transparent !important;
}

.anc-chat-embed .betdebate-wrap {
  padding: 0 !important;
}

.anc-chat-embed .betdebate-agent-shell {
  gap: 18px !important;
}

.anc-chat-embed .betdebate-agent-lineup-grid,
.anc-chat-embed .betdebate-agent-prompt-grid,
.anc-chat-embed .betdebate-grid-2,
.anc-chat-embed .betdebate-grid-3 {
  min-width: 0 !important;
}

.anc-site-header .immutifi-account-badge {
  z-index: 1100;
}

@media (max-width: 1240px) {
  .anc-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .anc-hero-center {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .anc-coverage-panel {
    grid-column: 1;
    grid-row: 2;
  }
  .anc-topic-panel {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .anc-hero-center {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr);
  }
  .anc-hero-copy {
    padding: 38px 8px 38px 28px;
  }
  .anc-hero-copy h1 {
    font-size: clamp(3rem, 8vw, 5.2rem);
  }
  .anc-news-grid {
    grid-template-columns: 1fr;
  }
  .anc-chat-shell,
  .anc-news-list-panel,
  .anc-source-panel {
    grid-column: 1;
  }
  .anc-chat-shell { grid-row: 1; }
  .anc-news-list-panel { grid-row: 2; }
  .anc-source-panel { grid-row: 3; }
}

@media (max-width: 680px) {
  .anc-hero {
    grid-template-columns: 1fr;
  }
  .anc-hero-center,
  .anc-coverage-panel,
  .anc-topic-panel {
    grid-column: 1;
  }
  .anc-hero-center {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .anc-hero-copy {
    padding: 30px 22px 12px;
  }
  .anc-hero-art {
    padding: 0 30px 24px;
  }
  .anc-hero-art img {
    width: min(100%, 300px);
    max-height: 270px;
  }
  .anc-coverage-panel { grid-row: 2; }
  .anc-topic-panel { grid-row: 3; }
  .anc-chat-shell { padding: 8px; }
}

/* v1.0.2 — closer dashboard composition and hard dark-theme isolation. */
html,
html body.altcoin-news-ai-theme,
html body.altcoin-news-ai-theme.dealdebates-bg-custom,
html body.altcoin-news-ai-theme #page,
html body.altcoin-news-ai-theme #content,
html body.altcoin-news-ai-theme .site,
html body.altcoin-news-ai-theme .site-content,
html body.altcoin-news-ai-theme .content-area,
html body.altcoin-news-ai-theme .anc-main,
html body.altcoin-news-ai-theme .entry-content,
html body.altcoin-news-ai-theme .wp-site-blocks,
html body.altcoin-news-ai-theme .wp-block-post-content {
  color: var(--anc-text) !important;
  background: #020713 !important;
}

html body.altcoin-news-ai-theme {
  --dealdebates-page-bg: #020713 !important;
  background:
    radial-gradient(circle at 72% 0%, rgba(15, 112, 255, .17), transparent 34rem),
    radial-gradient(circle at 10% 38%, rgba(0, 218, 255, .06), transparent 28rem),
    #020713 !important;
}

.home.altcoin-news-ai-theme .dealdebates-bg-picker-card,
.home.altcoin-news-ai-theme [data-dealdebates-bg-picker="1"],
.home.altcoin-news-ai-theme .immutifi-account-badge {
  display: none !important;
}

.anc-home-main {
  padding-bottom: 2px;
  background:
    linear-gradient(rgba(2,7,19,.22), rgba(2,7,19,.88)),
    radial-gradient(circle at 68% 12%, rgba(0, 119, 255, .14), transparent 35rem) !important;
}

.anc-site-header {
  background: rgba(1, 6, 16, .93);
}

.anc-header-inner {
  min-height: 68px;
}

.anc-brand img,
.custom-logo {
  height: 44px;
}

.anc-hero {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(230px, 280px);
  gap: 18px;
  padding-top: 22px;
}

.anc-hero::before {
  inset: -30px 15% auto 18%;
  height: 460px;
  opacity: .75;
}

.anc-panel,
.anc-chat-preview,
.anc-app-section {
  background: linear-gradient(145deg, rgba(7, 24, 46, .97), rgba(3, 13, 27, .97));
  border: 1px solid rgba(58, 139, 230, .27);
  box-shadow: 0 22px 58px rgba(0,0,0,.28);
}

.anc-panel {
  padding: 16px;
  border-radius: 17px;
}

.anc-coverage-panel,
.anc-topic-panel {
  align-self: stretch;
  margin-block: 14px;
}

.anc-hero-center {
  min-height: 390px;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr);
  border-radius: 22px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(1,8,20,.95), rgba(3,13,30,.72)),
    radial-gradient(circle at 75% 50%, rgba(8,116,255,.16), transparent 48%);
  box-shadow: none;
}

.anc-hero-copy {
  padding: 36px 8px 34px 30px;
}

.anc-hero-copy h1 {
  max-width: 490px;
  margin: 10px 0 17px;
  font-size: clamp(3.25rem, 4vw, 4.65rem);
  line-height: .98;
  letter-spacing: -.052em;
}

.anc-hero-copy h1 span {
  display: block;
}

.anc-hero-copy > p {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: .98rem;
  line-height: 1.55;
}

.anc-hero-actions .anc-button {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 11px;
}

.anc-feature-row {
  margin-top: 19px;
  gap: 10px 16px;
  font-size: .76rem;
}

.anc-hero-art {
  padding: 22px 25px 22px 0;
}

.anc-hero-art::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 10%;
  bottom: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,174,255,.95), transparent);
  box-shadow: 0 0 24px rgba(0,139,255,.9);
}

.anc-hero-art img {
  width: min(100%, 345px);
  max-height: 330px;
  opacity: .98;
}

.anc-chart-bars {
  right: -10%;
  bottom: 14%;
  width: 68%;
  height: 39%;
  opacity: .25;
}

.anc-panel-heading {
  margin-bottom: 12px;
}

.anc-panel-heading h2 {
  font-size: .94rem;
}

.anc-dashboard-row {
  display: grid;
  grid-template-columns: minmax(245px, .78fr) minmax(520px, 1.75fr) minmax(245px, .78fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.anc-news-list-panel,
.anc-source-panel,
.anc-chat-preview {
  min-height: 420px;
}

.anc-chat-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 17px;
  border-radius: 17px;
}

.anc-chat-preview-head,
.anc-app-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.anc-chat-preview-head h2,
.anc-app-heading h2 {
  margin: 2px 0 0;
  font-size: 1.16rem;
}

.anc-chat-preview-thread {
  display: grid;
  gap: 12px;
  flex: 1;
  margin-top: 16px;
}

.anc-preview-message,
.anc-preview-result {
  border: 1px solid rgba(66, 144, 231, .22);
  border-radius: 14px;
  background: rgba(11, 31, 57, .72);
}

.anc-preview-ai {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px;
}

.anc-preview-ai img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.anc-preview-ai p,
.anc-preview-result p {
  margin: 0;
}

.anc-preview-ai strong,
.anc-preview-ai span {
  display: block;
}

.anc-preview-ai span,
.anc-preview-result p {
  margin-top: 4px;
  color: var(--anc-muted);
  font-size: .84rem;
  line-height: 1.45;
}

.anc-preview-user {
  justify-self: end;
  max-width: 78%;
  padding: 11px 15px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #087dfb, #295dff);
}

.anc-preview-result {
  max-width: 78%;
  padding: 13px 15px;
}

.anc-preview-result strong {
  display: block;
  margin-top: 5px;
  font-size: .9rem;
}

.anc-chat-launch {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  min-height: 48px;
  padding-left: 14px;
  color: #8da1b7;
  border: 1px solid rgba(67, 151, 246, .34);
  border-radius: 12px;
  background: rgba(2, 12, 25, .82);
}

.anc-chat-launch:hover {
  color: #fff;
  border-color: var(--anc-cyan);
}

.anc-chat-launch strong {
  display: grid;
  place-items: center;
  align-self: stretch;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, #078afc, #1258e8);
}

.anc-app-section {
  margin-top: 20px;
  padding: 18px;
  overflow: hidden;
  border-radius: 20px;
}

.anc-app-heading {
  padding: 5px 7px 16px;
}

.anc-chat-embed {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-wrap,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agentdebates-wrap,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-shell {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-shell {
  padding-inline: 0 !important;
}

html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-shell > *,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-card,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-live,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-history {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-model-card-grid,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-grid-picker,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  min-width: 0 !important;
}

html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-model-card,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-card,
html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-chip {
  min-width: 0 !important;
  overflow: hidden !important;
}

.anc-trust-strip {
  margin-top: 18px;
}

@media (max-width: 1260px) {
  .anc-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .anc-hero-center {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .anc-coverage-panel { grid-column: 1; grid-row: 2; }
  .anc-topic-panel { grid-column: 2; grid-row: 2; }
  .anc-dashboard-row {
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.7fr);
  }
  .anc-chat-preview { grid-column: 2; grid-row: 1 / span 2; }
  .anc-news-list-panel { grid-column: 1; grid-row: 1; }
  .anc-source-panel { grid-column: 1; grid-row: 2; }
}

@media (max-width: 980px) {
  .anc-hero-center {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .68fr);
  }
  .anc-hero-copy h1 {
    font-size: clamp(3rem, 7vw, 4.2rem);
  }
  .anc-dashboard-row {
    grid-template-columns: 1fr;
  }
  .anc-chat-preview,
  .anc-news-list-panel,
  .anc-source-panel {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }
  .anc-chat-preview { grid-row: 1; }
  .anc-news-list-panel { grid-row: 2; }
  .anc-source-panel { grid-row: 3; }
  html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-model-card-grid,
  html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-grid-picker,
  html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .anc-hero {
    grid-template-columns: 1fr;
  }
  .anc-hero-center {
    grid-template-columns: 1fr;
  }
  .anc-hero-copy {
    padding: 29px 22px 8px;
  }
  .anc-hero-copy h1 {
    font-size: clamp(2.9rem, 14vw, 4rem);
  }
  .anc-hero-art {
    padding: 4px 32px 24px;
  }
  .anc-hero-art img {
    width: min(100%, 280px);
  }
  .anc-coverage-panel,
  .anc-topic-panel {
    margin-block: 0;
  }
  .anc-preview-user,
  .anc-preview-result {
    max-width: 92%;
  }
  .anc-app-section {
    width: calc(100% - 16px);
    padding: 8px;
  }
  .anc-app-heading {
    align-items: flex-start;
  }
  html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-model-card-grid,
  html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-grid-picker,
  html body.altcoin-news-ai-theme .anc-chat-embed .betdebate-agent-lineup-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.3 - balanced header, hero rails, and responsive dashboard proportions. */
.anc-site-header .anc-header-inner {
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  grid-template-columns: minmax(205px, 245px) minmax(0, 1fr) auto;
  gap: 20px;
}

.anc-brand,
.anc-brand-link,
.anc-site-header .custom-logo-link {
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
}

.anc-site-header .anc-brand img,
.anc-site-header .custom-logo {
  width: auto;
  max-width: 235px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.anc-primary-nav {
  min-width: 0;
}

.anc-menu {
  justify-content: center;
  gap: clamp(12px, 1.45vw, 25px);
}

.anc-menu a {
  white-space: nowrap;
}

.anc-hero {
  grid-template-columns: minmax(250px, 282px) minmax(0, 1fr) minmax(250px, 282px);
  gap: 20px;
}

.anc-coverage-panel,
.anc-topic-panel {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  margin-block: 0;
}

.anc-coverage-list,
.anc-topic-list {
  flex: 1;
}

.anc-coverage-panel .anc-empty-state,
.anc-topic-panel .anc-empty-state {
  min-height: 118px;
  align-content: center;
}

.anc-hero-center {
  min-height: 390px;
  grid-template-columns: minmax(0, 1.12fr) minmax(275px, .88fr);
}

.anc-hero-copy {
  padding: 38px 10px 34px 32px;
}

.anc-hero-copy h1 {
  max-width: 520px;
  font-size: clamp(3.2rem, 3.75vw, 4.45rem);
}

.anc-hero-art {
  display: grid;
  place-items: center;
  padding: 20px 22px 20px 4px;
}

.anc-hero-art img {
  width: min(100%, 326px);
  max-height: 315px;
}

.anc-dashboard-row {
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.68fr) minmax(260px, .82fr);
  gap: 20px;
}

.anc-news-list-panel,
.anc-source-panel,
.anc-chat-preview {
  min-height: 430px;
}

.anc-chat-preview-thread {
  align-content: start;
}

.anc-app-section {
  margin-top: 24px;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .anc-site-header .anc-header-inner {
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr) auto;
    gap: 14px;
  }

  .anc-site-header .anc-brand img,
  .anc-site-header .custom-logo {
    max-width: 205px;
    max-height: 42px;
  }

  .anc-menu {
    gap: 12px;
  }

  .anc-menu a {
    font-size: .82rem;
  }

  .anc-account-button {
    min-height: 42px;
    padding: 9px 14px;
    font-size: .86rem;
  }
}

@media (max-width: 1260px) and (min-width: 821px) {
  .anc-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .anc-hero-center {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .anc-coverage-panel,
  .anc-topic-panel {
    min-height: 220px;
  }

  .anc-dashboard-row {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.55fr);
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .anc-news-list-panel,
  .anc-source-panel {
    grid-column: 1;
    min-height: 0;
  }

  .anc-news-list-panel {
    grid-row: 1;
  }

  .anc-source-panel {
    grid-row: 2;
  }

  .anc-chat-preview {
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 0;
  }

  .anc-source-feature-list {
    gap: 8px;
  }

  .anc-source-feature-list > div {
    padding: 10px;
  }
}

/* Keep the full desktop navigation until tablet width. */
@media (max-width: 980px) and (min-width: 861px) {
  .anc-header-inner {
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr) auto !important;
  }

  .anc-brand {
    grid-column: auto !important;
  }

  .anc-nav-toggle {
    display: none !important;
  }

  .anc-account-button {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .anc-primary-nav {
    position: static !important;
    inset: auto !important;
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .anc-menu {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .anc-menu a {
    display: inline-flex !important;
    padding: 7px 2px !important;
    font-size: .78rem !important;
  }

  .anc-menu .sub-menu {
    position: absolute !important;
    display: block !important;
    padding: 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    background: #071528 !important;
    border: 1px solid var(--anc-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--anc-shadow) !important;
  }

  .anc-menu li:hover > .sub-menu,
  .anc-menu li:focus-within > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .anc-dashboard-row {
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.45fr) !important;
  }

  .anc-chat-preview {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
  }

  .anc-news-list-panel {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .anc-source-panel {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}

@media (max-width: 860px) {
  .anc-site-header .anc-header-inner {
    height: 66px;
    min-height: 66px;
    max-height: 66px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .anc-site-header .anc-brand img,
  .anc-site-header .custom-logo {
    max-width: 190px;
    max-height: 40px;
  }

  .anc-brand {
    grid-column: 1 !important;
  }

  .anc-account-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .anc-nav-toggle {
    grid-column: 3 !important;
  }

  .anc-primary-nav {
    left: 12px;
    right: 12px;
  }

  .anc-dashboard-row {
    grid-template-columns: 1fr !important;
  }

  .anc-chat-preview,
  .anc-news-list-panel,
  .anc-source-panel {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 0 !important;
  }

  .anc-chat-preview {
    grid-row: 1 !important;
  }

  .anc-news-list-panel {
    grid-row: 2 !important;
  }

  .anc-source-panel {
    grid-row: 3 !important;
  }
}

@media print {
  .anc-site-header {
    position: static !important;
  }

  .anc-site-header .anc-header-inner {
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }

  .anc-nav-toggle {
    display: none !important;
  }

  .anc-primary-nav {
    position: static !important;
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .anc-menu {
    flex-direction: row !important;
  }
}


/* v1.0.5: remove the hero eyebrow and close the resulting top gap. */
.anc-hero-focused .anc-hero-copy h1 { margin-top: 0; }


/* v1.0.6: remove the top hero panel and enlarge the site logo. */
.home.altcoin-news-ai-theme .anc-app-section-first {
  margin-top: 28px;
}

.home.altcoin-news-ai-theme .anc-site-header .anc-header-inner {
  height: 118px;
  min-height: 118px;
  max-height: 118px;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr) auto;
}

.home.altcoin-news-ai-theme .anc-site-header .anc-brand img,
.home.altcoin-news-ai-theme .anc-site-header .custom-logo {
  max-width: 620px;
  max-height: 108px;
}

.home.altcoin-news-ai-theme .anc-site-header .anc-account-button {
  min-height: 50px;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .home.altcoin-news-ai-theme .anc-site-header .anc-header-inner {
    height: 96px;
    min-height: 96px;
    max-height: 96px;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) auto;
  }

  .home.altcoin-news-ai-theme .anc-site-header .anc-brand img,
  .home.altcoin-news-ai-theme .anc-site-header .custom-logo {
    max-width: 420px;
    max-height: 84px;
  }
}

@media (max-width: 860px) {
  .home.altcoin-news-ai-theme .anc-site-header .anc-header-inner {
    height: 72px;
    min-height: 72px;
    max-height: 72px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .home.altcoin-news-ai-theme .anc-site-header .anc-brand img,
  .home.altcoin-news-ai-theme .anc-site-header .custom-logo {
    max-width: 240px;
    max-height: 56px;
  }
}

.anc-footer-brand img {
  max-width: 360px;
  max-height: 96px;
  height: auto;
}


/* v1.0.7: shared account-status indicator and /login/ account flow. */
.anc-site-header .anc-header-inner {
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  padding-right: 168px;
}

.anc-site-header .anc-primary-nav {
  justify-self: end;
}

.anc-site-header .anc-account-button {
  display: none !important;
}

/* The theme supplies the account indicator, so suppress the plugin duplicate. */
html body.altcoin-news-ai-theme .immutifi-account-badge {
  display: none !important;
}

.anc-account-status-badge {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 2147483000;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.2;
}

body.admin-bar .anc-account-status-badge {
  top: 46px;
}

.anc-account-status-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 4px 4px 4px 14px;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  color: #111827 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
  cursor: pointer;
  text-decoration: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.anc-account-status-trigger:hover,
.anc-account-status-trigger:focus-visible {
  color: #111827 !important;
  border-color: rgba(15, 23, 42, .34);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .24);
  outline: none;
}

.anc-account-status-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  white-space: nowrap;
}

.anc-account-status-copy strong {
  font-size: 12px;
  font-weight: 800;
  color: #111827;
}

.anc-account-status-copy small {
  font-size: 10px;
  font-weight: 650;
  color: #64748b;
}

.anc-account-status-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.anc-account-status-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(292px, calc(100vw - 24px));
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 18px;
  background: #fff;
  color: #111827;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .28);
}

.anc-account-status-menu[hidden] {
  display: none !important;
}

.anc-account-status-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.anc-account-status-avatar-large {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.anc-account-status-summary > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.anc-account-status-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.anc-account-status-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.anc-account-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid #eef2f7;
  font-size: 12px;
}

.anc-account-status-row span {
  color: #64748b;
}

.anc-account-status-row strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-align: right;
}

.anc-account-status-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}

.anc-account-status-actions {
  display: grid;
  gap: 3px;
  padding-top: 8px;
}

.anc-account-status-actions a {
  display: block;
  padding: 10px 11px;
  border-radius: 11px;
  color: #111827 !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
}

.anc-account-status-actions a:hover,
.anc-account-status-actions a:focus-visible {
  background: #f1f5f9;
  outline: none;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .anc-site-header .anc-header-inner {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    padding-right: 158px;
  }
}

@media (max-width: 860px) {
  .anc-site-header .anc-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 58px;
  }

  .anc-nav-toggle {
    grid-column: 2 !important;
  }

  .anc-account-status-badge {
    top: 10px;
    right: 10px;
  }

  .anc-account-status-copy {
    display: none;
  }

  .anc-account-status-trigger {
    min-height: 42px;
    padding: 3px;
  }

  .anc-account-status-avatar {
    width: 36px;
    height: 36px;
  }

  body.admin-bar .anc-account-status-badge {
    top: 58px;
  }
}


/* v1.0.8: reliable clickable account menu and mobile navigation separation. */
.anc-account-status-badge,
.anc-account-status-trigger,
.anc-account-status-menu,
.anc-account-status-menu * {
  pointer-events: auto !important;
}

.anc-account-status-badge {
  z-index: 2147483646;
  isolation: isolate;
}

.anc-account-status-badge.is-open {
  z-index: 2147483647;
}

.anc-account-status-menu {
  z-index: 2;
}

.anc-account-status-actions a {
  position: relative;
  z-index: 3;
  cursor: pointer;
  touch-action: manipulation;
}

.anc-account-status-trigger {
  touch-action: manipulation;
}

@media (max-width: 860px) {
  .anc-account-status-badge {
    right: 68px;
  }

  .anc-site-header .anc-header-inner {
    padding-right: 116px;
  }

  .anc-nav-toggle {
    position: relative;
    z-index: 2147483000;
    justify-self: end;
  }
}

@media (max-width: 480px) {
  .anc-account-status-badge {
    right: 62px;
  }

  .anc-site-header .anc-header-inner {
    padding-right: 108px;
  }

  .home.altcoin-news-ai-theme .anc-site-header .anc-brand img,
  .home.altcoin-news-ai-theme .anc-site-header .custom-logo {
    max-width: 170px;
  }
}
