/* kitty-video.css —— 教材视频页主题
   默认 / 护眼：保持 -14 原样；Hello Kitty（data-theme="dark"）：粉色凯蒂猫风格 */

/* ---------- Hello Kitty 主题（夜间位） ---------- */
html[data-theme="dark"]{
  --bg:#fff3f8; --bg2:#ffffff; --bg3:#ffeaf3;
  --fg:#5f3f4b; --fg2:#a37e8c; --fg3:#c39fb0;
  --line:#ffd9e8; --acc:#ff5f97; --ok:#ff8fbc;
}
html[data-theme="dark"] body{
  background:
    radial-gradient(circle at 16px 16px, rgba(255,255,255,.95) 2.2px, transparent 2.8px) 0 0/44px 44px,
    radial-gradient(circle at 38px 38px, rgba(255,175,208,.5) 2.6px, transparent 3.2px) 0 0/44px 44px,
    linear-gradient(180deg,#ffe6f1 0%, #fff7fb 38%, #ffeff7 100%) !important;
  background-attachment:fixed;
}
html[data-theme="dark"] header{
  background:linear-gradient(180deg,#ffd9e9,#ffeef6) !important;
  border-bottom:2px solid #ffd0e3 !important;
}
html[data-theme="dark"] header h1{ color:#ff4f8c !important; }
html[data-theme="dark"] .back{ color:#ff5f97 !important; font-weight:700; }
html[data-theme="dark"] .card,
html[data-theme="dark"] .sec,
html[data-theme="dark"] .v{
  border:2px solid #ffe0ec !important;
  border-radius:18px !important;
  box-shadow:0 6px 16px rgba(255,170,205,.12) !important;
  background:#fff !important;
}
html[data-theme="dark"] .card:active,
html[data-theme="dark"] .v:active,
html[data-theme="dark"] .sech:active{ background:#fff7fb !important; }
html[data-theme="dark"] .cls{
  color:#a05f78 !important;
  font-family:"Yuanti SC","YouYuan","PingFang SC","Microsoft YaHei",sans-serif !important;
}
html[data-theme="dark"] .cls::before{
  content:""; display:inline-block;
  width:18px; height:18px; margin-right:5px;
  background:url("/assets/kitty/kitty-pixel-anim.gif?v=3") center/contain no-repeat;
  vertical-align:-4px;
  image-rendering:pixelated;
}
html[data-theme="dark"] .vic{
  background:linear-gradient(135deg,#ff9ec4,#ff5f97) !important;
  border-radius:50% !important;
}
html[data-theme="dark"] .vbadge,
html[data-theme="dark"] .back,
html[data-theme="dark"] .go{ color:#ff5f97 !important; }
html[data-theme="dark"] .secc{ background:#ffeaf3 !important; color:#ff5f97 !important; }
html[data-theme="dark"] .bar,
html[data-theme="dark"] .vbar{ background:#ffeaf3 !important; }
html[data-theme="dark"] .bar > i,
html[data-theme="dark"] .vbar > i{ background:linear-gradient(90deg,#ff9ec4,#ff5f97) !important; }
html[data-theme="dark"] .done{ color:#ff5f97 !important; }
html[data-theme="dark"] #gate,
html[data-theme="dark"] #player{ background:rgba(255,236,245,.92) !important; }
html[data-theme="dark"] .box,
html[data-theme="dark"] .pc{
  border-radius:22px !important;
  border:2px solid #ffe0ec !important;
  box-shadow:0 18px 44px rgba(255,143,188,.28) !important;
  background:#fff !important;
}
html[data-theme="dark"] .ph{ background:linear-gradient(180deg,#ffe0ee,#fff3f9) !important; }
html[data-theme="dark"] #gateLink,
html[data-theme="dark"] #presume,
html[data-theme="dark"] #pclose{
  background:linear-gradient(135deg,#ff9ec4,#ff5f97) !important;
  color:#fff !important; border:0 !important; border-radius:12px !important;
}

/* ---------- 护眼主题：米色 ---------- */
html[data-theme="sepia"]{
  --bg:#e9dfc8; --bg2:#f4ecd8; --bg3:#ece1c8;
  --fg:#3a3225; --fg2:#6b5f47; --fg3:#9a8b6e;
  --line:#ddd0b2; --acc:#8a6a3b; --ok:#2fa36b;
}
html[data-theme="sepia"] body{ background:#e9dfc8 !important; }
html[data-theme="sepia"] header{ background:#efe4cc !important; border-bottom:1px solid #ddd0b2 !important; }
