@font-face { font-family: "MtyyIcons"; src: url("/mtyy/icons.woff2") format("woff2"); font-style: normal; font-weight: normal; font-display: block; }
:root {
    color-scheme: dark;
    --mt-bg: #14161a;
    --mt-panel: #1e2126;
    --mt-text: #e9e9eb;
    --mt-muted: #929398;
    --mt-green: #00cc4c;
    --mt-line: rgba(255,255,255,.07);
}
* { box-sizing: border-box; }
html { background: var(--mt-bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--mt-bg); color: var(--mt-text); font: 14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
button,input,select { font: inherit; }
button,input,select,a { -webkit-tap-highlight-color: transparent; }
button,select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .38; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mt-green); }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline: 2px solid var(--mt-green); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.mt-icon { display: inline-block; flex-shrink: 0; width: 1em; height: 1em; font: normal var(--mt-icon-size,20px)/1 "MtyyIcons"; text-align: center; vertical-align: middle; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1,h2,h3,p { margin: 0; }
button { border: 0; background: transparent; }
.mt-site { min-height: var(--viewport-height); }
.mt-container { width: calc(100% - 120px); max-width: 1808px; margin-left: auto; margin-right: auto; min-width: 0; }
.mt-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9998; background: #0a0c0f; transition: background-color .3s; }
.mt-site:has(.mt-stage) .mt-header:not(.mt-header-scrolled),.mt-site:has(.mt-detail-banner) .mt-header:not(.mt-header-scrolled) { background: transparent; }
.mt-header-inner { width: calc(100% - 120px); height: 76px; margin: auto; display: flex; align-items: flex-start; }
.mt-logo { flex-shrink: 0; height: 45px; margin-top: 15px; }
.mt-logo img { width: auto; max-width: none; height: 45px; }
.mt-main-nav { display: flex; gap: 36px; align-items: center; min-width: 0; margin-left: 36px; overflow-x: auto; scrollbar-width: none; }
.mt-main-nav::-webkit-scrollbar { display: none; }
.mt-main-nav a { display: inline-flex; flex-shrink: 0; gap: 6px; align-items: center; height: 76px; line-height: 76px; white-space: nowrap; font-size: 16px; }
.mt-active,.mt-selected { color: var(--mt-green); }
.mt-header-search { align-self: center; margin-left: auto; width: 240px; height: 36px; display: flex; align-items: center; justify-content: space-between; background: #ffffff33; border-radius: 6px; flex-shrink: 0; overflow: hidden; }
.mt-header-search input { background: none; color: #ffffff99; border: 0; flex: 1; width: 0; min-width: 0; height: 36px; line-height: 36px; padding: 0 15px; outline: none; font-size: 14px; }
.mt-header-search input::placeholder { color: #ffffff99; }
.mt-header-search:focus-within { outline: 1px solid var(--mt-green); }
.mt-header-search button { padding: 0; width: 40px; height: 36px; display: grid; place-items: center; color: #ffffff99; }
.mt-header-tools { display: flex; align-items: center; margin-left: 30px; height: 76px; white-space: nowrap; }
.mt-header-tools button { display: flex; align-items: center; justify-content: center; padding: 0; height: 76px; }
.mt-menu-button { display: none; }
.mt-more-button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; height: 76px; margin-left: 36px; padding: 0; }
.mt-menu-backdrop { display: none; }
.mt-menu-panel { position: absolute; top: 100%; right: 60px; width: min(700px,calc(100% - 120px)); padding: 15px; border-radius: 0 0 6px 6px; background: #23252b; box-shadow: 0 2px 6px #0003; display: flex; flex-wrap: wrap; }
.mt-menu-panel > a,.mt-menu-history { display: inline-flex; align-items: center; gap: 6px; height: 36px; margin: 4px 10px; padding: 0 20px; font-size: 14px; border-radius: 6px; background: #111319; color: #ffffff99; }
.mt-menu-panel > a:hover,.mt-menu-history:hover { background: var(--mt-green); color: #ffffffde; }
.mt-menu-panel > a.mt-active { color: var(--mt-green); }
.mt-menu-close,.mt-menu-history { display: none; }
.mt-main { padding-top: 76px; min-height: calc(var(--viewport-height) * .7); }
.mt-stage { height: 650px; margin-top: -76px; position: relative; overflow: hidden; background: #000; }
.mt-stage-image { position: absolute; inset: 0; }
.mt-stage-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mt-stage-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; pointer-events: none; background: linear-gradient(to top,var(--mt-bg),transparent); }
.mt-stage-content { position: absolute; inset: auto 0 30px; z-index: 1; }
.mt-stage-slogan { font-size: 16px; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-stage-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px 0; }
.mt-stage-thumbs::-webkit-scrollbar { display: none; }
.mt-stage-thumbs button { padding: 0; width: 96px; flex-shrink: 0; text-align: center; }
.mt-stage-thumbs button > span { display: block; height: 55px; border: 1.5px solid transparent; border-radius: 5px; overflow: hidden; opacity: .5; }
.mt-stage-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mt-stage-thumbs strong { display: block; font-size: 13px; font-weight: 400; color: #929398; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; margin-top: 4px; }
.mt-stage-thumbs .mt-selected > span { border-color: #fff; opacity: 1; }
.mt-stage-thumbs .mt-selected strong { color: #fff; }
.mt-section { padding-top: 10px; }
.mt-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; }
.mt-section-heading h2 { font-size: 22px; font-weight: 700; line-height: 32px; }
.mt-section-heading > a { font-size: 14px; color: #9a9ba0; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.mt-section-heading > a > span { display: none; }
.mt-section-heading > a:hover > span,.mt-section-heading > a:focus-visible > span { display: inline-block; }
.mt-section-heading > a .mt-icon { font-size: inherit; }
.mt-section-heading > a:hover { color: var(--mt-green); }
/* Keep covers readable in narrow content areas, up to 8 portrait or 6 landscape columns. */
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(max(160px,calc(100% / 8)),1fr)); margin-right: -16px; }
.mt-grid-landscape { grid-template-columns: repeat(auto-fill,minmax(max(220px,calc(100% / 6)),1fr)); }
.mt-grid > .mt-card { margin-top: 18px; margin-bottom: 25px; padding-right: 16px; }
.mt-card { min-width: 0; }
.mt-poster { aspect-ratio: 100/135.74; width: 100%; display: block; position: relative; overflow: hidden; border-radius: 6px; background: #383940; }
.mt-card-landscape .mt-poster { aspect-ratio: 100/62; }
.mt-poster > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mt-poster:hover > img { transform: scale(1.04); }
.mt-poster-empty { height: 100%; display: grid; place-items: center; color: #606168; }
.mt-poster-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent,#000a); pointer-events: none; }
.mt-card-remarks { position: absolute; bottom: 8px; left: 10px; max-width: 90%; font-size: 14px; color: #ffffffde; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px black; }
.mt-card-year { position: absolute; top: 0; right: 0; padding: 0 8px; height: 22px; line-height: 22px; font-size: 12px; color: #ffffffde; background: var(--mt-green); border-radius: 0 6px; }
.mt-card-play { position: absolute; inset: 0; display: grid; place-items: center; background: #0004; opacity: 0; transition: opacity .2s; color: white; }
.mt-poster:hover .mt-card-play { opacity: 1; }
.mt-card-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 8px; font-size: 16px; font-weight: 400; height: 26px; line-height: 26px; }
.mt-empty { min-height: 150px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--mt-muted); text-align: center; padding: 30px 15px; }
.mt-empty a { color: var(--mt-green); }
.mt-site .status-box { min-height: calc(var(--viewport-height) * .55); padding: 60px 20px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; text-align: center; }
.mt-site .status-box h2 { font-size: 25px; font-weight: 500; }
.mt-site .status-box p { color: var(--mt-muted); }
.mt-site .status-box button,.mt-site .status-box > a { border-radius: 5px; background: var(--mt-green); padding: 9px 20px; color: white; }
.mt-channel-categories { margin-top: 16px; margin-bottom: 16px; padding: 0; border-radius: 0; background: transparent; }
.mt-channel-categories .mt-basic-categories { flex-wrap: nowrap; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.mt-channel-categories .mt-basic-categories a { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 0 17px; height: 36px; line-height: 36px; border-radius: 4px; background: #202228; }
.mt-basic-categories { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.mt-basic-categories > span { color: #83868d; margin-right: 5px; }
.mt-basic-categories a { padding: 2px 0; }
.mt-library-filters { padding-top: 16px; overflow: hidden; }
.mt-filter-row { position: relative; min-width: 0; height: 36px; margin-bottom: 16px; }
.mt-filter-label { position: absolute; top: 0; left: 0; z-index: 1; width: 40px; height: 36px; padding-right: 10px; line-height: 36px; font-size: 14px; font-weight: 700; text-align: center; color: #777; background: var(--mt-bg); }
.mt-filter-options { display: flex; gap: 10px; height: 36px; margin-left: 40px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.mt-filter-options::-webkit-scrollbar { display: none; }
.mt-filter-options > a { flex-shrink: 0; display: flex; align-items: center; height: 36px; padding: 0 17px; border-radius: 4px; line-height: 36px; font-size: 14px; white-space: nowrap; background: #23252b; color: #a9a9ac; }
.mt-filter-options > a.mt-selected { color: var(--mt-green); }
.mt-filter-options > a:hover { color: #fff; }
.mt-filter-options > a.mt-filter-chip { gap: 4px; }
.mt-filter-chip > .mt-icon { color: #999; }
.mt-filter-selected .mt-filter-options { margin-right: 60px; }
.mt-filter-reselect { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: flex-end; gap: 3px; width: 60px; height: 36px; line-height: 36px; font-size: 14px; background: var(--mt-bg); }
.mt-button { display: inline-flex; gap: 7px; justify-content: center; align-items: center; height: 42px; padding: 0 20px; border: 1px solid #383b42; background: #26292f; border-radius: 6px; white-space: nowrap; }
.mt-button:hover { border-color: #4c5058; color: var(--mt-green); }
.mt-primary { color: #fff; background: var(--mt-green); border-color: var(--mt-green); }
.mt-primary:hover { color: #fff; background: #00af40; border-color: #00af40; }
.mt-detail-banner { position: relative; overflow: hidden; margin-top: -76px; background: #111319; color: #fff; }
.mt-detail-backdrop { position: absolute; top: 0; bottom: 0; right: max(60px,calc((100% - 1808px)/2)); width: calc(70% - 84px); max-width: 1265.6px; }
.mt-detail-backdrop img { height: 100%; width: 100%; object-fit: cover; object-position: center; opacity: .7; }
.mt-detail-backdrop:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#111319,transparent 40%,transparent 60%,#111319),linear-gradient(0deg,#111319,transparent 50%),linear-gradient(180deg,#111319,transparent 30%); pointer-events: none; }
.mt-detail-summary { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 20px; }
.mt-detail-copy { width: 40%; }
.mt-detail-copy h1 { font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 25px; overflow-wrap: anywhere; }
.mt-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.mt-detail-tags > span { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; line-height: 24px; background: #ffffff14; border-radius: 2px; font-size: 14px; font-weight: 700; }
.mt-detail-tags .mt-detail-year { padding-left: 0; }
.mt-detail-year small { align-self: stretch; margin-right: 4px; padding: 0 8px; font-size: inherit; background: #ff8b1a; border-radius: 2px 0 0 2px; }
.mt-detail-tags .mt-detail-category { background: var(--mt-green); }
.mt-detail-info { display: flex; flex-wrap: wrap; font-size: 16px; font-weight: 500; line-height: 20px; margin: 16px 0; }
.mt-detail-info > span:not(:last-child):after { content: ''; display: inline-block; margin: 0 12px; width: 2px; height: 12px; background: #ffffff33; }
.mt-detail-genre span { display: inline-block; margin-right: 6px; margin-bottom: 6px; padding: 0 6px; font-size: 12px; font-weight: 500; line-height: 20px; border-radius: 2px; background: #ffffff14; }
.mt-rating { display: flex; gap: 15px; align-items: center; width: 380px; max-width: 100%; margin: 10px 0 15px; padding: 14px 20px; border-radius: 4px; background: #ffffff1a; font-weight: 700; }
.mt-rating > strong { font-size: 32px; color: #ffac2d; line-height: 32px; font-weight: 700; }
.mt-rating > span { display: flex; flex-direction: column; font-size: 14px; line-height: 18px; }
.mt-stars { position: relative; width: max-content; letter-spacing: 1px; font-size: 12px; color: #5c626b; white-space: nowrap; }
.mt-stars > span { position: absolute; left: 0; top: 0; overflow: hidden; color: #ffac2d; white-space: nowrap; }
.mt-detail-meta { color: #fff; font-size: 14px; line-height: 1.5; margin-top: 10px; }
.mt-detail-meta > span,.mt-description > span { color: #70747f; }
.mt-detail-actors { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-description { max-height: 80px; font-size: 14px; line-height: 1.5; color: #a7a8ad; margin-top: 10px; overflow: hidden; }
.mt-description.mt-truncated:not(.mt-expanded) { -webkit-mask-image: linear-gradient(#121212,transparent); mask-image: linear-gradient(#121212,transparent); }
.mt-description.mt-expanded { max-height: none; }
.mt-description-toggle { display: flex; justify-content: center; width: 100%; height: 27px; line-height: 27px; padding: 0; font-size: 14px; color: #fff; }
.mt-description-toggle > span { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 25px; }
.mt-description-toggle:hover > span { background: #ffffff14; }
.mt-text-button { color: #999ca5; font-size: 13px; padding: 0; display: inline-flex; gap: 4px; align-items: center; }
.mt-text-button:hover { color: var(--mt-green); }
.mt-detail-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.mt-detail-actions .mt-button { width: 99px; height: 36px; padding: 0; border: 0; font-size: 15px; font-weight: 700; background: #2d2f34; }
.mt-detail-actions .mt-button:not(.mt-primary) { flex: 1 1 0; max-width: 99px; }
.mt-detail-actions .mt-primary { width: 120px; background: var(--mt-green); }
.mt-favorited { color: var(--mt-green); }
.mt-no-play { color: var(--mt-muted); line-height: 42px; }
.mt-detail-episodes { border-top: 1px solid var(--mt-line); }
.mt-source-tabs { overflow-x: auto; display: flex; border-bottom: 1px solid var(--mt-line); scrollbar-width: thin; scrollbar-color: #393c43 transparent; margin-bottom: 20px; }
.mt-source-tabs button { padding: 0 18px 0 0; flex-shrink: 0; height: 43px; display: inline-flex; align-items: center; gap: 4px; border-bottom: 2px solid transparent; font-size: 14px; }
.mt-source-tabs button.mt-selected { border-bottom-color: var(--mt-green); }
.mt-source-tabs small { background: #292c38; border-radius: 3px; padding: 0 4px; font-size: 11px; line-height: 15px; color: #b8bed0; }
.mt-episode-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 8px; }
.mt-episode-grid > a { min-width: 0; position: relative; min-height: 50px; display: flex; align-items: center; justify-content: center; text-align: center; background: #23262b; border: 1px solid #2f3238; border-radius: 7px; padding: 10px 5px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.mt-episode-grid > a:hover { background: #2d3138; }
.mt-episode-grid > a[aria-current="true"] { color: var(--mt-green); }
.mt-episode-grid.mt-episode-adaptive { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-episode-grid.mt-episode-adaptive > a { flex: 0 0 auto; max-width: 100%; height: 50px; padding: 0 20px; white-space: nowrap; overflow: hidden; overflow-wrap: normal; }
.mt-toast { position: fixed; z-index: 110; bottom: 34px; left: 50%; transform: translateX(-50%); background: #2c3039; box-shadow: 0 6px 30px #0008; color: #eee; max-width: calc(var(--viewport-width) - 40px); border-radius: 6px; }
.mt-toast:not(:empty) { padding: 10px 20px; }
.mt-listing-page { padding-top: 35px; }
.mt-listing-heading { margin-bottom: 24px; }
.mt-listing-heading h1 { font-size: 28px; font-weight: 500; }
.mt-listing-heading > p { color: var(--mt-muted); margin-top: 8px; }
.mt-listing-search { display: flex; width: min(560px,100%); gap: 12px; margin-top: 20px; }
.mt-listing-search input { min-width: 0; flex: 1; padding: 0 14px; background: #23262e; color: var(--mt-text); border: 1px solid #383c45; border-radius: 6px; }
.mt-result-count { color: var(--mt-muted); margin: 0 0 20px; font-size: 13px; }
.mt-ranking-banner { height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #111; }
.mt-ranking-banner h1 { font-size: 40px; line-height: 1; font-weight: 700; }
.mt-ranking-banner p { margin-top: 10px; font-size: 14px; color: #ffffff66; line-height: 16px; }
.mt-ranking-page { padding-top: 30px; }
.mt-listing-page.mt-latest-page { padding-top: 0; }
.mt-public-tabs { display: flex; justify-content: center; margin: 40px 0 20px; line-height: 1; }
.mt-public-tabs > a { position: relative; margin: 0 33px; font-size: 22px; }
.mt-public-tabs > .mt-selected { font-weight: 700; }
.mt-public-tabs > .mt-selected:after, .mt-ranking-types > .mt-selected:after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 30%; height: 4px; transform: translateX(-50%); border-radius: 2px; background: var(--mt-green); }
.mt-ranking-controls { margin-bottom: 24px; }
.mt-ranking-types { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; line-height: 1; }
.mt-ranking-types a { position: relative; margin: 0 33px; font-size: 22px; }
.mt-ranking-types .mt-selected { font-weight: 700; }
.mt-ranking-section { margin-top: 35px; padding: 20px; border-radius: 6px; background: #1b1d23; }
.mt-ranking-section > h2 { position: relative; font-size: 26px; font-weight: 500; text-align: center; line-height: 36px; margin-bottom: 10px; }
.mt-ranking-row { display: flex; align-items: center; padding: 12px 16px; border-radius: 4px; min-width: 0; line-height: 1; }
.mt-ranking-row:hover { background: #ffffff0a; color: inherit; }
.mt-ranking-key { flex-shrink: 0; min-width: 20px; margin-right: 18px; font-family: Impact,Helvetica,"Microsoft YaHei",sans-serif; font-size: 34px; color: #777; }
.mt-ranking-key-1 { color: #ff7340; }
.mt-ranking-key-2 { color: #0aa770; }
.mt-ranking-key-3 { color: #f08080; }
.mt-ranking-poster { display: grid; place-items: center; flex-shrink: 0; width: 75px; height: 100px; margin-right: 16px; overflow: hidden; border-radius: 4px; background: #383940; color: #666; }
.mt-ranking-poster img { width: 100%; height: 100%; object-fit: cover; }
.mt-ranking-title-box { flex: 1; min-width: 0; }
.mt-ranking-title-box > strong { display: block; font-size: 16px; font-weight: 400; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-ranking-state { display: inline-block; max-width: 100%; margin-top: 8px; padding: 0 5px; height: 18px; line-height: 18px; font-size: 12px; color: #999; background: #ffffff0f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-ranking-actors { display: block; margin-top: 12px; font-size: 14px; line-height: 16px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-ranking-score { flex-shrink: 0; margin-left: 16px; text-align: right; }
.mt-ranking-score strong { display: block; font-family: Impact,Helvetica,"Microsoft YaHei",sans-serif; font-size: 20px; font-weight: 400; line-height: 24px; color: #f4a460; opacity: .8; }
.mt-ranking-score > span { color: #777; font-size: 12px; }
.mt-ranking-score small { display: block; margin-top: 5px; font-size: 14px; line-height: 16px; color: #666; }
.mt-pages { max-width: 100%; margin-top: 20px; margin-bottom: 20px; overflow-x: auto; text-align: center; scrollbar-width: thin; }
.mt-page-info { display: flex; justify-content: center; width: max-content; min-width: 100%; }
.mt-page-link { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; padding: 0 24px; height: 52px; line-height: 52px; background: #333; }
.mt-page-link .mt-icon { font-size: inherit; }
.mt-page-current { background: #555; }
.mt-page-link[aria-disabled="true"] { color: #777; }
.mt-footer { position: relative; width: 100%; z-index: 2; margin-top: 40px; border-top: 1px solid #2d2f34; padding: 40px 0; background: #0a0c0f; text-align: center; color: #ddd; font-size: 14px; }
.mt-footer-show > h2 { font-size: 20px; line-height: 20px; font-weight: 700; color: #fff; }
.mt-footer-desc { display: flex; justify-content: center; align-items: center; height: 12px; margin-top: 16px; line-height: 24px; font-size: 12px; color: #a9a9ac; }
.mt-footer-desc > strong { margin-right: 6px; color: var(--mt-green); font-weight: 700; }
.mt-footer-content { display: flex; justify-content: center; margin: 32px auto; }
.mt-footer-content > a { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 160px; padding: 12px; line-height: 14px; border-radius: 4px; background: #23252b; }
.mt-footer-library { margin: 0 120px; }
.mt-footer-line { height: 1px; background: #333; }
.mt-footer-copy { margin-top: 20px; font-size: 12px; line-height: 26px; font-weight: 300; color: #9b9b9b; text-align: left; }
.mt-footer-copy a { margin-right: 10px; }
.mt-back-top { position: fixed; right: 12px; bottom: 75px; z-index: 999; width: 42px; height: 42px; display: grid; place-items: center; background: var(--mt-green); color: #ffffffde; border-radius: 6px; }
.mt-back-top .mt-icon { font-size: 18px; }
.mt-history { padding: 0; border: 0; margin: 0; width: var(--viewport-width); max-width: none; height: var(--viewport-dynamic-height); max-height: none; background: transparent; color: var(--mt-text); }
.mt-history::backdrop { background: #0006; }
.mt-history-panel { margin-left: auto; width: 420px; height: 100%; padding: 20px; overflow-y: auto; background: #0a0c0f; }
.mt-history-heading,.mt-history-title-space { display: none; }
.mt-history-actions { display: flex; justify-content: space-around; height: 46px; margin-bottom: 15px; line-height: 46px; font-size: 16px; font-weight: 700; }
.mt-history-actions > span { position: relative; }
.mt-history-actions > span:after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; transform: translateX(-50%); border-radius: 2px; background: var(--mt-green); }
.mt-history-body { margin-top: 30px; }
.mt-history-clear { display: block; width: 100%; height: 46px; margin-top: 30px; line-height: 46px; border-radius: 6px; background: var(--mt-green); color: #fff; font-weight: 700; }
.mt-history ol { list-style: none; margin: 0; padding: 0; }
.mt-history li { margin-bottom: 15px; }
.mt-history li a { display: flex; align-items: flex-start; }
.mt-history-poster { flex-shrink: 0; display: grid; place-items: center; width: 110px; height: 75px; margin-right: 15px; overflow: hidden; background: #23252b; color: #666; }
.mt-history-poster img { width: 100%; height: 100%; object-fit: cover; }
.mt-history-name { flex: 1; min-width: 0; line-height: 20px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mt-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-player-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; }
.mt-play-media { background: #000; min-width: 0; height: 100%; position: relative; }
.mt-play-media .player { position: relative; height: 100%; width: 100%; min-height: 0; }
.mt-play-media .watch-frame,.mt-play-media .watch-video { width: 100%; height: 100%; display: block; border: 0; background: #000; }
.mt-play-media .watch-video { object-fit: contain; }
.mt-play-media .watch-error { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: #08090be8; padding: 20px; color: #aaaeb9; font-size: 13px; pointer-events: none; }
.mt-play-media .player-error-logo { max-width: 150px; max-height: 45px; object-fit: contain; margin: 0 auto 20px; }
.mt-play-media .player-fullscreen { position: fixed; z-index: 10000; inset: 0; width: var(--viewport-width); height: var(--viewport-dynamic-height); }
.mt-play-sidebar { min-width: 0; height: 100%; display: flex; flex-direction: column; background: #14161a; }
.mt-play-tabs { display: flex; gap: 25px; align-items: center; height: 46px; padding: 0 16px; box-shadow: 0 2px 6px #0004; flex-shrink: 0; z-index: 1; }
.mt-play-tabs > span { border-bottom: 2px solid var(--mt-green); line-height: 44px; font-size: 16px; }
.mt-play-tabs button { padding: 0; font-size: 14px; color: #969ba5; }
.mt-play-sidebar-body { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #32353e transparent; padding-bottom: 25px; }
.mt-play-info { padding: 14px 16px 0; }
.mt-play-info h1 { font-weight: 500; font-size: 16px; line-height: 1.7; display: flex; gap: 10px; align-items: baseline; }
.mt-play-info h1 > a:first-child { min-width: 0; overflow-wrap: anywhere; }
.mt-play-detail-link { display: flex; align-items: center; font-size: 12px; color: #7e838e; font-weight: 400; flex-shrink: 0; }
.mt-play-meta { font-size: 12px; color: #858a94; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; overflow-wrap: anywhere; }
.mt-score { display: inline-flex; flex-shrink: 0; align-items: center; gap: 3px; color: #fa6960; white-space: nowrap; }
.mt-current-episode { color: #8a8e98; font-size: 12px; margin-top: 6px; }
.mt-play-description { font-size: 12px; color: #999da7; line-height: 1.8; margin-top: 12px; }
.mt-play-description p + p { margin-top: 8px; }
.mt-play-tools { display: flex; align-items: center; height: 40px; border: 1px solid #30333a; border-radius: 6px; background: #22252b; margin-top: 15px; }
.mt-play-tools > a,.mt-play-tools > button { flex: 1; display: flex; align-items: center; gap: 5px; justify-content: center; font-size: 12px; border-right: 1px solid #3b3e45; height: 20px; padding: 0; }
.mt-play-tools > :last-child { border-right: 0; }
.mt-play-tools > [aria-pressed="true"] { color: var(--mt-green); }
.mt-play-episodes { padding: 18px 16px 0; }
.mt-play-episodes .mt-section-heading { margin-bottom: 8px; min-height: 24px; }
.mt-play-episodes .mt-section-heading h2 { font-size: 16px; font-weight: 500; }
.mt-play-episodes .mt-text-button { font-size: 12px; }
.mt-play-episodes .mt-source-tabs { margin-bottom: 18px; }
.mt-play-episodes .mt-source-tabs button { font-size: 13px; padding-right: 13px; }
.mt-play-episodes .mt-episode-grid { grid-template-columns: repeat(auto-fill,minmax(max(64px,calc((100% - 32px) / 5)),1fr)); padding-bottom: 8px; }
.mt-play-episodes .mt-episode-grid > a { min-height: 50px; font-size: 13px; }
.mt-play-episodes .mt-episode-grid:not(.mt-episode-adaptive) > a { padding-inline: 2px; }
.mt-playing-bars { position: absolute; bottom: 0; display: flex; align-items: flex-end; gap: 2px; height: 8px; }
.mt-playing-bars i { width: 3px; height: 6px; background: var(--mt-green); border-radius: 2px 2px 0 0; animation: mt-playing .8s ease-in-out infinite alternate; }
.mt-playing-bars i:nth-child(2) { animation-delay: -.3s; }
.mt-playing-bars i:nth-child(3) { animation-delay: -.5s; }
.mt-playing-bars i:nth-child(4) { animation-delay: -.1s; }
.mt-play-sidebar .mt-container { width: auto; margin: 15px 0 0; padding: 10px 16px 0; border-top: 1px solid var(--mt-line); }
.mt-play-sidebar .mt-section-heading { margin-bottom: 12px; }
.mt-play-sidebar .mt-section-heading h2 { font-size: 16px; }
.mt-play-sidebar .mt-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 6px; margin-right: 0; }
.mt-play-sidebar .mt-grid > .mt-card { margin: 0; padding: 0; }
.mt-play-sidebar .mt-card-title { font-size: 12px; margin-top: 7px; }
.mt-site:has(.mt-player-layout) .mt-footer { display: none; }
@keyframes mt-playing { to { height: 2px; } }
@media (min-width: 1680px), (hover: hover) and (pointer: fine) {
    .mt-section-heading h2 { font-size: 28px; }
    .mt-section-heading > a { font-size: 18px; }
}
/* Desktop keeps its layout while scaling; phones and touch devices use width breakpoints. */
@media (max-width: 560px), (hover: none), (pointer: coarse), (pointer: none) {
@media (min-width: 1330px) and (max-width: 1691px) {
    .mt-detail-episodes .mt-episode-grid { grid-template-columns: repeat(20,minmax(0,1fr)); }
    .mt-grid { grid-template-columns: repeat(7,minmax(0,1fr)); }
    .mt-grid-preview:not(.mt-grid-landscape) > .mt-card:nth-child(n+15) { display: none; }
}
@media (min-width: 993px) and (max-width: 1329px) {
    .mt-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
    .mt-grid-preview:not(.mt-grid-landscape) > .mt-card:nth-child(n+13) { display: none; }
    .mt-detail-copy { width: 52%; }
}
@media (min-width: 993px) and (max-width: 1691px) {
    .mt-grid-landscape { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .mt-grid-preview.mt-grid-landscape > .mt-card:nth-child(n+11) { display: none; }
    .mt-ranking-score strong { font-size: 16px; }
}
@media (min-width: 768px) and (max-width: 1329px) {
    .mt-main-nav { display: none; }
    .mt-more-button { display: flex; }
}
@media (max-width: 1399px) {
    .mt-detail-copy h1 { font-size: 28px; margin-bottom: 20px; }
    .mt-detail-tags > span { height: 18px; line-height: 18px; font-size: 11px; }
}
@media (min-width: 1400px) and (max-width: 1712px) {
    .mt-detail-tags > span { height: 22px; line-height: 22px; font-size: 12px; }
}
@media (max-width: 1200px) {
    .mt-container { width: calc(100% - 80px); }
    .mt-card-title { font-size: 15px; }
    .mt-card-remarks { font-size: 12px; }
    .mt-header-inner { width: calc(100% - 80px); }
    .mt-menu-panel { right: 40px; width: min(700px,calc(100% - 80px)); }
    .mt-detail-backdrop { right: 40px; width: calc(70% - 56px); }
    .mt-episode-grid { grid-template-columns: repeat(8,minmax(0,1fr)); }
}
@media (max-width: 992px) {
    .mt-ranking-banner { height: 100px; }
    .mt-public-tabs > a { font-size: 16px; }
    .mt-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .mt-grid-landscape { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .mt-grid-preview > .mt-card:nth-child(n+13) { display: none; }
    .mt-detail-backdrop { position: relative; right: auto; top: auto; bottom: auto; width: 100%; max-width: none; padding-top: 58%; height: 0; }
    .mt-detail-backdrop img { position: absolute; inset: 0; }
    .mt-detail-backdrop:after { background: linear-gradient(0deg,#111319,transparent 50%),linear-gradient(180deg,#111319,transparent 30%); }
    .mt-detail-summary { width: auto; margin: 0 40px; padding-top: 0; }
    .mt-detail-copy { width: auto; }
    .mt-detail-info { font-size: 14px; margin: 10px 0; }
    .mt-detail-genre span { line-height: 18px; }
    .mt-ranking-types a { font-size: 16px; }
    .mt-player-layout { display: block; height: auto; }
    .mt-play-media { height: auto; aspect-ratio: 16/9; }
    .mt-play-media .player:not(.player-fullscreen) { position: absolute; inset: 0; height: 100%; }
    .mt-play-sidebar { height: auto; }
    .mt-play-sidebar-body { overflow: visible; }
    .mt-play-sidebar .mt-container { margin-top: 16px; }
    .mt-play-sidebar .mt-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
    .mt-play-sidebar .mt-card-title { font-size: 14px; }
}
@media (max-width: 767px) {
    .mt-container { width: auto; margin-left: 15px; margin-right: 15px; }
    .mt-header-inner { width: calc(100% - 30px); height: 88px; display: grid; grid-template-columns: 18px auto minmax(0,1fr); grid-template-rows: 44px 44px; gap: 0 10px; }
    .mt-menu-button { display: flex; align-items: center; justify-content: center; width: 18px; height: 44px; padding: 0; grid-column: 1; grid-row: 1; }
    .mt-menu-button .mt-icon { font-size: 18px; }
    .mt-logo { grid-column: 2; grid-row: 1; height: 36px; margin-top: 3px; }
    .mt-logo img { height: 36px; }
    .mt-header-search { grid-column: 3; grid-row: 1; width: 100%; height: 28px; margin: 0; }
    .mt-header-search input { height: 28px; line-height: 28px; font-size: 12px; }
    .mt-header-search button { height: 28px; }
    .mt-header-tools,.mt-more-button { display: none; }
    .mt-main-nav { display: flex; grid-column: 1/-1; grid-row: 2; margin-left: 0; height: 44px; gap: 22px; }
    .mt-main-nav a { font-size: 16px; gap: 4px; height: 44px; line-height: 44px; }
    .mt-main-nav .mt-icon { font-size: 16px; }
    .mt-menu-backdrop { display: block; position: fixed; inset: 0; z-index: 1; background: #0006; }
    .mt-menu-panel { position: fixed; z-index: 2; top: 0; bottom: 0; left: 0; right: auto; display: block; width: 260px; padding: 20px 10px; overflow-y: auto; border-radius: 0; }
    .mt-menu-panel > a,.mt-menu-history { display: flex; width: 100%; height: 46px; margin: 0; padding: 0 20px; font-size: 16px; border-radius: 0; background: transparent; }
    .mt-menu-close { display: flex; justify-content: flex-end; width: 100%; height: 36px; padding: 0 10px; }
    .mt-main { padding-top: 88px; }
    .mt-detail-banner { margin-top: -88px; }
    .mt-stage { margin: 0 15px; border-radius: 6px; height: auto; aspect-ratio: 16/9; }
    .mt-stage-content { margin: 0; width: 100%; max-width: none; left: 0; right: 0; bottom: 10px; padding: 0 10px; }
    .mt-stage-shade { bottom: -1px; height: 60%; }
    .mt-stage-slogan { font-size: 13px; margin-bottom: 8px; }
    .mt-stage-thumbs { gap: 8px; }
    .mt-stage-thumbs button { width: 55px; }
    .mt-stage-thumbs button > span { height: 32px; border-width: 1px; }
    .mt-stage-thumbs strong { font-size: 10px; margin-top: 2px; }
    .mt-section { padding-top: 10px; }
    .mt-section-heading { min-height: 26px; }
    .mt-section-heading h2 { font-size: 20px; line-height: 26px; }
    .mt-grid { margin-right: -6px; }
    .mt-grid > .mt-card { margin-top: 10px; margin-bottom: 0; padding-right: 6px; }
    .mt-card-title { margin-top: 8px; }
    .mt-card-year { height: 18px; line-height: 18px; padding: 0 6px; }
    .mt-card-remarks { font-size: 12px; }
    .mt-channel-categories { padding: 0; margin-top: 16px; }
    .mt-basic-categories { gap: 9px 16px; font-size: 13px; }
    .mt-detail-summary { padding-top: 0; padding-bottom: 20px; }
    .mt-detail-copy h1 { font-size: 24px; margin-bottom: 15px; }
    .mt-rating { margin: 6px 0 0; width: 100%; padding: 16px; }
    .mt-detail-actions { margin-top: 20px; }
    .mt-button { padding: 0 15px; height: 40px; font-size: 13px; }
    .mt-detail-episodes { padding-top: 21px; }
    .mt-episode-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .mt-source-tabs button { padding-right: 17px; font-size: 13px; }
    .mt-episode-grid > a { font-size: 13px; min-height: 49px; }
    .mt-listing-page { padding-top: 22px; }
    .mt-listing-heading { margin-bottom: 19px; }
    .mt-listing-heading h1 { font-size: 23px; }
    .mt-listing-heading > p { font-size: 12px; }
    .mt-listing-search { gap: 8px; }
    .mt-listing-search input { width: 100px; }
    .mt-ranking-banner { height: 100px; }
    .mt-ranking-banner h1 { font-size: 26px; }
    .mt-ranking-page { padding-top: 20px; }
    .mt-public-tabs { margin-top: 20px; justify-content: space-evenly; }
    .mt-public-tabs > a { margin: 0 4px; }
    .mt-ranking-types { justify-content: space-evenly; gap: 8px 0; }
    .mt-ranking-types a { margin: 0 4px; }
    .mt-ranking-section { margin-top: 20px; padding: 20px; }
    .mt-ranking-row { padding: 12px 0; }
    .mt-ranking-row:hover { background: transparent; }
    .mt-ranking-actors,.mt-ranking-score small { font-size: 12px; }
    .mt-ranking-score strong { font-size: 16px; }
    .mt-result-count { margin-bottom: 15px; font-size: 12px; }
    .mt-page-link { font-size: 14px; padding: 0 16px; height: 42px; line-height: 42px; }
    .mt-footer { padding: 0 0 40px; }
    .mt-footer-show > h2 { margin-top: 24px; font-size: 18px; }
    .mt-footer-content { margin: 24px 0; flex-wrap: wrap; justify-content: space-between; }
    .mt-footer-content > .mt-footer-primary { flex-basis: 100%; margin-bottom: 16px; }
    .mt-footer-content > a:not(.mt-footer-primary) { min-width: 100px; flex-basis: 48%; }
    .mt-footer-library { margin: 0; }
    .mt-history-actions { font-size: 15px; }
    .mt-history-clear { height: 36px; line-height: 36px; }
    .mt-back-top { width: 34px; height: 34px; border-radius: 50%; }
    .mt-play-sidebar .mt-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .mt-play-sidebar .mt-container { margin-left: 0; margin-right: 0; }
    .mt-play-info h1 { font-size: 16px; }
    .mt-play-info { padding-top: 13px; }
    .mt-play-media .watch-error { font-size: 12px; }
    .mt-play-media .player-error-logo { max-width: 110px; max-height: 32px; margin-bottom: 12px; }
}
@media (max-width: 559px) {
    .mt-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .mt-grid-landscape { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mt-grid-preview > .mt-card:nth-child(n+7) { display: none; }
    .mt-card-title { font-size: 14px; }
    .mt-section-heading h2 { font-size: 16px; }
    .mt-history-panel { width: 100%; }
    .mt-history-heading { position: fixed; display: flex; justify-content: center; align-items: center; top: 0; left: 0; right: 0; height: 48px; line-height: 48px; padding: 0 15px; background: #0a0c0f; z-index: 1; }
    .mt-history-heading h2 { font-size: 16px; font-weight: 700; }
    .mt-history-heading button { position: absolute; left: 15px; top: 0; display: flex; align-items: center; width: 34px; height: 48px; padding: 0; }
    .mt-history-title-space { display: block; height: 48px; }
    .mt-history-actions { font-size: 14px; }
}
@supports (-webkit-touch-callout: none) {
    @media (max-width: 767px) {
        .mt-site input:not([type="hidden"]),.mt-site select { font-size: 16px; }
    }
}
@media (max-width: 389px) {
    .mt-ranking-types a { font-size: 14px; }
}
}
/* Playback owns the available viewport; only the sidebar content scrolls. */
.mt-site:has(.mt-player-layout) { --mt-play-header-height: 76px; height: var(--viewport-dynamic-height); min-height: 0; }
.mt-site:has(.mt-player-layout) .mt-main { height: var(--viewport-dynamic-height); min-height: 0; padding-top: var(--mt-play-header-height); overflow: hidden; }
.mt-player-layout { display: grid; height: calc(var(--viewport-dynamic-height) - var(--mt-play-header-height)); min-height: 0; grid-template-rows: minmax(0,1fr); }
.mt-player-layout .mt-play-media { height: 100%; min-height: 0; aspect-ratio: auto; }
.mt-player-layout .mt-play-sidebar { height: 100%; min-height: 0; overflow: hidden; }
.mt-player-layout .mt-play-sidebar-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.mt-play-sidebar-body:focus-visible { outline: 2px solid var(--mt-green); outline-offset: -2px; }
.mt-site:has(.mt-player-layout) .mt-back-top { display: none; }
@media (max-width: 560px), (hover: none), (pointer: coarse), (pointer: none) {
@media (max-width: 992px) {
    .mt-player-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: min(calc(var(--viewport-width) * .5625),calc(var(--viewport-dynamic-height) * .45)) minmax(0,1fr); }
}
@media (max-width: 767px) {
    .mt-site:has(.mt-player-layout) { --mt-play-header-height: 88px; }
}
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
