@font-face {
  font-family: "FZLTHProJW";
  src: url("./assets/FZLTHProJW_R.a739ffd9.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  color-scheme: light;
  --ink: #1c1c1e;
  --muted: #949498;
  --line: #ececee;
  --page: #f5f5f6;
  --orange: #ff6a1a;
  --orange-soft: #fff1e9;
  --violet: #9d83ef;
  font-family: "FZLTHProJW", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100dvh; margin: 0; color: var(--ink); background: var(--page); }
button, input, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid rgba(255, 106, 26, .68); outline-offset: 2px; }
button:disabled { cursor: wait; opacity: .58; }
h1, h2, p, figure { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; color: inherit; background: rgba(255, 255, 255, .08); }
.icon-button svg { width: 19px; height: 19px; }

/* Reference login composition */
.login-screen { position: relative; min-height: 100dvh; overflow: hidden; color: #fff; background: #1c1c1d; }
.login-brand { position: absolute; z-index: 5; top: 92px; left: 50%; width: 254px; height: 28px; display: block; transform: translateX(-50%); }
.login-cinema { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; }
.login-background-player { width: 100vw; min-width: 1440px; max-width: 2560px; flex: 0 0 auto; overflow: hidden; aspect-ratio: 2160 / 1131; }
.login-background-video { width: 100%; height: 100%; display: block; object-fit: contain; }
.login-content { position: absolute; z-index: 3; top: 327px; left: 50%; width: min(826px, 49.4vw); display: grid; grid-template-columns: minmax(0, 1fr) 366px; align-items: start; gap: 62px; transform: translateX(-50%); }
.login-copy { padding-top: 7px; }
.login-copy > span { display: block; color: #ff792e; font-size: 39px; line-height: 1; font-weight: 650; }
.login-copy h1 { margin-top: 17px; font-size: 36px; line-height: 1.2; font-weight: 630; white-space: nowrap; }
.login-copy p { max-width: 430px; margin-top: 25px; color: rgba(255, 255, 255, .36); font-size: 13px; line-height: 1.6; white-space: nowrap; }
.login-form { width: 366px; display: grid; gap: 22px; }
.login-tabs { height: 39px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 3px; border-radius: 6px; background: rgba(46, 44, 49, .82); }
.login-tabs button { height: 33px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 5px; color: rgba(255, 255, 255, .68); background: transparent; font-size: 14px; }
.login-tabs button.active { color: #fff; background: rgba(101, 96, 104, .82); }
.login-field { position: relative; height: 49px; display: block; }
.login-field input { width: 100%; height: 49px; padding: 0 16px; border: 1px solid transparent; border-radius: 7px; outline: 0; color: #fff; background: rgba(69, 65, 71, .56); transition: border-color 160ms ease, background 160ms ease; }
.login-field input::placeholder { color: rgba(255, 255, 255, .31); }
.login-field input:focus { border-color: rgba(255, 255, 255, .23); background: rgba(75, 71, 77, .74); }
.login-password-field input { padding-right: 48px; }
.login-password-field button { position: absolute; top: 0; right: 3px; width: 44px; height: 49px; display: grid; place-items: center; padding: 0; border: 0; color: rgba(255, 255, 255, .34); background: transparent; }
.login-password-field:has(button.phone-action) input { padding-right: 116px; }
.login-password-field button.phone-action { width: 104px; right: 0; color: rgba(255, 255, 255, .32); font-size: 13px; }
.login-password-field svg { width: 17px; }
.login-agreement { min-height: 20px; display: flex; align-items: flex-start; gap: 8px; color: rgba(255, 255, 255, .4); font-size: 12px; line-height: 18px; }
.login-agreement input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #ff792e; }
.login-agreement b { color: rgba(255, 255, 255, .55); font-weight: 400; }
.form-error { min-height: 18px; margin: -16px 0 -18px; color: #ff8a70; font-size: 12px; text-align: center; }
.login-button { width: 202px; height: 45px; justify-self: center; padding: 0; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(90deg, #c8712e, #a54a50); font-weight: 580; transition: filter 160ms ease, transform 160ms ease; }
.login-button:hover { filter: brightness(1.08); }
.login-button:active { transform: scale(.98); }
.login-footer { position: absolute; z-index: 3; bottom: 14px; left: 50%; width: calc(100% - 40px); transform: translateX(-50%); color: rgba(255, 255, 255, .26); font-size: 10px; line-height: 1.8; text-align: center; }

/* Authenticated workspace */
.portal { min-height: 100dvh; }
.topbar { position: sticky; z-index: 30; top: 0; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; color: #fff; background: #1b1b1c; }
.topbar-brand { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar-logo { width: 158px; height: auto; display: block; }
.top-navigation { align-self: stretch; display: flex; align-items: center; gap: 81px; }
.top-navigation button { position: relative; height: 100%; padding: 0; border: 0; color: rgba(255, 255, 255, .93); background: transparent; font-size: 16px; }
.top-navigation button.active::after { content: ""; position: absolute; bottom: 16px; left: 50%; width: 27px; height: 2px; transform: translateX(-50%); background: #fff; }
.account-area { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.sync-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.notification-button { background: rgba(255, 255, 255, .08); }
.account-button { width: 230px; height: 52px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 9px; padding: 5px 13px 5px 6px; border: 0; border-radius: 27px; color: #fff; background: #343435; text-align: left; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #f5fff9; background: #7ebd98; font-weight: 650; }
.account-button > span:nth-child(2) { min-width: 0; display: grid; gap: 1px; }
.account-button strong, .account-button small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-button strong { font-size: 13px; font-weight: 540; }
.account-button small { color: rgba(255, 255, 255, .66); font-size: 11px; }
.account-button > svg { width: 16px; }
.menu-button { display: none; }
.portal-frame { min-height: calc(100dvh - 76px); display: grid; grid-template-columns: 268px minmax(0, 1fr); }

.side-navigation { position: sticky; top: 76px; height: calc(100dvh - 76px); display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 27px 12px 9px 20px; overflow: hidden; border-right: 1px solid #eeeeef; background: #f7f7f8; }
.side-navigation nav { min-height: 0; display: grid; align-content: start; gap: 7px; overflow-y: auto; scrollbar-width: thin; }
.side-navigation button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border: 0; border-radius: 9px; color: #29292b; background: transparent; font-size: 14px; text-align: left; }
.side-navigation button > svg { width: 19px; height: 19px; flex: 0 0 auto; }
.side-navigation button:hover { background: #eeeeef; }
.side-navigation button.active { background: #fff; }
.nav-group { display: grid; gap: 7px; }
.nav-group h2 { min-height: 45px; display: grid; grid-template-columns: 20px minmax(0, 1fr) 16px; align-items: center; gap: 12px; margin: 0; padding: 0 20px; font-size: 14px; font-weight: 560; }
.nav-group h2 svg { width: 19px; }
.nav-group h2 svg:last-child { width: 15px; }
.nav-group button { padding-left: 51px; }
.rail-utilities { min-height: 27px; display: flex; align-items: center; gap: 11px; padding-left: 0; color: #76767a; font-size: 10px; white-space: nowrap; }
.rail-utilities > span:first-child { color: #65c898; font-size: 20px; }
.rail-utilities svg { width: 13px; }
.rail-utilities b { font-size: 10px; }
.rail-utilities small { font-size: 9px; }

.main-area { min-width: 0; padding: 23px 11px 11px 0; background: var(--page); }
.earnings-surface { min-height: calc(100dvh - 110px); overflow: hidden; border-radius: 10px; background: #fff; }
.earnings-overview { min-height: 277px; display: grid; grid-template-columns: minmax(0, 1fr) 460px; }
.earnings-primary { padding: 38px 30px 28px; }
.overview-title { display: flex; align-items: center; gap: 9px; }
.overview-title h1 { font-size: 19px; font-weight: 480; }
.info-button { width: 25px; height: 25px; display: grid; place-items: center; padding: 0; border: 0; color: #29292b; background: transparent; }
.info-button svg { width: 16px; }
.total-earnings { display: block; margin-top: 28px; font-size: 50px; line-height: 1; font-weight: 430; font-variant-numeric: tabular-nums; }
.secondary-metrics { max-width: 705px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 41px; margin-top: 47px; }
.secondary-metrics > div { min-width: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 12px; }
.metric-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 9px; background: #f5f5f6; }
.metric-icon svg { width: 22px; }
.secondary-metrics p { min-width: 0; display: grid; gap: 6px; }
.secondary-metrics p span { overflow: hidden; color: #9f9fa2; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.secondary-metrics p strong { font-size: 18px; font-weight: 480; font-variant-numeric: tabular-nums; }
.trend-panel { min-width: 0; padding: 30px 22px 23px 4px; }
.data-note { min-height: 34px; color: #aaa9ac; font-size: 12px; text-align: right; }
.trend-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 29px; color: #9d9da0; font-size: 12px; }
.trend-head > div { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.legend-dot.orange { background: #ff850d; }
.legend-dot.violet { margin-left: 10px; background: var(--violet); }
.chart { height: 84px; margin-top: 20px; border-bottom: 1px solid #dcdcdf; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .chart-grid { stroke: #f0f0f1; stroke-width: 1; }
.chart .chart-line { fill: none; stroke: #ff850d; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart .chart-area { fill: rgba(255, 133, 13, .06); }
.chart .chart-point { fill: #ff850d; stroke: #fff; stroke-width: 2; }
.chart .episode-bar { fill: rgba(157, 131, 239, .22); }
.month-labels { display: grid; grid-template-columns: repeat(10, 1fr); margin-top: 9px; color: #a2a2a5; font-size: 11px; text-align: center; }

.catalog-section { padding: 0 8px 28px 30px; scroll-margin-top: 92px; }
.catalog-tools { min-height: 86px; display: grid; grid-template-columns: minmax(140px, 1fr) minmax(400px, auto) 120px; align-items: start; gap: 14px; padding-top: 18px; }
.catalog-tab { justify-self: start; min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 8px; color: var(--orange); background: var(--orange-soft); font-size: 14px; }
.catalog-search { min-height: 44px; display: grid; grid-template-columns: 140px minmax(220px, 260px); overflow: hidden; border-radius: 9px; background: #f5f5f6; }
.catalog-search label { position: relative; min-width: 0; display: flex; align-items: center; }
.catalog-search label:first-child::after { content: ""; position: absolute; right: 0; width: 1px; height: 24px; background: #e5e5e7; }
.catalog-search label > span { position: absolute; z-index: 1; left: 15px; font-size: 13px; pointer-events: none; }
.catalog-search select, .catalog-search input { width: 100%; height: 44px; padding: 0 36px 0 15px; border: 0; outline: 0; background: transparent; appearance: none; }
.catalog-search select { color: transparent; }
.catalog-search label > svg { position: absolute; right: 13px; width: 16px; color: #8e8e91; pointer-events: none; }
.catalog-search .search-input input { color: #333; }
.catalog-search .search-input input::placeholder { color: #aaa9ac; }
.dark-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 9px; color: #fff; background: #1d1d1f; font-weight: 560; white-space: nowrap; }
.dark-button svg { width: 17px; height: 17px; margin-right: 7px; }
.catalog-table-wrap { width: 100%; overflow: auto; }
table { width: 100%; min-width: 1040px; border-collapse: collapse; table-layout: fixed; }
th { height: 54px; padding: 0 22px; color: #99999c; background: #f7f7f8; font-size: 13px; font-weight: 440; text-align: left; white-space: nowrap; }
th:first-child { width: 29%; }
th:nth-child(2) { width: 13%; }
th:nth-child(3) { width: 12%; }
th:nth-child(4) { width: 15%; }
th:nth-child(5) { width: 18%; }
th:nth-child(6) { width: 13%; }
td { height: 114px; padding: 14px 22px; border-bottom: 1px solid var(--line); color: #29292b; font-size: 14px; line-height: 1.55; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfcfd; }
td.title-cell { font-weight: 520; overflow-wrap: anywhere; }
.title-cell small { display: block; margin-top: 3px; color: #9b9b9f; font-size: 11px; font-weight: 400; }
.numeric { font-variant-numeric: tabular-nums; }
.type-label { color: #67676a; }
.earnings-cell { font-weight: 540; }
.detail-button { padding: 0; border: 0; color: var(--orange); background: transparent; }
.empty-row td, .table-state { height: 170px; color: #aaa9ac; text-align: center; }
.result-count { margin-top: 14px; color: #aaa9ac; font-size: 11px; text-align: right; }

.customer-service { position: fixed; z-index: 20; right: 29px; bottom: 34px; width: 76px; height: 80px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 0; border: 0; border-radius: 6px; color: #303033; background: #fff; box-shadow: 0 8px 28px rgba(0, 0, 0, .08); font-size: 11px; }
.customer-service svg { width: 20px; }
.account-menu { position: fixed; z-index: 50; top: 68px; right: 22px; width: 190px; padding: 7px; border: 1px solid #e8e8ea; border-radius: 10px; background: #fff; box-shadow: 0 16px 50px rgba(0, 0, 0, .15); }
.account-menu button { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border: 0; border-radius: 7px; color: #333; background: transparent; }
.account-menu button:hover { background: #f4f4f5; }
.account-menu svg { width: 17px; }
.offline-banner { position: fixed; z-index: 60; bottom: 18px; left: 50%; max-width: calc(100vw - 32px); padding: 10px 15px; transform: translateX(-50%); border: 1px solid #ffc7ac; border-radius: 8px; color: #a94111; background: #fff3ed; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); font-size: 12px; }

dialog { width: min(590px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 10px; color: var(--ink); background: #fff; box-shadow: 0 26px 90px rgba(0, 0, 0, .28); }
dialog::backdrop { background: rgba(0, 0, 0, .48); backdrop-filter: blur(3px); }
dialog form { padding: 24px; }
dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
dialog header > div { display: grid; gap: 5px; }
dialog header span { color: var(--orange); font-size: 10px; font-weight: 700; }
dialog header h2 { font-size: 20px; }
dialog .icon-button { color: #333; background: #f3f3f4; }
dialog dl { display: grid; gap: 0; margin: 22px 0 6px; }
dialog dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
dialog dt { font-weight: 620; }
dialog dd { margin: 0; color: #77777a; font-size: 13px; line-height: 1.7; }
dialog footer { display: flex; justify-content: flex-end; margin-top: 20px; }

@media (max-width: 1180px) {
  .login-content { width: min(760px, 64vw); gap: 36px; }
  .login-copy h1 { font-size: 30px; }
  .login-copy p { white-space: normal; }
  .top-navigation { gap: 36px; }
  .earnings-overview { grid-template-columns: 1fr; }
  .trend-panel { padding: 0 30px 25px; }
  .data-note { min-height: 0; }
}

@media (max-width: 820px) {
  .login-brand { top: 52px; width: 218px; height: auto; }
  .login-cinema { inset: 0; width: 100%; height: 100%; display: block; }
  .login-background-player { position: absolute; top: 50%; left: 50%; min-width: 1440px; transform: translate(-50%, -50%); }
  .login-cinema::after { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 22, .66); }
  .login-content { top: 122px; left: 0; width: 100%; display: grid; grid-template-columns: 1fr; gap: 31px; padding: 0 22px 84px; transform: none; }
  .login-copy { text-align: center; }
  .login-copy > span { font-size: 29px; }
  .login-copy h1 { margin-top: 10px; font-size: 27px; white-space: normal; }
  .login-copy p { max-width: 340px; margin: 14px auto 0; font-size: 12px; white-space: normal; }
  .login-form { width: min(366px, 100%); justify-self: center; padding: 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: rgba(43, 40, 46, .68); backdrop-filter: blur(16px); }
  .login-footer { display: none; }
  .topbar { height: 64px; grid-template-columns: minmax(0, 1fr) auto; padding: 0 12px; }
  .topbar-logo { width: 130px; }
  .menu-button { display: inline-grid; border: 0; background: transparent; }
  .top-navigation, .notification-button { display: none; }
  .account-button { width: 46px; height: 46px; grid-template-columns: 36px; padding: 5px; }
  .account-button > span:nth-child(2), .account-button > svg { display: none; }
  .avatar { width: 36px; height: 36px; }
  .portal-frame { min-height: calc(100dvh - 64px); display: block; }
  .side-navigation { position: fixed; z-index: 40; top: 64px; bottom: 0; left: 0; width: min(300px, 84vw); height: auto; transform: translateX(-105%); transition: transform 180ms ease; box-shadow: 24px 0 60px rgba(0, 0, 0, .18); }
  .side-navigation.open { transform: translateX(0); }
  .main-area { padding: 0; }
  .earnings-surface { min-height: calc(100dvh - 64px); border-radius: 0; }
  .earnings-overview { min-height: 0; }
  .earnings-primary { padding: 25px 18px 20px; }
  .overview-title h1 { font-size: 16px; }
  .total-earnings { margin-top: 22px; font-size: 38px; }
  .secondary-metrics { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .secondary-metrics > div { min-height: 62px; grid-template-columns: 42px 1fr; padding: 8px 10px; border-bottom: 1px solid var(--line); }
  .metric-icon { width: 42px; height: 42px; }
  .secondary-metrics p { grid-template-columns: 1fr auto; align-items: center; }
  .secondary-metrics p span { white-space: normal; }
  .trend-panel { padding: 21px 18px 24px; }
  .data-note { text-align: left; line-height: 1.55; }
  .trend-head { align-items: flex-start; }
  .trend-head > div { display: none; }
  .month-labels span:nth-child(even) { visibility: hidden; }
  .catalog-section { padding: 0 14px 28px; }
  .catalog-tools { grid-template-columns: minmax(0, 1fr) 44px; gap: 10px; padding: 14px 0; }
  .catalog-tab { grid-column: 1 / -1; }
  .catalog-search { min-width: 0; grid-template-columns: 116px minmax(0, 1fr); }
  .catalog-tools > .dark-button { width: 44px; padding: 0; }
  .catalog-tools > .dark-button span { display: none; }
  .catalog-tools > .dark-button svg { margin: 0; }
  .catalog-table-wrap { overflow: visible; }
  table, tbody, tr, td { width: 100%; min-width: 0; display: block; }
  thead { display: none; }
  tbody { display: grid; gap: 9px; }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
  td { min-width: 0; height: auto; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
  td::before { content: attr(data-label); color: #a0a0a3; }
  td.title-cell { grid-column: 1 / -1; display: block; padding: 14px 12px; font-size: 14px; }
  td.title-cell::before { display: none; }
  td:nth-last-child(-n+2) { border-bottom: 0; }
  .empty-row { display: block; }
  .empty-row td, .table-state { height: auto; display: block; padding: 60px 12px; }
  .result-count { text-align: left; }
  .customer-service { display: none; }
  .account-menu { top: 58px; right: 10px; }
  dialog dl > div { grid-template-columns: 1fr; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
