/*
Theme Name: anime-majikoi
Theme URI: https://example.com/
Author: Theme Redesign
Description: Anime Majikoi streaming layout with aurora glass styling, revised anime SEO copy, and refreshed archive presentation.
Version: 2.4.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: anime-majikoi
Tags: anime, streaming, responsive, bootstrap, dark
*/

/* ====== Anime Majikoi System ====== */
:root{
  --cc-bg:#070707;
  --cc-surface:#0f0f0f;
  --cc-surface2:#141414;
  --cc-text:#eaeaea;
  --cc-muted:#a7a7b2;

  /* Accent */
  --cc-accent:#ff4d00;
  --cc-accent2:#ff1f1f;
  --cc-redbar:linear-gradient(180deg,var(--cc-accent),var(--cc-accent2));
  --cc-metal:linear-gradient(180deg,#151515 0%, #0b0b0b 45%, #121212 100%);
  --cc-border:rgba(255,255,255,.08);
  --cc-shadow:0 10px 25px rgba(0,0,0,.55);

  /* Card premium vars */
  --cc-radius: 18px;
  --cc-border2: rgba(255,255,255,.10);
  --cc-border-strong: rgba(255,255,255,.16);
  --cc-shadow2: 0 22px 60px rgba(0,0,0,.60);
  --cc-shadow-hover: 0 34px 90px rgba(0,0,0,.72);
  --cc-accent1: #ff4d00;
  --cc-accent2b: #ff1f1f;
  --cc-gold: #f5c518;

  /* MOMAX header vars */
  --mx-bg:#0b0b0b;
  --mx-line:rgba(255,255,255,.08);
  --mx-t:#fff;
  --mx-m:rgba(255,255,255,.72);
  --mx-ac1:#ff2d1a;
  --mx-ac2:#ff7a00;
  --mx-shadow:0 18px 45px rgba(0,0,0,.55);
}

/* ===== Base ===== */
html, body{ background-color: var(--cc-bg); }
html, body{ max-width:100%; overflow-x:hidden; }

body{
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #000 0%, var(--cc-bg) 35%, #000 100%);
  color:var(--cc-text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Kanit", "Segoe UI", Arial, sans-serif;
  padding-top: 88px; /* เผื่อ MOMAX fixed header */
}

a{ color:#fff; text-decoration:none; }
a:hover{ color:#fff; text-decoration:none; }

/* =========================================================
   ✅ ตัด CSS header เก่าออก (เหลือแค่ MOMAX)
   - ถ้า markup เก่าหลงเหลือ จะถูกซ่อนไว้ไม่ให้ชน
   ========================================================= */
.cc-topbar,
.cn-nav,
.cc-tabs,
.cc-topnav{
  display:none !important;
}

/* =========================================================
   ✅ MOMAX-STYLE HEADER (Anime) - v1 (ONLY)
   ========================================================= */
.mx-header{
  position:fixed;
  inset:0 0 auto 0;
  height:88px;
  background:linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,.35));
  backdrop-filter:saturate(120%) blur(6px);
  -webkit-backdrop-filter:saturate(120%) blur(6px);
  z-index:9999;
  border-bottom:1px solid transparent;
  transition:all .22s ease;
}
.mx-header.is-solid{
  background:#000;
  border-bottom:1px solid var(--mx-line);
}
.mx-header.is-shrink{ height:72px; }
.mx-header.is-shrink .mx-wrap{ height:72px; }

.mx-wrap{
  max-width:1280px;
  margin:0 auto;
  height:88px;
  padding:0 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.mx-left{display:flex; align-items:center; gap:28px; min-width:0;}
.mx-brand{display:flex; flex-direction:column; line-height:1; text-decoration:none; min-width:0;}
.mx-brand-mark{
  font-weight:900;
  letter-spacing:.8px;
  color:#fff;
  font-size:16px;
}
.mx-brand-mark:first-child{color:var(--mx-ac1);}

.mx-nav{display:flex; align-items:center; gap:20px; min-width:0;}
.mx-link, .mx-dd-btn{
  color:var(--mx-t);
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  padding:12px 8px;
  border:0;
  background:transparent;
  cursor:pointer;
  opacity:.92;
  position:relative;
  white-space:nowrap;
}
.mx-link:hover, .mx-dd:hover .mx-dd-btn, .mx-dd.is-open .mx-dd-btn{opacity:1;}

.mx-link::after, .mx-dd-btn::after{
  content:"";
  position:absolute;
  left:6px; right:6px; bottom:6px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--mx-ac1),var(--mx-ac2));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}
.mx-link:hover::after,
.mx-dd:hover .mx-dd-btn::after,
.mx-dd.is-open .mx-dd-btn::after{transform:scaleX(1);}
.mx-caret{font-size:12px; opacity:.8; margin-left:6px;}

.mx-right{display:flex; align-items:center; gap:14px;}
.mx-ico{
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid var(--mx-line);
  background:rgba(255,255,255,.03);
  color:#fff;
  display:grid; place-items:center;
  cursor:pointer;
}
.mx-ico:hover{border-color:rgba(255,255,255,.18);}

.mx-btn{
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  white-space:nowrap;
}
.mx-btn-primary{
  background:linear-gradient(90deg,var(--mx-ac1),var(--mx-ac2));
  color:#fff;
  box-shadow:0 10px 30px rgba(255,70,0,.18);
}
.mx-btn-ghost{
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  background:rgba(255,255,255,.03);
}
.mx-btn-ghost:hover{border-color:rgba(255,255,255,.35);}

.mx-dd{position:relative;}
.mx-dd-panel{
  position:absolute;
  top:54px; left:0;
  min-width:190px;
  max-width: calc(100vw - 24px);
  background:#0b0b0b;
  border:1px solid var(--mx-line);
  border-radius:12px;
  box-shadow:var(--mx-shadow);
  padding:10px;
  display:none;
  overflow:hidden;
}
.mx-dd.is-open .mx-dd-panel{display:block;}
.mx-dd-panel a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:rgba(255,255,255,.88);
  text-decoration:none;
  font-weight:600;
  font-size:13px;
}
.mx-dd-panel a:hover{background:rgba(255,255,255,.06); color:#fff;}

.mx-mega{position:relative;}
.mx-mega-panel{
  position:absolute;
  top:54px;
  left:50%;
  transform:translateX(-50%);
  width:620px;
  max-width: min(760px, calc(100vw - 28px));
  background:#0b0b0b;
  border:1px solid var(--mx-line);
  border-radius:14px;
  box-shadow:var(--mx-shadow);
  padding:16px;
  display:none;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  overflow:hidden;
}
.mx-dd.is-open.mx-mega .mx-mega-panel{display:grid;}
.mx-mega-title{
  font-size:12px;
  font-weight:800;
  letter-spacing:.5px;
  color:rgba(255,255,255,.55);
  padding:4px 10px 8px;
}
.mx-mega-col a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:rgba(255,255,255,.86);
  text-decoration:none;
  font-weight:600;
  font-size:13px;
}
.mx-mega-col a:hover{background:rgba(255,255,255,.06); color:#fff;}

.mx-burger{
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid var(--mx-line);
  background:rgba(255,255,255,.03);
  display:none;
  cursor:pointer;
  position:relative;
}
.mx-burger span{
  position:absolute;
  left:11px; right:11px;
  height:2px;
  background:#fff;
  border-radius:999px;
}
.mx-burger span:nth-child(1){top:14px;}
.mx-burger span:nth-child(2){top:20px; opacity:.9;}
.mx-burger span:nth-child(3){top:26px; opacity:.85;}

.mx-drawer{position:fixed; inset:0; z-index:9998; display:none;}
.mx-drawer.is-open{display:block;}
.mx-drawer-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.62);}
.mx-drawer-panel{
  position:absolute;
  top:0; right:0;
  width:min(360px, 92vw);
  height:100%;
  background:#0b0b0b;
  border-left:1px solid var(--mx-line);
  box-shadow:var(--mx-shadow);
  padding:16px;
  display:flex;
  flex-direction:column;
}
.mx-drawer-head{display:flex; align-items:center; justify-content:space-between; padding:6px 2px 12px;}
.mx-drawer-title{color:#fff; font-weight:800; letter-spacing:.2px;}
.mx-drawer-close{
  width:40px; height:40px;
  border-radius:12px;
  border:1px solid var(--mx-line);
  background:rgba(255,255,255,.03);
  color:#fff;
  cursor:pointer;
}
.mx-drawer-body{display:flex; flex-direction:column; gap:8px; padding-top:6px;}
.mx-drawer-body a{
  padding:12px 12px;
  border-radius:12px;
  color:rgba(255,255,255,.9);
  text-decoration:none;
  font-weight:700;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
}
.mx-drawer-body a:hover{border-color:rgba(255,255,255,.14); background:rgba(255,255,255,.05);}
.mx-drawer-actions{display:grid; gap:10px; margin-top:12px;}
.mx-drawer-actions .mx-btn{width:100%;}

.mx-search{position:fixed; inset:0; z-index:9999; display:none;}
.mx-search.is-open{display:block;}
.mx-search-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.72);}
.mx-search-modal{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(760px, 92vw);
  background:#0b0b0b;
  border:1px solid var(--mx-line);
  border-radius:18px;
  box-shadow:var(--mx-shadow);
  padding:18px 18px 22px;
}
.mx-search-close{
  position:absolute;
  top:12px; right:12px;
  width:40px; height:40px;
  border-radius:12px;
  border:1px solid var(--mx-line);
  background:rgba(255,255,255,.03);
  color:#fff;
  cursor:pointer;
}
.mx-search-title{color:#fff; font-size:18px; font-weight:900; letter-spacing:.2px; margin:8px 6px 14px;}
.mx-search-form{display:flex; gap:10px; padding:0 6px;}
.mx-search-form input{
  flex:1;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:#070707;
  color:#fff;
  padding:0 14px;
  outline:none;
}
.mx-search-form button{
  height:46px;
  border-radius:14px;
  border:0;
  padding:0 16px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(90deg,var(--mx-ac1),var(--mx-ac2));
}
.mx-search-hint{color:rgba(255,255,255,.6); font-size:12px; padding:12px 8px 0;}

@media (max-width: 992px){
  .mx-nav{display:none;}
  .mx-btn-primary, .mx-btn-ghost{display:none;}
  .mx-burger{display:inline-block;}
  .mx-wrap{padding:0 16px;}
  .mx-dd-panel, .mx-mega-panel{display:none !important;}
}

/* =========================================================
   Sections
   ========================================================= */
.cn-section{ padding:18px 0; }


/* ===== Carousel frame ===== */
.cc-frame{
  border-radius:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,.10);
  background:#000; /* ✅ ดำสนิท */
  box-shadow: 0 20px 60px rgba(0,0,0,.62);
  position:relative;
}
.cc-frame:before,
.cc-frame:after{ content:none !important; } /* กัน gradient เก่าชน */

