/* Fulizu optimization pass — 2026-07-27. */

/* Search panel: both header and floating triggers open below the sticky header. */
.fz-search-layer {
  inset: var(--header) 0 0;
  visibility: hidden;
  pointer-events: none;
}
.fz-home .fz-search-layer {
  top: 62px;
}
.fz-search-layer:not([hidden]) {
  display: block;
}
.fz-search-backdrop {
  opacity: 0;
  transition: opacity .3s ease;
}
.fz-search-panel {
  transform: translateY(-105%);
  transform-origin: top;
  opacity: .98;
  transition: transform .32s cubic-bezier(.22,.8,.25,1), opacity .3s ease;
}
.fz-search-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.fz-search-layer.is-open .fz-search-backdrop {
  opacity: 1;
}
.fz-search-layer.is-open .fz-search-panel {
  transform: translateY(0);
  opacity: 1;
}

/* Desktop submenu: three compact entries per row. */
@media (min-width: 1181px) {
  .column_menu li:hover > .column_submenu,
  .column_menu li:focus-within > .column_submenu {
    display: grid !important;
  }
  .column_submenu {
    width: min(570px, calc(100vw - 64px));
    min-width: 0;
    max-height: min(54vh, 390px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 8px;
  }
  .column_submenu li + li {
    margin-top: 0;
  }
  .column_submenu a,
  .column_submenu span {
    min-height: 32px;
    padding: 5px 9px;
    overflow: hidden;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Home shortcuts and notice. */
.fz-shortcut-copy {
  min-width: 0;
}
.fz-shortcut-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}
.fz-shortcut-title strong {
  min-width: 0;
}
.fz-shortcuts .fz-shortcut-title em {
  position: static;
  display: inline-flex;
  min-width: 26px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  font-size: 10px;
  line-height: 16px;
}
.fz-shortcuts > a {
  isolation: isolate;
}
.fz-shortcuts .is-green .fz-shortcut-symbol {
  box-shadow: 0 6px 18px rgba(30, 176, 112, .22);
}

/* Card typography, badges and inline actions. */
.fz-card {
  align-self: start;
}
.fz-card .fz-card-body,
.fz-list-page .fz-card .fz-card-body {
  height: auto;
  min-height: 116px;
  padding: 11px 12px 10px;
}
.fz-card h3,
.fz-card h3 a,
.fz-list-page .fz-card h3,
.fz-list-page .fz-card h3 a {
  height: 40px;
  margin: 0 0 6px;
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.fz-card-tags,
.fz-list-page .fz-card-tags {
  height: 23px;
  gap: 6px;
  margin: 0 0 7px;
}
.fz-card-tags a,
.fz-list-page .fz-card-tags a {
  padding: 2px 7px;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 4px;
  background: rgba(151, 156, 162, .16);
  color: #c6c9cd;
  font-size: 11px;
  line-height: 17px;
}
.fz-card-tags .is-category {
  background: rgba(46, 140, 206, .28);
  color: #caebff;
}
.fz-card-tags .is-featured {
  background: rgba(237, 150, 56, .3);
  color: #ffe0b7;
}
.fz-card-cover .fz-card-badges {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fz-card-cover .fz-card-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  line-height: 16px;
}
.fz-card-cover .fz-card-badge .fz-icon {
  width: 12px;
  height: 12px;
}
.fz-card-cover .fz-card-badge.is-download {
  background: rgba(230, 82, 72, .94);
}
.fz-card-cover .fz-card-badge.is-video {
  background: rgba(73, 117, 220, .94);
}
.fz-card-meta,
.fz-list-page .fz-card-meta {
  height: 21px;
  align-items: center;
  margin-top: auto;
  color: #92979c;
  font-size: 11px;
  line-height: 21px;
}
.fz-card-meta time {
  margin-right: auto;
}
.fz-content-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.fz-card-actions {
  margin-left: auto;
}
.fz-content-action-form {
  display: inline-flex;
  margin: 0;
  color: inherit;
}
.fz-content-action {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.fz-content-action .fz-icon {
  width: 13px;
  height: 13px;
  stroke-width: 1.7;
}
.fz-content-action-form:hover,
.fz-content-action-form.is-active,
[data-content-action].is-active {
  color: var(--accent);
}
.zuopin_menu [data-content-action].is-active button,
.zuopin_menu [data-content-action].active button {
  color: var(--accent);
}
.fz-content-action-form button:disabled {
  cursor: wait;
  opacity: .66;
}
.fz-card-meta .fz-content-action span {
  display: inline !important;
}

/* List width, heading and card-height cleanup. */
.fz-list-page .fz-list-main {
  width: min(1500px, calc(100% - 76px));
  max-width: none;
  padding: 26px 0 72px;
}
.fz-list-page .fz-list-head {
  display: flex;
  min-height: 76px;
  height: auto;
  align-items: center;
  margin: 0 0 20px;
  padding: 18px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
}
.fz-list-page .fz-list-head h1 {
  width: auto;
  height: auto;
  min-height: 30px;
  padding: 0 0 8px;
  font-size: 20px;
  line-height: 24px;
}
.fz-list-page .fz-list-head h1 small {
  margin-left: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}
.fz-list-page .fz-list-head > p {
  margin: 0 0 0 auto;
  padding-left: 24px;
}
.fz-list-page .fz-card {
  height: auto;
  min-height: 0;
}
.fz-list-page .fz-card-cover {
  height: auto;
  aspect-ratio: 4 / 5;
}
.fz-list-page .fz-card-grid {
  align-items: start;
}

/* Detail width, metrics and ranked hot list. */
.detail-page .detail-column {
  width: min(1500px, calc(100% - 76px));
  max-width: none;
}
.detail-page .detail-head-stats {
  display: flex !important;
  align-items: center;
  gap: 11px;
}
.detail-page .detail-head-stats .fz-content-action-form {
  color: #aeb1b5;
}
.detail-page .detail-head-stats .fz-content-action {
  gap: 4px;
  font-size: 12px;
}
.detail-page .detail-head-stats .fz-icon {
  width: 13px;
  height: 13px;
}
.detail-page .fz-sidebar-hot {
  text-align: left;
}
.detail-page .fz-sidebar-hot h2 {
  text-align: left;
}
.detail-page .fz-sidebar-hot > ol {
  display: grid;
  gap: 7px;
}
.detail-page .fz-sidebar-hot-item {
  position: relative;
  display: grid;
  min-height: 82px;
  grid-template-columns: 25px 88px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 6px;
  background: var(--surface);
}
.detail-page .fz-hot-rank {
  align-self: start;
  padding-top: 2px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 750;
  text-align: center;
}
.detail-page .fz-sidebar-hot-item:nth-child(2) .fz-hot-rank {
  color: #f5a54b;
}
.detail-page .fz-sidebar-hot-item:nth-child(3) .fz-hot-rank {
  color: #a785ef;
}
.detail-page .fz-sidebar-hot a,
.detail-page .fz-sidebar-hot a:first-child {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.detail-page .fz-hot-cover {
  width: 88px;
  height: 64px;
  overflow: hidden;
  border-radius: 5px !important;
  background: var(--surface-2) !important;
}
.detail-page .fz-hot-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-page .fz-hot-copy {
  display: flex;
  min-width: 0;
  min-height: 64px;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}
.detail-page .fz-hot-title {
  display: -webkit-box !important;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 560;
  line-height: 18px;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.detail-page .fz-hot-actions {
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 18px;
}

/* User center: unified hierarchy, icons and responsive records. */
.profile-center-page .profile-center {
  display: block;
  width: 100%;
}
.profile-center-page .profile-center > .column_left {
  width: 100%;
  min-width: 0;
}
.profile-page .profile-shell,
.support-tickets-page .support-ticket-shell,
.support-ticket-page .support-ticket-shell {
  width: min(1240px, calc(100% - 64px));
  margin: 34px auto 80px;
}
.profile-page .profile-membership-banner {
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, var(--accent)), var(--surface));
}
.profile-membership-emblem {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--warm) 42%, var(--line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--warm) 10%, var(--surface-2));
}
.profile-membership-emblem .fz-icon {
  width: 31px;
  height: 31px;
}
.profile-hero-meta a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}
.profile-hero-meta a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.profile-page .yt-profile {
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 24px;
}
.profile-page .yt-profile-nav {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.profile-page .yt-profile-nav button {
  display: grid;
  min-height: 48px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-left: 0;
  border-radius: 6px;
}
.fz-profile-nav-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: var(--surface-2);
}
.fz-profile-nav-icon .fz-icon {
  width: 16px;
  height: 16px;
}
.profile-page .yt-profile-nav button.active {
  box-shadow: inset 3px 0 0 var(--accent);
}
.profile-page .yt-profile-nav button.active .fz-profile-nav-icon {
  background: color-mix(in srgb, var(--accent) 16%, var(--surface-2));
}
.profile-page .yt-section-head {
  min-height: 68px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 3px 0 14px;
  border-bottom: 1px solid var(--line);
}
.profile-page .yt-section-head h2 {
  margin: 0 0 5px;
  font-size: 24px;
  line-height: 30px;
}
.profile-page .yt-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.profile-page .profile-overview-card {
  min-height: 164px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-2) 86%, var(--accent)));
}
.profile-page .profile-overview-card.is-membership {
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-2) 82%, var(--warm)));
}
.profile-page .profile-card-watermark {
  font-size: 12px;
  opacity: .46;
}
.profile-page .profile-record-row {
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
}
.profile-page .profile-record-row.is-download {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}
.profile-page .profile-favorite-row {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
}
.profile-record-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.profile-record-icon .fz-icon {
  width: 20px;
  height: 20px;
}
.profile-record-copy,
.profile-favorite-copy {
  min-width: 0;
}
.profile-record-copy > a,
.profile-record-copy > strong,
.profile-favorite-copy > a {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-record-copy > span,
.profile-favorite-copy > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.profile-record-copy i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}
.profile-record-value {
  text-align: right;
}
.profile-record-value strong,
.profile-record-value span {
  display: block;
}
.profile-page .profile-setting-card,
.profile-page .profile-referral-summary,
.profile-page .profile-ledger-section,
.profile-page .profile-withdraw-panel {
  border-radius: 9px;
}
.profile-page .profile-balance-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.profile-page .profile-balance-cards .yt-info-box {
  border-radius: 7px;
}
.profile-page .yt-input,
.profile-page .yt-select,
.profile-page .yt-textarea,
.support-ticket-shell .yt-input,
.support-ticket-shell .yt-select,
.support-ticket-shell .yt-textarea {
  border-radius: 5px;
  background: color-mix(in srgb, var(--bg) 88%, var(--surface));
}

