:root {
  --clone-layout-lock: 1;
}

html {
  -webkit-text-size-adjust:100%;
  -moz-text-size-adjust:100%;
  text-size-adjust:100%;
}

html,body,#root,.page-shell,.site-header,.site-header-inner,.detail-layout,.detail-main,.detail-poster,.player-wrap,.movie-grid,.filter-panel,.filter-row {
  min-width:0;
  max-width:100%;
}

body,.page-shell {
  overflow-x:hidden;
}

.site-header {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

.site-header-inner {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:12px;
}

.site-header-inner>.header-search {
  flex:0 0 256px;
  width:256px;
  min-width:256px;
  max-width:256px;
}

.detail-main h1,.movie-card h3 {
  letter-spacing:normal;
}

.movie-card,.movie-card:hover,.hero-poster-card,.hero-poster-card:hover {
  transform:none;
}

.movie-cover,.detail-poster,.player-wrap {
  position:relative;
  overflow:hidden;
}

.movie-cover img,.detail-poster img,.hero-poster-card img {
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  -webkit-object-fit:cover;
  -o-object-fit:cover;
  object-fit:cover;
}

.player-wrap {
  width:100%;
}

.player-wrap video,.video-el,.movie-player {
  display:block;
  width:100%!important;
  max-width:100%!important;
  height:auto;
  aspect-ratio:16 / 9;
  -webkit-object-fit:contain;
  -o-object-fit:contain;
  object-fit:contain;
}

img,video,iframe {
  max-width:100%;
}

.filter-row,.tag-row,.hero-actions,.breadcrumb,.footer-links {
  display:flex;
  flex-wrap:wrap;
  min-width:0;
}

.auth-card,.login-card,.register-card,form {
  max-width:100%;
  min-width:0;
}

@media (min-width: 1280px) {
  .movie-grid {
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
}

@media (max-width: 1279px) {
  .movie-grid {
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}

@media (max-width: 1100px) {
  .movie-grid,.category-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width: 1023px) {
  .nav-row,.header-search {
    display:none;
  }
  .mobile-toggle {
    display:inline-flex;
  }
  .movie-grid,.category-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .detail-layout,.filter-panel,.search-panel {
    grid-template-columns:1fr;
  }
  .hero h1,.hero h2,.detail-main h1 {
    font-size:clamp(28px,8vw,40px);
    line-height:1.25;
  }
}

@media (max-width: 640px) {
  .movie-grid,.category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .page-shell,.section-block,.content-card,.detail-main {
    padding-left:12px;
    padding-right:12px;
  }
  .hero,.page-hero,.player-wrap,.movie-card {
    border-radius:16px;
  }
}

:root {
  --domain-primary: #007a7a;
  --domain-primary-dark: #005757;
  --domain-secondary: #009595;
  --domain-accent: #799f00;
  --domain-soft: #e5f1f1;
  --domain-primary-rgb: 178 62 36;
  --domain-primary-dark-rgb: 127 45 26;
  --domain-secondary-rgb: 213 81 52;
}

:root {
  --tpl-primary: var(--domain-primary, #a15e00);
  --tpl-primary-dark: var(--domain-primary-dark, #895100);
  --tpl-secondary: var(--domain-secondary, #846d00);
  --tpl-accent: var(--domain-accent, #009565);
  --tpl-soft: var(--domain-soft, #ebf8f8);
  --tpl-line: #deeae9;
  --tpl-text: #031d1d;
  --tpl-muted: #637676;
  --tpl-bg: #f7fbfa;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--tpl-bg);
  color:var(--tpl-text);
  font-family:Microsoft YaHei,Arial,sans-serif;
}

a {
  color:inherit;
  text-decoration:none;
}

button,input {
  font:inherit;
}

.tpl-page {
  min-height:100vh;
}

.tpl-shell {
  width:min(1200px,100% - 32px);
  margin:0 auto;
}

.tpl-header {
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}

.tpl-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  gap:18px;
}

.tpl-brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:20px;
  white-space:nowrap;
}

.tpl-logo {
  width:34px;
  height:34px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--tpl-primary),var(--tpl-accent));
  color:#ffffff;
  font-size:15px;
}

.tpl-links {
  display:flex;
  align-items:center;
  gap:18px;
  color:inherit;
  font-size:14px;
}

.tpl-links a {
  opacity:.82;
}

.tpl-links a:hover {
  opacity:1;
  color:var(--tpl-primary);
}

.tpl-searchbox {
  display:flex;
  align-items:center;
  width:min(520px,100%);
  margin-top:20px;
  background:#ffffff;
  border:1px solid var(--tpl-line);
  overflow:hidden;
}

.tpl-searchbox input {
  flex:1 1 0%;
  border:0px;
  outline:0px;
  min-width:0px;
  padding:11px 14px;
  background:transparent;
}

.tpl-searchbox button {
  border:0px;
  padding:11px 16px;
  background:var(--tpl-primary);
  color:#ffffff;
  cursor:pointer;
}

.tpl-hero {
  padding:48px 0;
}

.tpl-eyebrow {
  color:var(--tpl-primary);
  font-weight:700;
  font-size:14px;
  margin-bottom:12px;
}

.tpl-title {
  margin:0;
  font-size:clamp(30px,5vw,56px);
  line-height:1.06;
  letter-spacing:0px;
}

.tpl-subtitle {
  color:var(--tpl-muted);
  font-size:17px;
  line-height:1.8;
  max-width:760px;
}

.tpl-section {
  padding:28px 0;
}

.tpl-section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.tpl-section h2 {
  margin:0;
  font-size:24px;
}

.tpl-section-note {
  color:var(--tpl-muted);
  font-size:14px;
}

.tpl-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0px,1fr));
  gap:18px;
}

.tpl-card {
  background:#ffffff;
  border:1px solid var(--tpl-line);
  overflow:hidden;
  transition:transform .18s,box-shadow .18s;
}

.tpl-card:hover {
  transform:translateY(-3px);
  box-shadow:#001d1d1f 0 16px 36px;
}

.tpl-cover {
  position:relative;
  aspect-ratio:1 / 1;
  background:#deeae9;
  overflow:hidden;
}

.tpl-cover img {
  width:100%;
  height:100%;
  -o-object-fit:cover;
  object-fit:cover;
  display:block;
}

.tpl-badge {
  position:absolute;
  left:10px;
  top:10px;
  padding:4px 8px;
  border-radius:999px;
  background:#000000a8;
  color:#ffffff;
  font-size:12px;
}

.tpl-duration {
  position:absolute;
  right:10px;
  bottom:10px;
  padding:4px 7px;
  border-radius:6px;
  background:#000000a8;
  color:#ffffff;
  font-size:12px;
}

.tpl-card-body {
  padding:12px;
}

.tpl-card-title {
  margin:0 0 8px;
  font-size:15px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.tpl-card-meta {
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:var(--tpl-muted);
  font-size:12px;
}

.tpl-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tpl-tag {
  padding:7px 11px;
  border:1px solid var(--tpl-line);
  background:#ffffff;
  color:var(--tpl-muted);
  font-size:13px;
  cursor:pointer;
}

.tpl-filterbar {
  padding:16px;
  border:1px solid var(--tpl-line);
  background:#ffffff;
  border-radius:8px;
}

.tpl-footer {
  margin-top:36px;
  padding:28px 0;
  border-top:1px solid var(--tpl-line);
  color:var(--tpl-muted);
  font-size:13px;
}

.tpl-footer h3 {
  margin:0 0 12px;
  font-size:15px;
  color:inherit;
}

.tpl-footer p {
  margin:8px 0;
  line-height:1.7;
}

.tpl-footer-grid {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:28px;
  align-items:start;
}

.tpl-footer-brand strong {
  display:block;
  margin-bottom:10px;
  font-size:20px;
  color:inherit;
}

.tpl-footer-links {
  display:flex;
  flex-wrap:wrap;
  gap:9px 12px;
}

.tpl-footer-links a {
  cursor:pointer;
  opacity:.86;
}

.tpl-footer-links a:hover {
  opacity:1;
  color:var(--tpl-primary);
}

.tpl-footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(194,174,158,.18);
  border-right-color:rgba(194,174,158,.18);
  border-bottom-color:rgba(194,174,158,.18);
  border-left-color:rgba(194,174,158,.18);
}

.tpl-footer-ribbon {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}

.tpl-footer-ribbon span {
  padding:7px 12px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid rgb(207,233,232);
  color:#2d6f2d;
}

.tpl-footer-video-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px;
  margin-bottom:26px;
  padding-bottom:18px;
  border-bottom:1px solid var(--tpl-line);
}