.cc-rail{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  padding:4px 4px 10px;
}
.cc-rail::-webkit-scrollbar{ height:8px; }
.cc-rail::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.18); border-radius:99px; }
.cc-rail > *{ scroll-snap-align:start; }

.cc-rail-wrap{ position:relative; }
.cc-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:80px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(0,0,0,.55);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
}
.cc-arrow:hover{ background:rgba(0,0,0,.75); }
.cc-arrow.left{ left:-10px; }
.cc-arrow.right{ right:-10px; }
@media(max-width:768px){ .cc-arrow{ display:none; } }

/* =========================================================
   ✅ PREMIUM CARD (cc-card) (ใช้กับ template ที่คุณส่ง)
   - แก้บัคพากย์ไทย/IMDb (ไม่ล้น / ไม่เพี้ยนตำแหน่ง)
   ========================================================= */
.cc-card{ width:196px; flex:0 0 auto; }
@media (max-width:768px){ .cc-card{ width:160px; } }

.cc-card-link{
  display:block;
  text-decoration:none;
  color:#fff;
  border-radius: var(--cc-radius);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--cc-border2);
  box-shadow: var(--cc-shadow2);
  transform: translateZ(0);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cc-card-link::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(320px 240px at 20% 10%, rgba(255,122,0,.22), transparent 60%),
    radial-gradient(360px 240px at 90% 0%, rgba(255,45,26,.16), transparent 62%);
  opacity: 0;
  transition: opacity .18s ease;
}
.cc-card-link::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%);
  opacity: 1;
}
.cc-card-link:hover{
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255,122,0,.40);
  box-shadow: var(--cc-shadow-hover);
}
.cc-card-link:hover::before{ opacity: 1; }

.cc-poster{
  position:relative;
  aspect-ratio: 2/3;
  overflow:hidden;
  background:#000;
}
.cc-poster-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.01);
  filter: contrast(1.02) saturate(1.06);
  transition: transform .25s ease, filter .25s ease;
}
.cc-card-link:hover .cc-poster-img{
  transform: scale(1.06);
  filter: contrast(1.06) saturate(1.12);
}
.cc-poster-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 40%),
    linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,0) 55%);
  pointer-events:none;
}

/* top badges */
.cc-topbadge{
  position:absolute;
  top:10px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}
.cc-hd{
  left:10px;
  background: linear-gradient(180deg, #ff0038, #550009);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 10px 26px rgba(255,0,56,.18);
}
.cc-year{
  right:10px;
  background: rgb(28 28 28);
}

/* ✅ bottom pills: ใช้ grid กันบัค/ล้น */
.cc-bottom-pills{
  position:absolute;
   /* left:10px; */
  /* right:10px; */
  bottom:10px;
  z-index:5;

  display:grid !important;
  grid-template-columns: 1fr auto !important;
  align-items:center !important;
  gap:8px !important;

  padding:8px 10px;
  border-radius:14px;

  background: rgba(0,0,0,.60);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);

  overflow:hidden;
}
.cc-sound{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:26px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.2px;

  background: linear-gradient(227deg, #3b469b, #ffff98ba);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(255,77,0,.14);

  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cc-imdbpill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  height:26px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.cc-imdb-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background: var(--cc-gold);
  box-shadow: 0 0 0 2px rgba(245,197,24,.18);
}

@media (max-width:480px){
  .cc-bottom-pills{ gap:6px; padding:7px 8px; }
  .cc-sound, .cc-imdbpill{ height:24px; padding:0 9px; font-size:10.5px; }
}

/* hover panel */
.cc-hoverpanel{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:12px 12px 54px;
  display:flex;
  flex-direction:column;
  gap:10px;

  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.92) 100%);
  opacity:0;
  transform: translateY(10px);
  transition: all .18s ease;
  pointer-events:none;
}
.cc-card-link:hover .cc-hoverpanel{ opacity:1; transform: translateY(0); }

.cc-hover-title{
  font-size:13px;
  font-weight:900;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  opacity:.95;
}
.cc-hover-actions{ display:flex; align-items:center; gap:8px; }
.cc-hover-btn{
  height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.55);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  user-select:none;
  pointer-events:auto;
}
.cc-play{
  background: linear-gradient(180deg, var(--cc-accent1), var(--cc-accent2b));
  border-color: rgba(255,255,255,.16);
}
.cc-add{
  width:36px;
  padding:0;
  background: rgba(255,255,255,.08);
}
.cc-add:hover{ transform: translateY(-1px); background: rgba(255,255,255,.12); }

