/* ============================================================
   青石影院 · 全站主题覆盖
   与 acus-tech 深紫粉胶囊布局差异化：
   墨青底 + 青绿描边 + 竖海报 + 左对齐中部 + 直角导航
   ============================================================ */

:root {
  --cy-bg: #08110f;
  --cy-bg-2: #0d1815;
  --cy-bg-3: #14241f;
  --cy-surface: #12201c;
  --cy-surface-2: #1a2e28;
  --cy-line: rgba(94, 234, 212, .14);
  --cy-line-strong: rgba(94, 234, 212, .32);
  --cy-text: #eef6f2;
  --cy-text-2: #c5ddd4;
  --cy-text-3: #8eaaa0;
  --cy-text-4: #5f7a72;
  --cy-pri: #1fad98;
  --cy-pri-2: #3ee0c0;
  --cy-pri-3: #f3c56b;
  --cy-grad: linear-gradient(120deg, #0f766e 0%, #1fad98 55%, #d4a017 100%);
  --cy-grad-soft: linear-gradient(135deg, rgba(31, 173, 152, .16) 0%, rgba(212, 160, 23, .08) 100%);
  --cy-orange: #e8b84a;
  --cy-blue: #3ee0c0;
  --cy-green: #2dd4bf;
  --cy-shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);
  --cy-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  --cy-shadow-lg: 0 22px 48px -12px rgba(15, 118, 110, .4);
  --cy-r-sm: 2px;
  --cy-r: 4px;
  --cy-r-lg: 6px;
  --cy-r-xl: 8px;
}

html,
body,
body.cy-body {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(31, 173, 152, .18), transparent 55%),
    radial-gradient(700px 380px at 100% 8%, rgba(212, 160, 23, .08), transparent 50%),
    var(--cy-bg) !important;
  color: var(--cy-text);
  background-attachment: fixed;
}

/* ---------- HEADER：实心底栏 + 下划线导航，不再用胶囊 ---------- */
.cy-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #06100e;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(62, 224, 192, .22);
}
.cy-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #0f766e 0%, #1fad98 40%, #e8b84a 100%);
}
.cy-header__inner {
  height: 64px;
  min-height: 64px;
  padding: 0;
  gap: 16px;
  align-items: center;
}
.cy-logo {
  flex-shrink: 0;
  padding: 0 0 0 10px;
  border-radius: 0;
  gap: 10px;
  border-left: 3px solid #1fad98;
}
.cy-logo:hover { background: transparent; }
.cy-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: #1fad98;
  box-shadow: none;
  color: #06100e;
}
.cy-logo__txt b {
  background: none;
  -webkit-text-fill-color: #f4faf7;
  color: #f4faf7;
  letter-spacing: 0.4px;
  font-size: 16px;
  line-height: 1.2;
}
.cy-logo__txt small {
  color: #7aa89c;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.cy-nav {
  flex: 1;
  min-width: 0;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cy-nav::-webkit-scrollbar { display: none; }
.cy-nav__item {
  border-radius: 0;
  padding: 8px 11px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--cy-text-3);
  border-bottom: 0;
  background: transparent;
  box-shadow: inset 0 -2px 0 transparent;
}
.cy-nav__item:hover {
  color: #fff;
  background: transparent;
  box-shadow: inset 0 -2px 0 rgba(62, 224, 192, .45);
}
.cy-nav__item.is-active {
  color: #3ee0c0;
  background: transparent;
  box-shadow: inset 0 -2px 0 #e8b84a;
}

