/* =========================================================
   StartAnimes · visual sóbrio
   Uma fonte, uma cor de destaque (Personalizar), bordas finas.
   ========================================================= */
:root {
	--ac: #f5c518; --ac-rgb: 245,197,24; --ac-ink: #111;
	--ac2: #f5c518; --ac2-rgb: 245,197,24; --ac2-ink: #111;
	--bg: #0e0f12;
	--s1: #15171c;
	--s2: #1c1f26;
	--s3: #252932;
	--line: rgba(255,255,255,.07);
	--line2: rgba(255,255,255,.13);
	--tx: #ececf1;
	--tx2: #c9cbd4;
	--mut: #9a9daa;
	--mut2: #6b6e7b;
	--live: #ef4444;
	--r: 12px;
	--r-sm: 8px;
	--font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--rail: 78px;
	--top: 64px;
	--wrap: 1440px;
	/* nomes antigos usados pelos templates */
	--ink: var(--bg); --paper: var(--tx); --disp: var(--font); --body: var(--font); --mono: var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 15px/1.6 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
[hidden] { display: none !important; }
.ag-ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
::selection { background: rgba(var(--ac-rgb), .35); }
.ag-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ac); color: var(--ac-ink); padding: 8px 14px; border-radius: 8px; }
.ag-skip:focus { left: 8px; }
.ag-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }
.ag-empty { color: var(--mut); font-size: 14px; margin: 8px 0; }
.ag-linkbtn { font-size: 13px; font-weight: 600; color: var(--mut); }
.ag-linkbtn:hover { color: var(--tx); }
.ag-ad { margin: 28px auto; text-align: center; overflow: hidden; }

/* ---------- Botões ---------- */
.ag-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; background: var(--s2); border: 1px solid var(--line2); color: var(--tx); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.ag-btn .ag-ico { width: 18px; height: 18px; }
.ag-btn:hover { background: var(--s3); }
.ag-btn--go { background: var(--ac); border-color: var(--ac); color: var(--ac-ink); }
.ag-btn--go:hover { background: var(--ac); filter: brightness(1.08); }
.ag-btn--off { color: var(--mut); cursor: default; }
.ag-btn.is-on { border-color: rgba(var(--ac-rgb), .6); color: var(--ac); }
.ag-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; }
.ag-iconbtn:hover { background: var(--s2); }
.ag-tool { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); color: var(--tx2); transition: .15s; }
.ag-tool:hover { border-color: var(--line2); color: var(--tx); }
.ag-tool.is-on { border-color: rgba(var(--ac-rgb), .6); color: var(--ac); }
.ag-tool .ag-ico { width: 18px; height: 18px; }
.ag-tool--txt { width: auto; display: inline-flex; gap: 7px; padding: 0 13px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ag-switch input { appearance: none; -webkit-appearance: none; width: 30px; height: 17px; margin: 0; border-radius: 9px; background: var(--s3); position: relative; cursor: pointer; transition: background .15s; }
.ag-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform .15s; }
.ag-switch input:checked { background: var(--ac); }
.ag-switch input:checked::after { transform: translateX(13px); background: var(--ac-ink); }
.ag-stamp { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--s2); border: 1px solid var(--line2); color: var(--tx2); font-size: 12px; font-weight: 600; }
.ag-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--tx2); }
.ag-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.ag-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; background: rgba(0,0,0,.65); color: #fff; }

/* ---------- Barra lateral ---------- */
.ag-rail { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: var(--rail); display: flex; flex-direction: column; align-items: center; padding: 14px 0 20px; background: var(--bg); border-right: 1px solid var(--line); }
.ag-rail__logo { margin-bottom: 26px; }
.ag-rail__logo img { width: 44px; height: 44px; object-fit: contain; }
.ag-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ac); color: var(--ac-ink); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.ag-rail__nav { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0 9px; }
.ag-rail__nav > * { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0 8px; border-radius: 10px; font-size: 11px; font-weight: 600; color: var(--mut); transition: .15s; }
.ag-rail__nav > *:hover { color: var(--tx); background: var(--s1); }
.ag-rail__nav > .is-on { color: var(--tx); background: var(--s2); }
.ag-rail__nav > .is-on .ag-ico { color: var(--ac); }
.ag-rail__nav .ag-ico { width: 21px; height: 21px; }
.ag-count { position: absolute; top: 4px; right: 10px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--ac); color: var(--ac-ink); font-size: 10px; font-weight: 700; font-style: normal; }
.ag-page { margin-left: var(--rail); min-width: 0; }

/* ---------- Topo ---------- */
.ag-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; height: var(--top); padding: 0 36px; background: rgba(14,15,18,.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.ag-top__logo, .ag-top__menu { display: none; }
.ag-top__search { flex: 0 1 520px; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); color: var(--mut); font-size: 14px; text-align: left; transition: border-color .15s; }
.ag-top__search:hover { border-color: var(--line2); }
.ag-top__search span { flex: 1; }
.ag-top__search .ag-ico { width: 18px; height: 18px; }
.ag-top__search kbd { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--line2); font: 600 12px var(--font); color: var(--mut); }
.ag-top__list { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--tx2); }
.ag-top__list:hover { background: var(--s1); color: var(--tx); }
.ag-top__list .ag-ico { width: 18px; height: 18px; }
.ag-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.ag-logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ac); color: var(--ac-ink); }
.ag-logo__mark .ag-ico { width: 13px; height: 13px; margin-left: 2px; }
.ag-logo__text b { color: var(--ac); }
.custom-logo-link img { max-height: 38px; width: auto; }

/* ---------- Busca em tela cheia ---------- */
.ag-finder { position: fixed; inset: 0; z-index: 200; overflow-y: auto; background: rgba(10,11,14,.94); backdrop-filter: blur(8px); }
.ag-finder__in { max-width: 980px; margin: 0 auto; padding: 56px 32px 80px; }
.ag-finder__form { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 18px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line2); }
.ag-finder__form > .ag-ico { width: 22px; height: 22px; color: var(--mut); }
.ag-finder__form input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 20px; font-weight: 500; }
.ag-finder__form input::placeholder { color: var(--mut2); }
.ag-finder__form input::-webkit-search-cancel-button { display: none; }
.ag-finder__close { flex: none; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line2); font-size: 12px; font-weight: 600; color: var(--mut); }
.ag-finder__label { margin: 32px 0 12px; font-size: 13px; font-weight: 600; color: var(--mut); }
.ag-finder__hot { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ag-finder__hot img { aspect-ratio: 2/3; object-fit: cover; width: 100%; border-radius: 10px; }
.ag-finder__hot a:hover img { filter: brightness(1.1); }
.ag-finder__hot span { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ag-finder__results { margin-top: 14px; }
.ag-finder__results a { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 10px; }
.ag-finder__results a:hover, .ag-finder__results a.is-active { background: var(--s2); }
.ag-finder__results img { width: 46px; height: 68px; object-fit: cover; border-radius: 6px; }
.ag-finder__results strong { display: block; font-size: 16px; font-weight: 600; }
.ag-finder__results em { font-size: 13px; font-style: normal; color: var(--mut); }
.ag-finder__results .ag-ico { width: 18px; height: 18px; color: var(--mut); }
.ag-finder__all { display: block !important; text-align: center; font-size: 14px; font-weight: 600; color: var(--ac); padding: 14px !important; }
.ag-finder__results p { color: var(--mut); }

/* ---------- Gaveta mobile ---------- */
.ag-drawer { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.6); }
.ag-drawer__panel { width: min(320px, 86vw); height: 100%; overflow-y: auto; background: var(--bg); border-right: 1px solid var(--line); padding: 16px 16px 30px; animation: agSlide .2s ease; }
@keyframes agSlide { from { transform: translateX(-100%); } }
.ag-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ag-drawer__nav a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: 10px; font-size: 16px; font-weight: 600; }
.ag-drawer__nav a:hover { background: var(--s1); }
.ag-drawer__nav .ag-ico { color: var(--mut); }

/* ---------- Seções ---------- */
.ag-home { padding-top: 36px; }
.ag-sec { margin-bottom: 64px; }
.ag-head { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.ag-head__num, .ag-head__rule { display: none; }
.ag-head__t { margin-right: auto; }
.ag-head__t h2 { font-size: 22px; font-weight: 700; }
.ag-head__jp { display: block; margin-top: 3px; font-size: 13.5px; color: var(--mut); }
.ag-head__more { display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 600; color: var(--mut); }
.ag-head__more:hover { color: var(--tx); }
.ag-head__more .ag-ico { width: 16px; height: 16px; }
.ag-tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); }
.ag-tabs button { height: 30px; padding: 0 13px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--mut); }
.ag-tabs button.is-on { background: var(--s3); color: var(--tx); }
.ag-tabs--page { margin-bottom: 26px; }