.cc-title-panel{ display:none; }

/* =========================================================
   Home layout (ตามเดิม)
   ========================================================= */
.cc-home-grid{
  display:block !important;
}
.cc-home-grid > aside{
  display:none !important;
}

/* Hide original RedFlix hero styles if any */
.cn-hero, .cn-section-title, .cn-btn, .cn-btn-ghost{ all:unset; }

/* ==========================================================
   BIG-SITE FOOTER 2026 (Premium)
   - ใช้กับ markup: .cn-footer.cn-footer-2026
   - วางท้ายไฟล์ CSS เพื่อ override ของเดิม
   ========================================================== */

/* Footer shell */
.cn-footer.cn-footer-2026{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(255, 75, 0, .18), rgba(0,0,0,0) 60%),
    radial-gradient(900px 420px at 88% 0%, rgba(255, 0, 60, .12), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.10) 35%, rgba(0,0,0,.35) 100%),
    #07070a;
  border-top:1px solid rgba(255,255,255,.10);
  margin-top:44px;
}

.cn-footer.cn-footer-2026::before{
  content:"";
  position:absolute;
  inset:-220px -220px auto -220px;
  height:520px;
  pointer-events:none;
  background:
    radial-gradient(360px 220px at 18% 40%, rgba(255, 40, 0, .30), rgba(0,0,0,0) 70%),
    radial-gradient(420px 260px at 55% 15%, rgba(255, 120, 0, .22), rgba(0,0,0,0) 72%),
    radial-gradient(420px 260px at 85% 45%, rgba(255, 0, 120, .16), rgba(0,0,0,0) 72%);
  filter: blur(2px);
  opacity:.95;
}

.cn-footer.cn-footer-2026::after{
  content:"";
  position:absolute;
  inset:auto -180px -220px -180px;
  height:460px;
  pointer-events:none;
  background:
    radial-gradient(520px 320px at 40% 40%, rgba(255, 90, 0, .14), rgba(0,0,0,0) 70%),
    radial-gradient(520px 320px at 70% 60%, rgba(255, 0, 60, .10), rgba(0,0,0,0) 72%);
  opacity:.9;
}

.cn-footer.cn-footer-2026 .cn-footer-wrap{
  position:relative;
  z-index:1;
  max-width:1200px;
  margin:0 auto;
  padding:40px 18px 18px;
}

/* Grid */
.cn-footer.cn-footer-2026 .cn-footer-grid{
  display:grid;
  grid-template-columns: 2.1fr 1fr 1fr 1fr 1fr;
  gap:26px;
  align-items:start;
}

/* Brand block */
.cn-footer.cn-footer-2026 .cn-footer-brandbox{
  padding-right:10px;
}

.cn-footer.cn-footer-2026 .cn-footer-logo{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.cn-footer.cn-footer-2026 .cn-logo-mark{
  width:38px;
  height:38px;
  border-radius:12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0)),
    linear-gradient(135deg, #ff2d00, #ff7a00);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 30px rgba(0,0,0,.55), 0 0 28px rgba(255,90,0,.18);
}

.cn-footer.cn-footer-2026 .cn-logo-text{
  font-weight:900;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:#fff;
  font-size:16px;
}

.cn-footer.cn-footer-2026 .cn-footer-desc{
  color: rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.75;
  max-width:460px;
}

.cn-footer.cn-footer-2026 .cn-footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:16px;
  padding:11px 14px;
  border-radius:14px;
  color:#fff;
  font-weight:900;
  letter-spacing:.2px;
  background: linear-gradient(90deg, rgba(255,45,0,.95), rgba(255,122,0,.95));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 45px rgba(255,70,0,.16), 0 14px 30px rgba(0,0,0,.6);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.cn-footer.cn-footer-2026 .cn-footer-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(255,70,0,.22), 0 14px 30px rgba(0,0,0,.62);
}

/* Column title */
.cn-footer.cn-footer-2026 .cn-footer-title{
  margin:0 0 12px 0;
  font-size:12px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  font-weight:900;
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.60));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Links */
.cn-footer.cn-footer-2026 .cn-footer-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cn-footer.cn-footer-2026 .cn-footer-links a{
  color: rgba(255,255,255,.74);
  font-size:13px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition: color .15s ease, transform .15s ease;
}

.cn-footer.cn-footer-2026 .cn-footer-links a::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 2px rgba(0,0,0,.35) inset;
}

.cn-footer.cn-footer-2026 .cn-footer-links a:hover{
  color:#fff;
  transform: translateX(2px);
}
.cn-footer.cn-footer-2026 .cn-footer-links a:hover::before{
  background: linear-gradient(135deg, #ff2d00, #ff7a00);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 0 18px rgba(255,90,0,.18);
}

/* Divider between grid and extras */
.cn-footer.cn-footer-2026 .cn-footer-extras{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:22px;
  padding:22px 0 8px;
}

.cn-footer.cn-footer-2026 .cn-footer-extras-inner{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:start;
}

/* small titles */
.cn-footer.cn-footer-2026 .cn-footer-title--small{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:900;
  margin:0 0 10px;
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.55));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Tag cloud */
.cn-footer.cn-footer-2026 .cn-tag-cloud,
.cn-footer.cn-footer-2026 .cn-top-searches{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.cn-footer.cn-footer-2026 .cn-tag,
.cn-footer.cn-footer-2026 .cn-search-pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
  max-width: 260px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

/* tags = glass */
.cn-footer.cn-footer-2026 .cn-tag{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}
.cn-footer.cn-footer-2026 .cn-tag:hover{
  transform: translateY(-1px);
  border-color: rgba(255,90,0,.30);
  box-shadow: 0 0 28px rgba(255,90,0,.12), 0 12px 26px rgba(0,0,0,.35);
}

/* searches = warm accent */
.cn-footer.cn-footer-2026 .cn-search-pill{
  background: linear-gradient(90deg, rgba(255,45,0,.14), rgba(255,120,0,.10));
}
.cn-footer.cn-footer-2026 .cn-search-pill:hover{
  transform: translateY(-1px);
  border-color: rgba(255,90,0,.26);
  box-shadow: 0 0 28px rgba(255,90,0,.10), 0 12px 26px rgba(0,0,0,.35);
}

/* Bottom bar */
.cn-footer.cn-footer-2026 .cn-footer-bottombar{
  margin-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
  padding:16px 0;
}

.cn-footer.cn-footer-2026 .cn-footer-bottombar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

/* Mini brand */
.cn-footer.cn-footer-2026 .cn-footer-mini-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-weight:900;
}

