/* ============================================
   日剧《丈夫出差回来晚了》 - 原创样式表
   品牌：日剧《丈夫出差回来晚了》 | lnalpj.cn
   配色：虎纹红 #E8432F / 深夜蓝黑 #1A1A2E / 暖金橙 #FFB347
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #0F0F1A;
  color: #F0F0F5;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #FFB347; text-decoration: none; transition: color .3s; }
a:hover { color: #E8432F; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #F0F0F5; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.kc8gg {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #E8432F, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.r08xs3 {
  text-align: center;
  color: #9A9AB0;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* --- Header / Navigation --- */
.xgfijlx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 67, 47, 0.15);
  transition: background .3s;
}
.qnkchyy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.sz618f7o { display: flex; align-items: center; gap: 10px; }
.sz618f7o img { height: 42px; width: auto; }
.ea4ru1 {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #E8432F, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.og3kr6 { display: flex; align-items: center; gap: 6px; }
.og3kr6 a {
  color: #C8C8D8;
  font-size: 0.93rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all .3s;
  white-space: nowrap;
}
.og3kr6 a:hover, .og3kr6 a.active {
  color: #FFB347;
  background: rgba(232, 67, 47, 0.1);
}
.uxkqzgu4 {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.uxkqzgu4 span {
  width: 26px;
  height: 2px;
  background: #F0F0F5;
  border-radius: 2px;
  transition: all .3s;
}

/* --- Search Bar --- */
.s1sjsl0a {
  background: linear-gradient(135deg, rgba(232, 67, 47, 0.08), rgba(255, 179, 71, 0.06));
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 179, 71, 0.1);
  margin-top: 68px;
}
.qf48qe {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 20px;
}
.qf48qe input {
  flex: 1;
  padding: 12px 20px;
  background: #1C1C30;
  border: 1px solid rgba(232, 67, 47, 0.3);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #F0F0F5;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .3s;
}
.qf48qe input:focus { border-color: #E8432F; }
.qf48qe input::placeholder { color: #6A6A80; }
.qf48qe button {
  padding: 12px 28px;
  background: linear-gradient(135deg, #E8432F, #D63A28);
  border: none;
  border-radius: 0 8px 8px 0;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity .3s;
  white-space: nowrap;
}
.qf48qe button:hover { opacity: 0.85; }

/* --- Hero Banner --- */
.hkm8f1r {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.u823phc {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}
.nvug0asi {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.hkm8f1r h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hkm8f1r h1 .a0m0hv {
  background: linear-gradient(135deg, #E8432F, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hkm8f1r p {
  font-size: 1.15rem;
  color: #D0D0E0;
  max-width: 600px;
  margin: 0 auto 28px;
}
.yjv0kmg {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #E8432F, #FFB347);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform .3s, box-shadow .3s;
}
.yjv0kmg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 67, 47, 0.4);
  color: #fff;
}

/* --- Breadcrumb --- */
.kdg11b {
  padding: 14px 0;
  font-size: 0.88rem;
  color: #9A9AB0;
}
.kdg11b a { color: #9A9AB0; }
.kdg11b a:hover { color: #FFB347; }
.kdg11b span { margin: 0 6px; }

/* --- Video Card Grid --- */
.max4hlvl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.u2oxe20 {
  background: #1C1C30;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid rgba(255, 179, 71, 0.08);
}
.u2oxe20:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(232, 67, 47, 0.15);
}
.itkfy3cu {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}
.itkfy3cu img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.u2oxe20:hover .itkfy3cu img { transform: scale(1.06); }
.xi1r9bk {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: rgba(232, 67, 47, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s;
  z-index: 3;
}
.xi1r9bk::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.u2oxe20:hover .xi1r9bk { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hbw6i {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.y0cip { padding: 14px 16px; }
.y0cip h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yfdfjf {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: #9A9AB0;
}
.yfdfjf .views::before { content: '\25B6 '; font-size: 0.7rem; }
.yfdfjf .likes::before { content: '\2764 '; }
.yfdfjf .comments::before { content: '\1F4AC '; }
.krhvhfo { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.krhvhfo .tag {
  font-size: 0.75rem;
  padding: 2px 10px;
  background: rgba(232, 67, 47, 0.12);
  color: #FFB347;
  border-radius: 20px;
}

/* --- Category Tabs --- */
.a8iln5m {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.a8iln5m .tab {
  padding: 8px 22px;
  background: #1C1C30;
  border: 1px solid rgba(232, 67, 47, 0.2);
  border-radius: 30px;
  color: #C8C8D8;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .3s;
}
.a8iln5m .tab:hover, .a8iln5m .tab.active {
  background: linear-gradient(135deg, #E8432F, #FFB347);
  color: #fff;
  border-color: transparent;
}

/* --- Feature Blocks --- */
.fy3okkr {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.ydkpm {
  background: linear-gradient(145deg, #1C1C30, #161628);
  border: 1px solid rgba(255, 179, 71, 0.1);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.ydkpm:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 67, 47, 0.4);
}
.dzmqk62 {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(232, 67, 47, 0.15), rgba(255, 179, 71, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.ydkpm h4 { font-size: 1.1rem; margin-bottom: 10px; }
.ydkpm p { font-size: 0.9rem; color: #9A9AB0; }

/* --- Expert Section --- */
.ifgb7 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.n5aa6z2 {
  background: #1C1C30;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid rgba(255, 179, 71, 0.08);
  transition: transform .3s;
}
.n5aa6z2:hover { transform: translateY(-4px); }
.d8ou2 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E8432F;
  flex-shrink: 0;
}
.b4vmvgws h4 { font-size: 1.05rem; margin-bottom: 4px; }
.b4vmvgws .role { color: #FFB347; font-size: 0.85rem; margin-bottom: 8px; }
.b4vmvgws p { font-size: 0.88rem; color: #9A9AB0; margin-bottom: 12px; }
.vvky0v { display: flex; gap: 10px; }
.vvky0v a {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  transition: all .3s;
}
.kib6y31w {
  background: linear-gradient(135deg, #E8432F, #FFB347);
  color: #fff;
}
.ijau24 {
  border: 1px solid #E8432F;
  color: #E8432F;
}
.ijau24:hover { background: rgba(232, 67, 47, 0.1); color: #E8432F; }

/* --- Partner Logos --- */
.w2r9nher {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.r5f8v6 {
  background: #1C1C30;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #9A9AB0;
  border: 1px solid rgba(255, 179, 71, 0.1);
  transition: all .3s;
}
.r5f8v6:hover {
  color: #FFB347;
  border-color: rgba(232, 67, 47, 0.3);
}

/* --- FAQ Section --- */
.frhzxeaw { max-width: 800px; margin: 0 auto; }
.lvxzilr {
  background: #1C1C30;
  border: 1px solid rgba(255, 179, 71, 0.08);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.oo9f6z {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .3s;
}
.oo9f6z:hover { color: #FFB347; }
.oo9f6z::after { content: '+'; font-size: 1.4rem; color: #E8432F; transition: transform .3s; }
.lvxzilr.open .oo9f6z::after { transform: rotate(45deg); }
.ewkn6 {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 24px;
  font-size: 0.92rem;
  color: #9A9AB0;
  line-height: 1.8;
}
.lvxzilr.open .ewkn6 { max-height: 300px; padding: 0 24px 18px; }

/* --- Reviews --- */
.mmxocf5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.tm8pz {
  background: #1C1C30;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 179, 71, 0.08);
}
.w0qouyj5 { color: #FFB347; font-size: 0.9rem; margin-bottom: 10px; }
.frl9y { font-size: 0.92rem; color: #C8C8D8; margin-bottom: 14px; line-height: 1.7; }
.dbbtf { display: flex; align-items: center; gap: 10px; }
.g2jtyix {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8432F, #FFB347);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.ky3bzv { font-size: 0.88rem; font-weight: 600; }
.qwgjf { font-size: 0.78rem; color: #9A9AB0; }

/* --- Contact Section --- */
.firesi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.d5544c1z {
  background: #1C1C30;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255, 179, 71, 0.08);
}
.d5544c1z h4 { font-size: 1.05rem; margin-bottom: 12px; color: #FFB347; }
.d5544c1z p { font-size: 0.9rem; color: #9A9AB0; }
.d5544c1z img { max-width: 160px; margin: 12px auto 0; border-radius: 8px; }

/* --- How-To Guide --- */
.mt9vexj {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.ux711r4 {
  background: #1C1C30;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(255, 179, 71, 0.08);
  position: relative;
  counter-increment: step;
}
.ux711r4::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #E8432F, #FFB347);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.ux711r4 h4 { font-size: 1rem; margin-bottom: 8px; }
.ux711r4 p { font-size: 0.88rem; color: #9A9AB0; }

/* --- Share Buttons --- */
.z03qrtj {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.mg3r2 {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  transition: opacity .3s;
  cursor: pointer;
}
.mg3r2:hover { opacity: 0.8; color: #fff; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; border: 1px solid #444; }
.share-bilibili { background: #00A1D6; }

/* --- Footer --- */
.gb1ebxwj {
  background: #0A0A15;
  border-top: 1px solid rgba(232, 67, 47, 0.15);
  padding: 50px 0 20px;
}
.qziqjtpw {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.x6cjejx8 h5 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #FFB347;
}
.x6cjejx8 p, .x6cjejx8 a {
  font-size: 0.88rem;
  color: #9A9AB0;
  display: block;
  margin-bottom: 8px;
}
.x6cjejx8 a:hover { color: #FFB347; }
.shmv8yi2 { display: flex; gap: 20px; margin-top: 12px; }
.shmv8yi2 img { width: 100px; border-radius: 6px; }
.gbddngp {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 179, 71, 0.08);
  font-size: 0.82rem;
  color: #6A6A80;
}

/* --- Utility --- */
.text-gradient {
  background: linear-gradient(135deg, #E8432F, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-dark { background: #0F0F1A; }
.bg-darker { background: #0A0A15; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }

/* --- Lazy Load Placeholder --- */
.lazy { opacity: 0; transition: opacity .5s; }
.lazy.loaded { opacity: 1; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .og3kr6 {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 26, 0.98);
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid rgba(232, 67, 47, 0.15);
  }
  .og3kr6.open { display: flex; }
  .og3kr6 a { padding: 12px 24px; font-size: 1rem; }
  .uxkqzgu4 { display: flex; }
  .hkm8f1r { height: 400px; }
  .hkm8f1r h1 { font-size: 2rem; }
  .section { padding: 40px 0; }
  .kc8gg { font-size: 1.6rem; }
  .max4hlvl { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .n5aa6z2 { flex-direction: column; align-items: center; text-align: center; }
  .vvky0v { justify-content: center; }
  .qziqjtpw { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hkm8f1r { height: 320px; }
  .hkm8f1r h1 { font-size: 1.6rem; }
  .max4hlvl { grid-template-columns: 1fr; }
  .fy3okkr { grid-template-columns: 1fr; }
  .qziqjtpw { grid-template-columns: 1fr; }
  .qf48qe input { padding: 10px 14px; }
  .qf48qe button { padding: 10px 18px; }
}

/* --- Video Modal Player --- */
.m4jr2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.m4jr2.active { display: flex; }
.k4yk5hmc {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #1A1A2E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.ecvlo {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color .3s;
}
.ecvlo:hover { color: #E8432F; }
.p3pc3qb {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: #0A0A15 center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.uf0we23c {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 80px;
  height: 80px;
  background: rgba(232, 67, 47, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uf0we23c::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.mmd5l5 {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  padding: 0 20px;
}
.l6efgu {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #9A9AB0;
  font-size: 0.85rem;
}
.dbnzte {
  background: #12121F;
  padding: 12px 16px;
}
.qq1qqo {
  width: 100%;
  height: 4px;
  background: #2A2A40;
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}
.m0ja0w {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #E8432F, #FFB347);
  border-radius: 2px;
}
.c8ysb7 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #9A9AB0;
}
.c8ysb7 span {
  cursor: pointer;
  transition: color .3s;
  white-space: nowrap;
}
.c8ysb7 span:hover { color: #FFB347; }
.b2h7l { color: #E8432F; font-weight: 700; }
.jfqrda { margin-left: auto; }

@media (max-width: 480px) {
  .k4yk5hmc { width: 96%; }
  .c8ysb7 { gap: 8px; font-size: 0.75rem; }
}

/* --- News Date --- */
.d2fizku {
  font-size: 0.82rem;
  color: #9A9AB0;
  margin-bottom: 8px;
}