/* ---------- Fileira de episódios ---------- */
.ag-strip { position: relative; }
.ag-strip__track { display: grid; grid-auto-flow: column; grid-auto-columns: 272px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ag-strip__track::-webkit-scrollbar { display: none; }
.ag-strip__track > * { scroll-snap-align: start; }
.ag-strip--covers .ag-strip__track { grid-auto-columns: 170px; }
.ag-strip__nav { position: absolute; z-index: 4; top: 0; width: 40px; height: 40px; margin-top: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(28,31,38,.92); border: 1px solid var(--line2); color: var(--tx); transition: opacity .2s; }
.ag-strip--covers .ag-strip__nav { margin-top: 105px; }
.ag-strip__nav--prev { left: -18px; }
.ag-strip__nav--next { right: -18px; }
.ag-strip__nav[disabled] { opacity: 0; pointer-events: none; }
.ag-strip__nav .ag-ico { width: 20px; height: 20px; }

.ag-ep { position: relative; min-width: 0; }
.ag-ep > a { display: block; position: relative; }
.ag-ep__n { position: absolute; z-index: 3; left: 8px; top: 8px; height: 22px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 6px; background: rgba(0,0,0,.72); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.ag-ep__n::before { content: "EP "; margin-right: 2px; color: var(--mut); }
.ag-ep__img { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; background: var(--s2); }
.ag-ep__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .2s; }
.ag-ep > a:hover .ag-ep__img img { transform: scale(1.04); filter: brightness(.75); }
.ag-ep__play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--ac); color: var(--ac-ink); opacity: 0; transform: scale(.85); transition: .2s; }
.ag-ep__play .ag-ico { width: 18px; height: 18px; margin-left: 2px; }
.ag-ep > a:hover .ag-ep__play { opacity: 1; transform: scale(1); }
.ag-ep__dur { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 5px; background: rgba(0,0,0,.72); font-size: 11.5px; font-weight: 600; }
.ag-ep__seen { position: absolute; left: 8px; bottom: 8px; display: none; align-items: center; gap: 3px; padding: 1px 7px 1px 5px; border-radius: 5px; background: rgba(0,0,0,.72); font-size: 11px; font-weight: 600; color: var(--tx2); }
.ag-ep__seen .ag-ico { width: 12px; height: 12px; }
.ag-ep.is-seen .ag-ep__seen { display: inline-flex; }
.ag-ep.is-seen .ag-ep__img img { filter: grayscale(.6) brightness(.55); }
.ag-ep__t { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-ep > a:hover .ag-ep__t { color: var(--ac); }
.ag-ep__s { display: block; font-size: 13px; font-style: normal; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-epgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 18px; }

/* sem imagem própria no TMDb: fundo do anime escurecido + número grande */
.ag-ep__img.is-fallback img, .ag-idx__img.is-fallback img { filter: brightness(.32) saturate(.6); }
.ag-idx.is-grid .ag-idx__img.is-fallback::after { font-size: 44px; }
.ag-ep__img.is-fallback::after, .ag-idx__img.is-fallback::after { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; font-weight: 800; letter-spacing: -.03em; color: rgba(255,255,255,.88); pointer-events: none; }
.ag-idx__img.is-fallback::after { font-size: 24px; }
.ag-ep > a:hover .ag-ep__img.is-fallback img { filter: brightness(.25) saturate(.6); }
.ag-ep > a:hover .ag-ep__img.is-fallback::after { opacity: 0; }
.ag-player__cover.is-fallback img { filter: brightness(.3) saturate(.6) blur(2px); }
.ag-player__cover.is-fallback::before { content: attr(data-n); position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font-size: clamp(28px, 5vw, 56px); font-weight: 800; color: rgba(255,255,255,.85); z-index: 1; }

/* ---------- Capas ---------- */
.ag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 30px 18px; }
.ag-grid--home { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ag-cover { min-width: 0; }
.ag-cover > a { display: block; }
.ag-cover__img { position: relative; display: block; aspect-ratio: 2/3; overflow: hidden; border-radius: 10px; background: var(--s2); }
.ag-cover__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .2s; }
.ag-cover > a:hover .ag-cover__img img { transform: scale(1.04); filter: brightness(.8); }
.ag-cover__stamp { position: absolute; top: 8px; left: 8px; z-index: 2; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; border-radius: 5px; background: rgba(0,0,0,.72); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--tx2); }
.ag-cover__stamp--dublado { color: var(--ac); }
.ag-vol__kick .ag-cover__stamp, .ag-epinfo .ag-cover__stamp { position: static; background: var(--s2); border: 1px solid var(--line2); height: 26px; padding: 0 9px; }
.ag-cover__new { position: absolute; right: 8px; top: 8px; z-index: 2; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; border-radius: 5px; background: var(--ac); color: var(--ac-ink); font-size: 10.5px; font-weight: 700; }
.ag-cover__rank { position: absolute; left: 8px; bottom: 8px; z-index: 2; min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: rgba(0,0,0,.72); font-weight: 800; font-size: 14px; }
.ag-cover__title { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ag-cover > a:hover .ag-cover__title { color: var(--ac); }
.ag-cover__meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-cover__meta b { color: var(--tx2); font-weight: 600; margin-right: 6px; }

/* ---------- Últimos atualizados ---------- */
.ag-upd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ag-upd__item { position: relative; display: flex; gap: 14px; padding: 12px; min-width: 0; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); transition: border-color .15s; }
.ag-upd__item:hover { border-color: var(--line2); }
.ag-upd__item::before, .ag-upd__big { display: none; }
.ag-upd__cover { flex: none; width: 68px; }
.ag-upd__cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 7px; }
.ag-upd__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ag-upd__when { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--mut); }
.ag-upd__when i { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.ag-upd__body h3 { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-upd__body h3 a:hover { color: var(--ac); }
.ag-upd__body > em { font-size: 12.5px; font-style: normal; color: var(--mut); }
.ag-upd__eps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.ag-upd__eps a { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 6px; background: var(--s2); font-size: 12px; font-weight: 600; color: var(--tx2); transition: .12s; }
.ag-upd__eps a small { font-size: 10.5px; color: var(--mut); }
.ag-upd__eps a:hover { background: var(--s3); color: var(--tx); }
.ag-upd__eps a.is-new { background: rgba(var(--ac-rgb), .14); color: var(--ac); }
.ag-upd__eps a.is-seen:not(.is-new) { color: var(--mut2); }

/* ---------- Grade da semana / ranking ---------- */
.ag-duo { display: block; }
.ag-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ag-week__day { min-width: 0; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.ag-week__day header { display: flex; align-items: center; gap: 7px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.ag-week__day header strong { font-size: 14px; font-weight: 700; }
.ag-week__day header em { margin-left: auto; font-size: 12px; font-style: normal; color: var(--mut); }
.ag-week__day.is-today { border-color: rgba(var(--ac-rgb), .45); }
.ag-week__day.is-today header strong { color: var(--ac); }
.ag-week__list { display: flex; flex-direction: column; padding: 4px; }
.ag-week__none { margin: 0; padding: 10px 8px; font-size: 12.5px; color: var(--mut2); }
.ag-slot { display: flex; align-items: center; gap: 9px; padding: 7px; border-radius: 8px; transition: background .12s; }
.ag-slot:hover { background: var(--s2); }
.ag-slot__time { display: none; }
.ag-slot img { flex: none; width: 32px; height: 48px; object-fit: cover; border-radius: 5px; }
.ag-slot__info { min-width: 0; }
.ag-slot__info strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.ag-slot__info em { display: block; font-size: 11.5px; font-style: normal; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-week:not(.ag-week--compact) .ag-week__day { min-height: 360px; }
.ag-week:not(.ag-week--compact) .ag-slot img { width: 44px; height: 66px; }
.ag-week:not(.ag-week--compact) .ag-slot__info strong { font-size: 13.5px; }

.ag-rank { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.ag-rank__first { position: relative; display: block; }
.ag-rank__first img { aspect-ratio: 2/3; object-fit: cover; width: 100%; border-radius: var(--r); }
.ag-rank__first:hover img { filter: brightness(1.08); }
.ag-rank__one { position: absolute; z-index: 2; top: 10px; left: 10px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--ac); color: var(--ac-ink); font-weight: 800; font-size: 16px; }
.ag-rank__firstinfo { display: block; margin-top: 12px; }
.ag-rank__firstinfo .ag-stamp { display: none; }
.ag-rank__firstinfo strong { display: block; font-size: 16px; font-weight: 700; }
.ag-rank__firstinfo em { font-size: 13px; font-style: normal; color: var(--mut); }
.ag-rank__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.ag-rank__list li { break-inside: avoid; }
.ag-rank__list a { display: flex; align-items: center; gap: 14px; padding: 9px 8px; border-radius: 10px; }
.ag-rank__list a:hover { background: var(--s1); }
.ag-rank__list a:hover strong { color: var(--ac); }
.ag-rank__n { flex: none; width: 26px; font-size: 16px; font-weight: 700; color: var(--mut2); font-variant-numeric: tabular-nums; }
.ag-rank__list img { flex: none; width: 40px; height: 60px; object-fit: cover; border-radius: 6px; }
.ag-rank__info { flex: 1; min-width: 0; }
.ag-rank__info strong { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-rank__info em { font-size: 12.5px; font-style: normal; color: var(--mut); }
.ag-rank__bar { display: block; height: 3px; margin-top: 6px; border-radius: 2px; background: var(--s2); }
.ag-rank__bar i { display: block; height: 100%; border-radius: 2px; background: var(--mut2); }

/* ---------- Gêneros ---------- */
.ag-stickers { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-sticker { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--s1); border: 1px solid var(--line); color: var(--tx2); font-size: 14px; font-weight: 600; transition: .15s; }
.ag-sticker:hover, .ag-sticker.is-on { border-color: rgba(var(--ac-rgb), .5); color: var(--tx); }
.ag-sticker small { font-size: 12px; font-weight: 500; color: var(--mut2); }
.ag-sticker--sm { height: 30px; padding: 0 11px; font-size: 13px; }
.ag-stickers--big .ag-sticker { height: 42px; padding: 0 16px; font-size: 14.5px; }
.ag-stickers--row { margin-bottom: 30px; }

/* ---------- Continuar assistindo ---------- */
.ag-continue__track { display: grid; grid-auto-flow: column; grid-auto-columns: 290px; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.ag-continue__track::-webkit-scrollbar { display: none; }
.ag-cw { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); transition: border-color .15s; }
.ag-cw:hover { border-color: var(--line2); }
.ag-cw img { width: 48px; height: 72px; object-fit: cover; border-radius: 6px; flex: none; }
.ag-cw strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.ag-cw em { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; font-style: normal; color: var(--ac); }
.ag-cw small { display: block; font-size: 12px; color: var(--mut); }
.ag-cw__x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--mut2); }
.ag-cw__x:hover { background: var(--s3); color: var(--tx); }
.ag-cw__x .ag-ico { width: 14px; height: 14px; }

/* ---------- Página do anime ---------- */
.ag-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0; font-size: 13px; color: var(--mut); }
.ag-crumbs a:hover { color: var(--tx); }
.ag-crumbs__sep { color: var(--mut2); }
.ag-crumbs > span:last-child { color: var(--tx2); }
.ag-vol { position: relative; padding-bottom: 44px; margin-bottom: 40px; border-bottom: 1px solid var(--line); overflow: hidden; }
.ag-vol__band { position: absolute; left: 0; right: 0; top: 0; height: 440px; background-size: cover; background-position: center 25%; opacity: .32; filter: blur(1px) saturate(.8); }
.ag-vol__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 2%, rgba(14,15,18,.6) 60%, rgba(14,15,18,.3)), linear-gradient(90deg, rgba(14,15,18,.85), transparent 70%); }
.ag-vol .ag-wrap { position: relative; }
.ag-vol__in { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; padding-top: 30px; }
.ag-book3d__inner { position: relative; }
.ag-book3d__inner img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.ag-book3d__spine, .ag-vol__orig { display: none; }
.ag-vol__info { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 18px; }
.ag-vol__kick { display: flex; align-items: center; gap: 8px; }
.ag-vol__title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
.ag-vol__arc { margin: -8px 0 0; font-size: 20px; font-weight: 600; color: var(--ac); }
.ag-mono { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--tx2); }
.ag-mono i { font-style: normal; color: var(--mut2); }
.ag-mono i::before { content: "•"; }
.ag-mono i { font-size: 0; }
.ag-mono i::before { font-size: 13px; }
.ag-mono b { color: var(--ac); font-weight: 700; }
.ag-age { padding: 0 6px; border-radius: 4px; border: 1px solid var(--line2); font-size: 12.5px; }
.ag-synopsis { max-width: 760px; }
.ag-synopsis__text { font-size: 15.5px; color: var(--tx2); }
.ag-synopsis__text p { margin: 0 0 10px; }
.ag-synopsis.is-clamped .ag-synopsis__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ag-synopsis .ag-linkbtn { color: var(--ac); }
.ag-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ag-airs { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--tx2); }