.cn-footer.cn-footer-2026 .cn-mini-mark{
  width:22px;
  height:22px;
  border-radius:8px;
  background: linear-gradient(135deg,#ff2d00,#ff7a00);
  box-shadow:0 0 22px rgba(255,90,0,.18), inset 0 0 0 1px rgba(0,0,0,.35);
}

.cn-footer.cn-footer-2026 .cn-mini-text{
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  opacity:.92;
}

/* Social */
.cn-footer.cn-footer-2026 .cn-footer-social{
  display:flex;
  align-items:center;
  gap:10px;
}

.cn-footer.cn-footer-2026 .cn-social{
  width:38px;
  height:38px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  font-weight:900;
  font-size:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.cn-footer.cn-footer-2026 .cn-social:hover{
  transform: translateY(-1px);
  border-color: rgba(255,90,0,.26);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 26px rgba(255,90,0,.12), 0 12px 22px rgba(0,0,0,.35);
}

/* Copyright */
.cn-footer.cn-footer-2026 .cn-footer-copy{
  color: rgba(255,255,255,.62);
  font-size:12px;
}

/* ==========================================================
   Scroll-to-top (Ultra Premium) - Right Floating
   - วางทับของเดิมได้เลย
   ========================================================== */

.cn-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;

  width:54px;
  height:54px;
  border-radius:18px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  color:#fff;
  font-weight:900;
  font-size:18px;
  line-height:1;

  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(14px 14px at 30% 25%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #ff2d00, #ff7a00);

  box-shadow:
    0 18px 50px rgba(0,0,0,.55),
    0 14px 40px rgba(255,70,0,.22);

  transform: translateY(8px) scale(.98);
  opacity:0;
  pointer-events:none;

  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}

/* เงาวงแหวน + glow */
.cn-to-top::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:22px;
  background: radial-gradient(circle at 50% 60%, rgba(255,90,0,.22), rgba(255,90,0,0) 62%);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
}

/* เส้นขอบไฮไลท์แบบ glass */
.cn-to-top::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:17px;
  background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0));
  opacity:.55;
  pointer-events:none;
  mix-blend-mode: overlay;
}

/* แสดงตอนมี class is-show (ของคุณมีอยู่แล้ว) */
.cn-to-top.is-show{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0) scale(1);
}

/* Hover */
.cn-to-top:hover{
  border-color: rgba(255,255,255,.28);
  filter: brightness(1.06);
  box-shadow:
    0 22px 70px rgba(0,0,0,.60),
    0 18px 55px rgba(255,70,0,.28);
  transform: translateY(-2px) scale(1.03);
}
.cn-to-top:hover::before{
  opacity:1;
}

/* Active (กด) */
.cn-to-top:active{
  transform: translateY(0) scale(.99);
  filter: brightness(0.98);
}

/* โฟกัส (คีย์บอร์ด) */
.cn-to-top:focus{
  outline:none;
}
.cn-to-top:focus-visible{
  box-shadow:
    0 22px 70px rgba(0,0,0,.60),
    0 18px 55px rgba(255,70,0,.28),
    0 0 0 4px rgba(255,90,0,.18);
}

/* ลูกศรด้านในให้ดูเนียน */
.cn-to-top span{
  display:block;
  transform: translateY(-1px);
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}

/* มือถือ: ชิดขวาน้อยลง กันชนกับ safe-area */
@media (max-width: 576px){
  .cn-to-top{
    right:14px;
    bottom:14px;
    width:50px;
    height:50px;
    border-radius:16px;
  }
  .cn-to-top::after{ border-radius:15px; }
}

/* iOS safe-area */
@supports (padding: max(0px)){
  .cn-to-top{
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

/* Responsive */
@media (max-width: 980px){
  .cn-footer.cn-footer-2026 .cn-footer-grid{
    grid-template-columns: 1.7fr 1fr 1fr;
  }
}
@media (max-width: 900px){
  .cn-footer.cn-footer-2026 .cn-footer-extras-inner{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px){
  .cn-footer.cn-footer-2026 .cn-footer-grid{
    grid-template-columns: 1fr 1fr;
  }
  .cn-footer.cn-footer-2026 .cn-footer-desc{ max-width:none; }
}
@media (max-width: 480px){
  .cn-footer.cn-footer-2026 .cn-footer-grid{
    grid-template-columns: 1fr;
  }
  .cn-footer.cn-footer-2026 .cn-tag,
  .cn-footer.cn-footer-2026 .cn-search-pill{
    max-width: 200px;
  }
}

/* กัน overflow แนวนอน (สำคัญกับ pills) */
.cn-footer.cn-footer-2026 *{ max-width:100%; }

/* ==========================================================
   PRO BREADCRUMBS (Fix + Premium)
   Target: ol.cc-breadcrumbs-list
   - สวยแบบเว็บใหญ่
   - จัดชิดขวา
   - กัน style list ทั่วเว็บมาทับ
   ========================================================== */

.cc-breadcrumbs{
  width:100%;
  margin: 6px 0 12px;
}

/* ตัว list หลัก */
ol.cc-breadcrumbs-list{
  /* reset กันโดนสไตล์ list ทั่วเว็บ */
  list-style: none !important;
  counter-reset: none !important;

  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  flex-wrap:wrap !important;

  gap:8px !important;
  padding: 10px 12px !important;
  margin: 0 !important;

  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.20)) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.55) !important;

  backdrop-filter: blur(10px);
}

/* li */
ol.cc-breadcrumbs-list > li{
  list-style: none !important;
  display:inline-flex !important;
  align-items:center !important;

  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;

  color: rgba(255,255,255,.88) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;

  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

/* ลิงก์ */
ol.cc-breadcrumbs-list > li a{
  color: rgba(255,255,255,.88) !important;
  text-decoration: none !important;
  border-bottom: 1px dotted rgba(255,255,255,.25) !important;
}
ol.cc-breadcrumbs-list > li a:hover{
  color:#fff !important;
  border-bottom-color: rgba(255,90,0,.70) !important;
}

/* ตัวคั่น (›) */
ol.cc-breadcrumbs-list > li + li{
  position: relative;
  margin-left: 12px !important; /* ระยะห่างเพิ่ม */
}
ol.cc-breadcrumbs-list > li + li::before{
  content: "›";
  position:absolute;
  left:-14px;
  top:50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.35);
  font-weight: 900;
}

/* ตัวสุดท้าย (หน้าปัจจุบัน) */
ol.cc-breadcrumbs-list > li:last-child{
  background: linear-gradient(135deg, rgba(255,45,0,.28), rgba(255,122,0,.18)) !important;
  border-color: rgba(255,90,0,.30) !important;
  color:#fff !important;
  box-shadow: 0 12px 30px rgba(255,70,0,.10), 0 18px 45px rgba(0,0,0,.55) !important;
}

/* Hover item */
ol.cc-breadcrumbs-list > li:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,90,0,.28) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.50) !important;
}

/* มือถือ: ให้ชิดซ้าย (อ่านง่ายกว่า) */
@media (max-width: 576px){
  ol.cc-breadcrumbs-list{
    justify-content:flex-start !important;
    padding: 10px 10px !important;
    border-radius: 12px !important;
  }
  ol.cc-breadcrumbs-list > li{
    font-size: 12px !important;
    padding: 6px 9px !important;
  }
}

.cc-container-rail{ max-width:1320px; }

.cc-titlebar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 18px;
  border-radius:14px;
  background: linear-gradient(360deg, #00000000 0%, #161616 55%, #8d97ff2e 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 55px rgba(0,0,0,.60);
  position:relative;
}

.cc-titlebar h2{
  margin:0;
  font-size:19px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.2px;
  color:#fff;
  position:relative;
}
.cc-titlebar a{
  color:#fff;
  opacity:.95;
  font-weight:800;
  font-size:12px;
  padding:8px 12px;
  border-radius:10px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  position:relative;
}
.cc-titlebar a:hover{ opacity:1; background:rgba(0,0,0,.28); }

