/* Centered Yoru identity and balanced quick-access composition. */
html,body{overflow-x:hidden;max-width:100%}
.entry{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:25px;padding-bottom:40px;gap:0;margin-inline:auto;min-height:calc(100vh - 120px)}
.entry-content{width:min(100%,590px);max-width:590px;margin:0 auto}
.entry-identity{display:flex;flex-direction:column;align-items:center;gap:11px;margin-bottom:19px}
.entry .entry-identity .brand{display:flex;justify-content:center;align-items:center;gap:12px;font-size:72px;font-weight:800;line-height:1;letter-spacing:-4px;margin:0;color:#faf7f0}
.entry .entry-identity .brand svg{width:61px;height:61px;fill:#e7ccb0;filter:drop-shadow(0 3px 12px #0002)}
.entry .entry-identity .brand b{display:none}
.entry-identity>span{font-size:10px;font-weight:600;letter-spacing:3.2px;color:#d3bc9f;margin-left:10px}
.entry h1{font-family:'DM Sans',sans-serif;font-size:21px;line-height:1.45;font-weight:400;letter-spacing:-.3px;margin:0 0 22px;max-width:none;color:#ddd7cc}
.entry .search-form{position:relative;max-width:590px;margin-inline:auto;text-align:left;min-height:57px;background:#202523e6;border-color:#ffffff24;box-shadow:0 8px 30px #0002;z-index:900}
.entry .search-form:focus-within,.entry .search-form:has(.search-dropdown:not([style*="none"])){z-index:10000}
.entry .search-dropdown{width:100%!important;max-width:100%!important;min-width:0!important;left:0!important;right:0!important;background:#13141cf8!important;backdrop-filter:blur(28px)!important;-webkit-backdrop-filter:blur(28px)!important;border:1px solid rgba(255,255,255,0.15)!important;border-radius:16px!important;box-shadow:0 24px 64px rgba(0,0,0,0.9),0 4px 16px rgba(0,0,0,0.5)!important;z-index:10001!important}
.entry .popular{position:relative;z-index:1;max-width:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px 9px;margin:15px auto 22px;font-size:12px}
.entry .popular>span{flex-basis:100%;font-size:11px;color:#a5a79c;margin-bottom:2px;letter-spacing:.03em;text-transform:uppercase;font-weight:700}
.entry .popular a{color:#ded7ce;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);border-radius:18px;padding:4px 11px;font-size:12px;text-decoration:none;transition:all .18s ease}
.entry .popular a:hover{background:rgba(173,138,255,0.18);border-color:rgba(173,138,255,0.45);color:#fff;transform:translateY(-1px)}
.entry-actions{position:relative;z-index:1;justify-content:center;gap:18px}.entry-actions .button{min-height:44px;padding:11px 25px}
.entry-collection{width:100%;max-width:1100px;margin:35px auto 0;text-align:left}
.entry-collection .section-head{margin-bottom:17px;padding-bottom:13px;border-bottom:1px solid #ffffff12}
.entry-collection .section-head h2{font-size:18px;font-weight:500;letter-spacing:-.3px}
.entry-collection .poster-grid{gap:18px}.entry-collection .poster{aspect-ratio:2/2.6}.entry-collection .card h3{font-size:13px}.entry-collection .card-meta{font-size:11px}
.entry:before{content:'';position:absolute;top:-120px;left:50%;right:auto;transform:translateX(-50%);width:100vw;height:calc(100% + 120px);background:linear-gradient(180deg,rgba(17,16,21,0.55) 0%,rgba(17,16,21,0.18) 25%,rgba(17,16,21,0.65) 65%,#15131a 100%),radial-gradient(ellipse at 50% 30%,rgba(17,21,21,0.05) 0%,rgba(17,21,21,0.85) 100%),url('assets/hero.jpg') center 32%/cover no-repeat;z-index:-2;pointer-events:none}
/* ── Live Atmospheric Background Video for Landing Page ── */
.entry-video-container{position:absolute;top:-120px;left:50%;transform:translateX(-50%);width:100vw;height:calc(100% + 120px);overflow:hidden;pointer-events:none;z-index:-1}
.entry-bg-video{width:100%;height:100%;object-fit:cover;object-position:center 40%;filter:blur(2px) brightness(0.76) saturate(1.12);transform:scale(1.02)}
.entry-video-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,16,21,0.52) 0%,rgba(17,16,21,0.16) 26%,rgba(17,16,21,0.68) 68%,#111015 100%),radial-gradient(ellipse at 50% 32%,rgba(17,16,21,0.08) 0%,rgba(17,16,21,0.72) 100%)}
/* ── Clean Live Wallpaper Section (Moonlit Meadow) ── */
.home-live-wallpaper{width:100%;max-width:1400px;margin:32px auto 20px;position:relative;z-index:2;box-sizing:border-box}
.wallpaper-frame{position:relative;width:100%;height:380px;border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,0.12);box-shadow:0 20px 60px rgba(0,0,0,0.6),0 0 35px rgba(100,140,255,0.08);background:#09090d}
.wallpaper-video{width:100%;height:100%;object-fit:cover;object-position:center 45%;filter:blur(1.5px) brightness(0.85) saturate(1.1);transform:scale(1.02);display:block}
.wallpaper-overlay{position:absolute;inset:0;border-radius:20px;background:radial-gradient(ellipse at 50% 50%,transparent 30%,rgba(12,11,16,0.4) 75%,rgba(12,11,16,0.85) 100%),linear-gradient(0deg,rgba(12,11,16,0.65) 0%,transparent 45%);display:flex;align-items:flex-end;justify-content:space-between;padding:26px 32px;pointer-events:none}
.wallpaper-badge{font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#ad8aff;background:rgba(173,138,255,0.14);border:1px solid rgba(173,138,255,0.3);border-radius:6px;padding:4px 10px;backdrop-filter:blur(10px)}
.wallpaper-kanji{font-family:'Hiragino Mincho ProN','Yu Mincho','Noto Serif JP',serif;font-size:32px;font-weight:900;color:rgba(255,255,255,0.65);text-shadow:0 0 16px rgba(173,138,255,0.5);line-height:1}
@media(max-width:768px){.wallpaper-frame{height:220px;border-radius:14px}.wallpaper-overlay{padding:16px 20px;border-radius:14px}.wallpaper-kanji{font-size:24px}}
/* ── Zero Border Gap Full Bleed for Spotlight Hero ── */
.page:has(#feature){padding-top:0}
#feature{position:relative;width:100%;margin-bottom:28px}
.feature-picture{position:absolute!important;top:-140px!important;bottom:-160px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:100vw!important;max-width:100vw!important;z-index:-1;pointer-events:none;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,0.85) 72%, rgba(0,0,0,0.35) 88%, transparent 100%);mask-image:linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,0.85) 72%, rgba(0,0,0,0.35) 88%, transparent 100%)}
.feature-picture img{width:100vw!important;max-width:100vw!important;height:100%!important;object-fit:cover!important;object-position:center 25%!important;image-rendering:-webkit-optimize-contrast;image-rendering:high-quality}
.feature-picture:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#111015f0 0%,#111015d0 32%,#11101540 58%,transparent 80%),linear-gradient(0deg,#111015 0%,#111015 24%,rgba(17,16,21,0.88) 45%,rgba(17,16,21,0.3) 70%,transparent 100%)}
body:has(.entry) .footer-inner{padding-top:22px;padding-bottom:20px}body:has(.entry) .footer-top{padding-bottom:15px}body:has(.entry) .footer-bottom{padding-top:14px}
@media(min-width:1600px){.entry{padding-top:32px;padding-bottom:42px}.entry-collection{max-width:1140px;margin-top:38px}.entry .entry-identity .brand{font-size:76px}.entry .entry-identity .brand svg{width:64px;height:64px}.entry h1{font-size:22px}}
@media(max-width:900px){.entry{padding-top:25px}.entry-collection{max-width:680px;margin-top:32px}.entry-collection .poster-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 16px}.entry .entry-identity .brand{font-size:66px}.entry .entry-identity .brand svg{width:55px;height:55px}.entry h1{font-size:20px}}
@media(max-width:600px){.entry{padding-top:22px;padding-bottom:30px}.entry-identity{gap:9px;margin-bottom:17px}.entry .entry-identity .brand{font-size:59px;letter-spacing:-3px;gap:9px}.entry .entry-identity .brand svg{width:49px;height:49px}.entry-identity>span{font-size:9px;letter-spacing:2.7px}.entry h1{font-size:18px;margin:0 0 19px;letter-spacing:-.1px}.entry .search-form{min-height:53px}.entry .popular{gap:5px 10px;margin:12px 0 20px;font-size:11px}.entry .popular>span{font-size:10px}.entry-actions{gap:16px}.entry-actions .button{padding:10px 19px;font-size:13px;min-height:42px}.entry-explore{font-size:12px}.entry-collection{margin-top:28px}.entry-collection .section-head h2{font-size:17px}.entry-collection .section-head a{font-size:11px}.entry-collection .poster-grid{gap:20px 12px}.entry-collection .poster{aspect-ratio:2/2.8}.entry-collection .card h3{font-size:12px}.entry-collection .card-meta{font-size:10px}.entry:before{background-position:60% center}}

/* ── Live Comments Carousel (Anixo Inspired) ── */
.live-comments-section {
  margin: 36px 0 28px;
  position: relative;
}
.live-comments-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.live-comments-bar {
  width: 4px;
  height: 20px;
  background: #3b82f6;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(59,130,246,0.6);
}
.live-comments-head h2 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: live-pulse-anim 2s infinite ease-in-out;
}
@keyframes live-pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}
.live-comments-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  background: rgba(18,17,23,0.75);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
}
.live-comments-mascot {
  flex-shrink: 0;
  width: 75px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.live-comments-mascot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}
.live-comments-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  flex: 1;
}
.live-comment-card {
  flex: 0 0 250px;
  background: rgba(26,25,34,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.live-comment-card:hover {
  transform: translateY(-2px);
  border-color: rgba(173,138,255,0.4);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.live-comment-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
  border: 1px solid rgba(255,255,255,0.15);
}
.live-comment-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.live-comment-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.live-comment-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-comment-badge {
  color: #10b981;
  font-size: 11px;
}
.live-comment-time {
  font-size: 10px;
  color: #8e8b9e;
}
.live-comment-anime {
  font-size: 11px;
  color: #ad8aff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(173,138,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  max-width: 100%;
}
.live-comment-body {
  font-size: 12px;
  color: #d1d5db;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ── Stream Bar & Server Controls (Image 3 Features) ── */
.stream-bar-container {
  background: #14131a;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.stream-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stream-bar-streams-count {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ad8aff;
}
.stream-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.stream-action-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d1d5db;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .2s;
}
.stream-action-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.stream-action-btn.active {
  background: rgba(173,138,255,0.18);
  color: #ad8aff;
  border-color: rgba(173,138,255,0.4);
}
.stream-bar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 12px;
}
.stream-watching-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stream-watching-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.stream-watching-hint {
  font-size: 11px;
  color: #8e8b9e;
  letter-spacing: .5px;
}
.stream-selectors {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stream-lang-group, .stream-server-group {
  display: flex;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.stream-pill-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: all .15s;
}
.stream-pill-btn:hover {
  color: #fff;
}
.stream-pill-btn.active {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,0.35);
}
.stream-community-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.stream-comm-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s;
}
.stream-comm-btn.discord {
  background: #5865f2;
  color: #fff;
}
.stream-comm-btn.kofi {
  background: #ff5e5b;
  color: #fff;
}
.stream-comm-btn:hover {
  transform: translateY(-1px);
}

/* ── Episode Comments Section ── */
.ep-comments-section {
  background: #14131a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px;
  margin-top: 28px;
}
.ep-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ep-comments-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.ep-comments-count {
  color: #ad8aff;
  font-size: 14px;
  margin-left: 6px;
}
.ep-comments-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
}
.ep-comments-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
  outline: none;
  min-height: 55px;
}
.ep-comments-form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 10px;
}
.ep-comment-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ep-comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #252430;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
}
.ep-comment-content {
  flex: 1;
}
.ep-comment-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.ep-comment-username {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.ep-comment-time {
  font-size: 11px;
  color: #8e8b9e;
}
.ep-comment-text {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.45;
  margin: 0 0 6px;
}
.ep-comment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ep-like-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all .15s;
}
.ep-like-btn:hover, .ep-like-btn.liked {
  color: #f43f5e;
  background: rgba(244,63,94,0.1);
}

