* { box-sizing: border-box; }
body.adys-body { margin: 0; background: #f2f2f2; color: #1e1e1e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.adys-wrap { width: min(1380px, 96%); margin: 0 auto; }
.adys-header { background: linear-gradient(180deg, #062649, #07325f); border-bottom: 0; position: sticky; top: 0; z-index: 20; }
.adys-header-top { display: flex; gap: 16px; align-items: center; padding: 14px 0; }
.adys-logo { color: #fff; font-weight: 700; font-size: 24px; }
.adys-top-links { display: flex; gap: 14px; font-size: 13px; }
.adys-top-links a { color: #d4e2f6; }
.adys-top-links a.is-active { color: #ff9b2f; font-weight: 700; }
.adys-search { margin-left: auto; display: flex; width: min(540px, 100%); }
.adys-search input { flex: 1; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .22); color: #fff; padding: 10px 12px; border-radius: 8px 0 0 8px; }
.adys-search input::placeholder { color: rgba(255, 255, 255, .72); }
.adys-search button { border: 0; background: #ff8a2c; color: #111; padding: 0 14px; border-radius: 0 8px 8px 0; font-weight: 700; }
.adys-top-icons { display: flex; gap: 10px; margin-left: 8px; }
.adys-top-icons a { color: #d7e4f6; font-size: 14px; }
.adys-nav-wrap { border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .12); }
.adys-nav { display: flex; gap: 14px; overflow-x: auto; white-space: nowrap; padding: 10px 0; color: #d8e6f7; }
.adys-nav a:hover { color: #fff; }
.adys-hidden-nav { display: none; }
.adys-tools { display: flex; gap: 10px; align-items: center; padding: 8px 0 10px; color: #c8d7ea; overflow-x: auto; white-space: nowrap; }
.adys-hot { color: #ffcb8c; font-weight: 700; }
.adys-app { margin-left: auto; color: #ffd7a9; }
.adys-cat-drawer { display: none; background: #0a2a4f; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.adys-cat-drawer.is-open { display: block; }
.adys-cat-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.adys-cat-list a { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 6px 10px; font-size: 13px; color: #dce9f8; }
.adys-main { padding: 16px 0 28px; }
.adys-hero { margin-top: 0; background: radial-gradient(circle at 20% 0, #1c355f, #090f1e 45%, #070b14 100%); border-radius: 0; padding: 10px 0 14px; overflow: hidden; position: relative; }
.adys-hero-track { position: relative; height: 360px; margin: 0 32px; border-radius: 6px; overflow: hidden; }
.adys-hero-item { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .35s ease; }
.adys-hero-item.is-active { opacity: 1; z-index: 1; }
.adys-hero-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adys-hero-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 12px; color: #fff; font-size: 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); }
.adys-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 24px; height: 44px; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
.adys-hero-prev { left: 0; border-radius: 0 6px 6px 0; }
.adys-hero-next { right: 0; border-radius: 6px 0 0 6px; }
.adys-hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.adys-hero-dots button { width: 18px; height: 3px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.adys-hero-dots button.is-active { background: #ff8a2c; }
.adys-quick-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 12px; background: #fff; border-left: 1px solid #e5e7ec; border-right: 1px solid #e5e7ec; border-bottom: 1px solid #e5e7ec; justify-content: center; }
.adys-quick-tabs a { color: #666; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #f5f7fb; border: 1px solid #e8edf4; display: inline-flex; align-items: center; gap: 4px; transition: all .2s ease; }
.adys-quick-tabs a span { font-size: 12px; line-height: 1; }
.adys-quick-tabs a:hover { color: #ff8a2c; border-color: #ffd9bc; background: #fff8f2; }
.adys-quick-tabs a.is-active { color: #fff; background: #ff8a2c; border-color: #ff8a2c; font-weight: 700; }
.adys-content-shell { background: #fff; border: 1px solid #e5e7ec; border-top: 0; padding: 10px 12px 14px; }
.adys-layout { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; }
.adys-block { margin-top: 14px; background: #fff; border: 1px solid #eceff3; border-radius: 6px; padding: 12px; }
.adys-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.adys-block-head h1, .adys-block-head h2, .adys-block-head h3 { margin: 0; font-size: 24px; color: #2a2a2a; font-weight: 600; }
.adys-block-head a { color: #999; font-size: 11px; }
.adys-sub-head { display: flex; justify-content: space-between; align-items: center; color: #a5a5a5; margin-bottom: 10px; font-size: 12px; }
.adys-switch { color: #ff7a2b; }
.adys-grid { display: grid; gap: 12px; }
.adys-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.adys-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.adys-card img { width: 100%; aspect-ratio: 3/4; border-radius: 2px; object-fit: cover; display: block; }
.adys-card b { display: block; margin-top: 6px; line-height: 1.3; font-size: 12px; color: #2a2a2a; }
.adys-card span { display: block; margin-top: 2px; color: #888; font-size: 12px; }
.adys-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.adys-rank li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: center; }
.adys-rank span { color: #ff7a2b; font-weight: 700; }
.adys-rank a { color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adys-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adys-filter + .adys-filter { margin-top: 8px; }
.adys-filter a { padding: 4px 9px; border-radius: 12px; background: #f6f7f9; border: 1px solid #eceff3; font-size: 12px; color: #666; }
.adys-filter a.is-active { background: #ff8a2c; color: #fff; border-color: #ff8a2c; font-weight: 700; }
.adys-pager { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.adys-pager a { padding: 7px 11px; border-radius: 8px; background: #f7f8fa; border: 1px solid #e8ecf1; color: #555; }
.adys-pager a.active { background: #ff8a2c; color: #fff; border-color: #ff8a2c; font-weight: 700; }
.adys-breadcrumb { color: #888; margin-bottom: 12px; }
.adys-detail { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; background: #fff; border: 1px solid #eceff3; border-radius: 6px; padding: 14px; }
.adys-detail img { width: 100%; border-radius: 10px; aspect-ratio: 3/4; object-fit: cover; }
.adys-desc { color: #666; line-height: 1.75; }
.adys-btn { display: inline-block; background: #ff7a2b; color: #111; padding: 9px 14px; border-radius: 8px; font-weight: 700; margin-top: 10px; }
.adys-btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.adys-btn-muted { background: #f3f4f7; color: #555; border: 1px solid #e6e8ed; }
.adys-player { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; }
.adys-play-tips { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; font-size: 13px; color: #888; }
.adys-play-tips a { color: #ff7a2b; }
.adys-source-list { display: flex; flex-wrap: wrap; gap: 8px; }
.adys-source-list a, .adys-episodes a { padding: 7px 10px; border-radius: 8px; background: #f7f8fa; border: 1px solid #e8ecf1; font-size: 13px; display: inline-block; color: #555; }
.adys-source-list a.active, .adys-episodes a.active { background: #ff7a2b; color: #fff; border-color: #ff7a2b; font-weight: 700; }
.adys-episodes { display: flex; flex-wrap: wrap; gap: 8px; }
.adys-ep-line { margin-bottom: 10px; }
.adys-ep-line b { display: block; margin-bottom: 8px; color: #df7d32; }
.adys-pn { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adys-pn a, .adys-pn span { padding: 10px 12px; border-radius: 8px; border: 1px solid #e8ecf1; background: #fff; color: #555; }
.adys-mini-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.adys-mini-tags a { font-size: 12px; color: #777; background: #f6f7f9; border: 1px solid #eceff3; border-radius: 12px; padding: 4px 8px; }
.adys-read-list { margin: 0; padding-left: 18px; color: #666; }
.adys-read-list li { margin: 7px 0; }
.adys-side-fallback { display: grid; gap: 10px; }
.adys-side-fallback-item { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; align-items: center; }
.adys-side-fallback-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; display: block; }
.adys-side-fallback-item b { display: block; font-size: 13px; line-height: 1.35; color: #2a2a2a; }
.adys-side-fallback-item span { display: block; margin-top: 3px; font-size: 12px; color: #888; }
.adys-rate { display: flex; flex-wrap: wrap; gap: 8px; }
.adys-rate button { border: 1px solid #e5e8ed; background: #f7f8fa; color: #666; padding: 6px 11px; border-radius: 8px; cursor: pointer; }
.adys-footer { border-top: 1px solid #dfe4ea; color: #7a7a7a; background: #fff; }
.adys-footer .adys-wrap { padding: 18px 0 24px; text-align: center; font-size: 13px; }
@media (max-width: 1100px) {
  .adys-layout { grid-template-columns: 1fr; }
  .adys-hero-track { height: 300px; margin: 0 26px; }
  .adys-grid-5, .adys-grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .adys-top-links { display: none; }
  .adys-top-icons { display: none; }
  .adys-hero-track { height: 220px; margin: 0 18px; }
  .adys-hero-item span { font-size: 12px; padding: 8px; }
  .adys-grid-5, .adys-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adys-detail { grid-template-columns: 1fr; }
  .adys-pn { grid-template-columns: 1fr; }
  .adys-logo { font-size: 22px; }
  .adys-search { width: 100%; }
}