.cc-titlebar:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 45%);
  opacity:.55;
}
.cc-rail-title{margin:0;font-weight:900;letter-spacing:.4px;text-transform:uppercase;color:#fff;font-size:16px;}
.cc-rail-title{position:relative; z-index:1; font-size:18px;}
.cc-rail-more{
  display:inline-flex;align-items:center;
  color:#fff;text-decoration:none;font-weight:900;font-size:13px;
  padding:8px 10px;border-radius:10px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
  transition:.15s ease;
}
.cc-rail-more{ position:relative; z-index:1; }
.cc-rail-more:hover{transform:translateY(-1px);background:rgba(0,0,0,.35);}

.cc-frame{
  margin-top:14px;
  border-radius:16px;
  background: radial-gradient(900px 260px at 30% 0%, rgba(255,122,0,.10), rgba(255,255,255,0) 55%),
              rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  position:relative;overflow:hidden;
}

.cc-rail{
  display:flex;gap:12px;
  overflow:auto;padding:14px 14px 8px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;

  scrollbar-width:none;
  -ms-overflow-style:none;
}
.cc-rail::-webkit-scrollbar{display:none;}
.cc-rail > *{ scroll-snap-align:center; }

.cc-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  z-index:5;width:48px;height:48px;border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.45);
  color:#fff;font-size:26px;font-weight:900;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  backdrop-filter: blur(8px);
  transition:.15s ease;user-select:none;
}
.cc-arrow:hover{transform:translateY(-50%) scale(1.05);background:rgba(0,0,0,.60);border-color:rgba(255,70,85,.35);}
.cc-arrow.left{left:10px;}
.cc-arrow.right{right:10px;}

.cc-rail-wrap:before,.cc-rail-wrap:after{
  content:"";position:absolute;top:0;bottom:0;width:64px;pointer-events:none;z-index:4;
}
.cc-rail-wrap:before{left:0;background:linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,0));}
.cc-rail-wrap:after{right:0;background:linear-gradient(270deg, rgba(0,0,0,.70), rgba(0,0,0,0));}

/* dots */
.cc-dots{display:flex;justify-content:center;gap:8px;padding:10px 10px 14px;}
.cc-dot{
  width:8px;height:8px;border-radius:999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.10);
  transition:.15s ease;
  cursor:pointer;
}
.cc-dot:hover{transform:scale(1.15);background:rgba(255,255,255,.28);}
.cc-dot.is-active{
  width:22px;
  background: linear-gradient(90deg, rgba(255,77,0,.90), rgba(255,31,31,.85));
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 0 16px rgba(255,77,0,.18);
}

@media (max-width:768px){
  .cc-titlebar{padding:12px 14px;border-radius:12px;}
  .cc-rail-title{font-size:15px;}
  .cc-rail-more{padding:7px 9px;font-size:12px;}
  .cc-arrow{width:40px;height:40px;border-radius:12px;}
  .cc-rail{padding:12px 12px 6px;gap:10px;}
  .cc-dots{padding:8px 8px 12px;gap:7px;}
}

/* ==========================================================
   FORCE MOBILE = DESKTOP SIZE (Bottom Bar Fix)
   - ไม่ย่อ
   - ไม่เปลี่ยน flex/grid
   - ใช้ style desktop ทุกขนาดจอ
   ========================================================== */

