:root {
  color-scheme: dark;
  --background: #0b0c10;
  --header: #0e0f14;
  --accent: #921b31;
  --text: #f5f5f7;
  --muted: #b8b9c7;
  --border: #282930;
  --card-hover: #8c3a4f;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Inter, sans-serif; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #e9899a; outline-offset: 5px; }
.site-header { background: var(--header); border-bottom: 1px solid var(--border); }
.nav-shell { max-width: 1400px; min-height: 86px; padding: 0 48px; margin: auto; display: flex; align-items: center; gap: 38px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark { width: 32px; height: 40px; display: grid; place-items: center; background: var(--accent); font: 800 31px 'Barlow Condensed', sans-serif; transform: skew(-9deg); }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font: 800 23px/1 'Barlow Condensed', sans-serif; white-space: nowrap; }
.brand-tagline { color: var(--muted); font-size: 10px; letter-spacing: .65px; text-transform: uppercase; }
.main-nav { display: flex; gap: 27px; align-self: stretch; align-items: stretch; }
.nav-link { position: relative; display: flex; align-items: center; font-size: 13px; color: var(--muted); white-space: nowrap; transition: color .18s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active { font-weight: 600; }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.search-box { display: flex; align-items: center; gap: 10px; width: 190px; height: 36px; padding: 0 12px; border: 1px solid var(--border); background: #15161d; border-radius: 7px; }
.search-icon { width: 12px; height: 12px; border: 1px solid var(--muted); border-radius: 50%; position: relative; flex-shrink: 0; }
.search-icon::after { content: ''; position: absolute; width: 5px; height: 1px; background: var(--muted); right: -4px; bottom: -2px; transform: rotate(45deg); }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.search-box:focus-within { border-color: #b94d62; box-shadow: 0 0 0 2px #b94d6230; }
.search-box input::placeholder { color: var(--muted); }
.language-switch { display: flex; gap: 3px; }
.language-switch button { border: 0; background: transparent; color: var(--muted); border-radius: 4px; padding: 9px 7px; cursor: pointer; font-size: 12px; }
.language-switch button.selected { background: var(--accent); color: white; }
.menu-toggle { display: none; }
main { min-height: calc(100dvh - 87px); }
.site-footer { border-top: 1px solid var(--border); padding: 24px 22px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }
.site-footer p { margin: 0; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #ffffff08; border-radius: 8px; background: #252525; color: white; cursor: pointer; box-shadow: 0 3px 12px #00000030; }
.back-to-top { opacity: 0; transform: translateY(10px); visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
.back-to-top span { width: 12px; height: 12px; border-top: 3px solid currentColor; border-left: 3px solid currentColor; transform: translateY(3px) rotate(45deg); }
.back-to-top:hover { background: #343434; }
.image-is-loading.image-is-loading { background-image: linear-gradient(110deg, #1a1b23 8%, #282a34 32%, #1a1b23 55%); background-size: 220% 100%; animation: image-loading-pulse 1.5s linear infinite; }
@keyframes image-loading-pulse { to { background-position-x: -220%; } }
.image-has-error { position: relative; background: #1a1b23; }
.image-error-message { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; color: #bfc1cf; font-size: 12px; text-align: center; background: #1a1b23; }
.next-links { margin-top: 48px; padding: 25px 0 0; border-top: 1px solid var(--border); }
.next-links h2 { margin: 0 0 16px; font: 700 25px/1.2 'Barlow Condensed', sans-serif; }
.next-links-list { display: flex; flex-wrap: wrap; gap: 10px; }
.next-links a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; padding: 10px 14px; border: 1px solid #51313c; border-radius: 8px; background: #18141b; color: #f1dce2; font-size: 12px; font-weight: 600; transition: border-color .18s, background .18s, transform .18s; }
.next-links a::after { content: '→'; color: #d67b91; font-size: 16px; }
.next-links a:hover { border-color: #c05d75; background: #261820; transform: translateY(-2px); }
a.content-card, a.catalog-card, .gallery-track a, .profile-gallery a, .anime-gallery a { transition: border-color .2s, box-shadow .2s, transform .2s; }
a.content-card:hover, a.catalog-card:hover, .gallery-track a:hover, .profile-gallery a:hover, .anime-gallery a:hover, .anime-list-link:hover, .profile-feature-grid a:hover, .related-image-card:hover, .song-gallery-item:hover { border-color: var(--card-hover); box-shadow: 0 8px 22px #0004; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #ef9bad; outline-offset: 3px; }
.search-box input:focus-visible, .artist-song-search input:focus-visible, .pagination-jump input:focus-visible { outline: none; }
button:disabled, a[aria-disabled="true"] { cursor: not-allowed; }
@media (hover: hover) {
  .language-switch button:not(.selected):hover, .lyrics-tabs button:not(.selected):hover,
  .artist-song-filters button:not(.selected):hover, .anime-music-filters button:not(.selected):hover,
  .catalog-filters button:not(.selected):hover { background: #29212a; color: white; border-color: #75505c; }
  .slider-link:hover { background: #b12d47; }
}
@media (max-width: 380px) {
  .home, .translation-page, .image-page, .top-page, .profile-page, .catalog-page { padding-left: 16px; padding-right: 16px; }
  .section-heading h2 { font-size: 23px; }
  .profile-identity { min-width: 0; }
}
@media (max-width: 700px) { .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
.home { max-width: 1400px; padding: 32px 48px 64px; margin: auto; }
.popular-slider { position: relative; overflow: hidden; isolation: isolate; min-height: 290px; border: 1px solid var(--border); border-radius: 16px; background: #111218; }
.slider-art { position: absolute; inset: 0 0 0 24%; z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%); mask-image: linear-gradient(90deg, transparent, #000 26%); }
.slider-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease-in-out; }
.slider-art img.active { opacity: 1; }
.popular-slider::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111218 18%, #111218e8 36%, #11121845 75%, #11121830); }
.slider-content { padding: 38px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #e29aa7; }
.slider-content h1 { margin: 0; font: 700 clamp(34px, 4vw, 52px)/1.1 'Barlow Condensed', sans-serif; }
.slider-artist { color: var(--muted); margin: 12px 0 24px; font-size: 14px; }
.slider-link { display: inline-block; padding: 12px 17px; border-radius: 7px; background: var(--accent); font-size: 12px; font-weight: 600; }
.slider-controls { position: absolute; bottom: 22px; right: 24px; display: flex; align-items: center; gap: 14px; }
.slider-controls button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffff40; background: #111218b8; color: white; border-radius: 7px; cursor: pointer; }
.slider-controls button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.slider-controls span { font-size: 12px; color: white; }
.home-section { padding-top: 42px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { flex-shrink: 0; margin: 0; font: 700 29px/1.1 'Barlow Condensed', sans-serif; }
.section-rule { height: 1px; flex: 1; background: var(--border); }
.section-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.section-more { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 6px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.section-more:hover { color: #df7188; }
.more-arrow { font-size: 16px; line-height: 1; }
.content-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.content-card { min-width: 0; border: 1px solid var(--border); background: #13141a; border-radius: 12px; overflow: hidden; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1b1c23; }
.card-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-copy { padding: 16px; }
.card-copy h3 { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.card-copy p { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.card-label { position: absolute; top: 10px; right: 10px; z-index: 2; background: #921b31e8; color: white; padding: 5px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; }
.translation-card .card-copy { position: absolute; inset: auto 0 0; padding: 44px 16px 16px; background: linear-gradient(180deg, transparent 0%, #08090bbf 45%, #08090bf5 100%); }
.translation-card .card-copy p { margin: 0 0 4px; color: #e0dce1; font-size: 12px; }
.translation-card .card-copy h3 { color: white; font-size: 16px; line-height: 1.3; }
.image-card { position: relative; }
.image-card .card-media { aspect-ratio: auto; height: 330px; }
.gallery-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.continuous-track { scroll-snap-type: none; overflow-anchor: none; }
.gallery-track .image-card { flex: 0 0 calc((100% - 80px) / 5); scroll-snap-align: start; }
.carousel-shell { position: relative; }
.image-tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px; }
.image-tags span { padding: 5px 8px; border: 1px solid #75baff70; border-radius: 5px; background: #164c85eb; color: #dceeff; font-size: 11px; line-height: 1.3; }
.ranking-card .card-media { aspect-ratio: 16 / 9; }
.ranking-label { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; background: #111218e8; font-size: 11px; font-weight: 700; }
.ranking-label strong { color: #e89aaa; font: 800 25px/1 'Barlow Condensed', sans-serif; }
.ranking-label.recommendation-label { background: #111218e8; color: white; font-size: 10px; letter-spacing: .03em; }
.ranking-label.recommendation-label strong { color: #9ee1aa; font: 700 18px/1 Inter, sans-serif; }
.ranking-card .card-copy { border-top: 2px solid var(--accent); padding: 9px 14px; }
.ranking-card .card-copy h3 { line-height: 1.3; }
.anime-card { display: flex; min-height: 164px; }
.anime-card .card-media { width: 40%; flex-shrink: 0; aspect-ratio: auto; }
.anime-card .card-copy { align-self: center; padding: 14px; }
/* Tags flow onto new lines as whole words; a tag never splits in the middle. */
.anime-genres { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px; margin-top: 10px; }
.anime-genre-row { display: contents; }
.anime-genres span { flex: none; max-width: 100%; padding: 4px 6px; border: 1px solid #37303a; border-radius: 5px; background: #921b311a; color: #d9bdc5; font-size: 11px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anime-card .card-copy .anime-year { margin-top: 12px; font-size: 12px; color: var(--muted); }
.anime-year time { color: #e5e5ea; }
.artists-track .artist-card { position: relative; flex: 0 0 calc((100% - 100px) / 6); scroll-snap-align: start; background: transparent; border: 0; border-radius: 12px; }
.gallery-track { cursor: grab; user-select: none; }
.gallery-track.is-dragging { cursor: grabbing; }
.gallery-track img { -webkit-user-drag: none; user-select: none; }
.artist-card .card-media { aspect-ratio: 1 / 1; border-radius: 12px; border: 1px solid var(--border); }
.artist-card .card-copy { position: absolute; inset: auto 0 0; text-align: center; padding: 32px 8px 12px; background: linear-gradient(transparent, #08090be6); }
.artist-card .card-copy h3 { color: white; }
@media (max-width: 1000px) {
  .home { padding: 24px 22px 48px; }
  .gallery-track { gap: 14px; }
  .artists-track .artist-card { flex-basis: calc((100% - 42px) / 4); }
  .gallery-track .image-card { flex-basis: calc((100% - 28px) / 3); }
  .image-card .card-media { height: 290px; }
  .content-grid { gap: 14px; }
  .anime-card { flex-direction: column; }
  .anime-card .card-media { width: 100%; aspect-ratio: 16 / 10; }
  .anime-card .card-copy { align-self: stretch; }
}
@media (max-width: 700px) {
  .section-heading { flex-wrap: wrap; gap: 12px; }
  .section-actions { margin-left: auto; gap: 12px; }
  .artists-track .artist-card { flex-basis: 140px; }
  .translation-card .card-copy { padding: 36px 12px 12px; }
  .translation-card .card-copy p { font-size: 12px; }
  .translation-card .card-copy h3 { font-size: 14px; }
  .gallery-track .image-card { flex-basis: min(210px, calc((100% - 14px) / 2)); }
  .image-card .card-media { height: 240px; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .translation-section .content-grid { grid-template-columns: minmax(0, 1fr); }
  .ranking-section .content-grid { grid-template-columns: minmax(0, 1fr); }
  .translation-section .content-grid > :nth-child(n + 5),
  .ranking-section .content-grid > :nth-child(n + 5) { display: none; }
  .home #animes .content-grid > :nth-child(n + 7) { display: none; }
  .translation-section .card-media { aspect-ratio: 16 / 9; }
  .translation-section .translation-card .card-copy { padding: 48px 16px 16px; }
  .translation-section .translation-card .card-copy p { font-size: 12px; }
  .translation-section .translation-card .card-copy h3 { font-size: 18px; }
  .home-section { padding-top: 32px; }
  .section-heading h2 { font-size: 26px; }
  .popular-slider { min-height: 280px; }
  .slider-art { inset: 0; }
  .popular-slider::before { background: linear-gradient(90deg, #111218ed, #11121865), linear-gradient(0deg, #111218c9, transparent); }
  .slider-content { padding: 26px 22px 68px; }
  .slider-controls { bottom: 16px; right: 18px; }
  .card-copy { padding: 12px; }
  .card-copy h3 { font-size: 13px; }
  .anime-card .card-copy { display: flex; flex-direction: column; flex: 1; }
  .anime-card .card-copy .anime-year { margin-top: auto; padding-top: 12px; }
  .next-links { margin-top: 36px; }
  .next-links-list { display: grid; grid-template-columns: 1fr; }
  .next-links a { justify-content: space-between; }
}
@media (max-width: 1200px) {
  .nav-shell { padding: 0 28px; gap: 25px; }
  .main-nav { gap: 19px; }
  .nav-tools { gap: 14px; }
  .search-box { width: 155px; }
}
@media (max-width: 1000px) {
  .nav-shell { min-height: 76px; flex-wrap: wrap; gap: 0; padding: 0 22px; }
  .brand { margin: 18px 0; }
  .brand-name { font-size: 22px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; padding: 10px; border: 1px solid var(--border); background: transparent; border-radius: 6px; cursor: pointer; }
  .menu-toggle span { width: 19px; height: 2px; background: var(--text); }
  .nav-tools { order: 2; width: 100%; margin: 0 0 14px; }
  .search-box { display: flex; flex: 1; width: auto; }
  .main-nav { display: none; order: 3; width: 100%; padding: 6px 0 18px; gap: 5px; flex-direction: column; }
  .main-nav.open { display: flex; }
  .nav-link { padding: 13px 15px; border-radius: 5px; font-size: 14px; }
  .nav-link.active { background: #921b3129; }
  .nav-link.active::after { inset: 10px auto 10px 0; width: 3px; height: auto; border-radius: 3px; }
  main { min-height: calc(100dvh - 77px); }
}
@media (max-width: 380px) {
  .nav-shell { padding: 0 14px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 19px; }
  .brand-tagline { font-size: 6.8px; }
  .nav-tools { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

a.content-card:focus-visible { outline: 2px solid #dc7d93; outline-offset: 3px; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.privacy-banner { position: fixed; z-index: 30; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(940px, calc(100% - 32px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 20px 22px; border: 1px solid #55404a; border-radius: 12px; background: #191a22; box-shadow: 0 12px 40px #0009; }
.privacy-banner-copy { max-width: 570px; }
.privacy-banner h2 { margin: 0 0 7px; font: 700 23px/1.2 'Barlow Condensed', sans-serif; }
.privacy-banner p { margin: 0; color: #cbcbd6; font-size: 12px; line-height: 1.65; }
.privacy-banner-copy a { display: inline-block; margin-top: 7px; color: #e49aab; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.privacy-banner-controls { min-width: 220px; }
.privacy-banner-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 9px; margin-bottom: 10px; border: 1px solid #46404b; border-radius: 6px; color: #cbcbd6; font-size: 12px; }
.privacy-banner-status strong { color: #b8bcc9; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.privacy-banner-question { display: block; margin-bottom: 8px; color: #e9e7ed; font-size: 12px; font-weight: 600; }
.privacy-banner-actions { display: flex; flex-shrink: 0; gap: 8px; }
.privacy-banner-actions button { padding: 10px 13px; border: 1px solid #51404a; border-radius: 6px; background: transparent; color: white; font-size: 12px; font-weight: 600; cursor: pointer; }
.privacy-banner-actions button[data-privacy-choice="remember"] { border-color: var(--accent); background: var(--accent); }
.privacy-banner-actions button:hover { border-color: #e49aab; }
.privacy-footer-button { margin-top: 7px; padding: 2px 4px; border: 0; background: transparent; color: #d5a2af; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.privacy-footer-button:hover { color: white; }
@media (max-width: 700px) { .privacy-banner { bottom: 12px; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; } .privacy-banner-controls { min-width: 0; } .privacy-banner-actions { flex-wrap: wrap; } }

.noscript-notice { max-width: 1400px; margin: 0 auto; padding: 14px 48px; background: #2a171f; color: #f2dce2; font-size: 13px; line-height: 1.6; }

/* Mobile: compact privacy notice and touch-sized targets (about 40 px or more). */
@media (max-width: 700px) {
  .privacy-banner { gap: 12px; padding: 14px 16px; }
  .privacy-banner h2 { margin-bottom: 4px; font-size: 19px; }
  .privacy-banner p { font-size: 12px; line-height: 1.5; }
  .privacy-banner-copy a { margin-top: 2px; padding: 9px 0; }
  .privacy-banner-status { display: none; }
  .privacy-banner-question { margin-bottom: 6px; }
  .privacy-banner-actions { flex-wrap: nowrap; }
  .privacy-banner-actions button { flex: 1; min-height: 44px; }
  .privacy-footer-button { min-height: 44px; padding: 10px 12px; }
  .section-more { min-height: 44px; }
}

/* Cards on every content page: the hover border is 3px. The extra 2px is drawn over the card, so nothing moves. */
a.content-card, a.catalog-card, .gallery-track a, .profile-gallery a, .anime-gallery a, .anime-list-link, .profile-feature-grid a, .related-image-card, .song-gallery-item { position: relative; }
a.content-card::after, a.catalog-card::after, .gallery-track a::after, .profile-gallery a::after, .anime-gallery a::after, .anime-list-link::after, .profile-feature-grid a::after, .related-image-card::after, .song-gallery-item::after { content: ''; position: absolute; z-index: 4; inset: -1px; border: 3px solid var(--card-hover); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .2s; }
a.content-card:hover::after, a.catalog-card:hover::after, .gallery-track a:hover::after, .profile-gallery a:hover::after, .anime-gallery a:hover::after, .anime-list-link:hover::after, .profile-feature-grid a:hover::after, .related-image-card:hover::after, .song-gallery-item:hover::after { opacity: 1; }

/* +18 label on the thumbnail, right under the TOP 10 / RECOMENDACIÓN badge. The image and the title are not altered. */
.card-badges { position: absolute; z-index: 3; top: 10px; right: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.card-badges .ranking-label, .card-badges .catalog-card-badge { position: static; }
.adult-tag { padding: 4px 8px; border: 1px solid #d23a58; border-radius: 6px; background: #111218ed; color: #f5c3cd; font-size: 12px; font-weight: 700; letter-spacing: .4px; line-height: 1.2; }

/* +18 chips inside tag rows of images, animes and profiles */
.image-tags .adult-tag, .catalog-anime-tags .adult-tag, .image-page-tags .adult-tag, .profile-tags .adult-tag { border: 1px solid #d23a58; background: #111218ed; color: #f5c3cd; font-weight: 700; }

/* Home: thumbnails of +18 images and anime profiles get a light blur (rankings do not). The scale hides the soft edge the blur leaves. */
.home .image-card.adult-card .card-media img, .home .anime-card.adult-card .card-media img { filter: blur(3px); transform: scale(1.06); }

/* Anime profiles: the +18 label sits on the left of the thumbnail. */
.card-badges.badges-left { right: auto; left: 10px; align-items: flex-start; }
.catalog-anime-tags .adult-tag { margin-right: auto; }