.tpl-detail-hero {
  padding:34px 0;
  background:linear-gradient(135deg,var(--tpl-soft),#ffffff);
}

.tpl-detail-grid {
  display:grid;
  grid-template-columns:minmax(0px,1.25fr) minmax(320px,.75fr);
  gap:28px;
  align-items:stretch;
}

.tpl-player {
  background:#000000;
  border-radius:10px;
  overflow:hidden;
  box-shadow:#001d1d29 0 18px 46px;
}

.tpl-player video {
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  background:#000000;
}

.tpl-detail-info {
  padding:24px;
  background:#ffffff;
  border:1px solid var(--tpl-line);
  border-radius:10px;
}

.tpl-detail-title {
  margin:0 0 14px;
  font-size:clamp(24px,3vw,38px);
  line-height:1.18;
  letter-spacing:0px;
}

.tpl-detail-desc {
  color:var(--tpl-muted);
  line-height:1.8;
}

.tpl-detail-meta {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0;
}

.tpl-detail-meta span {
  padding:7px 10px;
  background:var(--tpl-soft);
  border-radius:6px;
  color:var(--tpl-primary-dark);
  font-size:13px;
}

.tpl-category-hero {
  padding:38px 0;
}

.tpl-notfound-hero {
  padding:56px 0;
  background:linear-gradient(135deg,var(--tpl-soft),#ffffff);
  border-bottom:1px solid var(--tpl-line);
}

.tpl-notfound-panel {
  display:grid;
  grid-template-columns:minmax(0px,1fr) minmax(260px,360px);
  gap:28px;
  align-items:stretch;
}

.tpl-notfound-copy {
  position:relative;
  min-height:360px;
  padding:34px;
  overflow:hidden;
  border:1px solid #bdd2d2;
  border-radius:8px;
  background:#ffffffc7;
  box-shadow:#001d1d1a 0 20px 60px;
}

.tpl-notfound-copy:after {
  content:"";
  position:absolute;
  right:24px;
  bottom:22px;
  width:210px;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--tpl-primary),var(--tpl-accent));
  opacity:.65;
}

