@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    width: 100%;
    min-height: 100%;
    background-color: #070707;
}
body {
    width: 100%;
    min-height: 100%;
    background-color: #070707;
}
.anime-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.1s ease;
}
.animes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    cursor: pointer;
  
}
.anime-image:hover {
    transform: scale(1.1);
    cursor: pointer;

   ;
}
.nav::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    
}
.body {
    background-color: #070707;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 20px 40px;
    max-width: 1400px;
    overflow-x: hidden;
}
/* Header em faixa total (full-bleed) mesmo com o conteúdo centralizado,
   e âncora para os botões absolute (login/perfil) */
.body > header {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.anime-title-section {
   margin-top: 10px;
   margin-bottom: 0;
}
.Animes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    width: 100%;
    align-items: start;
    justify-content: start;
    min-height: 0;
    padding: 10px 0 10px;
    margin-top: 10px;
}
.Animes:empty {
    min-height: 0;
    padding: 0;
    gap: 0;
}

/* Card com proporção fixa — vale para grade normal E para busca */
.anime-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    justify-self: start;
}
/* Selo de dublado: pequeno, sobre a capa */
.dub-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 26px;
    height: 26px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    padding: 3px;
    pointer-events: none;
    z-index: 2;
}
.anime-card .anime-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.anime-card .anime-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.Sobre {
    padding: 24px 12px 8px;
    max-width: 900px;
    margin: 0 auto;
}
#container {
    max-width: 500px;
    margin-top: 12px;
}
.input-group{
    display: flex;
    align-items: center;
    background-color: rgb(0, 0, 0);
    padding: 8px 16px 8px ;
    border-radius: 24px;
    gap:8px;
    width: 100%;
    max-width: 500px;
}
.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    min-width: 32px;
    min-height: 32px;
    background-color: black;
}
.input-field {
    width: 100%;
    border: none;
    background-color: transparent;
    color: white;
}
.input-field:focus {
    outline: none;
     color: white;
}
.Planos {
    background-color: #1a1a1a;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    height: auto;
    max-width: 800px;
    text-align: center;
}
.plano-item {
    color: #f8f8f7;
    font-size: 1.2rem;
    margin-bottom: 10px;
    list-style-type: none;
}
html {
    scroll-behavior: smooth;
}
#no-results{
    display: none;
    text-align: center;
    color: white;
}
#see_button {
    border: none;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(17, 17, 17);
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    justify-content: center;
    align-items: center;
}
.see_button
{
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 16px 0;
    min-height: 0;
}
.see_button:empty,
.see_button.hidden {
    display: none;
    padding: 0;
    min-height: 0;
}
#see_button:hover {
    color: #ffab4a;
    transition: all 0.2s ease-in-out;
}
.anime-card.hidden {
    display: none !important;
}

.anime-card.search-hidden {
    display: none !important;
}
#fullscreen-button {
    background-color: #ffab4a;
}
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 10px 0 20px;
}
.category-button {
    background-color: rgb(41, 40, 40);
    color: #ffab4a;
    border:none;
    border-radius: 20px;
    transition: all 0.2s ease-out;
    width: auto;
    min-width: 90px;
    height: auto;
    padding: 8px 16px;

}

