/* Complementos do tema: componentes do site Laravel (menu sem jQuery, player,
   comentários, formulários, área do membro). Mesmas cores do tema. */

/* ===== Cabeçalho ===== */
header .navbar { padding-left: 0; padding-right: 0; }
.header-logo img { max-height: 72px; width: auto; }
.header-logo .brand-text { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: .5px; color: #fff; line-height: 1; }
.header-logo .brand-text small { display: block; font-size: .55rem; letter-spacing: 3px; color: #8fa6ff; font-weight: 600; margin-top: 4px; }
.navbar-nav .nav-item > .dropdown-item { background: transparent; padding: .5rem 1rem; color: rgba(255,255,255,.75); white-space: nowrap; }
.navbar-nav .nav-item > .dropdown-item:hover, .navbar-nav .nav-item > .dropdown-item[aria-current="page"] { color: #fff; background: transparent; }
.navbar-nav .nav-link { color: rgba(255,255,255,.75) !important; }
.navbar-nav .dropdown-menu { border: 0; padding: .4rem 0; min-width: 220px; }
.navbar-nav .dropdown-menu .dropdown-item { font-size: .9rem; }
.navbar-nav .dropdown-menu.genres-menu { columns: 2; min-width: 340px; }
.navbar-toggler { border: 0; }
.profile .dropdown-menu { min-width: 200px; max-width: calc(100vw - 24px); }
/* Bootstrap 4.0 só alinha à direita com Popper.js (não usado): o menu da conta abria para fora da tela no celular. */
.dropdown-menu-right { right: 0; left: auto; }
.profile .dropdown-item i { width: 20px; margin-right: 6px; text-align: center; }
.profile .unread-badge { position: absolute; top: -4px; right: -4px; background: #d64040; color: #fff; border-radius: 10px; font-size: .65rem; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 4px; }
.profile .unread-badge:empty { display: none; }
#rightMenu { margin-left: auto; }
.header-search .suggestions { position: absolute; top: 46px; right: 0; width: 320px; max-width: 86vw; background: #22202a; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5); z-index: 50; overflow: hidden; }
.header-search .suggestions a { display: flex; align-items: center; padding: 8px 10px; gap: 10px; color: #fff; }
.header-search .suggestions a:hover, .header-search .suggestions a.active { background: #403f49; }
.header-search .suggestions img { width: 38px; height: 54px; object-fit: cover; border-radius: 3px; flex: none; }
.header-search .suggestions strong { display: block; font-size: .9rem; font-weight: 500; }
.header-search .suggestions small { color: #aaa; }
.header-search .suggestions .all { justify-content: center; font-size: .85rem; color: #8fa6ff; }

/* ===== Mensagens ===== */
.site-notice { background: rgba(11,54,205,.18); border-left: 3px solid #0b36cd; color: #e8ecff; padding: 12px 16px; border-radius: 4px; margin: 0 0 1rem; }
.site-errors { background: rgba(214,64,64,.15); border-left: 3px solid #d64040; color: #ffdcdc; padding: 12px 16px; border-radius: 4px; margin: 0 0 1rem; }
.site-errors ul { margin: 0; padding-left: 18px; }
.empty-state { text-align: center; padding: 48px 16px; color: #c3c3c3; }
.empty-state i { font-size: 2.4rem; color: #0b36cd; margin-bottom: 12px; display: block; }
.text-soft { color: #aaa !important; }

/* ===== Cards ===== */
.card-episodes span { font-weight: 600; }
.card-vertical-img img, .new-added .card-vertical-img img { background: #22202a; }
.card-horizontal .card-img img { background: #22202a; }
.new-added .card-title h3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.highlight-card .highlight-body .highlight-genres span { margin: 0 4px 4px 0; }
.section-title .btn { padding: 4px 12px; font-size: .85rem; border-radius: 20px; }

/* ===== Página do anime / episódio ===== */
.anime-down-share .btn-share, .anime-down-share form { display: inline-flex; vertical-align: middle; }
.anime-down-share .btn-share { width: 40px; height: 40px; border-radius: 50% !important; align-items: center; justify-content: center; padding: 0 !important; margin: 0 5px 6px 0; color: #fff !important; transition: all .3s ease; border: none; cursor: pointer; text-decoration: none; background: rgba(204,175,238,.1); }
.anime-down-share .btn-share:hover { transform: scale(1.15); box-shadow: 0 4px 15px rgba(0,0,0,.3); }
.anime-down-share .btn-share i { font-size: 18px; width: auto; height: auto; background: transparent; line-height: 1; }
.anime-down-share .btn-share.favorite { background: rgba(255,193,7,.5); }
.anime-down-share .btn-share.favorited { background: rgba(231,76,60,.8) !important; animation: heartPulse .3s ease; }
.anime-down-share .btn-share.facebook { background: #1877f2; }
.anime-down-share .btn-share.twitter { background: #000; }
.anime-down-share .btn-share.whatsapp { background: #25d366; }
.anime-down-share .btn-share.telegram { background: #0088cc; }
.anime-down-share .btn-share.reddit { background: #ff4500; }
.anime-down-share .btn-share.copy { background: rgba(255,255,255,.15); }
@keyframes heartPulse { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.anime-votes { display: inline-flex; gap: 6px; margin-left: 4px; vertical-align: middle; }
.anime-votes .btn { border-radius: 20px; font-size: .8rem; padding: 6px 12px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.anime-votes .btn[aria-pressed="true"] { background: #0b36cd; border-color: #0b36cd; }
.infos-img img { width: 100%; height: auto; aspect-ratio: 185 / 250; object-fit: cover; background: #22202a; }
.anime-description p:last-child { margin-bottom: 0; }
.anime-description { padding-right: 6px; }
.episode-synopsis { color: #d0d0d0; font-size: .95rem; max-width: 900px; margin-top: 12px; }
.share-status { font-size: .8rem; color: #8fa6ff; min-height: 1em; }

.temporada-titulo { background: #193186 !important; color: #fff !important; font-weight: bold; font-size: 16px; padding: 10px 15px; margin-top: 5px; border-radius: 4px !important; border: none !important; }
.temporada-titulo span { font-size: 13px; font-weight: normal; opacity: .8; margin-left: 4px; }
.list-group-item.watched { background: rgba(39,174,96,.08); border-left: 3px solid #0b36cd; }
.list-group-item.watched a h3 { color: #6f8dff; }
.list-group-item.active { background: #2d3436; border-color: #f39c12; }
.list-group-item.active a { color: #fff; }
.list-group-item.active .btn-primary { background: #f39c12; border-color: #f39c12; }
.list-group-item h3 small { color: #9a9a9a; font-size: .8rem; margin-left: 6px; }
.list-group-item form { display: inline; }
.watched-toggle { transition: all .3s ease; min-width: 110px; }
.watched-toggle:hover { transform: scale(1.05); }
.mark-all form { display: inline; }

.btn-control { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255,255,255,.1); color: #fff; border-radius: 4px; text-decoration: none; transition: background .3s; border: 0; cursor: pointer; font-size: 1rem; }
.btn-control:hover { background: rgba(255,255,255,.2); color: #fff; text-decoration: none; }
.btn-control i { height: 32px; width: 32px; line-height: 32px; margin-left: 0; font-size: .9rem; }
.btn-control i.fa-exclamation { background: #f39c12; border-color: #f39c12; }

/* Player */
.player-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.player-tabs button { background: #282730; color: #ddd; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 6px 14px; font-size: .85rem; cursor: pointer; transition: all .3s; }
.player-tabs button:hover { background: #37363e; color: #fff; }
.player-tabs button[aria-pressed="true"] { background: #0b36cd; border-color: #0b36cd; color: #fff; box-shadow: 0 0 20px 0 rgba(15,7,148,.6); }
.player-tabs button small { opacity: .75; margin-left: 4px; }
.pframe { background: #000; border-radius: 6px; overflow: hidden; }
.pframe iframe, .pframe .video-host, .pframe .video-host video, .pframe .video-host > div { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.player-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; background: radial-gradient(circle at center, rgba(11,54,205,.25), rgba(0,0,0,.85)), var(--poster, none) center/cover no-repeat; cursor: pointer; border: 0; width: 100%; }
.player-start .play-circle { width: 78px; height: 78px; border-radius: 50%; background: #0b36cd; box-shadow: 0 0 40px 0 rgba(15,7,148,.9); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: transform .3s; }
.player-start:hover .play-circle { transform: scale(1.08); }
.player-start span { font-size: .9rem; text-shadow: 0 1px 4px #000; }
.player-message { min-height: 1.4em; font-size: .85rem; color: #f3c35b; margin: 6px 0 0; }
.player-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #fff; }
.player-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: #aaa; }
.player-tools select { background: #282730; color: #fff; border: 0; border-radius: 4px; padding: 4px 8px; }
.episode-nav { gap: 8px; }

/* Modal "Episódio com erro?" */
.report-wrapper { position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 9999; display: none; }
.report-wrapper.open { display: block; }
.report-wrapper .content-wrapper { display: flex; align-items: center; justify-content: center; height: 100%; }
.report-wrapper .content-container { background: #1a1a2e; border-radius: 10px; padding: 30px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; }
.report-wrapper .close { text-align: right; float: none; opacity: 1; }
.report-wrapper .close button { background: none; color: #fff; font-size: 24px; cursor: pointer; }
.report-wrapper .close svg { width: 18px; fill: #fff; }
.report-wrapper .report-title { color: #fff; font-size: 24px; margin-bottom: 20px; }
.report-wrapper .checkboxes { list-style: none; padding: 0; }
.report-wrapper .checkboxes li { margin-bottom: 10px; }
.report-wrapper .checkboxes label { color: #ccc; margin-left: 10px; cursor: pointer; }
.report-wrapper .report-button { background: #f39c12; color: #fff; border: none; padding: 10px 30px; border-radius: 5px; cursor: pointer; font-size: 16px; margin-top: 20px; }
.report-wrapper .report-button:hover { background: #e67e22; }

/* ===== Lista de animes (filtros com select nativo) ===== */
.filter-type { display: flex; flex-wrap: wrap; }
.dropdown-filter { width: calc(100% / 7); padding-right: 9px; margin-bottom: 8px; }
.dropdown-filter:last-child { padding-right: 0; }
.dropdown-filter select, .dropdown-filter .btn { width: 100%; height: 38px; color: #fff; background: #282730; border: none; border-radius: .25rem; padding: 0 10px; }
.dropdown-filter select[multiple] { height: 38px; }
.genre-picker { position: relative; }
.genre-picker summary { list-style: none; height: 38px; line-height: 38px; background: #282730; border-radius: .25rem; padding: 0 30px 0 10px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.genre-picker summary::-webkit-details-marker { display: none; }
.genre-picker summary:after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 10px; top: 0; }
.genre-picker .genre-options { position: absolute; z-index: 20; top: 42px; left: 0; width: 280px; max-height: 320px; overflow-y: auto; background: #282730; border-radius: 6px; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.genre-picker label { display: flex; align-items: center; gap: 8px; padding: 5px 6px; margin: 0; border-radius: 4px; cursor: pointer; font-size: .9rem; }
.genre-picker label:hover { background: #37363e; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 14px; }
.letters a { min-width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 4px; background: #282730; font-size: .85rem; color: #ddd; padding: 0 6px; }
.letters a:hover, .letters a.selected { background: #0b36cd; color: #fff; }
.card-vertical .card-info { left: 8px; right: auto; }
.list-summary { color: #aaa; font-size: .9rem; margin-bottom: 14px; }

/* ===== Gêneros ===== */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.genre-grid a { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 18px; background: #242327; border: 1px solid rgba(52,51,60,.74); border-radius: 6px; transition: all .3s; }
.genre-grid a:hover { background: #0b36cd; border-color: #0b36cd; box-shadow: 0 0 30px 0 rgba(11,54,205,.6); }
.genre-grid span { color: #aaa; font-size: .8rem; }
.genre-grid a:hover span { color: #fff; }
.genre-description { color: #ccc; max-width: 900px; margin: -24px auto 24px; text-align: center; }
.sort-links { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.sort-links a { padding: 6px 14px; border-radius: 20px; background: #282730; font-size: .85rem; }
.sort-links a.selected, .sort-links a:hover { background: #0b36cd; }

/* ===== Comentários ===== */
.comments-panel { background: #1c1b22; border-radius: 8px; padding: 20px; margin: 30px 0 40px; }
.comments-panel h2 { font-size: 1.2rem; font-weight: 400; margin-bottom: 14px; }
.comment-form textarea { width: 100%; background: #282730; color: #fff; border-radius: 6px; padding: 10px 12px; resize: vertical; }
.comment-form label { display: block; width: 100%; color: #ccc; font-size: .9rem; }
.comment-submit { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.comment-submit small { color: #999; }
.comment-item { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.06); }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author small { display: block; color: #8d8d8d; font-size: .75rem; }
.member-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-initial { display: inline-flex; align-items: center; justify-content: center; background: #193186; color: #fff; font-weight: 700; }
.comment-state { margin-left: auto; font-size: .7rem; background: #f39c12; color: #000; border-radius: 10px; padding: 2px 8px; }
.comment-body { margin: 8px 0 0 50px; white-space: pre-wrap; word-break: break-word; color: #e0e0e0; font-size: .95rem; }
.comment-controls { margin: 6px 0 0 50px; display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; font-size: .8rem; }
.comment-controls summary { cursor: pointer; color: #8fa6ff; }
.comment-controls form { margin-top: 6px; }
.comment-controls input, .comment-controls textarea { background: #282730; color: #fff; border-radius: 4px; padding: 6px 8px; width: 100%; min-width: 240px; }
.comment-replies { margin-left: 50px; border-left: 2px solid rgba(11,54,205,.4); padding-left: 14px; }
.text-button { background: none; border: 0; color: #8fa6ff; cursor: pointer; padding: 0; font-size: inherit; }
.text-button:hover { color: #fff; }
.comment-login { color: #ccc; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Área do membro ===== */
.member-card { background: #1c1b22; border-radius: 15px; border: 0; color: #fff; }
.member-card .card-header { border-radius: 15px 15px 0 0 !important; background: #193186 !important; border: 0; }
.member-card label { color: #ccc; font-size: .9rem; }
.member-card .form-check-label { color: #ccc; }
.member-card hr { border-color: rgba(255,255,255,.1); }
.member-card .text-muted { color: #9a9a9a !important; }
.social-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.social-buttons .btn { flex: 1 1 140px; border-radius: 6px; }
.btn-google { background: #fff; color: #222; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-google:hover { color: #000; background: #eee; }
.btn-discord:hover { color: #fff; background: #4752c4; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.message-card { background: #242327; border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; }
.message-card h3 { font-size: 1rem; margin: 0; }
.message-card small { color: #999; }
.team-response { background: rgba(11,54,205,.15); border-radius: 6px; padding: 10px 12px; margin-top: 8px; }
.alert-unread { border-left: 3px solid #0b36cd; }
.danger-zone details { margin-top: 10px; }
.danger-zone summary { cursor: pointer; color: #ff8a8a; }
.fav-remove { position: absolute; top: 8px; right: 22px; z-index: 5; }
.fav-remove button { width: 30px; height: 30px; border-radius: 50%; padding: 0; line-height: 30px; }
.public-member { text-align: center; padding: 30px 0; }
.public-member .member-avatar { width: 96px; height: 96px; font-size: 2rem; }

/* ===== Páginas de texto ===== */
.text-page { max-width: 900px; margin: 0 auto 50px; color: #ddd; line-height: 1.7; }
.text-page h2 { font-size: 1.3rem; margin: 26px 0 8px; color: #fff; }
.text-page a { color: #8fa6ff; }

/* ===== Rodapé ===== */
.footer-logo .brand-text { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 2rem; }
.footer-logo .disclaimer { margin-top: 14px; text-align: center; max-width: 900px; color: #ffef6b; font-size: .8rem; background: rgba(0,0,0,.6); padding: 6px 12px; border-radius: 4px; }
.footer-nav ul { flex-wrap: wrap; justify-content: center; }
.footer-online { z-index: 2; color: #aaa; font-size: .8rem; margin-top: 10px; }
.footer-online b { color: #fff; }
.android-download img { height: 48px; width: auto; margin-top: 12px; }

/* ===== Paginação (componente do Laravel) ===== */
nav .pagination { justify-content: center; flex-wrap: wrap; }
.pagination .page-item { margin-bottom: 6px; }

@media (max-width: 991px) {
    .navbar-collapse { background: rgba(19,18,25,.97); border-radius: 8px; margin-top: 10px; padding: 8px 0; }
    .navbar-nav .dropdown-menu.genres-menu { columns: 2; min-width: 0; }
    .dropdown-filter { width: calc(100% / 4); }
}
@media (max-width: 768px) {
    .dropdown-filter { width: 50%; }
    .dropdown-filter:nth-child(2n) { padding-right: 0; }
    .comment-body, .comment-controls { margin-left: 0; }
    .comment-replies { margin-left: 10px; }
    .anime-votes { margin: 6px 0 0; }
    .player-start .play-circle { width: 60px; height: 60px; font-size: 1.4rem; }
    form.header-search.active { width: 180px; }
}
@media (max-width: 576px) {
    .genre-picker .genre-options { width: 100%; }
    .highlights .highlight-card { width: 50%; display: block; }
    .highlights .highlight-card:nth-of-type(n+3) { display: none; }
}

/* Títulos principais em h1 com o mesmo visual dos h2 do tema */
.anime-info h1 { padding-top: 20px; font-size: 2.2rem; width: 90%; font-weight: 500; }
.anime-title h1 { width: auto; padding-top: 0; margin-bottom: 0; font-size: 2.2rem; font-weight: 500; }
.anime-title h1 a:hover { color: #8fa6ff; }
.player-start { isolation: isolate; overflow: hidden; }
.player-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -1; }
@media (max-width: 768px) { .anime-info h1, .anime-title h1 { font-size: 1.6rem; width: 100%; } }

/* Cabeçalho no celular: menu, logo, busca e perfil na mesma linha */
@media (max-width: 991px) {
    header .navbar { flex-wrap: wrap; }
    header .navbar-toggler { order: 0; padding-left: 0; }
    header .navbar-brand { order: 1; margin-right: auto; }
    header #rightMenu { order: 2; margin-left: 0; }
    header #profileMenu { order: 3; }
    header .navbar-collapse { order: 4; flex-basis: 100%; }
    .header-logo .brand-text { font-size: 1.25rem; }
    .header-logo img { max-height: 48px; }
}
@media (max-width: 400px) {
    .header-logo .brand-text small { display: none; }
    form.header-search { margin-right: 6px; }
}
.episode-nav { flex-wrap: wrap; }
@media (max-width: 576px) {
    .episode-nav .btn-control { padding: 6px 10px; font-size: .9rem; }
    .episode-nav .btn-control i { height: 28px; width: 28px; line-height: 28px; }
}

/* ===== Página do aplicativo (/aplicativo) ===== */
.app-page { max-width: 1040px; color: #ddd; padding-bottom: 40px; }
.app-crumbs { font-size: .85rem; color: #9a9aa8; margin: 6px 0 18px; }
.app-crumbs a { color: #8fa6ff; }
.app-hero { display: flex; align-items: center; gap: 32px; background: linear-gradient(135deg, rgba(11,54,205,.28), rgba(19,18,25,.9)); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; padding: 28px; }
.app-hero-text { flex: 1 1 auto; min-width: 0; }
.app-hero-phone { flex: 0 0 220px; }
.app-icon { border-radius: 22px; background: #0b36cd; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.app-hero h1 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1.2; color: #fff; margin: 16px 0 10px; }
.app-lead { font-size: 1.05rem; line-height: 1.6; color: #e1e1ea; margin-bottom: 20px; }
.app-cta { display: inline-flex; align-items: center; gap: 10px; background: #f39c12; color: #131219 !important; font-weight: 800; font-size: 1.1rem; padding: 14px 28px; border-radius: 40px; text-decoration: none !important; box-shadow: 0 6px 18px rgba(243,156,18,.35); transition: transform .15s, background .15s; }
.app-cta:hover, .app-cta:focus-visible { background: #ffad2e; transform: translateY(-1px); }
.app-cta i { font-size: 1.4rem; }
.app-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 14px 0 6px; font-size: .88rem; color: #b9b9c6; }
.app-facts li::before { content: "•"; color: #f39c12; margin-right: 6px; }
.app-small { font-size: .88rem; color: #9a9aa8; }
.app-small a, .app-section a { color: #8fa6ff; }
.app-soon { font-weight: 700; color: #f39c12; }
.app-section { margin-top: 44px; }
.app-section h2, .app-final h2 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; margin-bottom: 14px; }
.app-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-feature { background: #1c1b23; border-radius: 14px; padding: 18px; }
.app-feature i { color: #f39c12; font-size: 1.3rem; }
.app-feature h3 { font-size: 1rem; color: #fff; margin: 10px 0 4px; font-weight: 700; }
.app-feature p { font-size: .9rem; margin: 0; color: #b9b9c6; }
.app-shots { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.app-shots img { height: 380px; width: auto; border-radius: 14px; scroll-snap-align: start; background: #1c1b23; }
.app-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.app-step { background: #1c1b23; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 80px; }
.app-step-image { display: flex; justify-content: center; }
.app-phone { width: 100%; max-width: 210px; height: auto; display: block; }
.app-step-number { display: inline-block; background: #0b36cd; color: #fff; font-size: .75rem; font-weight: 700; border-radius: 20px; padding: 2px 10px; }
.app-step h3 { font-size: 1.05rem; color: #fff; font-weight: 700; margin: 8px 0 4px; }
.app-step p { font-size: .92rem; margin: 0; line-height: 1.55; color: #c9c9d4; }
.app-step b { color: #fff; }
.app-phone-target { filter: drop-shadow(0 0 6px rgba(243,156,18,.8)); }
.app-phone-tap { fill: rgba(243,156,18,.45); stroke: #f39c12; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: app-tap 1.6s ease-out infinite; }
@keyframes app-tap { 0% { transform: scale(.6); opacity: 1; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .app-phone-tap { animation: none; } }
.app-protect p:last-child { margin-bottom: 0; }
.app-protect { background: rgba(52,168,83,.08); border-left: 3px solid #34a853; border-radius: 10px; padding: 18px 20px; line-height: 1.7; }
.app-custom { line-height: 1.7; }
.app-custom h2 { font-size: 1.3rem; }
.app-faq details { background: #1c1b23; border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.app-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: #fff; list-style-position: inside; }
.app-faq details p { margin: 0 0 14px; line-height: 1.6; color: #c9c9d4; }
.app-final { text-align: center; margin-top: 44px; padding: 30px 16px; background: linear-gradient(135deg, rgba(11,54,205,.28), rgba(19,18,25,.9)); border-radius: 18px; }
@media (max-width: 991px) { .app-steps, .app-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .app-hero { flex-direction: column; text-align: center; padding: 22px 16px; }
  .app-hero-phone { display: none; }
  .app-hero h1 { font-size: 1.55rem; }
  .app-facts { justify-content: center; }
  .app-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .app-feature { padding: 14px; }
  .app-steps { grid-template-columns: 1fr; }
  .app-step { padding: 16px; }
  .app-phone { max-width: 200px; }
  .app-shots img { height: 300px; }
}

/* ===== SEO: título do episódio, gêneros e texto da página inicial ===== */
.anime-heading .episode-heading { font-size: 1rem; font-weight: 300; padding-left: 10px; white-space: nowrap; }
.anime-heading .episode-heading::before { content: "-"; padding-right: 10px; }
.genre-cloud { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.genre-cloud a { display: inline-block; padding: 6px 14px; border-radius: 20px; background: #1c1b23; color: #ddd; font-size: .9rem; border: 1px solid rgba(255,255,255,.06); }
.genre-cloud a:hover { background: #0b36cd; color: #fff; text-decoration: none; }
.home-about { color: #bdbdc8; line-height: 1.7; }
.home-about p { max-width: 980px; }
.home-about h1 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.episode-about { margin: 30px 0 10px; color: #bdbdc8; line-height: 1.7; }
.episode-about h2 { font-size: 1.1rem; color: #fff; font-weight: 700; margin-bottom: 6px; }
.episode-about a { color: #8fa6ff; }
.push-box { background: rgba(243,156,18,.08); border: 1px solid rgba(243,156,18,.25); border-radius: 8px; padding: 10px; text-align: left; }
/* Player: pular abertura e próximo episódio (vídeo direto) */
.pframe { position: relative; }
.player-skip { position: absolute; top: 12px; right: 12px; z-index: 30; background: rgba(19,18,25,.85); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 7px 16px; font-size: .9rem; cursor: pointer; }
.player-skip:hover { background: #0b36cd; }
.player-next { position: absolute; inset: 0; z-index: 31; background: rgba(0,0,0,.75); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; }
.player-next p { font-size: 1.1rem; margin-bottom: 12px; }
.player-next-go { background: #f39c12; color: #131219 !important; font-weight: 700; border-radius: 20px; padding: 8px 18px; text-decoration: none !important; }
.player-next-cancel { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; padding: 7px 16px; margin-left: 8px; cursor: pointer; }

/* ===== Minha lista: status ===== */
.list-status-form { display: inline-block; margin: 0 6px 0 0; vertical-align: middle; }
.list-status { appearance: none; -webkit-appearance: none; background: #1c1b23 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23bbb'/%3E%3C/svg%3E") no-repeat right 12px center; color: #ddd; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; height: 40px; padding: 0 32px 0 14px; font-size: .9rem; cursor: pointer; }
.list-status:focus { outline: 2px solid #8fa6ff; outline-offset: 1px; }
.list-status.is-watching { border-color: #0b36cd; background-color: rgba(11,54,205,.3); color: #fff; }
.list-status.is-plan { border-color: #f39c12; color: #ffd28a; }
.list-status.is-completed { border-color: #34a853; color: #9fe3b4; }
.list-status.is-dropped { border-color: #888; color: #aaa; }
.list-status option { background: #1c1b23; color: #ddd; }
.list-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.list-tabs a { padding: 7px 14px; border-radius: 20px; background: #1c1b23; color: #ccc; font-size: .9rem; border: 1px solid rgba(255,255,255,.06); }
.list-tabs a span { opacity: .7; margin-left: 4px; }
.list-tabs a.active, .list-tabs a:hover { background: #0b36cd; color: #fff; text-decoration: none; }
.list-badge { position: absolute; left: 22px; top: 8px; z-index: 3; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; color: #fff; background: #555; }
.list-badge.is-watching { background: #0b36cd; } .list-badge.is-plan { background: #c87f0a; } .list-badge.is-completed { background: #2e8b47; } .list-badge.is-dropped { background: #666; }

/* ===== Avaliações (notas e resenhas) ===== */
.stars { color: #f5b301; white-space: nowrap; }
.stars .far { color: #6b6a75; }
.anime-rating { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 20px; background: rgba(245,179,1,.12); color: #f5b301 !important; font-weight: 700; margin-right: 6px; vertical-align: middle; text-decoration: none !important; }
.reviews-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-bottom: 16px; }
.reviews-score { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.reviews-score strong { font-size: 2.6rem; line-height: 1; color: #fff; }
.reviews-score small { color: #9a9aa8; }
.reviews-bars { flex: 1 1 240px; max-width: 360px; font-size: .8rem; color: #bbb; }
.reviews-bars > div { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.reviews-bars i { color: #f5b301; font-size: .7rem; }
.reviews-bars .bar { flex: 1; height: 8px; background: #2b2a33; border-radius: 4px; overflow: hidden; }
.reviews-bars .bar b { display: block; height: 100%; background: #f5b301; }
.reviews-bars small { width: 28px; text-align: right; }
.review-form { background: #1c1b23; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.review-form summary { cursor: pointer; font-weight: 700; color: #fff; }
.review-form textarea { width: 100%; background: #131219; color: #ddd; border: 1px solid #333; border-radius: 6px; padding: 8px; margin-top: 8px; }
.star-input { display: inline-flex; flex-direction: row-reverse; border: 0; padding: 0; margin: 10px 0 0; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.8rem; color: #4a4955; cursor: pointer; padding: 0 3px; margin: 0; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5b301; }
.star-input input:focus-visible + label { outline: 2px solid #8fa6ff; border-radius: 4px; }
.review-item { border-top: 1px solid rgba(255,255,255,.06); padding: 14px 0; }
.review-item .stars { margin-left: auto; }
.spoiler summary { cursor: pointer; color: #f39c12; font-size: .9rem; margin: 8px 0 0 50px; }
.spoiler[open] summary { color: #9a9aa8; }
.spoiler-check { display: block; margin: 6px 0 0; color: #bbb; }
.comment-item .spoiler summary { margin-left: 50px; }
/* Reações ao episódio */
.reactions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 4px; }
.reactions-label { color: #9a9aa8; font-size: .9rem; margin-right: 4px; }
.reaction { display: inline-flex; align-items: center; gap: 4px; background: #1c1b23; border: 1px solid rgba(255,255,255,.08); color: #ddd !important; border-radius: 20px; padding: 5px 12px; font-size: 1.05rem; cursor: pointer; text-decoration: none !important; transition: transform .1s, border-color .15s; }
.reaction b { font-size: .8rem; font-weight: 600; min-width: 0; }
.reaction:hover { border-color: #8fa6ff; }
.reaction:active { transform: scale(.94); }
.reaction.is-mine { background: rgba(11,54,205,.35); border-color: #0b36cd; }

/* ===== Top animes ===== */
.top-list { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.top-item { display: flex; align-items: center; gap: 14px; background: #1c1b23; border-radius: 12px; padding: 10px 16px 10px 10px; margin-bottom: 10px; }
.top-pos { flex: 0 0 44px; text-align: center; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.5rem; color: #6e6c7a; }
.top-pos.is-podium { color: #f39c12; }
.top-link { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: #fff !important; text-decoration: none !important; }
.top-link img { width: 60px; height: 85px; object-fit: cover; border-radius: 6px; flex: 0 0 60px; }
.top-info { min-width: 0; }
.top-info strong { display: block; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-info small { color: #9a9aa8; }
.top-value { flex: 0 0 auto; text-align: right; color: #ddd; font-weight: 700; }
.top-value .fa-star { color: #f5b301; }
.top-value small { display: block; font-weight: 400; color: #9a9aa8; font-size: .75rem; }
@media (max-width: 575px) { .top-item { gap: 8px; padding: 8px; } .top-pos { flex-basis: 28px; font-size: 1.1rem; } .top-link img { width: 46px; height: 65px; flex-basis: 46px; } .top-value { font-size: .85rem; } }

/* ===== Níveis e conquistas ===== */
.ach-level { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ach-badge { flex: 0 0 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #f39c12, #0b36cd); color: #fff; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(243,156,18,.3); }
.ach-level-info { flex: 1; min-width: 0; }
.ach-level-info strong { color: #fff; }
.ach-level-info small { color: #9a9aa8; }
.ach-bar { height: 8px; background: #2b2a33; border-radius: 4px; overflow: hidden; margin: 6px 0 4px; }
.ach-bar b { display: block; height: 100%; background: linear-gradient(90deg, #f39c12, #ffcf6b); }
.ach-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ach-list li { display: flex; align-items: center; gap: 10px; background: #1c1b23; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 8px 10px; opacity: .5; }
.ach-list li.is-done { opacity: 1; border-color: rgba(243,156,18,.45); }
.ach-list i { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: #2b2a33; color: #9a9aa8; display: flex; align-items: center; justify-content: center; }
.ach-list li.is-done i { background: rgba(243,156,18,.18); color: #f39c12; }
.ach-list strong { display: block; color: #fff; font-size: .85rem; }
.ach-list small { color: #9a9aa8; font-size: .75rem; }