.tpl-notfound-code {
  position:absolute;
  top:8px;
  right:28px;
  color:rgba(0,122,122,.14);
  font-size:clamp(86px,12vw,168px);
  font-weight:900;
  line-height:1;
  pointer-events:none;
}

.tpl-notfound-copy .tpl-eyebrow,.tpl-notfound-copy .tpl-title,.tpl-notfound-copy .tpl-subtitle,.tpl-notfound-copy .tpl-searchbox,.tpl-notfound-path,.tpl-notfound-actions {
  position:relative;
  z-index:1;
}

.tpl-notfound-path {
  display:inline-flex;
  max-width:100%;
  margin:6px 0 18px;
  padding:8px 11px;
  overflow:hidden;
  border:1px solid var(--tpl-line);
  border-radius:6px;
  background:#ffffff;
  color:var(--tpl-muted);
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tpl-notfound-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:8px 0 4px;
}

.tpl-home-button,.tpl-secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:6px;
  font-weight:700;
}

.tpl-home-button {
  background:var(--tpl-primary);
  color:#ffffff;
  box-shadow:0 12px 26px rgba(0,122,122,.28);
}

.tpl-home-button:hover {
  background:var(--tpl-primary-dark);
}

.tpl-secondary-button {
  border:1px solid var(--tpl-line);
  background:#ffffff;
  color:var(--tpl-text);
}