/* Ticket pages: fix the 220px parent-column collapse and rebuild the layout. */
.support-ticket-heading {
  align-items: center;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.support-ticket-heading h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
}
.support-ticket-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}
.support-ticket-back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  white-space: nowrap;
}
.support-ticket-layout {
  grid-template-columns: minmax(340px, 400px) minmax(0, 1fr);
  gap: 20px;
}
.support-ticket-create,
.support-ticket-reply {
  padding: 24px;
  border-radius: 9px;
}
.support-ticket-panel-head {
  align-items: center;
  margin-bottom: 20px;
}
.support-ticket-panel-head > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.support-ticket-panel-head .fz-icon {
  width: 20px;
  height: 20px;
}
.support-ticket-panel-head h2,
.support-ticket-list > header h2 {
  margin: 0;
  font-size: 21px;
}
.support-ticket-list > header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.support-ticket-list > header > span {
  color: var(--accent);
  font-size: 12px;
}
.support-ticket-row {
  grid-template-columns: auto minmax(0, 1fr) 12px;
  min-height: 74px;
  padding: 15px 17px;
  border-radius: 8px;
}
.support-ticket-row-main {
  min-width: 0;
}
.support-ticket-row-main strong,
.support-ticket-row-main small {
  display: block;
}
.support-ticket-row-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-ticket-row-main small {
  margin-top: 5px;
  color: var(--muted);
}
.support-ticket-status {
  border-radius: 999px;
  white-space: nowrap;
}
.support-ticket-submit {
  width: 100%;
  border-radius: 5px;
}
.support-thread {
  max-width: 980px;
  margin: 22px auto;
}
.support-message {
  border-radius: 9px;
}
.support-message > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}
.support-message time {
  color: var(--muted);
  font-size: 12px;
}
.support-ticket-page .support-ticket-reply {
  max-width: 980px;
  margin: 20px auto;
}