.ag-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.ag-cols__side { position: sticky; top: calc(var(--top) + 24px); display: flex; flex-direction: column; gap: 20px; }
.ag-card-box { padding: 20px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-box-t { margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.ag-spec { margin: 0; }
.ag-spec > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ag-spec > div:last-child { border-bottom: 0; }
.ag-spec dt { color: var(--mut); }
.ag-spec dd { margin: 0; text-align: right; font-weight: 600; }
.ag-spec a:hover { color: var(--ac); }

/* ---------- Índice de episódios ---------- */
.ag-tools { display: flex; gap: 8px; }
.ag-find { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); }
.ag-find:focus-within { border-color: var(--line2); }
.ag-find .ag-ico { width: 16px; height: 16px; color: var(--mut); }
.ag-find input { width: 96px; background: none; border: 0; outline: 0; font-size: 14px; }
.ag-find input::-webkit-inner-spin-button { display: none; }
.ag-folders { display: flex; flex-wrap: wrap; column-gap: 22px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.ag-folders::-webkit-scrollbar { display: none; }
.ag-folders > * { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 44px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 14.5px; font-weight: 600; color: var(--mut); }
.ag-folders > *:hover { color: var(--tx); }
.ag-folders > .is-on { color: var(--tx); border-bottom-color: var(--ac); }
.ag-folders small { font-size: 12px; font-weight: 500; color: var(--mut2); }
.ag-folders--links { margin-bottom: 26px; }
.ag-idx { list-style: none; margin: 0; padding: 0; }
.ag-idx__row > a { display: flex; align-items: center; gap: 16px; padding: 10px 8px; border-radius: 10px; transition: background .12s; }
.ag-idx__row > a:hover { background: var(--s1); }
.ag-idx__n { flex: none; width: 34px; font-size: 15px; font-weight: 700; color: var(--mut); font-variant-numeric: tabular-nums; }
.ag-idx__img { position: relative; flex: none; width: 128px; aspect-ratio: 16/9; overflow: hidden; border-radius: 7px; background: var(--s2); }
.ag-idx__img img { width: 100%; height: 100%; object-fit: cover; }
.ag-idx__img i { display: none; }
.ag-idx__t { min-width: 0; flex: 1; }
.ag-idx__t strong { display: block; font-size: 14.5px; font-weight: 600; }
.ag-idx__t em { display: block; font-style: normal; font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-idx__dots { display: none; }
.ag-idx__meta { flex: none; font-size: 12.5px; color: var(--mut); }
.ag-idx__go { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--s2); color: var(--tx2); transition: .15s; }
.ag-idx__row > a:hover .ag-idx__go { background: var(--ac); color: var(--ac-ink); }
.ag-idx__go .ag-ico { width: 14px; height: 14px; }
.ag-idx__seen { display: none; }
.ag-idx__row.is-seen .ag-idx__seen { display: block; }
.ag-idx__row.is-seen .ag-idx__play { display: none; }
.ag-idx__row.is-seen .ag-idx__t strong { color: var(--mut); }
.ag-idx__row.is-seen .ag-idx__img img { filter: grayscale(.6) brightness(.55); }
.ag-idx__row.is-hit > a { background: rgba(var(--ac-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--ac-rgb), .5); }
.ag-idx.is-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 16px; padding-top: 14px; }
.ag-idx.is-grid .ag-idx__row > a { position: relative; display: block; padding: 0; }
.ag-idx.is-grid .ag-idx__row > a:hover { background: none; }
.ag-idx.is-grid .ag-idx__img { width: 100%; border-radius: 10px; }
.ag-idx.is-grid .ag-idx__n { position: absolute; z-index: 2; left: 8px; top: 8px; width: auto; height: 22px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 6px; background: rgba(0,0,0,.72); color: var(--tx); font-size: 11.5px; }
.ag-idx.is-grid .ag-idx__t { display: block; margin-top: 9px; }
.ag-idx.is-grid .ag-idx__go { display: none; }
.ag-idx.is-grid .ag-idx__meta { display: block; }
.ag-flag { display: inline-block; margin-left: 6px; padding: 0 6px; vertical-align: 1px; border-radius: 4px; border: 1px solid var(--line2); color: var(--mut); font-size: 10.5px; font-weight: 600; font-style: normal; text-transform: uppercase; }
.ag-flag--big { margin: 12px 0 0; padding: 3px 8px; }
.ag-ruler__nums a.is-filler { border-style: dashed; }

/* trailer */
.ag-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; background: rgba(8,9,12,.92); }
.ag-modal__box { position: relative; width: min(1000px, 100%); }
.ag-modal__video { aspect-ratio: 16/9; background: #000; border-radius: var(--r); overflow: hidden; }
.ag-modal__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ag-modal__close { position: absolute; top: -44px; right: 0; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line2); font-size: 12px; font-weight: 600; }

