* { -webkit-box-sizing: border-box; box-sizing: border-box; }
html { background: #1a1625; color: #eeeaf5; font-family: Arial, Tahoma, sans-serif; }
body { margin: 0; min-height: 100vh; background: #1a1625; padding-bottom: 76px; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.topbar { height: 64px; border-bottom: 1px solid #2a2439; background: #17131f; }
.topbar-inner { max-width: 1080px; height: 64px; margin: 0 auto; padding: 0 24px; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; }
.back { margin-right: 16px; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 34px; line-height: 1; }
.page-title { color: #ef5655; font-size: 24px; font-weight: 700; }
.brand { color: #ef5655; font-size: 26px; font-weight: 800; }
.search-mini { margin-left: auto; width: 270px; display: -webkit-box; display: flex; }
.search-mini input { width: 100%; border: 1px solid #3a314d; border-radius: 10px 0 0 10px; background: #241e32; color: white; padding: 10px 12px; }
.search-mini button { border: 0; border-radius: 0 10px 10px 0; background: #ef5655; color: #fff; padding: 0 14px; }
.container { max-width: 848px; margin: 0 auto; padding: 26px 16px 36px; }
.wide { max-width: 1120px; }
.breadcrumb { color: #a8a2b4; font-size: 14px; margin-bottom: 20px; }
.breadcrumb span { margin: 0 10px; color: #665d75; }
.detail-hero { display: -webkit-box; display: flex; }
.detail-poster { width: 248px; height: 332px; -o-object-fit: cover; object-fit: cover; border-radius: 8px; -webkit-box-flex: 0; flex: 0 0 auto; }
.detail-info { padding-left: 38px; -webkit-box-flex: 1; flex: 1; min-width: 0; }
.eyebrow { margin: 2px 0 8px; color: #f2f0f5; font-weight: 700; font-size: 18px; }
h1 { margin: 0 0 22px; color: #ef5655; font-size: 25px; line-height: 1.35; }
h2 { margin: 0 0 16px; font-size: 21px; }
h3 { margin: 0; }
.badge { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 3px 8px; border-radius: 5px; color: #fff; background: #4d80df; font-size: 12px; }
.muted { color: #a9a2b5; }
.stats { display: -webkit-box; display: flex; margin: 0 -7px 48px; }
.stat { width: 50%; margin: 0 7px; padding: 14px; border-radius: 9px; background: #2c253c; color: #aaa3b7; }
.stat strong { display: block; margin-top: 3px; color: #fff; font-size: 19px; }
.actions { display: -webkit-box; display: flex; margin: 0 -5px; }
.btn { display: inline-block; border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-weight: 700; text-align: center; padding: 14px 18px; }
.btn-primary { width: calc(100% - 104px); margin: 0 5px; background: #e95551; }
.btn-share { width: 94px; margin: 0 5px; background: #4b7dde; }
.btn-blue { background: #4b7dde; }
.panel { margin-top: 24px; padding: 18px; border-radius: 8px; background: #2c253c; line-height: 1.65; }
.panel p { margin: 0 0 8px; }
.meta-list { display: -webkit-box; display: flex; -webkit-box-lines: multiple; flex-wrap: wrap; margin: 0 -8px; }
.meta-item { width: 50%; padding: 7px 8px; color: #aaa3b7; }
.meta-item strong { color: #fff; margin-left: 5px; }
.review { display: -webkit-box; display: flex; padding: 15px 0; border-top: 1px solid #41374f; }
.avatar { width: 42px; height: 42px; margin-right: 12px; border-radius: 50%; background: #4d435e; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; font-weight: 800; }
.review-main { -webkit-box-flex: 1; flex: 1; }
.stars { color: #f5bc3f; letter-spacing: 2px; }
.review-more.hidden { display: none; }
.tag-list a { display: inline-block; margin: 0 7px 8px 0; padding: 7px 12px; border-radius: 16px; background: #3a314b; color: #d7d1df; font-size: 13px; }
.section { margin-top: 34px; }
.section-head { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: justify; justify-content: space-between; }
.section-head a { color: #ef5655; font-size: 14px; }
.cards { display: -webkit-box; display: flex; -webkit-box-lines: multiple; flex-wrap: wrap; margin: 0 -7px; }
.card { width: 16.666%; padding: 0 7px 18px; }
.card img { width: 100%; height: 176px; -o-object-fit: cover; object-fit: cover; border-radius: 7px; background: #2c253c; }
.card h3 { margin-top: 8px; font-size: 13px; line-height: 1.35; }
.card .card-badge { position: relative; display: inline-block; margin-top: -30px; padding: 3px 6px; background: #4c7cda; border-radius: 4px; font-size: 10px; }
.footer { margin-top: 42px; padding: 30px 16px 100px; border-top: 1px solid #332a43; color: #a9a2b5; background: #17131f; text-align: center; }
.footer-logo { width: 62px; height: 62px; margin: 0 auto 8px; border-radius: 50%; }
.footer strong { color: #ef5655; }
.footer-links a { display: inline-block; margin: 12px 8px; color: #d0c9da; }
.bottom-nav { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; height: 64px; border-top: 1px solid #3a314c; background: rgba(23,19,31,.98); display: -webkit-box; display: flex; }
.bottom-nav a { width: 20%; padding-top: 8px; color: #a9a2b5; text-align: center; font-size: 12px; }
.bottom-nav b { display: block; height: 26px; color: #c6bfd0; font-size: 20px; line-height: 24px; }
.bottom-nav .active { color: #ef5655; }
.hero-home { padding: 42px 20px; border-radius: 12px; background: #2c253c; text-align: center; }
.hero-home h1 { margin-bottom: 10px; }
.chip-row { margin: 0 -5px 18px; }
.chip { display: inline-block; margin: 5px; padding: 9px 14px; border-radius: 20px; background: #2c253c; color: #d7d1df; }
.chip strong { display: block; color: #fff; }
.category-list { display: -webkit-box; display: flex; -webkit-box-lines: multiple; flex-wrap: wrap; margin: 0 -7px; }
.category-item { width: 25%; padding: 7px; }
.category-item a { display: block; padding: 16px; border-radius: 9px; background: #2c253c; }
.category-item small { display: block; margin-top: 5px; color: #aaa3b7; }
.form-card { max-width: 600px; margin: 30px auto; padding: 25px; border-radius: 12px; background: #2c253c; text-align: center; }
.large-search { display: -webkit-box; display: flex; margin-top: 18px; }
.large-search input { -webkit-box-flex: 1; flex: 1; min-width: 0; padding: 14px; border: 1px solid #4a405d; border-radius: 9px 0 0 9px; background: #1d1828; color: #fff; }
.large-search button { border-radius: 0 9px 9px 0; }
.empty, .notice { padding: 30px; border-radius: 10px; background: #2c253c; text-align: center; color: #bbb4c6; }
.profile-actions .btn { margin: 5px; }
.shortcut { display: -webkit-box; display: flex; -webkit-box-pack: justify; justify-content: space-between; margin: 8px 0; padding: 15px; border-radius: 8px; background: #2c253c; }
.shortcut span { color: #aaa3b7; }
.auth-card { max-width: 430px; margin: 22px auto; padding: 28px; border-radius: 12px; background: #2c253c; }
.auth-card label { display: block; margin: 15px 0; color: #c9c3d2; }
.auth-card input { width: 100%; margin-top: 6px; padding: 13px; border: 1px solid #4a405d; border-radius: 8px; background: #1d1828; color: #fff; }
.password-row { position: relative; }
.password-row button { position: absolute; right: 7px; bottom: 7px; width: 38px; height: 38px; border: 0; background: transparent; color: #c9c3d2; cursor: pointer; }
.auth-submit { width: 100%; margin: 8px 0 0; }
.auth-message { min-height: 24px; margin-top: 12px; color: #efb950; }
.rank-tabs { display: -webkit-box; display: flex; margin: 0 -4px 18px; }
.rank-tab { width: 25%; margin: 4px; padding: 12px 4px; border: 1px solid #40364f; border-radius: 8px; background: #2c253c; color: #c9c3d2; cursor: pointer; font-size: 19px; }
.rank-tab span { display: block; font-size: 12px; }
.rank-tab.active { border-color: #ef5655; color: #fff; background: #3a273b; }
.rank-row { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; margin: 8px 0; padding: 10px; border-radius: 9px; background: #2c253c; }
.rank-row b { width: 34px; color: #ef5655; font-size: 20px; text-align: center; }
.rank-row img { width: 50px; height: 66px; margin: 0 12px; border-radius: 5px; -o-object-fit: cover; object-fit: cover; }
.rank-row span { -webkit-box-flex: 1; flex: 1; }
.rank-row small { display: block; margin-top: 5px; color: #aaa3b7; }
.contact-links .btn { margin: 5px; }
.copy-page { padding: 24px; border-radius: 10px; background: #2c253c; line-height: 1.75; }
.copy-page h2 { margin-top: 28px; color: #ef5655; }
.copy-page h2:first-child { margin-top: 0; }
.article-image { width: 100%; max-height: 430px; margin: 18px 0; border-radius: 10px; -o-object-fit: cover; object-fit: cover; }
.faq-item { border-bottom: 1px solid #43394f; }
.faq-q { width: 100%; border: 0; background: transparent; color: #fff; padding: 17px 0; text-align: left; font-weight: 700; cursor: pointer; }
.faq-a { display: none; padding: 0 0 17px; color: #bdb6c7; }
.faq-item.open .faq-a { display: block; }
.watch-shell { max-width: 470px; margin: 20px auto; }
.player { height: 610px; border-radius: 12px; background: #0f0d15; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; text-align: center; }
.player-icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: #ef5655; font-size: 32px; line-height: 70px; }
.episodes { margin-top: 15px; display: -webkit-box; display: flex; -webkit-box-lines: multiple; flex-wrap: wrap; }
.episode { width: 48px; margin: 4px; padding: 9px 0; border: 0; border-radius: 6px; color: #ddd7e6; background: #2c253c; cursor: pointer; }
.episode.active { background: #ef5655; color: #fff; }
.history-card { display: -webkit-box; display: flex; padding: 14px; border-radius: 10px; background: #2c253c; }
.history-card img { width: 90px; height: 120px; border-radius: 6px; -o-object-fit: cover; object-fit: cover; }
.history-card div { padding-left: 15px; }
.progress { height: 7px; margin-top: 14px; border-radius: 5px; background: #493f5b; overflow: hidden; }
.progress i { display: block; width: 1%; height: 100%; background: #ef5655; }
.modal { display: none; position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; left: 0; }
.modal.open { display: block; }
.modal-shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,.7); }
.modal-card { position: absolute; top: 50%; left: 50%; width: 90%; max-width: 420px; padding: 24px; border-radius: 12px; background: #2c253c; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
.modal-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; color: #aaa3b7; font-size: 28px; cursor: pointer; }
.share-options { display: -webkit-box; display: flex; margin: 0 -5px; }
.share-options button { width: 50%; margin: 5px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 88px; padding: 10px 16px; border-radius: 8px; background: #fff; color: #201a2c; -webkit-transform: translateX(-50%); transform: translateX(-50%); }
@media (max-width: 720px) {
  .topbar, .topbar-inner { height: 59px; }
  .topbar-inner { padding: 0 20px; }
  .page-title { font-size: 20px; }
  .search-mini { display: none; }
  .container { padding: 23px 24px 28px; }
  .breadcrumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .detail-hero { display: block; }
  .detail-poster { width: 250px; height: 333px; margin: 0 auto 27px; }
  .detail-info { padding-left: 0; }
  h1 { font-size: 23px; }
  .stats { margin-bottom: 27px; }
  .stat { padding: 14px 12px; }
  .actions { margin-bottom: 4px; }
  .panel { margin-left: -8px; margin-right: -8px; }
  .meta-item { width: 100%; }
  .card { width: 33.333%; }
  .card img { height: 150px; }
  .category-item { width: 50%; }
  .footer { display: none; }
  .player { height: 70vh; min-height: 480px; }
}
@media (max-width: 380px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .detail-poster { width: 235px; height: 313px; }
  .btn { padding-left: 11px; padding-right: 11px; }
}