/* ── Watch Party Modal ── */
.watch-party-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.watch-party-box {
  background: #171620;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.watch-party-box h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.watch-party-link-box {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.watch-party-input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-family: monospace;
}

/* ── Theater & Focus Mode ── */
body.theater-mode .watch-layout-anixo {
  grid-template-columns: 1fr !important;
}
body.theater-mode .watch-ep-aside {
  order: 2;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 24px;
}
body.focus-mode {
  background: #060608 !important;
}
body.focus-mode .top-bar,
body.focus-mode .footer,
body.focus-mode .ep-comments-section,
body.focus-mode .crumbs,
body.focus-mode .watch-info {
  opacity: 0.15;
  transition: opacity .3s ease;
}
body.focus-mode .top-bar:hover,
body.focus-mode .footer:hover,
body.focus-mode .ep-comments-section:hover,
body.focus-mode .watch-info:hover {
  opacity: 1;
}

/* ── Revamped Continue Watching Section ── */
.cw-section {
  position: relative;
  z-index: 5;
  margin: 28px 0 36px;
  background: rgba(18, 16, 25, 0.45) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  border: 1px solid rgba(173, 138, 255, 0.16) !important;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.6), 0 0 30px rgba(173, 138, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cw-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cw-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cw-accent-bar {
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #ad8aff, #6366f1);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(173, 138, 255, 0.7);
  flex-shrink: 0;
}
.cw-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ad8aff;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.cw-title-texts h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cw-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}
.cw-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cw-clear-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}
.cw-clear-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.35);
}
.cw-mylist-link {
  font-size: 12px;
  color: #ad8aff;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  text-decoration: none;
}
.cw-mylist-link:hover {
  color: #fff;
}
.cw-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(173, 138, 255, 0.3) transparent;
}
.cw-row::-webkit-scrollbar {
  height: 5px;
}
.cw-row::-webkit-scrollbar-thumb {
  background: rgba(173, 138, 255, 0.25);
  border-radius: 3px;
}
.cw-card-wrap {
  position: relative;
  flex: 0 0 175px;
  min-width: 175px;
  transition: transform .2s ease;
}
.cw-card-wrap:hover {
  transform: translateY(-4px);
}
.cw-dismiss-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 10;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(17, 16, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #9ca3af;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s, color .2s;
}
.cw-card-wrap:hover .cw-dismiss-btn {
  opacity: 1;
}
.cw-dismiss-btn:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
.cw-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
.cw-thumb {
  position: relative;
  aspect-ratio: 2/2.75;
  border-radius: 12px;
  overflow: hidden;
  background: #14131a;
  border: 1px solid rgba(173, 138, 255, 0.16);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  transition: border-color .25s, box-shadow .25s;
}
.cw-card-wrap:hover .cw-thumb {
  border-color: rgba(173, 138, 255, 0.5);
  box-shadow: 0 12px 36px rgba(173, 138, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.6);
}
.cw-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.cw-card-wrap:hover .cw-thumb img {
  transform: scale(1.05);
}
.cw-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.7);
}
.cw-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ad8aff, #6366f1);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(173, 138, 255, 0.8);
}
.cw-ep-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(17, 16, 21, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
}
.cw-pct-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(17, 16, 21, 0.88);
  backdrop-filter: blur(8px);
  color: #ad8aff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.cw-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(10, 9, 14, 0.65);
  opacity: 0;
  transition: opacity .2s ease;
  backdrop-filter: blur(2px);
}
.cw-card-wrap:hover .cw-play-overlay {
  opacity: 1;
}
.cw-play-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ad8aff;
  color: #111015;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(173, 138, 255, 0.6);
}
.cw-play-circle svg {
  width: 18px;
  height: 18px;
  fill: #111015;
  stroke: #111015;
}
.cw-play-label {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.cw-info {
  padding: 8px 2px 2px;
}
.cw-info h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.cw-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca3af;
}
.cw-ep-indicator {
  color: #9ca3af;
  font-size: 11px;
}
.cw-resume-btn {
  color: #ad8aff;
  font-weight: 700;
  font-size: 11px;
  background: rgba(173, 138, 255, 0.12);
  border: 1px solid rgba(173, 138, 255, 0.28);
  padding: 2px 9px;
  border-radius: 999px;
  transition: all .2s ease;
}
.cw-card-wrap:hover .cw-resume-btn {
  background: #ad8aff;
  color: #0e0c13;
  border-color: #ad8aff;
  box-shadow: 0 0 12px rgba(173, 138, 255, 0.6);
}