.category-button:hover {
    color: white;
    transition: all 0.2s ease-out;
    border-radius: 10px;
    cursor: pointer;
}
.category-button.active {
    background-color: #ffab4a;
    color: #000;
}
.anime-categories span {
  padding: 4px 8px;
  border-radius: 4px;
  background: #ef744b;
  color: white;
  font-size: 11px;
}
.logo-button {
    cursor: pointer;
}
.button-login {
    background-color: #ffab4a;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
.container-slider {
    display: flex;
    width: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    gap:1rem;
    margin: 0 auto 10px;
    padding: 0;
    transform: none;
}
.container-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 900px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.slider {
    opacity: 0;
    transition:opacity .2s;
    position:absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.on {
    opacity: 1;
}
#prev-button, #next-button {
    background-color: #ffab4a;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;

}

body.body {
    max-width: 1440px;
    padding: 0 32px 48px;
    color: #f5f6fa;
    background: #000;
}
html,
body { background-color: #000; }
.site-header {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(180px, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 18px 14px;
    min-height: 116px;
    padding: 18px max(32px, calc((100vw - 1376px) / 2));
    background:
        linear-gradient(110deg, rgba(5, 7, 12, .96), rgba(11, 13, 19, .9)),
        url('./fundo.png') center 38% / cover;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
}
.site-header > h1 {
    grid-column: 2;
    grid-row: 1;
    color: #fff;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    letter-spacing: .12em;
}
.site-header .logo-button {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 48px;
    height: 48px;
}
.site-header .logo-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.site-header .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 42px);
    margin: 0;
    padding: 0;
}
.site-header .nav a {
    color: #d7d9df !important;
    font-size: .9rem;
    transition: color .2s ease;
}
.site-header .nav a:hover { color: #ffab4a !important; }
.site-header #container {
    position: relative;
    z-index: 20;
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}
.search-suggestions {
    position: absolute;
    z-index: 30;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    max-height: min(390px, 60vh);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #303642;
    border-radius: 12px;
    background: #10131a;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .55);
}
.search-suggestions[hidden] { display: none; }
.search-suggestion {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 7px;
    border-radius: 8px;
    color: #f1f2f5;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.search-suggestion:hover,
.search-suggestion:focus-visible,
.search-suggestion.active {
    outline: none;
    background: #1b202b;
    color: #ffbf78;
}
.search-suggestion img {
    width: 39px;
    height: 50px;
    flex: 0 0 39px;
    border-radius: 6px;
    background: #080a0f;
    object-fit: cover;
}
.search-suggestion-title {
    overflow: hidden;
    font-size: .83rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-suggestion-empty {
    padding: 13px 10px;
    color: #9da4b1;
    font-size: .82rem;
}
.site-header .input-group {
    max-width: none;
    padding: 7px 15px;
    border: 1px solid #2a2e38;
    background: rgba(3, 5, 9, .7);
    border-radius: 12px;
}
.site-header .input-icon { background: transparent; color: #ffab4a; }
.site-header .input-field { color: #f5f6fa; font-size: .9rem; }
.site-header .input-field::placeholder { color: #858b99; }
.site-header #login-link {
    grid-column: 4;
    grid-row: 1;
    position: static;
    white-space: nowrap;
}
.site-header #header-account {
    grid-column: 4;
    grid-row: 1;
    position: static;
    white-space: nowrap;
}
.site-header .button-login {
    padding: 10px 16px;
    border-radius: 10px;
    background: #ffab4a;
    color: #14100b !important;
    font-weight: 700;
}
.site-header .header-quick {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    margin-right: 56px;
}
.site-header .header-quick-link {
    padding: 8px 15px;
    border: 1px solid rgba(255, 171, 74, .35);
    border-radius: 999px;
    background: rgba(17, 20, 27, .8);
    color: #ffcf8a !important;
    font: 600 12.5px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.site-header .header-quick-link:hover {
    border-color: #ffab4a;
    background: rgba(255, 171, 74, .12);
    transform: translateY(-1px);
}
.site-header .header-quick #profile-link {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 48px;
    height: 48px;
    flex: none;
}
.site-header #profile-image,
.site-header #profile-image-video {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffab4a;
    object-fit: cover;
}
.site-header #login-link { justify-self: auto; }
.site-header #profile-name { display: none !important; }
.Sobre {
    max-width: 760px;
    padding: 36px 12px 26px;
    text-align: center;
}
.Sobre h2 {
    margin: 8px 0;
    color: #fff !important;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    letter-spacing: -.04em;
}
.Sobre p { color: #a7adba !important; font-size: .95rem; }
.eyebrow {
    color: #ffab4a;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .17em;
}
.container-slider {
    position: relative;
    gap: 0;
    margin: 0 auto 42px;
}
.container-images {
    flex: 1 1 100%;
    width: auto;
    max-width: 1280px;
    aspect-ratio: 2 / 1;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .42);
    isolation: isolate;
}
.container-slider #prev-button,
.container-slider #next-button {
    position: absolute;
    z-index: 5;
}
.container-slider #prev-button { left: 16px; }
.container-slider #next-button { right: 16px; }
.container-images::before {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 22px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: rgba(8, 10, 15, .55);
    color: #fff;
    content: "KONIMES  /  DESTAQUES";
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .13em;
    backdrop-filter: blur(7px);
}
.container-images::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 7, 12, .42), transparent 70%),
        linear-gradient(0deg, rgba(5, 7, 12, .35), transparent 45%);
    pointer-events: none;
}
.slider { border-radius: 0; transition: opacity .55s ease, transform 5s ease; }
.slider.on { transform: scale(1.035); }
.feature-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 7, 12, .9) 0%, rgba(5, 7, 12, .5) 48%, rgba(5, 7, 12, .04) 100%),
        linear-gradient(0deg, rgba(5, 7, 12, .58), transparent 58%);
    pointer-events: none;
}
.feature-copy {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: clamp(24px, 6vw, 72px);
    width: min(48%, 510px);
    color: #fff;
    transform: translateY(-45%);
}
.feature-copy h2 {
    margin: 12px 0 9px;
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -.05em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.feature-copy p {
    margin-bottom: 20px;
    color: #d3d5db;
    font-size: .88rem;
}
.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 9px;
    background: #ffab4a;
    color: #15100a;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.feature-link:hover { transform: translateY(-2px); background: #ffc078; }
.carousel-dots {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 18px;
    display: flex;
    gap: 7px;
}
.carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .52);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.carousel-dot.active { width: 24px; background: #ffab4a; }
.carousel-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border: 1px solid #343946 !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: rgba(20, 23, 31, .88) !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.carousel-arrow:hover {
    transform: translateY(-2px);
    border-color: #ffab4a !important;
    background: #ffab4a !important;
}
.popular-section {
    margin: 28px 0 40px;
    padding: 0;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}