.tpl-secondary-button:hover {
  border-color:var(--tpl-primary);
  color:var(--tpl-primary);
}

.tpl-notfound-side {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:360px;
  padding:24px;
  border:1px solid var(--tpl-line);
  border-radius:8px;
  background:#ffffff;
}

.tpl-notfound-side span {
  color:var(--tpl-muted);
  font-size:13px;
  font-weight:700;
}

.tpl-notfound-tags {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:18px;
}

.tpl-notfound-tags a {
  padding:8px 11px;
  border:1px solid var(--tpl-line);
  border-radius:999px;
  color:var(--tpl-muted);
  font-size:13px;
}

.tpl-notfound-tags a:hover {
  border-color:var(--tpl-primary);
  color:var(--tpl-primary);
}

.tpl-xinghe {
  background:#010e0e;
  color:#f7fbfa;
}

.tpl-xinghe .tpl-header {
  background:#010e0ee0;
  border-bottom-color:#002f2f;
}

.tpl-xinghe .tpl-xinghe-hero {
  background:radial-gradient(circle at 20% 10%,#004242,#010e0e 48%);
}

.tpl-xinghe .tpl-subtitle,.tpl-xinghe .tpl-section-note,.tpl-xinghe .tpl-card-meta,.tpl-xinghe .tpl-footer {
  color:#c2ae9e;
}

.tpl-xinghe .tpl-card,.tpl-xinghe .tpl-tag,.tpl-xinghe .tpl-searchbox {
  background:#031d1d;
  border-color:#043838;
  color:#e0f0f0;
}

.tpl-xinghe .tpl-card-title {
  color:#ffffff;
}

.tpl-xinghe .tpl-xinghe-tags {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.tpl-xinghe .tpl-xinghe-tags button {
  border:1px solid rgb(0,73,74);
  background:#031d1d;
  color:#fae4d5;
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
}

@media (max-width: 980px) {
  .tpl-grid {
    grid-template-columns:repeat(3,minmax(0px,1fr));
  }
  .tpl-notfound-panel {
    grid-template-columns:1fr;
  }
  .tpl-notfound-side {
    min-height:auto;
  }
  .tpl-detail-grid {
    grid-template-columns:1fr;
  }
  .tpl-footer-grid {
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tpl-shell {
    width:min(100% - 20px,1200px);
  }
  .tpl-nav {
    min-height:58px;
  }
  .tpl-links {
    display:none;
  }
  .tpl-searchbox {
    width:100%;
  }
  .tpl-hero {
    padding:30px 0;
  }
  .tpl-notfound-hero {
    padding:24px 0;
  }
  .tpl-notfound-copy {
    min-height:auto;
    padding:24px 18px;
  }
  .tpl-notfound-code {
    right:16px;
    font-size:76px;
  }
  .tpl-notfound-copy:after {
    display:none;
  }
  .tpl-home-button,.tpl-secondary-button {
    flex:1 1 150px;
  }
  .tpl-grid {
    grid-template-columns:repeat(2,minmax(0px,1fr));
    gap:12px;
  }
  .tpl-card-body {
    padding:10px;
  }
  .tpl-footer-grid {
    grid-template-columns:1fr;
  }
  .tpl-footer-bottom {
    flex-direction:column;
  }
  .tpl-footer-video-links {
    justify-content:flex-start;
  }
}

.mirror-raw {
  display:contents;
}

.auth-page {
  min-height:68vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 16px;
  box-sizing:border-box;
}

.auth-form {
  width:min(420px,100%);
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:0;
  padding:28px;
  border-radius:18px;
  background:#ffffff;
  color:CanvasText;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 16px 40px rgba(0,0,0,.12);
}

.auth-form h1 {
  margin:0 0 4px;
  font-size:28px;
  line-height:1.3;
  letter-spacing:normal;
}

.auth-form label,.auth-form__field {
  display:grid;
  gap:6px;
  font-size:14px;
}

.auth-form input {
  width:100%;
  box-sizing:border-box;
  min-height:44px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid #ccd7d7;
  background:transparent;
  color:inherit;
}

.auth-form button,.auth-form__submit {
  min-height:46px;
  border:0;
  border-radius:999px;
  background:#005656;
  color:#ffffff;
  font-weight:700;
  cursor:pointer;
}

.auth-form__foot,.auth-form p {
  margin:0;
  font-size:14px;
}

.page-shell {
  max-width:1200px;
  margin:0 auto;
  padding:32px 16px 64px;
  box-sizing:border-box;
}

.page-shell .page-hero h1 {
  margin:0 0 8px;
  letter-spacing:normal;
  line-height:1.25;
  font-size:clamp(28px,4vw,40px);
}

.page-shell .search-panel {
  display:flex;
  gap:10px;
  max-width:640px;
  margin:16px 0 28px;
}

.page-shell .search-input {
  flex:1;
  min-height:46px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid #ccd7d7;
  background:transparent;
  color:inherit;
}

.page-shell .primary-btn {
  min-height:46px;
  padding:0 18px;
  border:0;
  border-radius:12px;
  background:#005656;
  color:#ffffff;
  font-weight:700;
}

.page-shell .movie-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.page-shell .movie-cover {
  aspect-ratio:3/4;
}

.page-shell .movie-info {
  padding:12px 14px 16px;
}

.page-shell .movie-title {
  margin:0 0 6px;
  font-size:16px;
  line-height:1.4;
  letter-spacing:normal;
}

.page-shell .movie-line {
  margin:0 0 8px;
  font-size:13px;
  line-height:1.6;
  opacity:.8;
}

@media (max-width:980px) {
  .page-shell .movie-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:640px) {
  .page-shell .movie-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.ranking-columns,.rank-columns {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:start;
}

.rank-item a,.rank-row {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-decoration:none;
  color:inherit;
}

.rank-title {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.page-fallback {
  max-width:1100px;
  margin:0 auto;
  padding:28px 16px 64px;
}

.page-fallback .page-hero h1,.ranking-hero h1,.sub-hero h1 {
  margin:0 0 8px;
  letter-spacing:normal;
  overflow-wrap:anywhere;
}

.fallback-links {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.fallback-links a,.rank-row {
  padding:12px 14px;
  border-radius:12px;
  background:rgba(119,130,129,.14);
}

.rank-fallback-list {
  display:grid;
  gap:8px;
}

.play-grid,.play-main,.player-box,.player-shell,.detail-layout,.detail-main {
  min-width:0;
  max-width:100%;
}

.player-shell video,video {
  max-width:100%;
}

.container,.page-shell {
  max-width:100%;
}

@media (max-width:860px) {
  .ranking-columns,.rank-columns {
    grid-template-columns:1fr;
  }
  .sub-hero h1,.ranking-hero h1,.page-hero h1,.page-fallback .page-hero h1 {
    font-size:1.7rem;
  }
  .container {
    padding-left:14px;
    padding-right:14px;
  }
  main {
    overflow-x:clip;
  }
  img,video {
    max-width:100%;
    height:auto;
  }
  .movie-grid,.card-grid,.video-grid,.news-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

.auth-page {
  min-height:68vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 16px;
  box-sizing:border-box;
}

.auth-form {
  width:min(420px,100%);
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:0;
  padding:28px;
  border-radius:18px;
  background:#ffffff;
  color:#151d1d;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 16px 40px rgba(0,0,0,.12);
}

.auth-form input {
  width:100%;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 12px;
  border:1px solid #ccd7d7;
  border-radius:10px;
  font-size:16px;
  background:#ffffff;
  color:#151d1d;
}

.auth-form button,.auth-form input[type="submit"] {
  min-height:44px;
  border:0;
  border-radius:999px;
  background:#005656;
  color:#ffffff;
  font-size:16px;
  cursor:pointer;
}

.card-play-link {
  display:block;
  color:inherit;
  text-decoration:none;
  min-width:0;
}

.card-play-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:14px;
  padding:8px 0 28px;
}

@media (max-width:860px) {
  .auth-page {
    padding:24px 14px;
    align-items:flex-start;
  }
  .card-play-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.tpl-shell,.tpl-nav,.tpl-grid,.tpl-card,.tpl-detail-grid,.tpl-player,.tpl-searchbox {
  min-width:0;
  max-width:100%;
}

.tpl-title,.tpl-detail-title,.tpl-card-title,.tpl-section h2 {
  letter-spacing:normal;
  overflow-wrap:anywhere;
}

.tpl-xinghe .tpl-detail-info {
  color:#031d1d;
}

.tpl-xinghe .tpl-detail-title {
  color:#031d1d;
}

.tpl-detail-grid {
  align-items:start;
}

.tpl-player {
  width:100%;
}

.tpl-player video {
  display:block;
  width:100%;
  height:auto!important;
  aspect-ratio:16/9;
  max-height:none;
  -webkit-object-fit:cover;
  object-fit:cover;
  background:#000000;
}

.tpl-searchbox {
  width:min(520px,100%);
}

.tpl-searchbox input,.tpl-searchbox button {
  min-height:44px;
}

.tpl-menu-btn {
  display:none;
  width:44px;
  height:44px;
  flex:0 0 44px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#f7fbfa;
  cursor:pointer;
}

.tpl-menu-btn span {
  display:block;
  width:18px;
  height:2px;
  border-radius:1px;
  background:currentColor;
}

.tpl-page {
  min-height:100vh;
  min-height:100dvh;
}

a,button,input,select,textarea {
  touch-action:manipulation;
}

@media (max-width:980px) {
  .tpl-detail-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .tpl-footer-grid {
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:640px) {
  .tpl-nav {
    position:relative;
    gap:8px;
  }
  .tpl-brand {
    min-width:0;
    font-size:16px;
  }
  .tpl-brand span:last-child {
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .tpl-menu-btn {
    display:inline-flex;
  }
  .tpl-links {
    display:none!important;
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:40;
    width:min(220px,72vw);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:6px;
    background:#001919;
    border:1px solid #002f2f;
    border-radius:10px;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
  }
  .tpl-links.is-open {
    display:flex!important;
  }
  .tpl-links a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:0 12px;
    opacity:1;
  }
  .tpl-section-head {
    flex-wrap:wrap;
    align-items:flex-start;
  }
  .tpl-section-note {
    margin-left:auto;
  }
  .tpl-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .tpl-footer-grid {
    grid-template-columns:1fr;
  }
  .auth-page {
    padding:20px 12px;
  }
  .auth-form {
    width:min(100%,420px);
    max-width:100%;
  }
}

@media (max-width:380px) {
  .tpl-brand {
    font-size:14px;
    gap:8px;
  }
  .tpl-logo {
    width:28px;
    height:28px;
  }
}

body {
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",Arial,sans-serif;
}

.tpl-header {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

.tpl-cover img {
  -webkit-object-fit:cover;
}

.tpl-card-title {
  line-clamp:2;
}

.tpl-player video::-webkit-media-controls-panel {
  background:linear-gradient(transparent,rgba(0,0,0,.35));
}

@supports not (aspect-ratio:1/1) {
  .tpl-cover {
    height:0;
    padding-top:100%;
  }
  .tpl-cover img {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    height:100%;
  }
  .tpl-player video {
    height:0;
    padding-top:56.25%;
  }
}

.back-top,button[aria-label="回到顶部"] {
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

.back-top,[aria-label="回到顶部"] {
  display:none!important;
}