/* ── Top Priority Newest Anime Section ── */
.newest-anime-section {
  position: relative;
  z-index: 4;
  margin: 36px 0 32px;
}
.section-head-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gold-accent {
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #f59e0b, #eab308);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  flex-shrink: 0;
}
.section-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #eab308;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.section-title-texts h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.newest-pulse-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #eab308;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 6px;
  padding: 2px 8px;
  vertical-align: middle;
}
.newest-year-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #eab308, #d97706);
  color: #000;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
@media(max-width: 600px) {
  .cw-card-wrap {
    flex: 0 0 145px;
    min-width: 145px;
  }
  .cw-title-texts h2 {
    font-size: 17px;
  }
  .section-title-texts h2 {
    font-size: 18px;
  }
}

/* ── Header Time & Greeting Widget (Superdesign) ── */
.header-time-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 2px;
}
.header-time-greeting:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.18);
  transform: translateY(-1px);
}
.header-time-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.45));
}
.header-time-clock {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f59e0b;
  letter-spacing: 0.3px;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}
.header-time-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  margin: 0 1px;
}
.header-time-text {
  color: #d8e2ea;
  font-weight: 500;
  letter-spacing: 0.15px;
}

@media (max-width: 900px) {
  .header-time-greeting {
    padding: 5px 10px;
    font-size: 12px;
    gap: 6px;
  }
}
@media (max-width: 680px) {
  .header-time-sep,
  .header-time-text {
    display: none;
  }
}
@media (max-width: 480px) {
  .header-time-greeting {
    display: none;
  }
}

