/* AZAKU 0.38.0: poster-led home and compact account controls. */
:root{--azaku-home-gap:16px;}
.site-header .header-inner{gap:16px;}
.site-header .header-actions{gap:9px;}
.azaku-notification-menu{position:relative;}
.azaku-notification-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;}
.azaku-notification-menu>summary::-webkit-details-marker{display:none;}
.azaku-notification-panel{position:absolute;right:0;top:calc(100% + 10px);width:340px;max-width:calc(100vw - 24px);background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 35px #0002;z-index:120;overflow:hidden;text-align:left;}
.azaku-notification-panel>header,.azaku-notification-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;}
.azaku-notification-panel>header{border-bottom:1px solid var(--line);font-size:14px;}
.azaku-notification-panel button{background:transparent;border:1px solid var(--line);color:inherit;border-radius:7px;font:inherit;font-size:12px;padding:6px 9px;cursor:pointer;}
.azaku-notification-panel button:disabled{opacity:.55;cursor:default;}
.azaku-notification-scroll{max-height:min(355px,55dvh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;}
.azaku-notification-scroll ul{list-style:none;margin:0;padding:0;}
.azaku-notification-scroll li{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;padding:10px 12px;border-bottom:1px solid var(--line);}
.azaku-notification-scroll li.is-unread:before{content:"";position:absolute;left:3px;top:17px;width:4px;height:4px;border-radius:50%;background:currentColor;}
.azaku-notification-scroll li>a,.azaku-notification-scroll li>span{min-width:0;display:grid;gap:3px;color:inherit;text-decoration:none;}
.azaku-notification-scroll strong{font-size:12px;}
.azaku-notification-scroll li span{font-size:12px;line-height:1.35;overflow-wrap:anywhere;}
.azaku-notification-scroll time{font-size:10px;color:var(--muted);}
.azaku-notification-scroll p{font-size:12px;padding:0 12px;}
.azaku-notification-panel footer{border-top:1px solid var(--line);}
.azaku-editorial-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:var(--azaku-home-gap);align-items:start;margin-top:18px;}
.azaku-editorial-main,.azaku-season-sidebar,.home-discovery-main{min-width:0;}
.azaku-season-sidebar{align-self:stretch;}
.azaku-season-sticky{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 76px);display:grid;gap:12px;max-height:calc(100dvh - 120px);overflow:auto;scrollbar-width:thin;}
.azaku-season-ranking{padding:10px!important;border-radius:12px;}
.azaku-season-ranking h2{font-size:13px!important;line-height:1.3;margin:0 0 8px!important;}
.azaku-season-ranking ol{list-style:none;padding:0;margin:0;display:grid;gap:7px;}
.azaku-season-ranking li{position:relative;min-width:0;}
.azaku-ranking-cover{display:block;position:relative;height:78px;border-radius:7px;overflow:hidden;}
.azaku-ranking-cover img{width:100%;height:100%;object-fit:cover;object-position:center 28%;}
.azaku-ranking-position{position:absolute;top:5px;left:5px;z-index:2;min-width:20px;height:20px;border-radius:50%;background:#000b;color:#fff;display:grid;place-items:center;font-size:11px;}
.azaku-season-ranking li>small{position:absolute;top:6px;right:6px;background:#000b;color:#fff;border-radius:5px;padding:2px 4px;font-size:10px;}
.azaku-poster-name{position:absolute;bottom:0;left:0;right:0;z-index:1;color:#fff!important;background:linear-gradient(transparent,#090a0fe8 42%);padding:26px 8px 8px;font-size:12px;line-height:1.25;text-align:left;font-weight:800;overflow-wrap:anywhere;}
.azaku-poster-name strong,.azaku-poster-name small,.azaku-poster-name .azaku-episode-caption{display:block;color:#fff!important;}
.azaku-poster-name strong{font-size:inherit;}
.azaku-poster-name small{font-size:11px;margin-top:3px;font-weight:700;}
.azaku-episode-caption{font-size:10px;margin-top:3px;font-weight:500;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.azaku-day-posters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.azaku-day-card{display:block;min-width:0;}
.azaku-day-art{display:block;position:relative;aspect-ratio:2/3;border-radius:9px;overflow:hidden;background:var(--panel-2);}
.azaku-day-art img{height:100%;width:100%;object-fit:cover;object-position:var(--azaku-focus,center 28%);}
.azaku-day-card:not(a){opacity:.82;}
.home-daily{margin:0!important;padding:0!important;}
.arcade-home-news{margin:18px 0 0!important;}
.arcade-showcase-heading,.section-heading{margin-bottom:10px!important;}
.arcade-showcase-heading h2,.section-heading h2{font-size:18px!important;}
.arcade-home-news .news-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;}
.arcade-home-news .news-card{display:grid!important;grid-template-columns:100px minmax(0,1fr);min-height:76px;padding:0!important;}
.arcade-home-news .news-art{width:100px!important;height:100%!important;min-height:76px;aspect-ratio:auto!important;}
.arcade-home-news .news-art img{height:100%;width:100%;object-fit:cover;}
.arcade-home-news .news-card-copy{padding:8px 10px!important;}
.arcade-home-news .news-card h2,.arcade-home-news .news-card h3{font-size:13px!important;margin:4px 0!important;line-height:1.35;}
.arcade-home-news .news-card p,.arcade-home-news .news-card-copy>.text-link{display:none!important;}
.home-discovery-layout{gap:var(--azaku-home-gap)!important;margin-top:20px;}
.home-discovery-layout .section{margin:0!important;}
.home-discovery-picks{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
.home-discovery-pick{display:block!important;position:relative;padding:0!important;height:auto!important;border-radius:9px;overflow:hidden;}
.home-discovery-pick .arcade-showcase-cover{display:block!important;aspect-ratio:2/3;width:100%!important;height:auto!important;}
.home-discovery-pick .arcade-showcase-cover img{width:100%;height:100%;object-fit:cover;object-position:var(--azaku-focus,center 28%);}
.home-discovery-pick>strong{position:absolute!important;bottom:0;left:0;right:0;color:#fff!important;padding:30px 8px 9px!important;background:linear-gradient(transparent,#0a0b10e8);font-size:12px!important;line-height:1.3;}
.home-discovery-layout .home-meeting{padding:10px!important;}
.portal-onboarding-banner{margin-top:12px!important;padding:10px!important;}
.anime-card .poster{position:relative!important;display:block;aspect-ratio:2/3!important;}
.anime-card .poster .poster-art{width:100%;height:100%;object-fit:cover;}
.anime-card .poster-bottom{top:6px;bottom:auto!important;left:6px;right:auto;padding:3px 5px;background:#000a;color:#fff;border-radius:4px;font-size:10px;}
.anime-card .card-copy:empty{display:none;}
.anime-card .card-copy{padding:5px 7px!important;}
.card-grid,.discovery-grid{gap:12px!important;}
.card-compare-link,[href*="azaku_view=compare"],[href*="azaku_view=guides"]{display:none!important;}
/* One stable Hero. The larger image blocks replace narrow text rows. */
.azaku-hero-wrap,.azaku-hero-slider,.azaku-hero-slider .home-slider-track,.azaku-hero-slider .home-slide{height:auto!important;max-height:none!important;min-height:0!important;}
.azaku-hero-slider .home-slider-track{display:block!important;}
.azaku-hero-slider .azaku-hero-v4-copy{padding:18px 20px!important;max-height:none!important;}
.azaku-hero-slider .azaku-hero-v4-title{font-size:clamp(26px,3vw,42px)!important;}
.azaku-hero-slider .azaku-hero-v4-calendar{flex-basis:42px!important;width:42px!important;height:42px!important;}
.azaku-hero-slider .azaku-hero-v4-subtitle{font-size:12px!important;margin:4px 0 0!important;}
.azaku-hero-slider .azaku-hero-v4-head{gap:10px!important;}
.azaku-hero-slider .azaku-hero-daily-layout{display:grid!important;grid-template-columns:minmax(140px,.8fr) minmax(0,1.2fr)!important;height:auto!important;min-height:0!important;margin:14px 0 0!important;gap:10px!important;align-items:start;}
.azaku-hero-slider .azaku-hero-daily-lead{display:block!important;height:auto!important;min-height:0!important;overflow:hidden;border-radius:9px;}
.azaku-hero-slider .azaku-hero-lead-art{display:block!important;width:100%!important;height:228px!important;position:relative!important;}
.azaku-hero-slider .azaku-hero-lead-art img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 28%;}
.azaku-hero-slider .azaku-hero-lead-text{display:block!important;padding:5px 7px!important;}
.azaku-hero-slider .azaku-hero-lead-text>strong,.azaku-hero-slider .azaku-hero-lead-label,.azaku-hero-slider .azaku-hero-lead-action{display:none!important;}
.azaku-hero-slider .azaku-hero-lead-text small{font-size:11px!important;}
.azaku-hero-slider .azaku-hero-rest-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;height:auto!important;gap:6px!important;}
.azaku-hero-slider .azaku-hero-rest-episode{display:block!important;position:relative!important;height:101px!important;min-height:0!important;padding:0!important;overflow:hidden;border-radius:6px;}
.azaku-hero-slider .azaku-hero-rest-episode[hidden]{display:none!important;}
.azaku-hero-slider .azaku-hero-rest-poster{display:block!important;width:100%!important;height:100%!important;position:relative!important;}
.azaku-hero-slider .azaku-hero-rest-poster img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 28%;}
.azaku-hero-slider .azaku-hero-rest-poster .azaku-poster-name{font-size:10px;line-height:1.2;padding:20px 5px 5px;}
.azaku-hero-slider .azaku-hero-rest-info{position:absolute!important;top:4px;left:4px;background:#000b;border-radius:4px;padding:2px 4px!important;}
.azaku-hero-slider .azaku-hero-rest-info strong,.azaku-hero-slider .azaku-hero-rest-arrow{display:none!important;}
.azaku-hero-slider .azaku-hero-rest-info small{font-size:9px!important;color:#fff!important;}
.azaku-hero-slider .azaku-hero-rest-title{font-size:11px!important;margin-bottom:5px;}
.azaku-hero-slider .azaku-hero-v4-character{width:31%!important;right:1%!important;top:-15px!important;height:calc(100% + 15px)!important;}
.azaku-hero-orbit{position:absolute;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;opacity:.35;pointer-events:none;animation:azaku-orbit-drift 9s ease-in-out infinite;}
.azaku-hero-orbit-a{top:15%;left:6%;}
.azaku-hero-orbit-b{bottom:14%;right:0;width:32px;height:16px;transform:rotate(-25deg);}
.azaku-hero-v4-feature:before{content:""!important;width:25px;height:25px;border:1px solid currentColor;border-radius:50%;opacity:.15!important;}
@keyframes azaku-orbit-drift{0%,100%{translate:0 0;}50%{translate:3px -5px;}}
:root[data-azaku-theme="light"] .azaku-hero-slider{--purple:#98742c;--blue:#876321;--accent:#98742c;background:#fff!important;border-color:#ddc99b!important;box-shadow:0 5px 18px #362b1510!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider .azaku-hero-v4-feature{background:linear-gradient(120deg,#fff 60%,#faf6ec)!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider .azaku-hero-v4-feature:after{background:radial-gradient(ellipse,#d4af3720,transparent 70%)!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider .azaku-hero-v4-title{color:#171717!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider .azaku-hero-v4-title em{color:#947026!important;background:linear-gradient(110deg,#795520,#d2b56e,#8b6525)!important;background-clip:text!important;-webkit-background-clip:text!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider :is(.azaku-hero-v4-calendar,.azaku-hero-v4-signature,.azaku-hero-rest-title,.azaku-hero-orbit){color:#98742c!important;filter:none!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider :is(.azaku-hero-v4-subtitle,.azaku-hero-lead-text,.azaku-hero-lead-text small){color:#444!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider .azaku-hero-v4-kicker{background:#181818!important;color:#fff!important;box-shadow:none!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider :is(.azaku-hero-personal-chip,.azaku-hero-v4-speech){background:#fff!important;color:#665020!important;border-color:#d6c69f!important;box-shadow:0 4px 10px #0000000a!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider .azaku-hero-v4-speech:after{background:#fff!important;border-color:#d6c69f!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider :is(.azaku-hero-rest-episode,.azaku-hero-daily-lead){background:#fff!important;border-color:#e5dcc7!important;box-shadow:none!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider :is(.azaku-hero-rest-pager button,.azaku-hero-rest-pager span){color:#332a1c!important;background:#fff!important;border-color:#d6c69f!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider .azaku-hero-orbit{color:#9873e8;}
@media(min-width:1400px){.azaku-day-posters{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media(max-width:1000px){.azaku-editorial-layout{grid-template-columns:minmax(0,1fr) 220px;}.azaku-day-posters{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:800px){
 .azaku-editorial-layout{grid-template-columns:1fr;}.azaku-season-sticky{position:static;max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr));}
 .azaku-season-ranking li:nth-child(n+4){display:none;}.azaku-ranking-cover{height:82px;}
 .home-discovery-layout{grid-template-columns:1fr!important;}.home-discovery-picks{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 .azaku-hero-slider .azaku-hero-v4-copy,.azaku-hero-slider .azaku-hero-v4-feature.azaku-has-mytsumi .azaku-hero-v4-copy{width:100%!important;padding:14px!important;}
 .azaku-hero-slider .azaku-hero-v4-head{min-height:128px;align-items:center!important;}
 .azaku-hero-slider .azaku-has-mytsumi .azaku-hero-v4-head{padding-right:34%;}
 .azaku-hero-slider .azaku-hero-v4-title{font-size:27px!important;}
 .azaku-hero-slider .azaku-hero-v4-calendar{display:none!important;}
 .azaku-hero-slider .azaku-hero-v4-badges{flex-wrap:wrap;}
 .azaku-hero-slider .azaku-hero-personal-chip{display:none!important;}
 .azaku-hero-slider .azaku-hero-v4-character{top:0!important;right:0!important;width:36%!important;height:145px!important;max-height:145px!important;}
 .azaku-hero-slider :is(.azaku-hero-v4-speech,.azaku-hero-v4-signature){display:none!important;}
 .azaku-hero-slider .azaku-hero-daily-layout{grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr)!important;margin-top:8px!important;}
 .azaku-hero-slider .azaku-hero-lead-art{height:155px!important;}
 .azaku-hero-slider .azaku-hero-rest-episode{height:139px!important;}
 .azaku-hero-slider .azaku-hero-rest-title{height:16px;}
 .azaku-hero-slider .azaku-hero-v4-subtitle{font-size:11px!important;}
}
@media(max-width:540px){
 .azaku-day-posters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.home-discovery-picks{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .azaku-notification-panel{position:fixed;left:8px;right:8px;top:calc(var(--wp-admin--admin-bar--height,0px) + 64px);width:auto;max-width:none;}
 .site-header .header-actions{gap:5px;}.site-header .header-inner{gap:8px;}.site-header .account-trigger-info{display:none;}
 .arcade-home-news .news-card{grid-template-columns:85px minmax(0,1fr);}.arcade-home-news .news-art{width:85px!important;}
 .azaku-poster-name{font-size:12px;}.azaku-hero-slider .azaku-hero-v4-title{font-size:24px!important;}
 .azaku-hero-slider .azaku-hero-v4-kicker{font-size:10px!important;padding:4px 7px!important;}
}
@media(prefers-reduced-motion:reduce){.azaku-hero-orbit{animation:none!important;}}
.azaku-notification-settings{border-top:1px solid var(--line);padding:8px 12px;font-size:11px;}
.azaku-notification-settings>summary{cursor:pointer;}
.azaku-notification-settings form{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 0 0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
.azaku-notification-settings .community-form-message{margin:0;width:100%;font-size:11px;}
.azaku-notification-friends{display:block;padding:8px 12px;border-bottom:1px solid var(--line);font-size:12px;color:inherit;}
.library-cover,.collection-cover{position:relative!important;overflow:hidden;}
.library-title-row h2,.collection-item-body h3{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.arcade-home-intro{margin-bottom:18px!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider .azaku-mytsumi{filter:drop-shadow(0 10px 12px #00000012)!important;}
:root[data-azaku-theme="light"] .azaku-hero-slider :is(.azaku-hero-rest-title strong,.azaku-hero-rest-title span,.azaku-hero-v4-empty){color:#595247!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider{background:#171320!important;border-color:#574276!important;box-shadow:0 6px 20px #0003!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider .azaku-hero-v4-feature{background:linear-gradient(120deg,#14111c 60%,#251b39)!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider :is(.azaku-hero-v4-title,.azaku-hero-rest-title strong){color:#f3edff!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider .azaku-hero-v4-title em{background:linear-gradient(110deg,#c6a2ff,#9daeff)!important;background-clip:text!important;-webkit-background-clip:text!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider :is(.azaku-hero-v4-subtitle,.azaku-hero-rest-title span,.azaku-hero-lead-text small){color:#c1b9d0!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider :is(.azaku-hero-daily-lead,.azaku-hero-rest-episode,.azaku-hero-personal-chip){background:#201929!important;border-color:#514263!important;}
:root:not([data-azaku-theme="light"]) .azaku-hero-slider .azaku-hero-v4-kicker span{color:#c6a2ff!important;}
@media(min-width:1101px){
 .azaku-hero-slider .azaku-hero-daily-layout{grid-template-columns:155px minmax(0,1fr)!important;}
 .azaku-hero-slider .azaku-hero-rest-items{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
 .azaku-hero-slider .azaku-hero-rest-episode{height:205px!important;}
}
@media(min-width:801px) and (max-width:1100px){.azaku-hero-slider .azaku-hero-daily-layout{grid-template-columns:145px minmax(0,1fr)!important;}}