/* ยกเลิก mobile override เก่า */
@media (max-width: 576px){
  .cc-card{
    width: 196px !important;  /* เท่ากับ desktop */
  }

  .cc-bottom-pills{
    display: grid !important;           /* กลับไปใช้แบบ desktop */
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 8px !important;

    left:10px !important;
    right:10px !important;
    bottom:10px !important;

    padding:8px 10px !important;
    border-radius:14px !important;
  }

  /* พากย์ไทย */
  .cc-sound{
    height:26px !important;
    padding:0 10px !important;
    font-size:11px !important;
    min-width:auto !important;
    max-width:none !important;
    flex:none !important;
  }

  /* IMDb */
  .cc-imdbpill{
    height:26px !important;
    padding:0 10px !important;
    font-size:11px !important;
    flex:none !important;
  }

  .cc-imdb-dot{
    width:8px !important;
    height:8px !important;
  }

  /* ปิด hoverpanel บนมือถือเหมือนเดิม */
  .cc-hoverpanel{
    display:none !important;
  }
}
/* Production SEO refresh */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cn-home-hero{padding:24px 0 10px}
.cn-hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:18px}
.cn-hero-main,.cn-hero-side,.cn-link-card,.cn-faq-card{background:#11161d;border:1px solid rgba(255,255,255,.08);border-radius:18px}
.cn-hero-main{padding:28px}
.cn-hero-main{padding:28px}
.cn-kicker{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(229,9,20,.12);color:#ff6b75;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.cn-hero-copy h2{font-size:clamp(28px,4vw,42px);line-height:1.1;margin:14px 0 12px;color:#fff;font-weight:900}
.cn-hero-copy p{color:#b6c0cc;max-width:800px;line-height:1.7}
.cn-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}
.cc-btn-outline{display:inline-flex;justify-content:center;align-items:center;padding:12px 18px;border-radius:12px;border:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none;background:rgba(255,255,255,.03)}
.cc-btn-outline:hover{color:#fff;border-color:rgba(255,255,255,.3)}
.cn-hero-search{display:flex;gap:10px;margin-top:16px}
.cn-hero-search input{flex:1;min-width:0;background:#0c1117;border:1px solid rgba(255,255,255,.08);color:#fff;border-radius:14px;padding:14px 16px}
.cn-hero-search button{padding:14px 18px;border:0;border-radius:14px;background:#e50914;color:#fff;font-weight:700}
.cn-quick-links,.cn-chip-cloud{display:flex;gap:10px;flex-wrap:wrap}
.cn-quick-links{margin-top:14px}
.cn-quick-links a,.cn-chip-cloud a{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#181f28;border:1px solid rgba(255,255,255,.08);color:#e8edf3;text-decoration:none;font-size:13px}
.cn-side-head{display:flex;justify-content:space-between;align-items:center;padding:18px 18px 8px}
.cn-side-head h3{margin:0;color:#fff;font-size:18px}
.cn-side-head a{color:#ff6b75;text-decoration:none;font-size:13px}
.cn-side-item{display:grid;grid-template-columns:28px 56px 1fr;gap:10px;align-items:center;padding:10px 18px;text-decoration:none;color:#fff;border-top:1px solid rgba(255,255,255,.06)}
.cn-side-item strong{display:block;font-size:14px;line-height:1.35}
.cn-side-item small{display:block;color:#99a3af;margin-top:4px}
.cn-side-rank{font-weight:900;color:#ff6b75}.cn-side-poster img{width:56px;height:80px;object-fit:cover;border-radius:10px}
.cn-link-hubs{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 10px}.cn-link-card{padding:18px}.cn-link-card h3,.cn-faq-card h2{margin:0 0 14px;color:#fff;font-size:18px}
.cc-custom-container{max-width:1300px;margin:0 auto;padding:0 16px}.cc-hero-bg{position:absolute;top:0;left:0;width:100%;height:800px;background-size:cover;background-position:center 20%;filter:blur(80px) brightness(.15);opacity:.6;z-index:-1}
.cc-poster-wrapper{width:100%;max-width:320px;margin:0 auto}.cc-single-poster{border-radius:16px;overflow:hidden;box-shadow:0 25px 50px -12px rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.15);background:#0b0b0b}.cc-single-poster img{display:block;width:100%;height:auto}
.cc-single-title{font-size:2.2rem;font-weight:900;margin-bottom:1rem;color:#fff}.cc-ep-inline{display:inline-flex;vertical-align:middle;margin-left:12px;padding:4px 10px;border-radius:999px;background:rgba(229,9,20,.12);color:#ff6b75;font-size:14px}
.cc-info-box{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:22px;backdrop-filter:blur(10px)}.cc-table-info{width:100%;border-collapse:collapse}.cc-table-info th{color:#e50914;width:110px;padding:8px 0;font-size:13px;text-transform:uppercase;vertical-align:top;letter-spacing:.2px}.cc-table-info td{color:#fff;padding:8px 0 8px 14px;font-size:14px;opacity:.92;line-height:1.6}.cc-table-info a{color:#fff;text-decoration:none;border-bottom:1px dotted rgba(255,255,255,.25)}
.cc-badge-imdb{background:#f5c518;color:#000;padding:2px 8px;border-radius:6px;font-weight:900}.cc-chip{background:#222;color:#ddd;padding:4px 12px;border-radius:999px;font-size:12px;border:1px solid rgba(255,255,255,.08);text-decoration:none;display:inline-flex;align-items:center}.cc-chip-accent{color:#ff5966;border-color:rgba(255,89,102,.45)}
.cc-player-container{background:#000;border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.15);box-shadow:0 30px 60px rgba(0,0,0,.5)}.cc-btn-main{background:#e50914;color:#fff;padding:12px 22px;border-radius:12px;text-decoration:none;font-weight:900;display:inline-block;transition:.2s;text-align:center}.cc-btn-main:hover{transform:translateY(-1px);color:#fff;filter:brightness(1.05)}
.cc-epjump-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cc-ep-counter{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);color:#fff;font-size:13px}.cc-ep-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.cc-episode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px;max-height:260px;overflow:auto}.cc-ep-link{display:flex;justify-content:center;align-items:center;padding:10px 8px;border-radius:10px;background:#151515;border:1px solid rgba(255,255,255,.08);color:#fff;text-decoration:none;font-size:13px}.cc-ep-link.is-active,.cc-ep-link:hover{background:#e50914;color:#fff;border-color:#e50914}
.cn-faq-card{padding:20px}.cn-faq-list{display:grid;gap:10px}.cn-faq-item{border:1px solid rgba(255,255,255,.08);background:#131922;border-radius:12px;padding:14px 16px}.cn-faq-item summary{cursor:pointer;color:#fff;font-weight:700}.cn-faq-item div{padding-top:10px;color:#b8c1cb;line-height:1.7}
@media (max-width:991px){.cn-hero-grid,.cn-link-hubs{grid-template-columns:1fr}.cc-single-title{text-align:center;font-size:1.6rem}.cc-ep-inline{margin-left:0;margin-top:8px}.cn-hero-main{padding:22px}.cn-hero-search{flex-direction:column}.cc-epjump-row{grid-template-columns:1fr}}
/* ==========================================================
   Floating Telegram Button
   ========================================================== */
.cn-telegram-float{
  position: fixed !important;
  right: 18px !important;
  bottom: 94px !important;
  z-index: 10001 !important;

  width: 56px !important;
  height: 56px !important;
  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #27A7E7 !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.38),
    0 8px 20px rgba(39,167,231,.22) !important;

  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease !important;
}

.cn-telegram-float:hover{
  transform: translateY(-2px) scale(1.03) !important;
  filter: brightness(1.04) !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.42),
    0 10px 26px rgba(39,167,231,.30) !important;
}

.cn-telegram-float:active{
  transform: translateY(0) scale(.99) !important;
}

.cn-telegram-float:focus{
  outline: none !important;
}

.cn-telegram-float svg{
  width: 28px !important;
  height: 28px !important;
  fill: #fff !important;
  display: block !important;
  pointer-events: none !important;
}

@media (max-width: 768px){
  .cn-telegram-float{
    right: 14px !important;
    bottom: 84px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .cn-telegram-float svg{
    width: 26px !important;
    height: 26px !important;
  }
}
/* ==========================================================
   FIX TOP SPACE แบบสมดุล
   - วางท้าย style.css
   ========================================================== */

html,
body{
  margin: 0 !important;
  padding: 0 !important;
}

body{
  padding-top: 30px !important;
}

.mx-header{
  height: 88px !important;
  top: 0 !important;
  inset: 0 0 auto 0 !important;
}

.mx-wrap{
  height: 88px !important;
  padding: 0 20px !important;
}

.cn-home-hero{
  padding-top: 8px !important;
}

@media (max-width: 992px){
  body{
    padding-top: 30px !important;
  }

  .mx-header{
    height: 65px !important;
  }

  .mx-wrap{
    height: 65px !important;
    padding: 0 16px !important;
  }

  .cn-home-hero{
    padding-top: 6px !important;
  }
}

/* ====== Anime Majikoi Refresh Override ====== */
:root{
  --cc-bg:#060816;
  --cc-surface:#0d1122;
  --cc-surface2:#131935;
  --cc-text:#eef2ff;
  --cc-muted:#aab5d6;
  --cc-accent:#7c5cff;
  --cc-accent2:#19c2ff;
  --cc-redbar:linear-gradient(135deg,var(--cc-accent),var(--cc-accent2));
  --cc-metal:linear-gradient(180deg,#111630 0%, #0b1023 55%, #141a39 100%);
  --cc-border:rgba(166,184,255,.16);
  --cc-shadow:0 18px 48px rgba(3,6,20,.52);
  --cc-border2:rgba(171,189,255,.18);
  --cc-border-strong:rgba(195,208,255,.28);
  --cc-shadow2:0 26px 70px rgba(2,6,28,.64);
  --cc-shadow-hover:0 34px 90px rgba(4,8,26,.78);
  --cc-accent1:#8b6bff;
  --cc-accent2b:#21d0ff;
  --cc-gold:#ffd76a;
  --mx-bg:#080c1b;
  --mx-line:rgba(167,185,255,.16);
  --mx-t:#f6f8ff;
  --mx-m:rgba(222,229,255,.76);
  --mx-ac1:#8c6dff;
  --mx-ac2:#20cbff;
  --mx-shadow:0 20px 54px rgba(0,0,0,.45);
}
body{
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 640px at 88% 0%, rgba(25,194,255,.17), transparent 58%),
    linear-gradient(180deg, #050713 0%, #090d1d 42%, #050713 100%);
  padding-top:90px;
}
.mx-header{
  background:rgba(7,10,24,.66);
  border-bottom:1px solid rgba(169,185,255,.09);
  backdrop-filter:blur(14px) saturate(150%);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
}
.mx-header.is-solid{background:rgba(8,12,27,.94);}
.mx-brand-mark{font-size:17px; letter-spacing:.5px;}
.mx-brand-mark:first-child{color:#9d85ff;}
.mx-brand-mark:last-child{color:#ffffff;}
.mx-link,.mx-dd-btn{font-size:14px; font-weight:700; color:rgba(243,247,255,.92);}
.mx-btn-primary{
  background:linear-gradient(135deg,#8d6dff,#1ac8ff);
  box-shadow:0 12px 34px rgba(89,113,255,.28);
}
.mx-btn-ghost{
  border-color:rgba(170,188,255,.2);
  background:rgba(255,255,255,.04);
}
.cn-card,.cn-hero-main,.cn-hero-side,.cn-link-card,.cn-faq-card,.cc-single-card,.cc-frame,.cn-archive-head{
  background:linear-gradient(180deg, rgba(14,19,40,.94), rgba(10,14,31,.92));
  border:1px solid rgba(164,184,255,.14);
  box-shadow:0 24px 70px rgba(0,0,0,.34);
}
.cn-home-hero{padding-top:1rem;}
.cn-hero-grid{align-items:stretch;}
.cn-hero-main{position:relative; overflow:hidden; border-radius:28px;}
.cn-hero-main::before{content:""; position:absolute; inset:auto -12% -30% auto; width:280px; height:280px; background:radial-gradient(circle, rgba(27,197,255,.28), transparent 68%); pointer-events:none;}
.cn-hero-copy{padding:clamp(24px,4vw,46px);}
.cn-kicker{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; background:rgba(139,109,255,.12); border:1px solid rgba(169,138,255,.2); color:#d9d8ff; letter-spacing:.03em; text-transform:none;}
.cn-hero-copy h2{font-size:clamp(1.9rem,4vw,3.4rem); line-height:1.08; max-width:16ch;}
.cn-hero-copy p,.cn-meta,.cc-title,.cc-hover-title,.cn-footer-desc{color:var(--cc-muted);}
.cn-hero-search{display:grid; grid-template-columns:1fr auto; gap:12px; margin-top:22px;}
.cn-hero-search input,.search-form input[type="search"],#epSelect{background:rgba(8,12,26,.72); border:1px solid rgba(164,184,255,.18); border-radius:16px; color:#eef2ff;}
.cn-hero-search button,.search-form button,.cn-btn,.cc-btn-main{border:none; border-radius:16px; background:linear-gradient(135deg,#8968ff,#20cbff); color:#fff; box-shadow:0 14px 30px rgba(99,111,255,.28);}
.cc-btn-outline,.cc-hover-btn,.cn-search-pill,.cn-tag,.cc-chip,.cc-ep-link{border-radius:14px; border:1px solid rgba(165,184,255,.18); background:rgba(255,255,255,.03);}
.cn-quick-links,.cn-chip-cloud,.cc-bottom-pills{gap:10px;}
.cn-side-item{border-radius:18px; background:rgba(255,255,255,.03); border:1px solid rgba(164,184,255,.1);}
.cn-side-rank{background:linear-gradient(135deg,#8a6bff,#1bc7ff); color:#fff;}
.cc-card{border-radius:22px;}
.cc-poster{border-radius:22px; overflow:hidden; background:linear-gradient(180deg,#0d1123,#080c19);}
.cc-poster-overlay{background:linear-gradient(180deg, rgba(4,6,15,0) 30%, rgba(5,8,20,.82) 100%);}
.cc-topbadge.cc-hd,.cc-badge-imdb,.cc-chip-accent{background:linear-gradient(135deg,#8968ff,#20cbff); color:#fff; border:none;}
.cc-topbadge.cc-year{background:rgba(7,10,25,.72); border:1px solid rgba(166,184,255,.18);}
.cc-title-panel{background:linear-gradient(180deg, rgba(10,14,31,.15), rgba(10,14,31,.92));}
.cc-title{font-size:.96rem; line-height:1.5;}
.cc-arrow{background:rgba(12,16,33,.86); border:1px solid rgba(172,188,255,.16);}
.cc-arrow:hover{background:rgba(18,24,49,.98);}
.cc-single-title{font-size:clamp(1.8rem,3vw,2.8rem); line-height:1.12;}
.cc-info-box,.cc-synopsis,.cn-epbar{background:rgba(255,255,255,.03); border:1px solid rgba(164,184,255,.12); border-radius:22px;}
.cn-faq-item{background:rgba(255,255,255,.03); border:1px solid rgba(164,184,255,.1); border-radius:16px; padding:16px 18px;}
.cn-footer{margin-top:64px; background:radial-gradient(700px 320px at 0% 0%, rgba(139,109,255,.16), transparent 60%), linear-gradient(180deg,#090d1d 0%, #060816 100%); border-top:1px solid rgba(168,186,255,.12);}
.cn-footer-btn{background:linear-gradient(135deg,#8a6cff,#20caff); color:#fff;}
.cn-tag,.cn-search-pill{color:#eef2ff;}
.cn-to-top{background:linear-gradient(135deg,#8968ff,#20cbff); color:#fff; border:none;}
@media (max-width: 991.98px){
  .mx-nav{display:none;}
  .cn-hero-copy h2{max-width:100%;}
}


/* ====== Production Cleanup Override ====== */
.cn-section{padding:22px 0 10px;}
.cn-archive-head,.cn-page-card,.cn-home-seo-card{border-radius:26px;}
.cn-home-seo-card{padding:clamp(20px,3vw,34px);}
.cn-home-seo-content{display:grid;gap:18px;}
.cn-home-seo-block{padding:18px 18px 4px;border:1px solid rgba(164,184,255,.1);border-radius:18px;background:rgba(255,255,255,.02);}
.cn-home-seo-block h4,.cn-home-seo-content h3{margin:0 0 10px;color:#fff;}
.cn-home-seo-content p{margin:0;line-height:1.8;}
.cn-search form,.w-100{display:flex;gap:12px;align-items:center;}
.search-form input[type="search"], .w-100 input[type="search"]{width:100%;min-height:50px;padding:0 16px;}
.cn-page-shell{padding:18px 0 8px;}
.cn-page-entry{line-height:1.85;color:var(--cc-text);}
.cn-page-entry > * + *{margin-top:1rem;}
.cn-section-title h2{margin:0 0 16px;font-size:clamp(1.25rem,2.2vw,1.9rem);}
.cn-footer-grid,.cn-footer-extras-inner{gap:22px;}
.cc-title-panel{padding:14px 14px 16px;}
.cc-hoverpanel{padding:14px;}
@media (max-width: 767.98px){
  body{padding-top:74px;}
  .cn-section{padding:16px 0 6px;}
  .cn-hero-copy{padding:20px;}
  .cn-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;}
  .cn-hero-search{grid-template-columns:1fr;}
  .cn-home-seo-card{padding:18px;}
  .cn-home-seo-content{gap:14px;}
  .cn-home-seo-block{padding:14px 14px 2px;border-radius:16px;}
  .cn-link-card,.cn-card,.cc-frame,.cc-single-card{border-radius:20px;}
  .row.g-3{--bs-gutter-x:0.85rem;--bs-gutter-y:0.85rem;}
  .cn-search form,.w-100{flex-direction:column;align-items:stretch;}
  .search-form input[type="search"], .w-100 input[type="search"]{min-height:48px;}
  .cc-title{font-size:.92rem;line-height:1.45;}
}


/* ===== Production deep cleanup ===== */
.cc-watch-note{font-size:13px;line-height:1.7;color:rgba(232,236,255,.72);padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);}
.cc-detail-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.cc-detail-pills span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(157,133,255,.12);border:1px solid rgba(157,133,255,.18);font-size:12px;color:#efeaff;}
.cc-archive-hero{position:relative;overflow:hidden;border-radius:26px;}
.cc-archive-hero:before{content:"";position:absolute;inset:auto -40px -80px auto;width:220px;height:220px;border-radius:999px;filter:blur(8px);opacity:.45;background:radial-gradient(circle at center, rgba(157,133,255,.45), rgba(157,133,255,0));pointer-events:none;}
.cc-archive-hero--category{background:linear-gradient(135deg, rgba(18,25,54,.88), rgba(10,14,31,.96));}
.cc-archive-hero--year{background:linear-gradient(135deg, rgba(14,37,61,.9), rgba(8,16,30,.95));}
.cc-archive-hero--genre{background:linear-gradient(135deg, rgba(35,20,66,.92), rgba(11,15,33,.96));}
.cc-archive-kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#a99eff;margin-bottom:10px;font-weight:800;}
.cc-archive-mini-copy{font-size:13px;line-height:1.7;color:rgba(233,238,255,.72);}
.cc-link-hubs-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;}
.cc-link-card-tone p{margin:0 0 14px;color:rgba(233,238,255,.72);line-height:1.75;font-size:14px;}
.cc-link-card-tone--soft{background:linear-gradient(180deg, rgba(17,24,47,.96), rgba(11,15,29,.98));}
.cc-link-card-tone--genre{background:linear-gradient(180deg, rgba(28,19,53,.94), rgba(12,15,29,.98));}
.cc-year-picker .btn,.cc-genre-cloud .btn{border-radius:999px;padding:8px 14px;}
.mx-wrap{gap:18px;}
.mx-brand{padding:10px 0;}
.mx-nav{gap:8px;}
.mx-link,.mx-dd-btn{border-radius:12px;padding:10px 12px;transition:all .18s ease;}
.mx-link:hover,.mx-dd-btn:hover{background:rgba(255,255,255,.055);}
.mx-right{gap:10px;}
.mx-btn{min-height:42px;border-radius:14px;padding:0 16px;font-weight:700;}
.cc-titlebar{align-items:center;gap:12px;margin-bottom:16px;}
.cc-rail-title{font-size:19px;letter-spacing:.02em;text-transform:none;}
.cc-rail-more{border-radius:999px;padding:9px 13px;font-weight:700;}
.cc-frame.cc-rail-wrap{padding:16px 14px 10px;border-radius:26px;background:linear-gradient(180deg, rgba(12,17,34,.92), rgba(8,10,22,.98));}
.cc-rail{gap:14px;padding:4px 2px 8px;}
.cc-card{width:200px;}
.cc-card-link{border-radius:24px;overflow:hidden;}
.cc-poster{border-radius:20px;}
.cc-title-panel{padding:12px 6px 2px;}
.cc-title{font-size:14px;line-height:1.55;}
.cc-card-meta{margin-top:6px;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:rgba(215,222,255,.55);min-height:16px;}
@media (max-width: 991px){.cc-link-hubs-grid{grid-template-columns:1fr;}}
@media (max-width: 768px){
  .mx-header{backdrop-filter:blur(16px);}
  .mx-wrap{height:74px;padding:0 14px;gap:10px;}
  .mx-brand-mark{font-size:15px;}
  .mx-right .mx-btn{display:none;}
  .mx-burger{width:46px;height:46px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);}
  .cc-frame.cc-rail-wrap{padding:14px 12px 10px;border-radius:22px;}
  .cc-titlebar{margin-bottom:12px;}
  .cc-rail-title{font-size:16px;}
  .cc-rail{padding:2px 0 6px;gap:12px;}
  .cc-card{width:156px;}
  .cc-card-link{border-radius:20px;}
  .cc-title-panel{padding:10px 4px 2px;}
  .cc-title{font-size:13px;line-height:1.48;}
  .cc-card-meta{font-size:10px;}
  .cc-arrow{width:36px;height:36px;}
  .cc-single-card{padding:20px 16px;}
  .cc-info-box{padding:14px;}
  .cc-synopsis{padding:14px 0 0;}
  .cc-watch-note{font-size:12px;padding:9px 11px;}
}


/* ===== Final premium polish ===== */
.cn-home-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;}
.cn-home-signal-card{position:relative;overflow:hidden;padding:18px 18px 16px;border-radius:22px;border:1px solid rgba(164,184,255,.12);background:linear-gradient(180deg, rgba(15,20,42,.9), rgba(9,13,29,.94));box-shadow:0 18px 44px rgba(0,0,0,.22);}
.cn-home-signal-card:before{content:"";position:absolute;inset:-40% auto auto 60%;width:140px;height:140px;border-radius:999px;background:radial-gradient(circle, rgba(32,203,255,.18), rgba(32,203,255,0) 72%);pointer-events:none;}
.cn-home-signal-label{display:inline-flex;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:rgba(139,109,255,.12);border:1px solid rgba(139,109,255,.18);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#ddd6ff;font-weight:800;}
.cn-home-signal-card strong{display:block;font-size:16px;line-height:1.45;color:#fff;margin-bottom:6px;}
.cn-home-signal-card p{margin:0;color:rgba(233,238,255,.72);line-height:1.7;font-size:13px;}
.cc-landing-note{position:relative;overflow:hidden;border-radius:24px;border:1px solid rgba(164,184,255,.12);}
.cc-landing-note:before{content:"";position:absolute;inset:auto -30px -55px auto;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle, rgba(140,109,255,.24), rgba(140,109,255,0) 70%);pointer-events:none;}
.cc-landing-note-kicker{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#d6dcff;margin-bottom:12px;font-weight:800;}
.cc-landing-note p{position:relative;max-width:78ch;color:rgba(233,238,255,.76);line-height:1.8;}
.cc-landing-note--anime{background:linear-gradient(135deg, rgba(14,31,61,.9), rgba(11,15,32,.96));}
.cc-landing-note--new{background:linear-gradient(135deg, rgba(18,37,55,.92), rgba(11,15,31,.96));}
.cc-landing-note--dub{background:linear-gradient(135deg, rgba(34,26,63,.92), rgba(11,14,31,.96));}
.cc-landing-note--sub{background:linear-gradient(135deg, rgba(18,28,70,.92), rgba(11,15,31,.96));}
.cc-landing-note--chinese{background:linear-gradient(135deg, rgba(39,24,58,.92), rgba(10,14,31,.96));}
.mx-link,.mx-dd-btn,.mx-btn,.mx-ico,.mx-burger,.cc-btn-main,.cc-btn-outline,.cc-rail-more,.cn-hero-search button,.search-form button,.cc-card-link,.cc-ep-link,.mx-drawer-body a{transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;}
.mx-link:focus-visible,.mx-dd-btn:focus-visible,.mx-btn:focus-visible,.mx-ico:focus-visible,.mx-burger:focus-visible,.cc-btn-main:focus-visible,.cc-btn-outline:focus-visible,.cc-rail-more:focus-visible,.cn-hero-search button:focus-visible,.search-form button:focus-visible,.cc-card-link:focus-visible,.cc-ep-link:focus-visible,.mx-drawer-body a:focus-visible,.cn-quick-links a:focus-visible,.cn-chip-cloud a:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(32,203,255,.26), 0 0 0 7px rgba(139,109,255,.14);border-color:rgba(170,189,255,.28);}
.mx-link:hover,.mx-dd-btn:hover{transform:translateY(-1px);}
.mx-btn:hover,.mx-ico:hover,.mx-burger:hover,.cc-btn-main:hover,.cc-btn-outline:hover,.cc-rail-more:hover,.cn-hero-search button:hover,.search-form button:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(20,24,62,.34);}
.mx-btn:active,.mx-ico:active,.mx-burger:active,.cc-btn-main:active,.cc-btn-outline:active,.cc-rail-more:active,.cn-hero-search button:active,.search-form button:active{transform:translateY(0) scale(.985);box-shadow:none;}
.cc-card-link:hover{transform:translateY(-4px);}
.mx-drawer-body a{border-radius:16px;}
.mx-drawer-body a:active{transform:scale(.992);}
.cn-quick-links a,.cn-chip-cloud a{transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;}
.cn-quick-links a:hover,.cn-chip-cloud a:hover{transform:translateY(-1px);background:rgba(255,255,255,.06);border-color:rgba(170,189,255,.22);box-shadow:0 12px 24px rgba(5,7,20,.18);}
@media (max-width: 991.98px){.cn-home-signals{grid-template-columns:1fr;}}
@media (max-width: 767.98px){.cn-home-signals{gap:10px;margin-top:14px;}.cn-home-signal-card{padding:15px 14px 14px;border-radius:18px;}.cc-landing-note{border-radius:20px;}.cc-landing-note p{max-width:100%;font-size:13px;line-height:1.75;}}

/* single human rewrite */
.cc-opening-lead{font-size:1.02rem;line-height:1.95;color:rgba(244,247,255,.92);margin:0 0 1rem}
.cc-editor-note{margin-top:1rem;padding:.95rem 1rem;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);border-radius:16px;color:rgba(244,247,255,.78);font-size:.95rem;line-height:1.85}