/* Unreleased / Upcoming Anime Stage */
.connected-player.unreleased-player {
  aspect-ratio: auto !important;
  min-height: auto !important;
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.08), transparent 70%), #0d0e14 !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  border-radius: 16px;
  padding: 36px 24px !important;
  display: block !important;
  overflow: visible !important;
  position: relative !important;
}
.connected-player.unreleased-player #player-stage {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
}
.player-empty.unreleased-empty {
  height: auto !important;
  padding: 0 !important;
  max-width: 640px;
  margin: 0 auto;
}
.unreleased-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}
.player-empty.unreleased-empty h2 {
  font-size: 26px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 12px;
  line-height: 1.35;
}
.player-empty.unreleased-empty p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 24px;
}
.unreleased-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.unreleased-schedule-card {
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.unreleased-cal-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.unreleased-schedule-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 8px;
}
.unreleased-schedule-card p {
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 16px;
}

@media (max-width: 680px) {
  .connected-player.unreleased-player {
    min-height: auto;
    padding: 24px 16px !important;
  }
  .player-empty.unreleased-empty h2 {
    font-size: 19px;
  }
  .player-empty.unreleased-empty p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .unreleased-badge {
    font-size: 11px;
    padding: 5px 12px;
  }
  .unreleased-actions {
    flex-direction: column;
    width: 100%;
    gap: 9px;
  }
  .unreleased-actions .button {
    width: 100%;
    justify-content: center;
  }
}