/* ---------- Página do episódio ---------- */
.ag-watch { padding-bottom: 20px; }
.ag-watch .ag-crumbs { padding-bottom: 10px; }
.ag-watch__head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 20px; }
.ag-watch__n { display: none; }
.ag-watch__head > div { min-width: 0; flex: 1; }
.ag-watch__anime { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--ac); }
.ag-watch__anime a:hover { text-decoration: underline; }
.ag-watch__anime span { color: var(--mut); font-weight: 500; }
.ag-watch__head h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.ag-watch__of { flex: none; padding: 5px 10px; border-radius: 7px; background: var(--s1); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--tx2); }
.ag-frame { border-radius: 14px; overflow: hidden; background: #000; }
.ag-player { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.ag-player iframe, .ag-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ag-player__cover { position: absolute; inset: 0; width: 100%; display: block; }
.ag-player__cover img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); transition: filter .3s; }
.ag-player__cover:hover img { filter: brightness(.62); }
.ag-player__btn { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; display: grid; place-items: center; border-radius: 50%; background: var(--ac); color: var(--ac-ink); transition: transform .15s; }
.ag-player__btn .ag-ico { width: 30px; height: 30px; margin-left: 4px; }
.ag-player__cover:hover .ag-player__btn { transform: scale(1.06); }
.ag-player__bubble { display: none; }
.ag-player__msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; background: var(--s1); color: var(--mut); }
.ag-player__msg strong { color: var(--tx); font-size: 18px; }
.ag-player__big { display: none; }
.ag-player__admin { max-width: 560px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(var(--ac-rgb), .12); border: 1px solid rgba(var(--ac-rgb), .4); color: var(--tx); font-size: 13.5px; }
.ag-player__spin { width: 44px; height: 44px; border: 3px solid var(--s3); border-top-color: var(--ac); border-radius: 50%; animation: agSpin .8s linear infinite; }
@keyframes agSpin { to { transform: rotate(360deg); } }
.ag-deck { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.ag-deck__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-btn--2l { height: 54px; }
.ag-btn--2l span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.ag-btn--2l[rel="prev"] span { text-align: left; }
.ag-btn--2l small { font-size: 11.5px; font-weight: 600; opacity: .75; text-transform: uppercase; letter-spacing: .04em; }
.ag-epnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.ag-ruler { margin-top: 24px; padding: 16px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-ruler header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ag-ruler header strong { flex: none; font-size: 16px; font-weight: 700; }
.ag-ruler header select { min-width: 0; max-width: 70%; text-overflow: ellipsis; }
.ag-ruler header span { font-size: 13px; color: var(--mut); }
.ag-ruler select, .ag-filter select { height: 38px; padding: 0 34px 0 12px; border-radius: 9px; background: var(--s2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9daa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; border: 1px solid var(--line2); appearance: none; -webkit-appearance: none; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ag-ruler__nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; max-height: 220px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--s3) transparent; }
.ag-ruler__nums a { position: relative; display: grid; place-items: center; height: 40px; border-radius: 8px; background: var(--s2); font-size: 13.5px; font-weight: 600; color: var(--tx2); font-variant-numeric: tabular-nums; transition: .12s; }
.ag-ruler__nums a:hover { background: var(--s3); color: var(--tx); }
.ag-ruler__nums a.is-seen { color: var(--mut2); }
.ag-ruler__nums a.is-current { background: var(--ac); color: var(--ac-ink); }
.ag-watch .ag-cols { margin-top: 36px; }
.ag-epinfo { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.ag-epinfo .ag-mono { font-size: 13.5px; }
.ag-epinfo__name { margin: 14px 0 0; font-size: 18px; font-weight: 600; }
.ag-epinfo__desc { margin-top: 8px; color: var(--tx2); }
.ag-epinfo__desc p { margin: 0 0 8px; }
.ag-mini-vol { display: block; overflow: hidden; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); transition: border-color .15s; }
.ag-mini-vol:hover { border-color: var(--line2); }
.ag-mini-vol img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center 25%; }
.ag-mini-vol > span { display: block; padding: 16px; }
.ag-mini-vol em { font-size: 12px; font-style: normal; font-weight: 600; color: var(--mut); }
.ag-mini-vol strong { display: block; margin: 4px 0 2px; font-size: 18px; font-weight: 700; }
.ag-mini-vol small { font-size: 13px; color: var(--tx2); }
.ag-mini-vol p { margin: 10px 0 0; font-size: 13.5px; color: var(--mut); }
.ag-dim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.92); }
body.ag-lights-off .ag-frame, body.ag-lights-off .ag-deck, body.ag-lights-off .ag-servers { position: relative; z-index: 71; }

/* ---------- Títulos de página / Explorar ---------- */
.ag-title { padding: 40px 0 28px; }
.ag-title h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.025em; }
.ag-title p { margin: 6px 0 0; font-size: 14.5px; color: var(--mut); }
.ag-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; margin-bottom: 18px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-filter { display: flex; flex-direction: column; gap: 6px; flex: 1 1 140px; }
.ag-filter span { font-size: 12.5px; font-weight: 600; color: var(--mut); }
.ag-filter select { width: 100%; height: 42px; }
.ag-filters .ag-btn { height: 42px; }
.ag-az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 34px; }
.ag-az a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--mut); transition: .12s; }
.ag-az a:hover { background: var(--s1); color: var(--tx); }
.ag-az a.is-on { background: var(--s2); color: var(--ac); }
.ag-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 48px 0 10px; }
.ag-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--tx2); }
.ag-pagination .page-numbers:hover { border-color: var(--line2); color: var(--tx); }
.ag-pagination .page-numbers.current { background: var(--ac); border-color: var(--ac); color: var(--ac-ink); }
.ag-pagination .ag-ico { width: 18px; height: 18px; }
.ag-void { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 64px 20px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-void strong { font-size: 20px; font-weight: 700; }
.ag-void p { margin: 0; color: var(--mut); }
.ag-void .ag-btn { margin-top: 8px; }
.ag-void--404 { margin: 40px 0 80px; }
.ag-void__code { font-size: clamp(72px, 12vw, 140px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ac); }
.ag-mylist__item { position: relative; }
.ag-mylist__rm { position: absolute; z-index: 3; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(0,0,0,.72); color: var(--tx2); }
.ag-mylist__rm:hover { color: var(--tx); background: rgba(0,0,0,.9); }
.ag-mylist__rm .ag-ico { width: 16px; height: 16px; }

/* ---------- Comentários / conteúdo ---------- */
.ag-comments textarea, .ag-comments input[type=text], .ag-comments input[type=email], .ag-comments input[type=url] { width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line2); outline: 0; }
.ag-comments textarea:focus, .ag-comments input:focus { border-color: rgba(var(--ac-rgb), .6); }
.ag-comments .comment-form p { margin: 0 0 12px; }
.ag-comments .comment-form label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--mut); }
.ag-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.ag-comments .comment-form-cookies-consent label { margin: 0; }
.ag-commentlist, .ag-commentlist .children { list-style: none; margin: 22px 0 0; padding: 0; }
.ag-commentlist .children { margin: 12px 0 0 34px; }
.ag-commentlist .comment-body { padding: 14px 16px; margin-bottom: 12px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-commentlist .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ag-commentlist .comment-author img { border-radius: 50%; }
.ag-commentlist .says { display: none; }
.ag-commentlist .comment-metadata { margin: 2px 0 0 50px; font-size: 12px; color: var(--mut2); }
.ag-commentlist .comment-content { margin-left: 50px; color: var(--tx2); }
.ag-commentlist .reply a { margin-left: 50px; font-size: 13px; font-weight: 600; color: var(--ac); }
.ag-content { max-width: 860px; padding-bottom: 50px; font-size: 16px; color: var(--tx2); }
.ag-content a { color: var(--ac); }
.ag-postlist { display: flex; flex-direction: column; gap: 16px; }
.ag-post { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 14px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-post h2 { font-size: 20px; }

/* ---------- Rodapé ---------- */
.ag-foot { margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--line); background: #0b0c0f; }
.ag-foot__az { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ag-foot__az span { margin-right: 12px; font-size: 13px; font-weight: 600; color: var(--mut); }
.ag-foot__az a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--mut); }
.ag-foot__az a:hover { background: var(--s1); color: var(--tx); }
.ag-foot__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 34px 0; }
.ag-foot__about p { margin: 14px 0 16px; max-width: 360px; color: var(--mut); font-size: 14px; }
.ag-foot h4 { margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--tx); }
.ag-foot nav a, .ag-foot__menu a { display: block; padding: 4px 0; font-size: 14px; color: var(--mut); }
.ag-foot nav a:hover { color: var(--tx); }
.ag-foot__menu { list-style: none; margin: 0; padding: 0; }
.ag-social { display: flex; gap: 8px; }
.ag-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--s1); border: 1px solid var(--line); color: var(--tx2); }
.ag-social a:hover { color: var(--tx); border-color: var(--line2); }
.ag-foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 30px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mut2); }