.cy-head-right { flex-shrink: 0; }
.cy-search {
  width: 196px;
  height: 36px;
  border-radius: 2px;
  background: #0a1613;
  border: 1px solid rgba(62, 224, 192, .28);
}
.cy-search:focus-within {
  border-color: #1fad98;
  background: #0e1c19;
}
.cy-iconbtn {
  border-radius: 2px;
  border: 1px solid rgba(62, 224, 192, .2);
}
.cy-iconbtn:hover { background: rgba(31, 173, 152, .16); color: #3ee0c0; }

/* ---------- HERO：左对齐电影场刊，不再居中渐变字 ---------- */
.cy-hero {
  text-align: left;
  padding: 42px 0 28px;
  background:
    linear-gradient(90deg, rgba(31, 173, 152, .14) 0%, transparent 52%),
    linear-gradient(180deg, rgba(8, 17, 15, 0) 0%, var(--cy-bg) 100%);
}
.cy-hero .cy-wrap {
  position: relative;
  padding-left: 24px;
}
.cy-hero .cy-wrap::before { display: none; }
.cy-hero__title {
  font-size: 34px;
  letter-spacing: 1px;
  line-height: 1.25;
  background: none;
  -webkit-text-fill-color: #f7fbf8;
  color: #f7fbf8;
  filter: none;
  margin-bottom: 10px;
  border-left: 4px solid #1fad98;
  padding-left: 12px;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}
.cy-hero__subline {
  color: #e8b84a;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: none;
  line-height: 1.6;
  max-width: 760px;
}
.cy-hero__desc {
  margin: 0 0 20px;
  max-width: 720px;
  overflow: visible;
}
.cy-hero__form {
  margin: 0;
  max-width: 640px;
  border-radius: 2px;
  background: #0d1a17;
  border: 1px solid rgba(62, 224, 192, .35);
  box-shadow: none;
  backdrop-filter: none;
}
.cy-hero__form button {
  border-radius: 2px;
  box-shadow: none;
  letter-spacing: .12em;
}
.cy-hero__form button:hover {
  transform: none;
  box-shadow: 0 0 0 1px #e8b84a;
}
.cy-hero__hot {
  justify-content: flex-start;
  align-items: center;
}
.cy-hero__hot span {
  flex-shrink: 0;
  line-height: 28px;
}
.cy-hero__hot a {
  border-radius: 2px;
  background: transparent;
  color: #c5ddd4;
  border: 1px solid rgba(62, 224, 192, .28);
}
.cy-hero__hot a:hover {
  background: #1fad98;
  color: #06100e;
  transform: none;
}

/* ---------- 区块标题 ---------- */
.cy-section { padding: 28px 0 18px; }
.cy-section__title {
  font-size: 20px;
  letter-spacing: 0.4px;
  text-transform: none;
  flex-wrap: wrap;
  line-height: 1.4;
  max-width: 100%;
}
.cy-section__title svg { color: #e8b84a; }
.cy-section__more:hover { color: #3ee0c0; }
.cy-section__tabs {
  border-radius: 2px;
  background: #0d1815;
}
.cy-section__tabs a { border-radius: 2px; }
.cy-section__tabs a.is-active { box-shadow: none; }

/* ---------- 卡片：竖海报 3:4 + 5 列，不再 16:9 横卡 ---------- */
.cy-grid,
.cy-grid--6,
.cy-grid--5,
.cy-grid--4 {
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cy-card {
  background: #101c19;
  border: 1px solid rgba(62, 224, 192, .12);
  border-radius: 2px;
  box-shadow: none;
}
.cy-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 184, 74, .55);
  box-shadow: 0 18px 32px -16px rgba(0, 0, 0, .7);
}
.cy-card__cover {
  aspect-ratio: 3 / 4;
  background: #07110f;
}
.cy-card__cover img { object-fit: cover; }
.cy-card:hover .cy-card__cover img { transform: scale(1.04); }
.cy-card__body {
  padding: 10px 10px 12px;
  gap: 4px;
  background: linear-gradient(180deg, #101c19 0%, #0a1412 100%);
}
.cy-card__title {
  font-size: 14px;
  min-height: 0;
  font-weight: 800;
  line-height: 1.4;
}
.cy-card:hover .cy-card__title a { color: #e8b84a; }
.cy-card__desc { color: var(--cy-text-4); min-height: 0; }
.cy-card__tags { display: none; }
.cy-card__score {
  background: #e8b84a;
  color: #1a1406;
  border-radius: 0 0 6px 0;
}
.cy-card__hd {
  background: #1fad98;
  color: #06100e;
  border-radius: 0;
  letter-spacing: .08em;
}
.cy-card__dur {
  background: rgba(6, 16, 14, .78);
  border-radius: 0;
}
.cy-card__cat {
  background: rgba(31, 173, 152, .16);
  color: #3ee0c0;
}
.cy-card__tags a,
.cy-card__tags span {
  border-radius: 2px;
  background: transparent;
  border: 1px solid rgba(62, 224, 192, .2);
}
.cy-card__tags a:hover {
  background: rgba(31, 173, 152, .2);
  color: #e8b84a;
}
.cy-card__play {
  background: linear-gradient(to top, rgba(6, 16, 14, .78), transparent 60%);
}
.cy-card__play > span {
  background: #1fad98;
  color: #06100e;
  border-radius: 2px;
}

.cy-card--ranked .cy-card__cover::after {
  background: #1fad98;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.cy-card--ranked[data-rank="1"] .cy-card__cover::after { background: #e8b84a; }
.cy-card--ranked[data-rank="2"] .cy-card__cover::after { background: #8ee4d4; }
.cy-card--ranked[data-rank="3"] .cy-card__cover::after { background: #c9842a; }

.cy-sitem__cover.is-broken,
.cy-card__cover.is-broken {
  background: linear-gradient(160deg, #0f3d36, #3a2e10);
}

/* ---------- 分类页 ---------- */
.cy-list-hero {
  padding: 36px 0 26px;
  background:
    linear-gradient(90deg, rgba(31, 173, 152, .18) 0%, transparent 60%),
    #0a1512;
  border-bottom: 3px solid #1fad98;
}
.cy-list-hero__kicker {
  border-radius: 0;
  background: transparent;
  color: #e8b84a;
  border: 1px solid #e8b84a;
  letter-spacing: 0.4px;
  text-transform: none;
}
.cy-list-hero__title { letter-spacing: 1px; font-size: 32px; line-height: 1.25; white-space: normal; word-break: break-word; }
.cy-list-hero__title em {
  background: none;
  -webkit-text-fill-color: #3ee0c0;
  color: #3ee0c0;
}

.cy-filterbar {
  border-radius: 2px;
  background: #0e1c18;
  border: 1px solid rgba(62, 224, 192, .18);
}
.cy-filterbar__label {
  padding-top: 7px;
  line-height: 1.2;
}
.cy-filterbar__opts a,
.cy-filterbar__opts button {
  border-radius: 2px;
  border: 1px solid transparent;
}
.cy-filterbar__opts a:hover,
.cy-filterbar__opts button:hover {
  background: rgba(31, 173, 152, .16);
  color: #fff;
}
.cy-filterbar__opts a.is-active,
.cy-filterbar__opts button.is-active {
  background: #1fad98;
  color: #06100e;
  box-shadow: none;
}

.cy-pager a,
.cy-pager button {
  border-radius: 2px;
  min-width: 40px;
  color: #99f6e4;
  background: rgba(31, 173, 152, .1);
  border: 1px solid rgba(31, 173, 152, .35);
  box-shadow: none;
}
.cy-pager span {
  border-radius: 2px;
  min-width: 24px;
  color: var(--cy-text-3);
  background: transparent;
  border: 0;
  box-shadow: none;
}
.cy-pager a:hover,
.cy-pager button:hover {
  background: rgba(31, 173, 152, .16);
  border-color: #1fad98;
  color: #fff;
}
.cy-pager button {
  min-width: 120px;
  padding: 10px 22px;
}
.cy-pager .is-current,
.cy-pager strong,
.cy-pager b {
  background: #1fad98;
  color: #06100e;
}

.cy-search-form {
  border-radius: 2px;
  background: #0e1c18;
  align-items: center;
}
.cy-search-form button {
  border-radius: 2px;
}
.cy-search-hot__chip {
  border-radius: 2px;
  background: rgba(31, 173, 152, .08);
  border: 1px solid rgba(31, 173, 152, .22);
  color: #c5ddd4;
}
.cy-search-hot__chip:hover {
  color: #fff;
  background: rgba(31, 173, 152, .16);
}
.cy-search-hero {
  background: linear-gradient(90deg, rgba(31, 173, 152, .16) 0%, transparent 60%), #0a1512;
  border-bottom: 3px solid #1fad98;
}
.cy-search-hero__title {
  text-align: left;
  letter-spacing: 0.5px;
}
.cy-search-hero__title em {
  background: none;
  -webkit-text-fill-color: #e8b84a;
  color: #e8b84a;
}
.cy-search-hero__form {
  border-radius: 2px;
}
.cy-search-hero__form button,
.cy-search-hero__hot a {
  border-radius: 2px;
}
.cy-search-hero__hot a {
  background: rgba(31, 173, 152, .1);
  color: #99f6e4;
  border: 1px solid rgba(31, 173, 152, .28);
}
.cy-search-hero__inner { text-align: left; }
.cy-search-hero__stats { justify-content: flex-start; }
.cy-search-hero__hot { justify-content: flex-start; }

.cy-hub-card {
  border-radius: 2px;
  background: #101c19;
}
.cy-hub-card:hover {
  border-color: #e8b84a;
  background: rgba(31, 173, 152, .08);
}

.cy-empty,
.cy-static__panel,
.cy-auth__card {
  border-radius: 2px;
  background: #101c19;
}
.cy-empty-page h1 {
  background: none;
  -webkit-text-fill-color: #3ee0c0;
  color: #3ee0c0;
}
.cy-btn-primary,
.cy-empty__cta {
  border-radius: 2px;
  box-shadow: none;
}
.cy-auth__field input {
  border-radius: 2px;
}
.cy-auth__switch a { color: #3ee0c0; }

/* ---------- 详情页 ---------- */
.cy-show-hero {
  background:
    linear-gradient(90deg, rgba(31, 173, 152, .14), transparent 70%),
    #0a1512;
}
.cy-show-hero::before {
  background: linear-gradient(180deg, rgba(31, 173, 152, .2), transparent);
}
.cy-show-poster {
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  border: 1px solid rgba(232, 184, 74, .35);
}
.cy-show-info__kicker {
  border-radius: 2px;
  background: rgba(31, 173, 152, .14);
  color: #99f6e4;
  border: 1px solid rgba(31, 173, 152, .38);
}
.cy-show-info__title {
  background: none;
  -webkit-text-fill-color: #f7fbf8;
  color: #f7fbf8;
  letter-spacing: 0.4px;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 28px;
  line-height: 1.3;
  white-space: normal;
}
.cy-show-info__score {
  background: rgba(232, 184, 74, .12);
  border: 1px solid rgba(232, 184, 74, .38);
  border-radius: 2px;
}
.cy-show-info__score b {
  background: none;
  -webkit-text-fill-color: #e8b84a;
  color: #e8b84a;
}
.cy-show-meta__chip {
  border-radius: 2px;
}
.cy-show-meta__chip--cat,
.cy-show-meta__chip:hover {
  background: rgba(31, 173, 152, .16);
  color: #3ee0c0;
  border-color: rgba(31, 173, 152, .4);
}
.cy-show-people dd a:hover {
  color: #e8b84a;
  border-color: #e8b84a;
  background: rgba(232, 184, 74, .1);
}
.cy-show-actions {
  grid-template-columns: minmax(160px, 1.5fr) auto auto auto auto;
}
.cy-show-actions__play {
  border-radius: 2px;
  background: linear-gradient(120deg, #0f766e 0%, #1fad98 55%, #d4a017 100%);
  box-shadow: 0 10px 24px rgba(15, 118, 110, .35);
}
.cy-show-actions__play:hover {
  box-shadow: 0 0 0 1px #e8b84a, 0 14px 28px rgba(15, 118, 110, .4);
}
.cy-show-actions__icon {
  border-radius: 2px;
}
.cy-show-actions__icon:hover,
.cy-show-actions__icon.is-active {
  border-color: #e8b84a;
  color: #e8b84a;
  background: rgba(232, 184, 74, .1);
}
.cy-show-sec {
  border-radius: 2px;
  background: #101c19;
}
.cy-show-sec__head h2::before { background: #e8b84a; }
.cy-show-eps__tab { border-radius: 2px; }
.cy-show-eps__tab.is-active { background: #1fad98; color: #06100e; }
.cy-show-eps__ep {
  border-radius: 2px;
}
.cy-show-eps__ep:hover {
  border-color: #1fad98;
  background: rgba(31, 173, 152, .16);
}
.cy-show-crumb a:hover { color: #3ee0c0; }

/* ---------- 播放页 ---------- */
.cy-body--play { background: #050c0a !important; }
.cy-cinema--v2 {
  background: #050c0a;
}
.cy-cinema--v2::before {
  background: radial-gradient(800px 280px at 50% 0%, rgba(31, 173, 152, .2), transparent 70%);
}
.cy-player--v2 {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(31, 173, 152, .28), 0 18px 40px rgba(0, 0, 0, .55);
}
.cy-player--v2::after {
  background: linear-gradient(180deg, rgba(31, 173, 152, .08) 0%, transparent 8%, transparent 92%, rgba(212, 160, 23, .08) 100%);
  border-radius: 2px;
}
.cy-player--v2 .cy-player__placeholder {
  background: radial-gradient(ellipse at center, rgba(31, 173, 152, .12) 0%, rgba(8, 17, 15, .95) 70%);
}
.cy-player--v2 .cy-player__placeholder span {
  box-shadow: 0 16px 40px rgba(15, 118, 110, .45);
  border-radius: 2px;
}
.cy-player-nav:hover {
  background: #1fad98;
  color: #06100e;
}
.cy-stage-bar--v2 {
  border-radius: 2px;
  background: #101c19;
  border: 1px solid rgba(62, 224, 192, .18);
}
.cy-stage-bar__nav { border-radius: 2px; }
.cy-stage-bar__nav:hover {
  border-color: #1fad98;
  background: rgba(31, 173, 152, .12);
}
.cy-stage-bar__nav--primary { background: #1fad98; color: #06100e; }
.cy-stage-bar__nav--primary:hover { box-shadow: none; color: #06100e; }
.cy-eppanel--v2,
.cy-psec,
.cy-pcard,
.cy-pnotice {
  border-radius: 2px;
}
.cy-eppanel--v2 .cy-eppanel__ep {
  border-radius: 2px;
}
.cy-pcard__score {
  background: none;
  -webkit-text-fill-color: #e8b84a;
  color: #e8b84a;
}

.cy-rank-card,
.cy-rank-cat {
  border-radius: 2px;
  background: #101c19;
}
.cy-rank-card__head {
  background: rgba(31, 173, 152, .08);
}
.cy-rank-card__head svg { color: #e8b84a; }
.cy-rank-list__item:hover .cy-rank-list__title { color: #e8b84a; }
.cy-rank-list__thumb { border-radius: 2px; aspect-ratio: 16 / 9; }
.cy-rank-cat__head h2::before { background: #e8b84a; }

.cy-sitem {
  border-radius: 2px;
  background: #101c19;
}

/* ---------- 页脚 ---------- */
.cy-footer {
  margin-top: 48px;
  background: #050c0a;
  border-top: 3px solid #1fad98;
  padding: 36px 0 24px;
}
.cy-footer__col h4 {
  color: #e8b84a;
  letter-spacing: 0.4px;
  text-transform: none;
  font-size: 13px;
}
.cy-footer__col a:hover { color: #3ee0c0; }
.cy-footer__bottom {
  border-top-color: rgba(62, 224, 192, .16);
}
.cy-footer__brand .cy-logo { border-left-color: #e8b84a; }

.cy-top {
  border-radius: 2px;
  background: #1fad98;
  color: #06100e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}
.cy-overlay {
  background: rgba(5, 12, 10, .88);
}
.cy-overlay__form {
  border-radius: 2px;
  background: #101c19;
}
.cy-overlay__form button { border-radius: 2px; }
.cy-drawer__panel {
  background: #0a1512;
  border-left: 3px solid #1fad98;
}
.cy-drawer__nav a { border-radius: 2px; }
.cy-drawer__nav a:hover { background: rgba(31, 173, 152, .14); color: #fff; }
.cy-drawer__nav a.is-active {
  background: #1fad98;
  color: #06100e;
}

.bbaaseo-fly__plane { filter: drop-shadow(0 6px 14px rgba(31, 173, 152, .42)) hue-rotate(110deg); }
.bbaaseo-fly__text {
  background: linear-gradient(92deg, #ccfbf1 0%, #1fad98 42%, #e8b84a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cy-skip { background: #1fad98; color: #06100e; border-radius: 0 0 4px 0; }

a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline-color: #e8b84a;
}

::-webkit-scrollbar-track { background: #0a1512; }
::-webkit-scrollbar-thumb {
  background: rgba(31, 173, 152, .4);
  border-color: #0a1512;
}
::-webkit-scrollbar-thumb:hover { background: rgba(232, 184, 74, .55); }
::selection { background: rgba(31, 173, 152, .45); color: #fff; }
::-moz-selection { background: rgba(31, 173, 152, .45); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .cy-search { width: 160px; }
  .cy-nav__item { padding: 8px 8px; font-size: 13px; }
  .cy-grid, .cy-grid--6, .cy-grid--5, .cy-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .cy-grid, .cy-grid--6, .cy-grid--5, .cy-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cy-hero__title { font-size: 28px; letter-spacing: 0.5px; }
  .cy-list-hero__title { font-size: 28px; }
}
@media (max-width: 760px) {
  .cy-header__inner { align-items: center; height: 56px; min-height: 58px; padding: 0; }
  .cy-hero .cy-wrap { padding-left: 14px; padding-right: 14px; }
  .cy-hero__title { font-size: 24px; letter-spacing: 0.3px; }
  .cy-hero__form { margin: 0; max-width: none; }
  .cy-grid, .cy-grid--6, .cy-grid--5, .cy-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .cy-card__title { font-size: 13px; }
  .cy-player--v2 { box-shadow: 0 0 0 1px rgba(31, 173, 152, .28); }
  .cy-show-actions { grid-template-columns: 1fr 1fr; }
  .cy-show-actions__play { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .cy-grid, .cy-grid--6, .cy-grid--5, .cy-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cy-card__desc { display: none; }
  .cy-hero__title { font-size: 22px; }
}
@media (hover: none) and (pointer: coarse) {
  .cy-card:hover { transform: none; }
}