@media (max-width: 1023px) {
  .fz-search-layer:not([hidden]) {
    display: block !important;
  }
  .fz-search-layer {
    top: var(--header);
  }
  .fz-search-panel {
    min-height: 310px;
    padding: 42px 18px 36px;
  }
  .fz-search-close {
    top: 12px;
    right: 14px;
  }
  .fz-search-panel-inner {
    width: min(680px, calc(100% - 20px));
  }
  .fz-search-panel h2 {
    font-size: 25px;
  }
  .profile-page .profile-shell,
  .support-tickets-page .support-ticket-shell,
  .support-ticket-page .support-ticket-shell {
    width: calc(100% - 32px);
  }
}
@media (max-width: 900px) {
  body.is-search-open .fz-menu-button .icon-menu {
    display: block;
  }
  body.is-search-open .fz-menu-button .icon-close {
    display: none;
  }
  .fz-shortcuts .fz-shortcut-title em {
    display: inline-flex;
  }
  .profile-page .yt-profile {
    display: block;
  }
  .profile-page .yt-profile-nav {
    position: static;
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
  }
  .profile-page .yt-profile-nav button {
    min-width: max-content;
    grid-template-columns: 28px auto;
    padding: 0 12px;
  }
  .support-ticket-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .fz-search-layer,
  .fz-home .fz-search-layer {
    top: 60px;
  }
  .fz-list-page .fz-search-layer,
  .detail-page .fz-search-layer {
    top: 52px;
  }
  .fz-search-panel {
    min-height: 270px;
    padding: 35px 12px 28px;
  }
  .fz-search-panel form {
    grid-template-columns: minmax(0, 1fr) 48px;
    height: 50px;
  }
  .fz-search-hot {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fz-shortcut-title {
    gap: 5px;
  }
  .fz-shortcuts .fz-shortcut-title em {
    min-width: 22px;
    height: 16px;
    padding: 0 4px;
    font-size: 8px;
  }
  .fz-card .fz-card-body,
  .fz-list-page .fz-card .fz-card-body {
    min-height: 111px;
    padding: 9px;
  }
  .fz-card h3,
  .fz-card h3 a,
  .fz-list-page .fz-card h3,
  .fz-list-page .fz-card h3 a {
    height: 38px;
    font-size: 12px;
    line-height: 19px;
  }
  .fz-card-tags,
  .fz-list-page .fz-card-tags {
    height: 21px;
    gap: 4px;
  }
  .fz-card-tags a,
  .fz-list-page .fz-card-tags a {
    padding: 1px 5px;
    font-size: 10px;
  }
  .fz-content-actions {
    gap: 7px;
  }
  .fz-content-action {
    gap: 3px;
  }
  .fz-list-page .fz-list-main,
  .detail-page .detail-column {
    width: calc(100% - 20px);
  }
  .fz-list-page .fz-list-head {
    min-height: 64px;
    margin-bottom: 12px;
    padding: 14px 12px;
  }
  .fz-list-page .fz-list-head h1 {
    min-width: 0;
    font-size: 17px;
  }
  .fz-list-page .fz-list-head h1 small {
    margin-left: 8px;
    font-size: 12px;
  }
  .fz-list-page .fz-list-head > p {
    display: none;
  }
  .profile-page .profile-shell,
  .support-tickets-page .support-ticket-shell,
  .support-ticket-page .support-ticket-shell {
    width: calc(100% - 20px);
    margin-top: 20px;
  }
  .profile-page .profile-membership-banner {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }
  .profile-membership-emblem {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .profile-membership-emblem .fz-icon {
    width: 25px;
    height: 25px;
  }
  .profile-page .profile-hero-meta {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
  .profile-page .yt-profile-nav {
    padding: 7px;
  }
  .profile-page .profile-overview-grid,
  .profile-page .profile-balance-cards,
  .profile-page .profile-settings-grid {
    grid-template-columns: 1fr;
  }
  .profile-page .profile-record-row,
  .profile-page .profile-record-row.is-download,
  .profile-page .profile-favorite-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }
  .profile-record-icon {
    display: grid;
    width: 38px;
    height: 38px;
  }
  .profile-record-value,
  .profile-record-action,
  .profile-favorite-link {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
  .profile-record-copy > span,
  .profile-favorite-copy > span {
    flex-wrap: wrap;
  }
  .support-ticket-heading {
    display: block;
    padding: 22px 20px;
  }
  .support-ticket-heading h1 {
    font-size: 30px;
  }
  .support-ticket-create,
  .support-ticket-reply {
    padding: 20px;
  }
  .support-ticket-row {
    grid-template-columns: 1fr;
  }
  .support-ticket-status {
    justify-self: start;
  }
}