.section-heading h2 {
    margin-top: 5px;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.popular-section .section-heading h2 { display: flex; align-items: center; gap: 12px; }
.popular-section .section-heading h2::before {
    width: 4px;
    height: 23px;
    border-radius: 2px;
    background: #ff5638;
    content: "";
}
.popular-carousel {
    overflow: hidden;
}
.popular-carousel[hidden] { display: none; }
.popular-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 18px 0 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.popular-track::-webkit-scrollbar { display: none; }
.popular-track:empty { display: none; }
.popular-card {
    position: relative;
    display: block;
    flex: 0 0 270px;
    min-height: 0;
    overflow: visible;
    padding: 0;
    color: inherit;
    text-decoration: none;
    scroll-snap-align: start;
}
.popular-card:hover .popular-cover { transform: scale(1.035); }
.popular-rank {
    position: absolute;
    z-index: 0;
    top: -19px;
    left: 0;
    color: transparent;
    font-size: 14rem;
    font-weight: 800;
    letter-spacing: -.12em;
    line-height: 1;
    -webkit-text-stroke: 2px #4c4c4c;
}
.popular-art {
    position: relative;
    z-index: 1;
    display: block;
    width: 174px;
    height: 259px;
    margin-left: 74px;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
}
.popular-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.popular-card-info {
    display: flex;
    width: 174px;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    margin: 9px 0 0 74px;
}
.popular-card-info strong {
    overflow: hidden;
    color: #f4f4f4;
    font-size: .78rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.popular-card-info small { color: #999; font-size: .68rem; }
.popular-empty {
    padding: 8px 0;
    color: #999;
    font-size: .78rem;
}
.popular-empty[hidden] { display: none; }
.home-shelf { margin: 30px 0 42px; }
.home-shelf .section-heading { margin-bottom: 14px; }
.home-shelf .section-heading h2 { margin: 0; }
.shelf-more {
    color: #aaa;
    font-size: .76rem;
    text-decoration: none;
}
.shelf-more:hover { color: #ffab4a; }
.home-anime-grid {
    display: grid;
    grid-auto-columns: clamp(128px, 14vw, 178px);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: #414141 transparent;
}
.home-anime-card {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.home-anime-art {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #111;
}
.home-anime-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.home-anime-card:hover .home-anime-art img { transform: scale(1.04); }
.home-episode-label {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 4px 7px;
    background: #ff5638;
    color: #111;
    font-size: .62rem;
    font-weight: 700;
}
.home-anime-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 8px;
}
.home-anime-info strong {
    overflow: hidden;
    color: #f4f4f4;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-anime-info small {
    overflow: hidden;
    color: #999;
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.community-section {
    margin: 30px 0 38px;
    padding: 26px;
    border: 1px solid #252a34;
    border-radius: 18px;
    background: linear-gradient(125deg, #12151d, #0d1016 78%);
}
.community-section .section-heading { margin-bottom: 8px; }
.community-section .section-heading h2 { color: #fff; }
.community-more {
    color: #ffab4a;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}
.community-more:hover { color: #ffd09b; }
.community-intro { margin-bottom: 18px; color: #9da4b1; font-size: .84rem; }
.community-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}
.community-room {
    display: flex;
    min-height: 178px;
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
    border: 1px solid #2a303b;
    border-radius: 13px;
    background: #11141b;
}
.community-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7fd8a3;
    font-size: .69rem;
    font-weight: 700;
}
.community-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5fd28e;
    box-shadow: 0 0 12px rgba(95, 210, 142, .6);
}
.community-room h3 {
    width: 100%;
    margin: 13px 0 3px;
    overflow: hidden;
    color: #f5f6fa;
    font-size: .95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.community-room > p { color: #a0a6b2; font-size: .78rem; }
.community-room-meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding: 14px 0 10px;
    color: #858c9a;
    font-size: .69rem;
}
.community-room > a,
.community-empty-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffab4a;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}
.community-room > a:hover,
.community-empty-card > a:hover { color: #ffd09b; }
.community-empty-card {
    display: flex;
    min-height: 110px;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 18px;
    border: 1px dashed #353b47;
    border-radius: 13px;
    background: rgba(17, 20, 27, .7);
}
.community-empty-card strong { color: #e8eaf0; font-size: .9rem; }
.community-empty-card > span { margin-bottom: 4px; color: #9299a7; font-size: .77rem; }
.community-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.community-cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #ffab4a;
    border-radius: 9px;
    background: #ffab4a;
    color: #17110a;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}
.community-cta:hover { background: #ffc078; border-color: #ffc078; }
.community-cta.secondary { border-color: #323744; background: #171a22; color: #d7d9df; }
.community-cta.secondary:hover { border-color: #ffab4a; color: #ffab4a; }
#animes { scroll-margin-top: 22px; }
body.catalog-only .Sobre,
body.catalog-only .container-slider,
body.catalog-only .popular-section,
body.catalog-only .home-shelf,
body.catalog-only .community-section,
body.catalog-only #history-section,
body.catalog-only > hr { display: none !important; }
body.catalog-only .anime-title-section { margin-top: 30px; }
body:not(.catalog-only) .anime-title-section,
body:not(.catalog-only) #sections-animes,
body:not(.catalog-only) .see_button,
body:not(.catalog-only) #themes-title,
body:not(.catalog-only) #category-buttons { display: none !important; }
.anime-title-section {
    margin: 38px 0 16px;
    color: #fff !important;
    text-align: left !important;
    font-size: 1.6rem;
}
.Animes { gap: 18px; }
.anime-card {
    border: 1px solid #222630;
    border-radius: 13px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.anime-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 171, 74, .72);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .38);
}
.anime-card .anime-image { border-radius: 0; transition: transform .35s ease; }
.anime-card:hover .anime-image { transform: scale(1.045); }
.category-button {
    border: 1px solid #2a2e38;
    background: #141720;
    color: #c9cdd5;
    cursor: pointer;
}
.category-button.active { border-color: #ffab4a; }
@media (max-width: 760px) {
    body.body { padding: 0 16px 34px; }
    .body > header {
        width: calc(100% + 32px);
        max-width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
    }
    .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 13px 10px;
        min-height: 0;
        padding: 16px;
    }
    .site-header > h1 { grid-column: 2; font-size: 1.2rem; }
    .site-header .logo-button { width: 40px; height: 40px; }
    .site-header #container { grid-column: 1 / -1; grid-row: 2; max-width: none; }
    .site-header .nav { grid-column: 1 / -1; grid-row: 3; gap: 20px; overflow-x: auto; }
    .site-header #login-link { grid-column: 3; grid-row: 1; padding: 8px 10px; font-size: .74rem; }
    .site-header #header-account { grid-column: 3; grid-row: 1; padding: 8px 10px; font-size: .74rem; }
    .site-header .header-quick { grid-column: 3; grid-row: 1; margin-right: 50px; gap: 8px; }
    .site-header .header-quick-link { padding: 7px 11px; font-size: 11px; }
    .site-header .header-quick #profile-link { width: 40px; height: 40px; }
    .site-header #profile-image, .site-header #profile-image-video { width: 40px; height: 40px; }
    .container-slider { gap: 0; }
    .container-images { aspect-ratio: 1.4 / 1; }
    .feature-copy { left: 18px; width: min(75%, 400px); }
    .feature-copy h2 { font-size: clamp(1.55rem, 7vw, 2.35rem); }
    .feature-copy p { margin-bottom: 12px; font-size: .75rem; }
    .feature-link { padding: 9px 12px; font-size: .72rem; }
    .carousel-arrow { flex-basis: 34px; width: 34px; height: 34px; font-size: 14px !important; }
    .popular-section { margin: 20px 0 30px; }
    .popular-card { flex-basis: 235px; }
    .popular-rank { top: -14px; font-size: 12rem; }
    .popular-art { width: 150px; height: 224px; margin-left: 68px; }
    .popular-card-info { width: 150px; margin-left: 68px; }
    .home-anime-grid { grid-auto-columns: 138px; gap: 13px; }
    .anime-title-section { font-size: 1.35rem; }
}
@media (max-width: 430px) {
    .site-header .nav { gap: 15px; }
    .site-header .nav a { font-size: .78rem; }
    .site-header #login-link { max-width: 120px; white-space: normal; text-align: center; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .popular-card { flex-basis: 215px; }
    .popular-rank { font-size: 10.5rem; }
    .popular-art { width: 138px; height: 207px; margin-left: 60px; }
    .popular-card-info { width: 138px; margin-left: 60px; }
    .community-section { padding: 17px 13px; }
}

@media (max-width: 520px) {
    html:not(.koni-session) .site-header .header-quick-link { display: none; }
    .site-header .header-quick { margin-right: 48px; }
}