.ag-tabbar { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
	.ag-grid--home { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.ag-rank__list { columns: 1; }
}
@media (max-width: 1080px) {
	.ag-upd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ag-grid--home { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.ag-cols { grid-template-columns: minmax(0, 1fr); }
	.ag-cols__side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.ag-week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.ag-week::-webkit-scrollbar { display: none; }
	.ag-week__day { flex: 0 0 200px; scroll-snap-align: start; }
	.ag-finder__hot { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	:root { --rail: 0px; --top: 58px; }
	.ag-rail { display: none; }
	.ag-top { gap: 4px; padding: 0 8px 0 16px; }
	.ag-top__logo { display: flex; align-items: center; flex: 1; min-width: 0; }
	.ag-top__search { flex: none; width: 42px; height: 42px; padding: 0; justify-content: center; border: 0; background: none; color: var(--tx); }
	.ag-top__search span, .ag-top__search kbd { display: none; }
	.ag-top__list { display: none; }
	.ag-top__menu { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; }
	.ag-tabbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 62px; padding-bottom: env(safe-area-inset-bottom); background: rgba(14,15,18,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
	.ag-tabbar > a, .ag-tabbar__go { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; font-size: 10.5px; font-weight: 600; color: var(--mut); }
	.ag-tabbar > a.is-on { color: var(--tx); }
	.ag-tabbar > a.is-on .ag-ico { color: var(--ac); }
	.ag-tabbar .ag-ico { width: 22px; height: 22px; }
	body { padding-bottom: 62px; }
	.ag-foot__cols { grid-template-columns: 1fr 1fr; }
	.ag-foot__about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
	.ag-wrap { padding: 0 16px; }
	body { font-size: 14.5px; }
	.ag-home { padding-top: 24px; }
	.ag-sec { margin-bottom: 46px; }
	.ag-head { gap: 10px; margin-bottom: 16px; }
	.ag-head__t h2 { font-size: 19px; }
	.ag-head__jp { font-size: 12.5px; }
	.ag-head > .ag-tabs { order: 5; width: 100%; display: flex; }
	.ag-head > .ag-tabs button { flex: 1; }
	.ag-head > .ag-tools { order: 5; width: 100%; }
	.ag-find { flex: 1; }
	.ag-find input { width: 100%; }
	.ag-strip__nav { display: none; }
	.ag-strip__track { grid-auto-columns: 72%; gap: 14px; }
	.ag-strip--covers .ag-strip__track { grid-auto-columns: 38%; gap: 12px; }
	.ag-epgrid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
	.ag-grid, .ag-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; }
	.ag-cover__title { font-size: 13px; }
	.ag-cover__meta { font-size: 11.5px; }
	.ag-upd { grid-template-columns: 1fr; gap: 10px; }
	.ag-upd__item:nth-child(n+6) { display: none; }
	.ag-upd__cover { width: 58px; }
	.ag-rank { grid-template-columns: 1fr; gap: 14px; }
	.ag-rank__first { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
	.ag-rank__firstinfo { margin: 0; }
	.ag-rank__one { width: 26px; height: 26px; font-size: 14px; top: 6px; left: 6px; }
	.ag-vol__band { height: 300px; }
	.ag-vol__in { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding-top: 10px; }
	.ag-vol__info { display: contents; }
	.ag-book3d { grid-row: span 2; }
	.ag-vol__kick { align-self: end; }
	.ag-vol__title { font-size: 26px; grid-column: 2; align-self: start; }
	.ag-vol__info > *:not(.ag-vol__kick):not(.ag-vol__title) { grid-column: 1 / -1; }
	.ag-actions .ag-btn { flex: 1 1 auto; }
	.ag-actions .ag-btn--go { flex-basis: 100%; }
	.ag-idx__img, .ag-idx__meta { display: none; }
	.ag-folders { flex-wrap: nowrap; }
	.ag-idx__row > a { gap: 10px; padding: 11px 6px; }
	.ag-idx.is-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
	.ag-idx.is-grid .ag-idx__img { display: block; }
	.ag-watch .ag-crumbs { display: none; }
	.ag-watch__head { margin: 18px 0 14px; }
	.ag-watch__of { display: none; }
	.ag-watch__head h1 { font-size: 19px; }
	.ag-watch { padding-left: 0; padding-right: 0; }
	.ag-watch > *:not(.ag-frame) { margin-left: 16px; margin-right: 16px; }
	.ag-frame { border-radius: 0; }
	.ag-player__btn { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
	.ag-player__btn .ag-ico { width: 24px; height: 24px; }
	.ag-deck__tools { width: 100%; }
	.ag-deck__tools .ag-tool--txt { flex: 1; justify-content: center; padding: 0 6px; font-size: 12px; }
	.ag-epnav .ag-btn { height: 42px; padding: 0 14px; font-size: 13.5px; }
	.ag-epnav .ag-btn--2l { height: 50px; }
	.ag-epnav { flex-wrap: wrap; }
	.ag-epnav .ag-btn { flex: 0 1 auto; min-width: 0; max-width: 50%; }
	.ag-epnav .ag-btn--2l { flex: 1 1 100%; max-width: none; justify-content: space-between; }
	.ag-epnav .ag-btn--2l[rel="prev"] { justify-content: flex-start; }
	.ag-epnav [rel="next"] { margin-left: auto; }
	.ag-epnav .ag-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.ag-epnav .ag-btn--2l span { white-space: normal; }
	.ag-epnav .ag-btn--2l span, .ag-epnav .ag-btn--2l small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
	.ag-ruler__nums { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
	.ag-title { padding: 28px 0 20px; }
	.ag-filters { padding: 12px; gap: 10px; }
	.ag-filter { flex: 1 1 calc(50% - 10px); }
	.ag-filters .ag-btn { flex: 1; }
	.ag-az a { min-width: 32px; height: 32px; }
	.ag-foot__bottom { flex-direction: column; }
	.ag-continue__track { grid-auto-columns: 260px; }
	.ag-finder__in { padding: 20px 14px 90px; }
	.ag-finder__form { height: 54px; }
	.ag-finder__form input { font-size: 17px; }
	.ag-finder__hot { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.ag-post { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
	.ag-grid, .ag-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   Contas: entrar, criar conta, topo, minha conta, comentários
   ========================================================= */
.ag-btn--sm { height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.ag-btn--ghost { background: transparent; border-color: transparent; color: var(--tx2); }
.ag-btn--ghost:hover { background: var(--s1); color: var(--tx); }
.ag-btn.is-busy, .ag-btn:disabled { opacity: .65; pointer-events: none; }
.ag-btn.is-on .ag-ico, .ag-tool.is-on .ag-ico { color: var(--ac); }
.is-pop .ag-ico { animation: ag-pop .35s ease; }
@keyframes ag-pop { 40% { transform: scale(1.3); } }

/* avatar */
.ag-ava { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: linear-gradient(140deg, var(--a1, #3a3f4b), var(--a2, #1f232b)); color: #fff; font-weight: 700; line-height: 1; overflow: hidden; user-select: none; }
.ag-ava--txt { font-size: .42em; letter-spacing: .02em; }

/* topo */
.ag-user { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ag-user--guest { gap: 4px; }
.ag-bell, .ag-me { position: relative; }
.ag-bell__btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--tx2); }
.ag-bell__btn:hover, .ag-bell__btn[aria-expanded="true"] { background: var(--s1); color: var(--tx); }
.ag-bell__n { position: absolute; top: 6px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--live); color: #fff; font: 700 10px/1 var(--font); font-style: normal; box-shadow: 0 0 0 2px var(--bg); }
.ag-me__btn { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 8px 0 5px; border-radius: 22px; font-size: 14px; font-weight: 600; color: var(--tx2); }
.ag-me__btn:hover, .ag-me__btn[aria-expanded="true"] { background: var(--s1); color: var(--tx); }
.ag-me__btn > .ag-ico { width: 15px; height: 15px; color: var(--mut); }
.ag-me__name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 90; width: 280px; padding: 6px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0,0,0,.5); animation: ag-in .16s ease; }
@keyframes ag-in { from { opacity: 0; transform: translateY(-4px); } }
.ag-pop nav { display: grid; }
.ag-pop nav a { display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 10px; border-radius: 9px; font-size: 14px; color: var(--tx2); }
.ag-pop nav a:hover { background: var(--s2); color: var(--tx); }
.ag-pop nav .ag-ico { width: 18px; height: 18px; color: var(--mut); }
.ag-me__n { margin-left: auto; font: 600 12px var(--font); font-style: normal; color: var(--mut); }
.ag-me__out { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px !important; }
.ag-me__head { display: flex; align-items: center; gap: 11px; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ag-me__head span { display: grid; min-width: 0; }
.ag-me__head strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-me__head em { font-style: normal; font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-bell__pop { width: 340px; padding: 0; overflow: hidden; }
.ag-bell__pop header { display: grid; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.ag-bell__pop header small { color: var(--mut); font-size: 12.5px; }
.ag-bell__list { max-height: 380px; overflow-y: auto; padding: 6px; }
.ag-bell__list a, .ag-newlist a { position: relative; display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 10px; }
.ag-bell__list a:hover, .ag-newlist a:hover { background: var(--s2); }
.ag-bell__list img, .ag-newlist img { width: 36px; height: 54px; object-fit: cover; border-radius: 6px; flex: none; background: var(--s2); }
.ag-bell__list span, .ag-newlist span { display: grid; min-width: 0; }
.ag-bell__list strong, .ag-newlist strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-bell__list em, .ag-newlist em { font-style: normal; font-size: 12.5px; color: var(--mut); }
.ag-bell__list a.is-new::after, .ag-newlist a.is-new::after { content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ac); }
.ag-pop__empty { margin: 0; padding: 22px 14px; text-align: center; font-size: 13.5px; color: var(--mut); }
.ag-newlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; padding: 6px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-newlist a.is-new { padding-right: 28px; }

/* capas: salvar ao passar o mouse */
.ag-cover { position: relative; }
.ag-cover__acts { position: absolute; top: 34px; right: 8px; z-index: 3; display: grid; gap: 6px; opacity: 0; transform: translateX(4px); transition: opacity .15s, transform .15s; }
.ag-cover:hover .ag-cover__acts, .ag-cover__acts:focus-within, .ag-cover__acts .is-on { opacity: 1; transform: none; }
.ag-cover__acts button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(10,11,14,.78); backdrop-filter: blur(6px); color: #fff; transition: background .15s, color .15s; }
.ag-cover__acts button:hover { background: rgba(10,11,14,.95); }
.ag-cover__acts button.is-on { color: var(--ac); }
.ag-cover__acts .ag-ico { width: 16px; height: 16px; }
.ag-cover:hover .ag-cover__acts { opacity: 1; }
.ag-cover:has(.ag-cover__acts .is-on) .ag-cover__acts { opacity: 1; transform: none; }
.ag-cover:has(.ag-cover__acts .is-on) .ag-cover__acts button:not(.is-on) { opacity: 0; }
.ag-cover:hover .ag-cover__acts button { opacity: 1 !important; }
.ag-cover:hover .ag-cover__new { opacity: 0; }
.ag-cover.is-gone, .ag-hist__row.is-gone { opacity: 0; transform: scale(.96); transition: .25s; }
@media (hover: none) { .ag-cover__acts { opacity: 1; transform: none; } .ag-cover__acts button:not(.is-on) { display: none; } }

/* aviso rápido */
.ag-toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--tx); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 12px 40px rgba(0,0,0,.45); opacity: 0; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; pointer-events: none; }
.ag-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ag-toast strong { color: inherit; }

/* janela entrar / criar conta */
.ag-auth { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(5,6,8,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; overflow-y: auto; }
.ag-auth.is-on { opacity: 1; }
.ag-auth__box { position: relative; display: grid; grid-template-columns: 300px 1fr; width: 100%; max-width: 780px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line2); box-shadow: 0 30px 90px rgba(0,0,0,.6); overflow: hidden; transform: translateY(8px); transition: transform .2s; }
.ag-auth.is-on .ag-auth__box { transform: none; }
.ag-auth__x { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--mut); }
.ag-auth__x:hover { background: var(--s2); color: var(--tx); }
.ag-auth__side { display: flex; flex-direction: column; gap: 14px; padding: 34px 28px; background: linear-gradient(170deg, rgba(var(--ac-rgb), .12), transparent 60%), var(--bg); border-right: 1px solid var(--line); }
.ag-auth__side h3 { font-size: 21px; }
.ag-auth__side p { margin: 0; color: var(--mut); font-size: 14px; }
.ag-auth__side ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 12px; }
.ag-auth__side li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--tx2); }
.ag-auth__side li .ag-ico { width: 18px; height: 18px; color: var(--ac); }
.ag-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ac); color: var(--ac-ink); font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.ag-auth__main { padding: 30px 32px 28px; min-width: 0; }
.ag-auth__reason { margin: 0 40px 14px 0; padding: 10px 13px; border-radius: 10px; background: rgba(var(--ac-rgb), .1); border: 1px solid rgba(var(--ac-rgb), .3); font-size: 13.5px; color: var(--tx); }
.ag-auth__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); }
.ag-auth__tabs button { height: 34px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--mut); }
.ag-auth__tabs button.is-on { background: var(--s2); color: var(--tx); }
.ag-auth__form { display: grid; gap: 12px; }
.ag-auth__form h2 { font-size: 23px; margin-bottom: 4px; }
.ag-field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 14px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line2); color: var(--mut); transition: border-color .15s, box-shadow .15s; }
.ag-field:focus-within { border-color: rgba(var(--ac-rgb), .7); box-shadow: 0 0 0 3px rgba(var(--ac-rgb), .14); color: var(--tx2); }
.ag-field.is-bad { border-color: var(--live); box-shadow: 0 0 0 3px rgba(239,68,68,.14); }
.ag-field > .ag-ico { width: 18px; height: 18px; }
.ag-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--tx); font-size: 15px; }
.ag-field input::placeholder { color: var(--mut2); }
.ag-field--wide { max-width: 420px; margin-bottom: 30px; }
.ag-field__eye { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--mut2); }
.ag-field__eye:hover, .ag-field__eye.is-on { color: var(--tx); }
.ag-field__eye .ag-ico { width: 18px; height: 18px; }
.ag-check { position: relative; display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--tx2); cursor: pointer; user-select: none; }
.ag-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ag-check i { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line2); background: var(--bg); transition: .15s; }
.ag-check input:checked + i { background: var(--ac); border-color: var(--ac); box-shadow: inset 0 0 0 3px var(--bg); }
.ag-check input:focus-visible + i { outline: 2px solid var(--ac); outline-offset: 2px; }
.ag-check.is-bad i { border-color: var(--live); }
.ag-check a { color: var(--ac); }
.ag-check--terms { align-items: flex-start; line-height: 1.45; }
.ag-check--terms i { margin-top: 1px; }
.ag-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.ag-auth__row a { color: var(--mut); }
.ag-auth__row a:hover { color: var(--tx); }
.ag-auth__msg { margin: 0; min-height: 0; font-size: 13.5px; color: #f87171; }
.ag-auth__msg:empty { display: none; }
.ag-auth__msg.is-ok { color: #4ade80; }
.ag-auth__submit { width: 100%; height: 48px; font-size: 15px; }
.ag-auth__submit.is-busy span::after { content: "…"; }
.ag-auth__switch { margin: 2px 0 0; text-align: center; font-size: 13.5px; color: var(--mut); }
.ag-auth__switch a { color: var(--ac); font-weight: 600; }
.ag-meter { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 5px; margin-top: -4px; }
.ag-meter i { height: 4px; border-radius: 2px; background: var(--s3); transition: background .2s; }
.ag-meter em { min-width: 72px; text-align: right; font-style: normal; font-size: 12px; color: var(--mut); }
.ag-meter[data-s="0"] i:nth-child(-n+1) { background: var(--live); }
.ag-meter[data-s="1"] i:nth-child(-n+1) { background: #f97316; }
.ag-meter[data-s="2"] i:nth-child(-n+2) { background: #eab308; }
.ag-meter[data-s="3"] i:nth-child(-n+3) { background: #84cc16; }
.ag-meter[data-s="4"] i { background: #22c55e; }
.ag-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* minha conta */
.ag-account { padding-top: 36px; padding-bottom: 40px; }
.ag-account__head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.ag-account__ava .ag-ava { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line2); }
.ag-account__who { min-width: 0; margin-right: auto; }
.ag-account__who h1 { font-size: clamp(24px, 3vw, 32px); }
.ag-account__who p { margin: 4px 0 0; color: var(--mut); font-size: 14px; }
.ag-account__stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ag-account__stats li { display: grid; min-width: 112px; padding: 12px 16px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-account__stats strong { font-size: 22px; font-weight: 700; line-height: 1.1; }
.ag-account__stats span { font-size: 12.5px; color: var(--mut); }
.ag-account__tabs { margin-bottom: 30px; }
.ag-account__out { margin-left: auto; }
.ag-account__out .ag-ico { width: 16px; height: 16px; }
.ag-void--account { margin: 50px auto 80px; max-width: 560px; }
.ag-void > .ag-ico { width: 34px; height: 34px; color: var(--mut); margin-bottom: 4px; }
.ag-void .ag-actions { justify-content: center; margin-top: 8px; }
.ag-void .ag-actions .ag-btn { margin-top: 0; }
.ag-hist { display: grid; gap: 6px; max-width: 900px; }
.ag-hist__day { margin: 18px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }
.ag-hist__day:first-child { margin-top: 0; }
.ag-hist__row { position: relative; display: flex; align-items: center; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); transition: border-color .15s; }
.ag-hist__row:hover { border-color: var(--line2); }
.ag-hist__row > a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 8px; }
.ag-hist__img { position: relative; flex: none; width: 128px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--s2); }
.ag-hist__img img { width: 100%; height: 100%; object-fit: cover; }
.ag-hist__img.is-fallback img { filter: blur(2px) brightness(.45); transform: scale(1.1); }
.ag-hist__img.is-fallback::after { content: "EP " attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.ag-hist__t { display: grid; min-width: 0; }
.ag-hist__t strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-hist__t em { font-style: normal; font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-hist__row time { margin-left: auto; padding-right: 4px; font-size: 12.5px; color: var(--mut2); }
.ag-hist__x { display: grid; place-items: center; width: 38px; height: 38px; margin-right: 8px; border-radius: 9px; color: var(--mut2); }
.ag-hist__x:hover { background: var(--s2); color: var(--tx); }
.ag-hist__x .ag-ico { width: 16px; height: 16px; }
.ag-avapick { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; max-width: 760px; margin-bottom: 22px; }
.ag-avapick__item { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 0; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: .15s; }
.ag-avapick__item:hover { background: var(--s1); }
.ag-avapick__item input { position: absolute; opacity: 0; }
.ag-avapick__item:has(input:checked) { background: var(--s1); border-color: rgba(var(--ac-rgb), .7); }
.ag-avapick__item input:focus-visible ~ * { outline: 2px solid var(--ac); outline-offset: 2px; }
.ag-avapick__item > span:last-child:not(.ag-ava) { font-size: 11.5px; color: var(--mut); }
.ag-profile form { display: grid; justify-items: start; }
.ag-profile .ag-auth__msg { margin-bottom: 12px; }
.ag-profile__mail { margin: 22px 0 0; font-size: 13.5px; color: var(--mut); }
.ag-profile__mail a { color: var(--ac); }

/* comentários */
.ag-cgate { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r); background: var(--s1); border: 1px dashed var(--line2); }
.ag-cgate__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(var(--ac-rgb), .12); color: var(--ac); flex: none; }
.ag-cgate > div:not(.ag-actions) { flex: 1; min-width: 200px; }
.ag-cgate strong { font-size: 16px; }
.ag-cgate p { margin: 2px 0 0; color: var(--mut); font-size: 14px; }
.ag-cgate .ag-actions { margin: 0; }
.ag-comments .comment-respond { margin-bottom: 8px; }
.ag-cform { display: grid; gap: 10px; }
.ag-cform__to { margin: 0; font-size: 13.5px; color: var(--mut); }
.ag-cform__to:empty { display: none; }
.ag-cform__to a { color: var(--ac); }
.ag-cform__row { display: flex; gap: 12px; align-items: flex-start; }
.ag-cform textarea { flex: 1; min-width: 0; min-height: 52px; max-height: 360px; padding: 13px 15px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line2); color: var(--tx); font-size: 14.5px; line-height: 1.5; resize: none; outline: 0; transition: border-color .15s, box-shadow .15s; }
.ag-cform textarea:focus { border-color: rgba(var(--ac-rgb), .7); box-shadow: 0 0 0 3px rgba(var(--ac-rgb), .12); }
.ag-cform__bar { display: flex; align-items: center; gap: 14px; padding-left: 52px; }
.ag-cform__bar small { margin-left: auto; font-size: 12px; color: var(--mut2); }
.ag-cform__bar .ag-btn { height: 40px; }
.ag-commentlist .ag-cmt { margin: 0; }
.ag-cmt__box { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ag-cmt__main { flex: 1; min-width: 0; }
.ag-cmt__main header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.ag-cmt__main time { font-size: 12.5px; color: var(--mut2); }
.ag-cmt__staff { height: 19px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 5px; background: rgba(var(--ac-rgb), .14); color: var(--ac); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.ag-cmt__wait { margin: 4px 0 0; font-size: 12.5px; color: #eab308; }
.ag-cmt__text { margin-top: 3px; font-size: 14.5px; color: var(--tx2); overflow-wrap: anywhere; }
.ag-cmt__text p { margin: 0 0 6px; }
.ag-cmt__main footer { font-size: 12.5px; }
.ag-cmt__main footer a { color: var(--mut); font-weight: 600; }
.ag-cmt__main footer a:hover { color: var(--tx); }
.ag-commentlist .children { margin: 0 0 0 52px; }
.ag-commentlist .children .ag-cmt__box .ag-ava { width: 32px !important; height: 32px !important; font-size: 16px !important; }
.ag-cmt .comment-respond { margin: 6px 0 12px 52px; }
.ag-spoiler { position: relative; border-radius: 9px; cursor: pointer; }
.ag-spoiler__tag { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; border-radius: 9px; background: var(--s2); border: 1px dashed var(--line2); font-size: 12.5px; font-weight: 600; color: var(--mut); }
.ag-spoiler__body { filter: blur(6px); user-select: none; min-height: 36px; padding: 4px 0; }
.ag-spoiler.is-open { cursor: auto; }
.ag-spoiler.is-open .ag-spoiler__tag { display: none; }
.ag-spoiler.is-open .ag-spoiler__body { filter: none; user-select: auto; }
.ag-tabbar > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; font-size: 10.5px; font-weight: 600; color: var(--mut); }
.ag-tabbar .ag-ava { width: 24px !important; height: 24px !important; font-size: 13px !important; }

@media (max-width: 960px) {
	.ag-user { margin-left: 0; gap: 0; }
	.ag-me__name, .ag-me__btn > .ag-ico { display: none; }
	.ag-me__btn { padding: 0 4px; }
	.ag-user--guest [data-ag-auth="register"] { display: none; }
	.ag-pop { position: fixed; top: calc(var(--top) + 6px); right: 10px; left: auto; width: min(340px, calc(100vw - 20px)); }
}
@media (max-width: 720px) {
	.ag-auth { padding: 0; place-items: end center; }
	.ag-auth__box { grid-template-columns: 1fr; max-width: none; border-radius: 18px 18px 0 0; max-height: 94vh; overflow-y: auto; }
	.ag-auth__side { display: none; }
	.ag-auth__main { padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
	.ag-account { padding-top: 22px; }
	.ag-account__head { gap: 14px; }
	.ag-account__ava .ag-ava { width: 64px !important; height: 64px !important; font-size: 30px !important; }
	.ag-account__stats { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.ag-account__stats li { min-width: 0; padding: 10px; }
	.ag-account__stats strong { font-size: 18px; }
	.ag-account__stats span { font-size: 11px; line-height: 1.25; }
	.ag-hist__img { width: 96px; }
	.ag-hist__row time { display: none; }
	.ag-cform__bar { padding-left: 0; flex-wrap: wrap; }
	.ag-cform__row > .ag-ava { display: none; }
	.ag-commentlist .children { margin-left: 22px; }
	.ag-toast { bottom: 76px; }
}
.ag-account__tabs { flex-wrap: nowrap; }
@media (max-width: 720px) { .ag-account__out { margin-left: 0; } }

/* ---------- Texto de SEO (discreto, no fim da página) ---------- */
.ag-seo { margin: 8px 0 44px; padding: 22px 24px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); color: var(--mut); font-size: 14px; line-height: 1.7; }
.ag-seo h2 { font-size: 18px; color: var(--tx); margin-bottom: 8px; }
.ag-seo h3 { font-size: 15px; color: var(--tx2); margin: 16px 0 4px; }
.ag-seo p { margin: 0; }
.ag-seo strong { color: var(--tx2); font-weight: 600; }
.ag-seo a { color: var(--ac); }
@media (max-width: 720px) { .ag-seo { padding: 18px 16px; } }
.ag-logo--img img { display: block; height: 38px; width: auto; max-width: 220px; object-fit: contain; }

/* ---------- Servidores (embaixo do player) ---------- */
.ag-servers { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.ag-servers__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ag-servers__head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; }
.ag-servers__head h2 .ag-ico { width: 18px; height: 18px; color: var(--ac); }
.ag-servers__head h2 b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ac); color: var(--ac-ink); font-size: 12px; }
.ag-servers__head p { margin: 0; font-size: 13px; color: var(--mut); }
.ag-servers__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.ag-srv { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line2); text-align: left; color: var(--tx2); transition: border-color .15s, background .15s, transform .1s; }
.ag-srv:hover { border-color: var(--mut2); color: var(--tx); }
.ag-srv:active { transform: scale(.99); }
.ag-srv.is-on { border-color: var(--ac); background: rgba(var(--ac-rgb), .07); color: var(--tx); }
.ag-srv__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--s2); font-weight: 800; font-size: 15px; color: var(--mut); }
.ag-srv.is-on .ag-srv__n { background: var(--ac); color: var(--ac-ink); }
.ag-srv__body { flex: 1; display: grid; gap: 4px; min-width: 0; }
.ag-srv__body strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-srv__tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ag-srv__tags i { height: 19px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 5px; background: var(--s2); font: 700 10.5px/1 var(--font); font-style: normal; letter-spacing: .02em; color: var(--tx2); }
.ag-srv__tags i.is-main { background: rgba(var(--ac-rgb), .16); color: var(--ac); }
.ag-srv__tags em { font-style: normal; font-size: 11.5px; color: var(--mut2); }
.ag-srv__state { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--mut); }
.ag-srv__play .ag-ico { width: 15px; height: 15px; }
.ag-srv:hover .ag-srv__state { color: var(--tx); }
.ag-srv__eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.ag-srv__eq i { width: 3px; border-radius: 1px; background: var(--ac); animation: ag-eq .9s ease-in-out infinite; }
.ag-srv__eq i:nth-child(2) { animation-delay: -.3s; }
.ag-srv__eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes ag-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.ag-srv.is-playing .ag-srv__play { display: none; }
.ag-srv.is-playing .ag-srv__eq { display: flex; }
.ag-srv.is-playing::after { content: "Tocando"; position: absolute; top: -9px; right: 12px; height: 18px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 9px; background: var(--ac); color: var(--ac-ink); font-size: 10.5px; font-weight: 800; letter-spacing: .03em; }
.ag-player__srvchip { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(10,11,14,.72); backdrop-filter: blur(6px); color: #fff; font-size: 12.5px; font-weight: 700; }
.ag-player__srvchip .ag-ico { width: 15px; height: 15px; color: var(--ac); }
@media (max-width: 720px) {
	.ag-servers { padding: 12px; margin-top: 10px; }
	.ag-servers__list { grid-template-columns: 1fr 1fr; gap: 6px; }
	.ag-srv { gap: 9px; min-height: 58px; padding: 8px 9px; }
	.ag-srv__n { width: 28px; height: 28px; font-size: 13px; }
	.ag-srv__state, .ag-srv__tags em { display: none; }
	.ag-srv__body strong { font-size: 13.5px; }
	.ag-player__srvchip { top: 10px; left: 10px; height: 26px; font-size: 11.5px; }
}
@media (max-width: 380px) { .ag-servers__list { grid-template-columns: 1fr; } }
.ag-srv__tags i.is-noads { background: rgba(34,197,94,.14); color: #4ade80; }
.ag-srv__tags i.is-ads { background: rgba(249,115,22,.12); color: #fb923c; }
.ag-srv__body strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
@media (max-width: 720px) { .ag-servers__list .ag-srv:first-child { grid-column: 1 / -1; } }
.ag-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ag-seo--home { margin-top: 36px; }

/* ===== Play do player (igual em todos os temas): anel de vidro fosco, círculo na cor de destaque e uma onda suave ===== */
.ag-player__cover .ag-play2 { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,.5) 100%); pointer-events: none; }
.ag-play2__btn { position: relative; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 50px rgba(0,0,0,.45); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s; }
.ag-play2__btn::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ac); box-shadow: 0 8px 26px rgba(var(--ac-rgb, 0,0,0), .55), inset 0 1px 0 rgba(255,255,255,.25); transition: inset .35s cubic-bezier(.2,.8,.2,1); }
.ag-play2__btn::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: ag-play2-ring 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes ag-play2-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.ag-play2__btn svg { position: relative; width: 30px; height: 30px; margin-left: 4px; fill: var(--ac-ink, #fff); filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
.ag-player__cover:hover .ag-play2__btn { transform: scale(1.08); background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); }
.ag-player__cover:hover .ag-play2__btn::before { inset: 9px; }
.ag-player__cover:focus-visible .ag-play2__btn { outline: 2px solid #fff; outline-offset: 6px; }
@media (max-width: 640px) { .ag-play2__btn { width: 84px; height: 84px; } .ag-play2__btn::before { inset: 10px; } .ag-play2__btn svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .ag-play2__btn::after { animation: none; } }

/* ===== Perguntas frequentes (fim das páginas de anime e episódio) ===== */
.ag-faq { margin-top: 18px; }
.ag-faq h3 { margin: 0 0 10px; }
.ag-faq__i { border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: 12px; margin-bottom: 8px; background: rgba(255,255,255,.025); }
.ag-faq__i summary { cursor: pointer; list-style: none; padding: 13px 44px 13px 16px; font-weight: 700; position: relative; }
.ag-faq__i summary::-webkit-details-marker { display: none; }
.ag-faq__i summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: var(--ac); }
.ag-faq__i[open] summary::after { content: '−'; }
.ag-faq__i p { margin: 0; padding: 0 16px 14px; color: var(--tx2, #a3a8b5); }
.ag-seo--term { margin-top: 34px; }

/* ===== Anúncio fixo no rodapé (celular) ===== */
.ag-adfix { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; justify-content: center; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); background: rgba(10,11,15,.96); border-top: 1px solid var(--line, rgba(255,255,255,.1)); }
.ag-adfix__in { max-width: 100%; overflow: hidden; display: flex; justify-content: center; }
.ag-adfix__x { position: absolute; right: 6px; top: -26px; width: 26px; height: 26px; border-radius: 8px 8px 0 0; border: 0; background: rgba(10,11,15,.96); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }

/* ===== Convite "Instale o app" ===== */
.ag-appbar { position: fixed; left: 10px; right: 10px; top: 10px; z-index: 9995; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 16px; background: rgba(22,24,31,.97); border: 1px solid var(--line2, rgba(255,255,255,.14)); box-shadow: 0 18px 40px rgba(0,0,0,.55); color: var(--tx, #fff); transform: translateY(-140%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.ag-appbar.is-in { transform: none; }
.ag-appbar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.ag-appbar div { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.3; color: var(--tx2, #a3a8b5); }
.ag-appbar b { display: block; font-size: 14px; color: var(--tx, #fff); }
.ag-appbar__go { height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--ac); color: var(--ac-ink, #111); font-weight: 800; cursor: pointer; }
.ag-appbar__x { width: 30px; height: 36px; border: 0; background: none; color: var(--tx2, #a3a8b5); font-size: 20px; cursor: pointer; }

/* ===== Barras de rolagem escuras e finas (listas de episódios, menus, página) ===== */
:root { color-scheme: dark; }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
*:hover { scrollbar-color: rgba(255,255,255,.3) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--ac); background-clip: padding-box; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
