:root {
  --site-bg: #171a1d;
  --site-top: #212120;
  --site-panel: #2d2e2f;
  --site-text: #b4b8bf;
  --site-title: #d8dde3;
  --site-muted: #7d848d;
  --site-line: #3c3f43;
  --site-accent: #f1404b;
  --site-orange: #ff8a18;
  --site-radius: 5px;
  --site-wrap: 1400px;
  --site-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

html { scroll-behavior: smooth; }
body { font-family: var(--site-font); }
button, input, select, textarea { font: inherit; }

/* Shared presentation utilities used by repeated site and status icons. */
.u-bg-blue { background: #2d73ff !important; }
.u-bg-green { background: #36c275 !important; }
.u-bg-orange { background: #ff8a18 !important; }
.u-bg-netflix { background: #e41e35 !important; }
.u-bg-link-blue { background: #2678d9 !important; }
.u-bg-link-green { background: #19a567 !important; }
.u-bg-link-orange { background: #f28b1c !important; }
.u-bg-link-purple { background: #7657d9 !important; }
.u-bg-gray { background: #68717c !important; }
.u-bg-brown { background: #6b5b4a !important; }
.u-bg-bright-blue { background: #2778e5 !important; }
.u-bg-deep-green { background: #1ca35c !important; }
.u-bg-soft-red { background: #e5404b !important; }
.u-bg-deep-blue { background: #3267c8 !important; }
.u-bg-steel { background: #6b8ba8 !important; }
.u-bg-green-alt { background: #2ca35c !important; }
.u-bg-blue-alt { background: #2878e5 !important; }
.u-bg-indigo { background: #545fc7 !important; }
.section-spaced { margin-top: 16px !important; }

/* One header implementation for every page. */
.topbar {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 100 !important;
  width: 100% !important;
  height: 80px !important;
  padding: 10px 0 !important;
  background: var(--site-top) !important;
}

.topbar-inner {
  width: var(--site-wrap) !important;
  max-width: calc(100% - 40px) !important;
  height: 60px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.topbar-inner::after { content: none !important; }

.topbar .logo {
  position: static !important;
  transform: none !important;
  transition: color .18s ease, background .18s ease !important;
  min-width: 168px !important;
  height: 60px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--site-accent) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

/* The mark and two text lines share one vertically centered row. */
.topbar .logo-mark {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  border-radius: 11px !important;
  background: url("../brand/mark.svg") center / contain no-repeat !important;
  box-shadow: none !important;
}
.topbar .logo-mark::before, .topbar .logo-mark::after,
.mobile-drawer-logo .logo-mark::before, .mobile-drawer-logo .logo-mark::after {
  content: none !important;
  display: none !important;
}
.topbar .logo > span:last-child, .mobile-drawer-logo > span:last-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}
.topbar .logo > span:last-child::after, .mobile-drawer-logo > span:last-child::after {
  content: none !important;
}
.logo-name {
  display: block;
  color: #f0f1f3;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.15;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .logo .logo-domain, .mobile-drawer-logo .logo-domain {
  display: block;
  color: #959aa3;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .35px;
  line-height: 1.15;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar .topnav {
  display: flex !important;
  align-self: stretch !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.topbar .topnav li { position: relative !important; }
.topbar .topnav a {
  height: 60px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: var(--site-text) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  background: transparent !important;
}

.topbar .topnav .css-icon { font-size: 18px !important; }
.topbar .topnav a:hover,
.topbar .topnav a.active { color: var(--site-accent) !important; }

.topbar .topnav li::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 20px !important;
  height: 4px !important;
  border-radius: 4px !important;
  background: var(--site-accent) !important;
  opacity: 0 !important;
  transform: translateX(-50%) !important;
  transition: opacity .18s ease !important;
}

.topbar .topnav li:hover::after,
.topbar .topnav li:has(a.active)::after { opacity: 1 !important; }

.topbar .top-right {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: var(--site-text) !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}

.topbar .top-tool {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 34px !important;
  padding: 0 5px !important;
  border-radius: var(--site-radius) !important;
  color: var(--site-text) !important;
  text-decoration: none !important;
  transition: color .18s ease, background-color .18s ease !important;
}
.topbar .top-tool .css-icon { font-size: 17px !important; }
.topbar .top-submit-tool{color:#fff!important;background:#f1404b!important;padding:0 11px!important;gap:6px!important;box-shadow:0 4px 14px #f1404b2e!important}
.topbar .top-submit-tool:hover,.topbar .top-submit-tool:focus-visible{color:#fff!important;background:#d9303c!important;transform:translateY(-1px)}
.topbar .top-search-button,
.topbar .top-right > .top-tool[aria-label="搜索"] {
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--site-radius) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--site-text) !important;
  background: transparent !important;
  cursor: pointer !important;
}
.topbar .top-search-button:hover,
.topbar .top-search-button:focus-visible,
.topbar .top-right > .top-tool[aria-label="搜索"]:hover,
.topbar .top-right > .top-tool[aria-label="搜索"]:focus-visible { color: #fff !important; background: #303234 !important; }

.mobile-cat-toggle,
.mobile-search-toggle { display: none !important; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .topbar .topnav a { padding: 0 6px !important; gap: 4px !important; font-size: 14px !important; }
  .topbar .topnav .css-icon { font-size: 16px !important; }
  .topbar .top-right > span:first-child { display: none !important; }
  .topbar .top-right { gap: 8px !important; }
}

/* Mobile drawers must never leak into the desktop layout. */
@media (min-width: 992px) {
  .mobile-category-panel,
  .mobile-search-panel { display: none !important; }
}

@media (max-width: 991.98px) {
  .topbar {
    position: absolute !important;
    height: 64px !important;
    padding: 0 !important;
    background: #202122 !important;
  }
  .topbar-inner {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    justify-content: space-between !important;
    gap: 0 !important;
    background: #202122 !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .24) !important;
  }
  .topbar .topnav,
  .topbar .top-right { display: none !important; }
  .topbar .logo {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    min-width: 0 !important;
    height: 64px !important;
    margin: 0 !important;
    gap: 8px !important;
    font-size: 20px !important;
  }
  .topbar .logo-mark {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
  }
  .topbar .logo-mark::after {
    left: 13px !important;
    top: 8px !important;
    width: 5px !important;
    height: 15px !important;
  }
  .mobile-cat-toggle,
  .mobile-search-toggle {
    position: absolute !important;
    top: 13px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--site-radius) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 38px !important;
    color: #c6ccd4 !important;
    background: transparent !important;
    cursor: pointer !important;
    z-index: 5 !important;
  }
  .mobile-cat-toggle { left: 14px !important; }
  .mobile-search-toggle {
    right: 14px !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ccd4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 23px 23px !important;
  }
  .mobile-cat-toggle .css-icon,
  .mobile-search-toggle .css-icon { font-size: 23px !important; }
  .mobile-search-toggle .css-icon { visibility: hidden !important; }
  body.mobile-search-open .mobile-search-toggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ccd4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") !important;
    background-size: 22px 22px !important;
  }
  body.mobile-search-open .mobile-search-toggle::before { content: none !important; }

  .mobile-search-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 64px !important;
    z-index: 410 !important;
    display: none !important;
    padding: 12px !important;
    background: #202122 !important;
    box-shadow: 0 12px 26px rgba(0,0,0,.28) !important;
  }
  body.mobile-search-open .mobile-search-panel { display: block !important; }
  .mobile-search-form {
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 94px minmax(0,1fr) !important;
    border: 2px solid var(--site-accent) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #242628 !important;
  }
  .mobile-search-select { position: relative !important; display: block !important; border-right: 1px solid #383b3e !important; }
  .mobile-search-select::after { content: "" !important; position: absolute !important; right: 12px !important; top: 50% !important; width: 7px !important; height: 7px !important; border-right: 1px solid #9fa6ae !important; border-bottom: 1px solid #9fa6ae !important; transform: translateY(-65%) rotate(45deg) !important; pointer-events: none !important; }
  .mobile-search-select select { width: 100% !important; height: 48px !important; padding: 0 27px 0 13px !important; border: 0 !important; outline: 0 !important; appearance: none !important; -webkit-appearance: none !important; color: #d8dde3 !important; background: #242628 !important; font-size: 14px !important; color-scheme: dark !important; }
  .mobile-search-line { min-width: 0 !important; min-height: 48px !important; display: grid !important; grid-template-columns: minmax(0,1fr) 50px !important; }
  .mobile-search-line input { width: 100% !important; min-width: 0 !important; padding: 0 13px !important; border: 0 !important; outline: 0 !important; color: #d9dde3 !important; background: #282a2d !important; }
  .mobile-search-line button { border: 0 !important; display: grid !important; place-items: center !important; color: #fff !important; background: var(--site-accent) !important; }
  .home-page.mobile-search-open .hero .search-wrap { visibility: hidden !important; }
}

/* Shared back-to-top control, injected by site.js on every page. */
.site-backtop {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 180 !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: var(--site-radius) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #aeb5be !important;
  background: #303338 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  transition: opacity .18s ease, transform .18s ease, color .18s ease, background .18s ease !important;
  cursor: pointer !important;
}
.site-backtop.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.site-backtop:hover {
  color: #fff !important;
  background: var(--site-accent) !important;
}
.site-backtop .css-icon { font-size: 18px !important; }

/* Shared mobile menu drawer used by every page. */
.mobile-top-panel,
.mobile-drawer-backdrop { display: none !important; }

@media (max-width: 991.98px) {
  body.mobile-top-open { overflow: hidden !important; }

  .mobile-top-panel {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 520 !important;
    width: min(400px, 82vw) !important;
    height: 100dvh !important;
    max-height: none !important;
    padding: 0 24px 28px !important;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    color: #bdc2c9 !important;
    background: #2b2d2f !important;
    box-shadow: 16px 0 44px rgba(0, 0, 0, .45) !important;
    transform: translateX(-105%) !important;
    transition: transform .24s ease !important;
  }
  body.mobile-top-open > .mobile-top-panel { transform: translateX(0) !important; }

  .mobile-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 510 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    display: block !important;
    background: rgba(0, 0, 0, .68) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .24s ease !important;
  }
  body.mobile-top-open > .mobile-drawer-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mobile-drawer-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    height: 88px !important;
    margin: 0 -24px 12px !important;
    padding: 0 24px !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 42px !important;
    align-items: center !important;
    gap: 8px !important;
    background: #2b2d2f !important;
  }
  .mobile-drawer-close,
  .mobile-drawer-search {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: #b8bec6 !important;
    background: transparent !important;
    cursor: pointer !important;
  }
  .mobile-drawer-close:hover,
  .mobile-drawer-search:hover { color: #fff !important; }
  .mobile-drawer-close .css-icon,
  .mobile-drawer-search .css-icon { font-size: 24px !important; }

  .mobile-drawer-logo {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: var(--site-accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }
  .mobile-drawer-logo .logo-mark {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 62% 36%, #fff 0 5px, transparent 6px), conic-gradient(from -28deg, var(--site-accent) 0 67%, transparent 67% 79%, var(--site-orange) 79% 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18) !important;
  }
  .mobile-drawer-logo .logo-mark::after {
    content: "" !important;
    position: absolute !important;
    left: 14px !important;
    top: 9px !important;
    width: 5px !important;
    height: 16px !important;
    border-radius: 4px !important;
    background: #fff !important;
  }
  .mobile-drawer-logo .logo-mark{border-radius:10px!important;background:url("../brand/mark.svg") center/contain no-repeat!important;box-shadow:none!important}

  .mobile-top-nav {
    margin: 0 !important;
    padding: 14px 0 !important;
    display: block !important;
    border-radius: var(--site-radius) !important;
    background: #333537 !important;
  }
  .mobile-top-nav a {
    width: 100% !important;
    height: 50px !important;
    padding: 0 28px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    color: #c2c7ce !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
  }
  .mobile-top-nav a:hover,
  .mobile-top-nav a.active {
    color: #fff !important;
    background: rgba(255, 255, 255, .04) !important;
  }
  .mobile-top-nav .css-icon {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    color: #aeb5bd !important;
  }

  .mobile-user-card {
    width: 100% !important;
    min-height: 66px !important;
    margin-top: 30px !important;
    padding: 10px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-radius: 4px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #3d65e8 0%, #20b8f3 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
  }
  .mobile-user-avatar {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    border: 3px solid rgba(255, 255, 255, .7) !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    color: #9aa0a8 !important;
    background: #e8ebef !important;
  }
  .mobile-user-avatar svg {
    width: 30px !important;
    height: 30px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
  .mobile-user-title {
    display: block !important;
    font-size: 17px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
  }
  .mobile-user-desc {
    display: block !important;
    margin-top: 3px !important;
    color: rgba(255, 255, 255, .88) !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
  }
  .mobile-auth-row {
    width: 100% !important;
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }
  .mobile-auth-row a {
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 5px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    color: #28a8ff !important;
    background: #273745 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  .mobile-auth-row a:nth-child(2) { color: #21d254 !important; background: #253b31 !important; }
  .mobile-auth-row a:nth-child(3) { color: #ff7e18 !important; background: #433326 !important; }
  .mobile-auth-row .css-icon { width: 16px !important; height: 16px !important; flex: 0 0 16px !important; }
}

@media (max-width: 420px) {
  .mobile-top-panel { width: 84vw !important; padding-right: 18px !important; padding-left: 18px !important; }
  .mobile-drawer-head { margin-right: -18px !important; margin-left: -18px !important; padding-right: 18px !important; padding-left: 18px !important; }
  .mobile-drawer-logo { font-size: 18px !important; }
  .mobile-top-nav a { padding: 0 22px !important; }
  .mobile-user-card { padding: 9px 12px !important; }
  .mobile-user-desc { font-size: 11px !important; }
  .mobile-auth-row a { gap: 4px !important; font-size: 12px !important; }
}

/* Reusable QR dialog. */
.qr-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  z-index: 400;
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 9, 11, .76);
  backdrop-filter: blur(5px);
}
.qr-dialog.is-open { display: flex; }
.qr-dialog-card {
  width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  overflow: hidden;
  color: var(--site-text);
  background: #292c30;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}
.qr-dialog-head {
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--site-title);
  font-size: 16px;
  font-weight: 700;
}
.qr-dialog-head .css-icon { color: var(--site-accent); font-size: 19px; }
.qr-dialog-close {
  width: 34px;
  height: 34px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ea5ae;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.qr-dialog-close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.qr-dialog-body { padding: 22px; text-align: center; }
.fake-qr-wrap {
  width: 210px;
  height: 210px;
  margin: 0 auto 16px;
  padding: 12px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.fake-qr {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(29, 1fr);
  grid-template-rows: repeat(29, 1fr);
  background: #fff;
}
.fake-qr > i { display: block; background: transparent; }
.fake-qr > i.is-dark { background: #111418; }
.fake-qr-wrap .public-qr { display:block; width:100%; height:100%; object-fit:contain; }
.preview-img .public-snapshot { display:block; width:100%; height:100%; object-fit:cover; }
.qr-site-name { margin: 0 0 5px; color: #eef1f5; font-size: 17px; font-weight: 700; }
.qr-dialog-note { margin: 0; color: #8f969f; font-size: 13px; line-height: 1.65; }
.qr-dialog-url {
  margin: 12px 0 0;
  padding: 9px 10px;
  border-radius: 4px;
  color: #b9c0c9;
  background: #222529;
  font-size: 12px;
  overflow-wrap: anywhere;
}
body.qr-dialog-open { overflow: hidden; }

.phone[data-qr-open] {
  border: 1px solid var(--site-accent) !important;
  cursor: pointer;
}

.friend a {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}
.friend a b { color: #cdd2d8; font-weight: 600; }
.friend a span { color: #838b95; font-size: 12px; white-space: nowrap; }
.friend a:hover b,
.friend a:hover span { color: var(--site-accent); }

.cleanup-module { margin-top: 16px !important; padding: 0 !important; border: 0 !important; background: transparent !important; overflow: visible; }
.cleanup-module .cleanup-head { min-height: 36px; padding: 0 !important; gap: 8px; border: 0; background: transparent; font-size: 15px; }
.cleanup-module .cleanup-note { margin-left: 6px; color: #777f89; font-size: 12px; font-weight: 400; }
.cleanup-module .friend { padding: 5px 0 0 !important; display: flex; align-items: center; gap: 7px 20px; flex-wrap: wrap; color: #929aa4; background: transparent !important; }
.cleanup-module .friend a { min-height: 26px; padding: 0; display: inline-flex; align-items: center; color: #929aa4; background: transparent; font-size: 13px; white-space: nowrap; }
.cleanup-module .friend a::before { content: ""; width: 4px; height: 4px; margin-right: 7px; border-radius: 50%; background: #646c75; }
.cleanup-module .friend a:hover { color: var(--site-accent); background: transparent; }
.cleanup-module .friend a:hover::before { background: var(--site-accent); }

.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 8px; }
.captcha-code {
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  color: #eef1f5;
  background: #34383d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 5px;
  cursor: pointer;
  font-family: Georgia, serif;
}
.captcha-code:hover { background: #3d4248; }
.field-hint { color: #7f8791; font-size: 11px; }

/* Text promotion zone on the home page. */
.text-zone { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 12px 16px; padding: 14px 16px !important; border: 1px solid #45494e !important; background: #303338 !important; box-shadow: inset 3px 0 0 var(--site-accent), 0 8px 22px rgba(0,0,0,.12); }
.text-zone::after { content: none !important; }
.text-zone > span { padding-left: 0 !important; line-height: 1.45 !important; }
.text-zone > .text-zone-heading { grid-column: 1; grid-row: 1; }
.text-zone > .promo-link-grid { grid-column: 1 / -1; grid-row: 2; }
.text-zone > .ad { grid-column: 2; grid-row: 1; }
.text-zone-heading { min-width: 0; display: inline-flex; align-items: center; gap: 10px; }
.text-zone-heading > .css-icon { flex: 0 0 auto; color: var(--site-accent); font-size: 20px; }
.text-zone .notice-title { min-width: 0; display: flex !important; flex-direction: column; align-items: flex-start; gap: 4px; }
.text-zone .notice-title b,
.text-zone .notice-title em { display: block; min-width: 0; }
.text-zone .notice-title em { color: #9fa6ae; font-size: 12px; font-style: normal; line-height: 1.35; }
.text-zone-copy { color: #9fa6ae; font-size: 12px; line-height: 1.55; }
.text-zone-copy strong { color: #e2e6eb; font-size: 13px; }
.text-zone .promo-link-grid { display: flex; min-width: 0; gap: 6px; flex-wrap: wrap; }
.text-zone .promo-link-grid a { min-height: 28px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 4px; color: #f6a0a7; background: rgba(241,64,75,.1) !important; font-size: 12px; }
.text-zone .promo-link-grid a:nth-child(2) { color: #9bbdff; background: rgba(45,115,255,.1) !important; }
.text-zone .promo-link-grid a:nth-child(3) { color: #8fddb1; background: rgba(54,194,117,.1) !important; }
.text-zone .promo-link-grid a:nth-child(4) { color: #ffc27e; background: rgba(255,138,24,.1) !important; }
.text-zone .promo-link-grid a:nth-child(5) { color: #c0adff; background: rgba(141,108,255,.1) !important; }
.text-zone .promo-link-grid a:nth-child(6) { color: #9fd7d2; background: rgba(47,192,210,.1) !important; }
.text-zone .ad { position: static !important; margin-left: 0 !important; height: 28px; padding: 0 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(255,158,43,.72); border-radius: 4px; color: #f5a84a; background: rgba(255,138,24,.055); font-size: 11px; font-weight: 700; white-space: nowrap; }
.text-zone .ad span { padding: 1px 3px; border: 1px solid currentColor; border-radius: 3px; font-size: 9px; }

/* Shared promotion dialog used by the home and detail pages. */
.promo-modal { z-index: 420 !important; background: rgba(7,9,11,.78) !important; backdrop-filter: blur(6px) !important; }
.promo-box { width: min(580px, calc(100vw - 28px)) !important; border: 1px solid rgba(255,255,255,.1) !important; border-radius: 7px !important; background: #292c30 !important; box-shadow: 0 26px 80px rgba(0,0,0,.5) !important; }
.promo-head { min-height: 52px !important; height: auto !important; padding: 0 16px !important; background: #222529 !important; font-size: 17px !important; }
.promo-head .ad-badge { background: var(--site-accent) !important; }
.promo-body { padding: 16px !important; }
.promo-note { margin-bottom: 11px !important; padding: 9px 11px !important; border-left: 3px solid var(--site-orange); color: #b8c0c8 !important; background: #222529 !important; }
.promo-type-filter { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 5px; border-radius: 5px; background: #222529; }
.promo-type-filter button { height: 38px; border: 0; border-radius: 4px; color: #929aa4; background: transparent; font-weight: 700; cursor: pointer; }
.promo-type-filter button.active { color: #fff; background: var(--site-accent); box-shadow: 0 5px 14px rgba(241,64,75,.2); }
.promo-type-desc { min-height: 38px; margin: 8px 0 12px; padding: 8px 11px; color: #929aa4; background: #303438; font-size: 12px; line-height: 1.7; }
.promo-duration-plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.promo-duration { position: relative; min-height: 92px; padding: 12px 7px; border: 1px solid #41464c; border-radius: 5px; color: #aeb5bd; background: #33373c; cursor: pointer; text-align: center; }
.promo-duration:hover,.promo-duration.active { border-color: var(--site-accent); background: #383b40; box-shadow: inset 0 0 0 1px rgba(241,64,75,.25); }
.promo-duration b { display: block; margin-bottom: 7px; color: #e4e8ed; font-size: 15px; }
.promo-duration strong { display: inline; color: #fff; font-size: 24px; line-height: 1; }
.promo-duration small { margin-left: 3px; color: var(--site-orange); font-size: 10px; font-weight: 700; }
.promo-save { position: absolute; right: 7px; top: -8px; padding: 2px 6px; border-radius: 3px; color: #fff; background: var(--site-orange); font-size: 10px; }
.promo-fields { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px !important; }
.promo-fields input { min-width: 0; height: 38px !important; }
.promo-fields input::placeholder { color: #7f8791; }
.promo-helper { margin: -5px 0 12px; color: #7f8791; font-size: 12px; line-height: 1.6; }
.promo-total { min-height: 52px; margin-top: 11px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; border-left: 3px solid var(--site-orange); color: #aeb6bf; background: #222529; }
.promo-total > span b,.promo-total > span small { display: block; }
.promo-total > span b { color: #d7dce2; font-size: 13px; }
.promo-total > span small { margin-top: 2px; color: #777f88; font-size: 11px; }
.promo-total strong { color: #fff; font-size: 24px; font-weight: 800; line-height: 1; }
.promo-total small { color: var(--site-orange); font-size: 12px; font-weight: 700; }
.pay-btn { height: 40px !important; margin-top: 11px !important; background: var(--site-accent) !important; }

.cleanup-apply-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 16px; }
.cleanup-watch { padding: 0 !important; background: transparent !important; overflow: visible !important; }
.cleanup-watch .section-head { height: 36px; min-height: 36px; padding: 0 !important; border: 0; background: transparent; font-size: 15px; }
.cleanup-watch-list { display: flex; align-items: center; gap: 7px 20px; flex-wrap: wrap; padding: 5px 0 0; }
.cleanup-watch-list > a { min-height: 26px; padding: 0; display: inline-flex; align-items: center; color: #929aa4; background: transparent; font-size: 13px; white-space: nowrap; }
.cleanup-watch-list > a::before { content: ""; width: 4px; height: 4px; margin-right: 7px; border-radius: 50%; background: #646c75; }
.cleanup-watch-list > a:hover { color: var(--site-accent); background: transparent; }
.cleanup-watch-list > a:hover::before { background: var(--site-accent); }
.cleanup-rule { padding: 16px; border: 1px solid rgba(45,115,255,.2); border-radius: 5px; background: rgba(45,115,255,.07); }
.cleanup-rule strong { display: block; margin-bottom: 6px; color: #dce5f5; font-size: 15px; }
.cleanup-rule p { margin: 0; color: #929aa4; font-size: 13px; line-height: 1.7; }
.cleanup-rule.warning { border-color: rgba(255,138,24,.24); background: rgba(255,138,24,.07); }
.cleanup-rule.warning strong { color: #ffc27e; }
.cleanup-rule.success { border-color: rgba(54,194,117,.22); background: rgba(54,194,117,.07); }
.cleanup-rule.success strong { color: #8fddb1; }

.success-page { margin: 0; min-height: 100vh; padding-top: 80px; overflow-x: hidden; color: var(--site-text); background: #171a1d; font-family: var(--site-font); font-size: 14px; line-height: 1.6; }
.success-page * { box-sizing: border-box; }
.success-page a { color: inherit; text-decoration: none !important; }
.success-page button { font: inherit; }
.success-page .mobile-category-panel { display: none; }
.success-wrap { width: min(920px,calc(100% - 28px)); max-width: 100%; min-width: 0; margin: 32px auto 50px; }
.success-panel { width: 100%; min-width: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; background: #292c30; box-shadow: 0 20px 54px rgba(0,0,0,.22); }
.success-status { padding: 32px 24px 27px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.07); background: #24272a; }
.success-mark { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #36c275; box-shadow: 0 0 0 7px rgba(54,194,117,.1); font-size: 27px; font-weight: 800; }
.success-status h1 { margin: 0 0 7px; color: #f0f3f6; font-size: 25px; letter-spacing: 0; }
.success-status p { margin: 0; color: #929aa4; overflow-wrap: anywhere; }
.success-body { padding: 0 24px 24px; }
.success-progress { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 -24px 20px; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.07); background: #26292d; }
.success-progress > div { position: relative; min-width: 0; display: flex; align-items: center; gap: 9px; color: #7e8690; }
.success-progress > div:not(:last-child)::after { content: ""; position: absolute; left: calc(100% - 22px); right: 18px; top: 16px; height: 1px; background: #44494f; }
.success-progress i { width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid #4b5056; border-radius: 50%; display: grid; place-items: center; color: #969ea7; font-style: normal; font-weight: 700; }
.success-progress b,.success-progress small { display: block; }
  .success-progress b { color: #cbd1d8; font-size: 13px; }
.success-progress small { color: #737b85; font-size: 11px; }
.success-progress .done i { border-color: #36c275; color: #fff; background: #36c275; }
.success-progress .done b { color: #8fddb1; }
.success-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 20px; border: 1px solid rgba(255,255,255,.07); border-radius: 4px; }
.success-summary div { min-width: 0; padding: 12px 14px; }
.success-summary div + div { border-left: 1px solid rgba(255,255,255,.07); }
.success-summary span { display: block; color: #7f8791; font-size: 11px; }
.success-summary strong { display: block; margin-top: 3px; color: #dce1e7; overflow-wrap: anywhere; }
.exchange-box { padding: 18px; border-left: 3px solid var(--site-orange); background: #222529; }
.exchange-box h2 { margin: 0 0 5px; color: #eef1f5; font-size: 18px; letter-spacing: 0; }
.exchange-box > p { margin: 0 0 14px; color: #929aa4; line-height: 1.7; }
.copy-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 9px; }
.copy-row code { min-width: 0; padding: 11px 12px; border-radius: 4px; color: #bbc3cc; background: #303438; font-family: Consolas,monospace; font-size: 12px; overflow-wrap: anywhere; }
.copy-btn { width: 88px; border: 0; border-radius: 4px; color: #fff; background: var(--site-accent); cursor: pointer; }
.copy-btn:hover { background: #d72f39; }
.auto-review-note { margin-top: 16px; padding: 14px 16px; display: flex; gap: 12px; border: 1px solid rgba(54,194,117,.2); border-radius: 4px; background: rgba(54,194,117,.07); }
.auto-review-note b { display: block; color: #8fddb1; }
.auto-review-note p { margin: 2px 0 0; color: #929aa4; line-height: 1.65; }
.success-actions { margin-top: 18px; display: flex; justify-content: center; gap: 10px; }
.success-actions a { min-height: 40px; padding: 0 17px; border-radius: 4px; display: inline-flex; align-items: center; color: #fff; background: var(--site-accent); text-decoration: none !important; }
.success-actions a:hover { color: #fff; background: #d72f39; }
.success-actions a.secondary { color: #c4cbd3; background: #33373c; }
.success-actions a.secondary:hover { color: #fff; background: #3c4146; }

/* Home sections: paid and featured groups are flat; all other groups are framed. */
.main { color: #b7bbc1; }
.main #hot,
.main #famous { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.main #hot .module-head,
.main #famous .module-head { height: 34px; margin: 0 0 6px; padding: 0 2px; background: transparent; }
.main #hot .site-grid,
.main #famous .site-grid { padding: 0; }
.main .module:not(#hot):not(#famous) { border: 0; border-radius: var(--site-radius); background: #242628; overflow: hidden; }
.main .module .module-head { border-bottom: 0 !important; color: #b9bdc3; }
.main .module:not(#hot):not(#famous) .module-head { height: 34px; margin: 0; padding: 0 16px; background: transparent; }
.main .module:not(#hot):not(#famous) .site-grid { padding: 8px 16px 16px; }
.main .site-card { background: #2e3032; }
.main .site-card:hover { background: #343638; }
.main .site-meta h3 { color: #c8cbd0; }
.main .site-meta small { color: #777c83; }
.main #hot .site-meta p,
.main #famous .site-meta p { height: 27px; border-top: 1px solid rgba(255,255,255,.055); }
.main #hot .site-meta b,
.main #famous .site-meta b { height: 18px; padding: 0 3px; gap: 3px; color: #e84a55; background: rgba(241,64,75,.035); font-size: 11px; line-height: 18px; }
.main #hot .site-meta b::before,
.main #famous .site-meta b::before { width: 10px; height: 10px; flex-basis: 10px; }
.main .site-meta p::after { width: 17px !important; height: 17px !important; border-color: #555a60 !important; color: #777d84 !important; background: transparent !important; font-size: 14px !important; line-height: 15px !important; transition: color .16s ease,border-color .16s ease,background-color .16s ease; }
.main .site-card:hover .site-meta p::after { border-color: #777d84 !important; color: #c9cdd2 !important; background: rgba(255,255,255,.035) !important; }
.main .module:not(#hot):not(#famous) .site-card { min-height: 62px; padding: 10px; }
.main .module:not(#hot):not(#famous) .site-meta p { display: none !important; }

/* Keep category labels subdued and remove the paid-card corner badge. */
.main #hot .site-meta b,
.main #famous .site-meta b,
.main .site-meta b { color: #b34852 !important; background: rgba(179,72,82,.08) !important; }
.home-page #hot .site-card::after,
.layout .list-card .top-badge { content: none !important; display: none !important; }
.layout .list-card .recommendation-badge { display: inline-flex !important; z-index: 2; color: #c6e6d3; background: rgba(54,194,117,.15); }

/* Link list page: scannable directory layout. */
.layout > main > .section { border: 1px solid rgba(255,255,255,.06); background: #24272a; box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.layout > aside .section { border: 1px solid rgba(255,255,255,.06); background: #24272a; }
.layout .section-head { min-height: 58px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.07); background: #292c30; }
.layout .head-title { color: #eef1f4; font-size: 18px; }
.layout .head-filters { gap: 8px; }
.layout .head-filters a { min-height: 32px; padding: 0 10px; border-radius: 4px; background: #33373c; }
.layout .head-filters a.active { color: #fff; background: rgba(241,64,75,.22); }
.layout .list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 20px 20px; }
.layout .list-card { min-height: 118px; padding: 16px; border: 1px solid transparent; background: #303438; }
.layout .list-card:hover { border-color: rgba(241,64,75,.45); background: #363a3f; }
.layout .list-info p { max-width: 100%; }
.layout .side-block { padding: 16px; }
.layout .side-links { gap: 9px; }
.layout .side-links a { height: 38px; border: 1px solid rgba(255,255,255,.05); background: #303438; }
.layout .rank-list { gap: 9px; }
.layout .rank-list a { padding: 11px; border: 1px solid rgba(255,255,255,.04); background: #303438; }
@media (max-width: 767.98px) {
  .layout .section-head { min-height: 52px; padding: 10px 12px; }
  .layout .head-title { font-size: 16px; }
  .layout .head-filters { gap: 5px; }
  .layout .head-filters a { padding: 0 7px; font-size: 10px; }
  .layout .list { grid-template-columns: 1fr; padding: 12px; gap: 9px; }
  .layout .list-card { min-height: 94px; padding: 12px; }
}

/* Home self-service banner and shared compact link previews. */
.text-zone { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: auto auto !important; }
.text-zone > .self-service-ad { grid-column: 1 / -1 !important; grid-row: 1 !important; }
.text-zone > .text-zone-heading { grid-column: 1 !important; grid-row: 2 !important; }
.text-zone > .ad { grid-column: 2 !important; grid-row: 2 !important; align-self: center; }
.self-service-ad { min-width: 0; min-height: 42px; padding: 9px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(45,115,255,.28); border-radius: 4px; color: #9eb6da; background: linear-gradient(90deg, rgba(45,115,255,.12), rgba(54,194,117,.06)); overflow: hidden; }
.self-service-ad-label { padding: 2px 6px; border-radius: 3px; color: #b9d2ff; background: rgba(45,115,255,.2); font-size: 10px; font-weight: 700; white-space: nowrap; }
.self-service-ad strong { color: #e1e9f6; font-size: 13px; white-space: nowrap; }
.self-service-ad > span:last-child { min-width: 0; color: #8498b4; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-image-slot { background: #303438; overflow: hidden; }
.site-image-slot > img.site-favicon { width: 72%; height: 72%; display: block; object-fit: contain; border-radius: 4px; }
.shared-description-tooltip { position:fixed; z-index:700; width:max-content; max-width:min(320px,calc(100vw - 24px)); padding:7px 10px; border-radius:5px; color:#eef1f4; background:rgba(5,6,7,.96); box-shadow:0 8px 24px rgba(0,0,0,.38); font-size:12px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; opacity:0; visibility:hidden; pointer-events:none; transform:translateX(-50%); }
.shared-description-tooltip.is-visible { opacity:1; visibility:visible; }
@media (max-width: 767.98px) {
  .self-service-ad { align-items: flex-start; flex-wrap: wrap; gap: 5px 8px; }
  .self-service-ad > span:last-child { flex-basis: 100%; }
  .text-zone > .text-zone-heading { grid-column: 1 !important; grid-row: 2 !important; }
  .text-zone > .ad { grid-column: 2 !important; grid-row: 2 !important; }
}

/* Final mobile order for the self-service banner. */
@media (max-width: 767.98px) {
  .text-zone > .self-service-ad { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  .text-zone > .text-zone-heading { grid-column: 1 !important; grid-row: 2 !important; }
  .text-zone > .ad { grid-column: 2 !important; grid-row: 2 !important; justify-self: end !important; }
}
.main > .module { scroll-margin-top: 104px; }

@media (max-width: 767.98px) {
  .captcha-row { grid-template-columns: minmax(0, 1fr) 102px; }
  .text-zone { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: auto auto !important; gap: 10px !important; }
  .text-zone > .text-zone-heading { grid-column: 1 !important; grid-row: 1 !important; }
  .text-zone > .promo-link-grid { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  .text-zone > .ad { grid-column: 2 !important; grid-row: 1 !important; justify-self: end !important; }
  .promo-box { width: calc(100vw - 20px) !important; }
  .promo-body { padding: 14px !important; }
  .promo-fields { grid-template-columns: 1fr !important; }
  .promo-duration-plans { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .promo-duration { min-height: 92px; padding: 12px 5px; }
  .promo-duration strong { font-size: 19px; }
  .cleanup-module .cleanup-head { min-height: 34px; padding: 0 !important; }
  .cleanup-module .cleanup-note { width: 100%; margin: 0 0 2px 26px; line-height: 1.5; }
  .cleanup-module .friend { padding: 4px 0 0 !important; gap: 5px 16px; }
  .cleanup-apply-grid { grid-template-columns: 1fr; padding: 12px; }
  .cleanup-watch .section-head { height: auto; min-height: 34px; padding: 0 !important; }
  .cleanup-watch-list { padding: 4px 0 0; gap: 5px 16px; }
  .success-page { padding-top: 64px; }
  .success-page .mobile-category-panel { position: fixed; left: 12px; right: 12px; top: 76px; z-index: 430; padding: 10px; border-radius: 5px; background: #262829; box-shadow: 0 16px 38px rgba(0,0,0,.35); }
  .success-page.mobile-category-open .mobile-category-panel { display: block; }
  .success-page .mobile-primary-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .success-page .mobile-primary-nav a { min-height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: #c5cad1; background: #303234; font-size: 13px; }
  .success-wrap { margin-top: 14px; }
  .success-status { padding: 22px 16px; }
  .success-body { padding: 0 14px 14px; }
  .success-progress { margin: 0 -14px 14px; padding: 13px 14px; gap: 4px; }
  .success-progress > div { display: grid; justify-items: center; gap: 4px; text-align: center; }
  .success-progress > div:not(:last-child)::after { left: calc(50% + 20px); right: calc(-50% + 20px); top: 16px; }
  .success-progress span { min-width: 0; }
  .success-progress b { font-size: 12px; white-space: nowrap; }
  .success-progress small { display: none; }
  .success-summary { grid-template-columns: 1fr; }
  .success-summary div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .copy-row { grid-template-columns: 1fr; }
  .copy-btn { width: 100%; height: 38px; }
  .main #hot,
  .main #famous { margin-bottom: 22px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .main #hot .module-head,
  .main #famous .module-head { height: 28px; margin: 0 0 6px; padding: 0 2px; }
  .main #hot .site-grid,
  .main #famous .site-grid { padding: 0; }
  .main #hot .site-card,
  .main #famous .site-card { min-height: 78px !important; height: 78px !important; padding: 8px 8px 29px !important; }
  .main #hot .site-meta p,
  .main #famous .site-meta p { display: flex !important; height: 25px; left: 8px; right: 8px; }
  .main .module:not(#hot):not(#famous) { margin-bottom: 20px; border-radius: var(--site-radius); background: #242628; overflow: hidden; }
  .main .module:not(#hot):not(#famous) .module-head { height: 34px; margin: 0; padding: 0 10px; }
  .main .module:not(#hot):not(#famous) .site-grid { padding: 0 10px 10px; }
  .main .module:not(#hot):not(#famous) .site-card { min-height: 58px !important; height: 58px !important; padding: 0 9px !important; }
}

@media (max-width: 767.98px) {
  .site-backtop { right: 12px !important; bottom: 14px !important; width: 36px !important; height: 36px !important; }
  .qr-dialog { padding: 14px; justify-content: flex-start; }
  .qr-dialog-card { margin-left: 0; }
  .qr-dialog-body { padding: 18px; }
  .fake-qr-wrap { width: 196px; height: 196px; }
  .phone[data-qr-open] { display: none !important; }
  .friend a { display: inline-flex; }
  .friend a span { display: block; margin-top: 1px; }
}

/* Final homepage overrides */
.main > .module { scroll-margin-top: 104px; }
@media (max-width: 767.98px) {
  .text-zone > .self-service-ad { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  .text-zone > .text-zone-heading { grid-column: 1 !important; grid-row: 2 !important; }
  .text-zone > .promo-link-grid { display: none !important; }
  .text-zone > .ad { grid-column: 2 !important; grid-row: 2 !important; justify-self: end !important; }
}

/* Independent text advertisement and self-service modules on the home page. */
.text-ad-module,
.self-service-module {
  position: relative;
  min-width: 0;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: #292c30;
  overflow: hidden;
}

.text-ad-module {
  padding: 13px 12px 17px;
  border-color: rgba(255,255,255,.08);
  border-radius: 2px;
  background: #2d2e2f;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
}
.text-ad-module::after {
  content: "广告";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #aeb4bc;
  background: #45484d;
  font-size: 11px;
  pointer-events: none;
}
.text-ad-demo-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.text-ad-line { min-width: 0; min-height: 34px; padding: 5px 8px; display: flex; align-items: center; justify-content: center; border: 0; color: #8eafff; font-size: 14px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-decoration: none; text-overflow: clip; transition: color .16s ease, text-shadow .16s ease; }
.text-ad-line { flex-direction: column; gap: 2px; }
.text-ad-line small { max-width: 100%; overflow: hidden; color: #737f8d; font-size: 9px; font-weight: 400; line-height: 1.1; text-overflow: ellipsis; }
.text-ad-line.is-red { color: #ff6d78; }
.text-ad-line:nth-child(odd) { color: #ff6d78; }
.text-ad-line:nth-child(even) { color: #8eafff; }
.text-ad-empty { grid-column: 1/-1; padding: 10px; color: #7d848d; text-align: center; font-size: 13px; }
.text-ad-line:hover,
.text-ad-line:focus-visible { color: #fff; text-shadow: 0 0 7px currentColor; }

.self-service-module { padding: 0; border-color: rgba(255,255,255,.1); background: #24272a; box-shadow: 0 8px 22px rgba(0,0,0,.1); scroll-margin-top: 104px; }
.self-service-head { min-height: 74px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(90deg, rgba(241,64,75,.08), rgba(36,39,42,.2)); }
.self-service-title-wrap { min-width: 0; display: flex; align-items: center; gap: 11px; }
.self-service-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid rgba(241,64,75,.42); border-radius: 8px; color: #ff7f89; background: rgba(241,64,75,.12); }
.self-service-icon .css-icon { width: 19px; height: 19px; font-size: 19px; }
.self-service-title-wrap h2 { margin: 0; color: #edf0f3; font-size: 17px; line-height: 1.3; }
.self-service-title-wrap p { margin: 4px 0 0; color: #8e969f; font-size: 12px; line-height: 1.4; }
.self-service-module .ad { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; border: 1px solid rgba(255,158,43,.72); border-radius: 4px; color: #ffc06d; background: rgba(255,138,24,.08); font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease; }
.self-service-module .ad:hover { color: #fff0d5; border-color: #ffb34f; background: rgba(255,138,24,.17); transform: translateY(-1px); }
.self-service-module .ad > span:first-child { min-width: 21px; padding: 1px 3px; border: 1px solid currentColor; border-radius: 3px; font-size: 9px; line-height: 1.1; text-align: center; }
.self-service-module .ad .css-icon { width: 14px; height: 14px; font-size: 14px; }
.self-service-steps { padding: 11px 16px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(20,22,24,.2); }
.self-service-step { min-width: 0; min-height: 47px; padding: 8px 10px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.06); border-radius: 4px; background: rgba(255,255,255,.025); }
.step-icon { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; color: #8eb2ff; background: rgba(45,115,255,.14); }
.step-icon .css-icon { width: 14px; height: 14px; font-size: 14px; }
.self-service-step:nth-child(2) .step-icon { color: #8dd8ad; background: rgba(54,194,117,.13); }
.self-service-step:nth-child(3) .step-icon { color: #ffc16f; background: rgba(255,138,24,.13); }
.self-service-step b { display: block; color: #dce2e8; font-size: 12px; line-height: 1.35; }
.self-service-step small { display: block; margin-top: 2px; color: #7f8790; font-size: 11px; line-height: 1.3; white-space: nowrap; }

/* Link cards use a quiet glow and text-color change on hover. */
.home-page .main .site-card,
.home-page .main .site-card:hover {
  transform: none !important;
  background: #2e3032 !important;
}
.home-page .main .site-card::before,
.home-page .main .site-card:hover::before,
.home-page .main .site-card .site-icon::before,
.home-page .main .site-card:hover .site-icon::before {
  content: none !important;
  display: none !important;
}
.home-page .main .site-card:hover .site-icon {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 4px rgba(255,255,255,.035), 0 0 18px rgba(241,64,75,.3) !important;
  filter: brightness(1.12) saturate(1.08);
}
.home-page .main .site-card:hover .site-meta h3 { color: var(--site-accent) !important; }
.home-page .main .site-card:hover .site-meta small { color: #bdc4cc !important; }

@media (max-width: 767.98px) {
  .text-ad-module { padding: 8px 12px 14px; }
  .text-ad-demo-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .text-ad-line { min-height: 36px; padding: 5px 1px; font-size: 12px; letter-spacing: -.2px; line-height: 1.35; }
  .text-ad-line { min-height: 42px; }
  .self-service-head { align-items: flex-start; flex-direction: column; gap: 12px; padding: 13px 12px; }
  .self-service-module .ad { width: 100%; justify-content: center; }
  .self-service-steps { grid-template-columns: 1fr; padding: 10px 12px 12px; gap: 7px; }
  .self-service-step { min-height: 40px; padding: 7px 9px; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .text-ad-demo-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}



/* Shared member-login hover state across desktop headers and mobile drawers. */
.topbar a.top-tool[href="login.html"]:not(.member-logout),
.mobile-auth-row a[href="login.html"],
.mobile-primary-nav a[href="login.html"],
.auth-switch a[href="login.html"] {
  border: 1px solid transparent;
  border-radius: 5px;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, text-shadow .18s ease;
}
.topbar a.top-tool[href="login.html"]:not(.member-logout):hover,
.topbar a.top-tool[href="login.html"]:not(.member-logout):focus-visible,
.mobile-auth-row a[href="login.html"]:hover,
.mobile-auth-row a[href="login.html"]:focus-visible,
.mobile-primary-nav a[href="login.html"]:hover,
.mobile-primary-nav a[href="login.html"]:focus-visible,
.auth-switch a[href="login.html"]:hover,
.auth-switch a[href="login.html"]:focus-visible {
  color: #fff !important;
  background: rgba(241, 64, 75, .14) !important;
  border-color: rgba(241, 64, 75, .62) !important;
  box-shadow: 0 0 0 3px rgba(241, 64, 75, .08), 0 0 15px rgba(241, 64, 75, .22);
  text-shadow: 0 0 8px rgba(255, 145, 153, .6);
}
.topbar a.top-tool[href="login.html"]:not(.member-logout):hover .css-icon,
.topbar a.top-tool[href="login.html"]:not(.member-logout):focus-visible .css-icon,
.mobile-auth-row a[href="login.html"]:hover .css-icon,
.mobile-auth-row a[href="login.html"]:focus-visible .css-icon,
.mobile-primary-nav a[href="login.html"]:hover .css-icon,
.mobile-primary-nav a[href="login.html"]:focus-visible .css-icon,
.auth-switch a[href="login.html"]:hover .css-icon,
.auth-switch a[href="login.html"]:focus-visible .css-icon {
  color: #ff9ba3 !important;
}

/* Keep every navigation icon inside its own box.  The homepage stylesheet
   uses em based SVG dimensions, which can make a line icon spill into the
   label at narrower widths. */
.topbar .topnav a > .css-icon,
.topbar .top-right .top-tool > .css-icon,
.mobile-top-nav a > .css-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.topbar .topnav a > .css-icon > svg,
.topbar .top-right .top-tool > .css-icon > svg,
.mobile-top-nav a > .css-icon > svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  overflow: visible !important;
}

.side .nav-ico {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.side .nav-ico > .css-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  font-size: 18px !important;
  vertical-align: middle !important;
}

.side .nav-ico > .css-icon > svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  overflow: visible !important;
}

/* Keep copy controls at a stable height instead of stretching to long code rows. */
.success-page .copy-row { align-items: center; }
.success-page .copy-btn {
  height: 38px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .topbar .topnav a > .css-icon,
  .topbar .top-right .top-tool > .css-icon {
    width: 16px !important;
    height: 16px !important;
    flex-basis: 16px !important;
    font-size: 16px !important;
  }

  .topbar .topnav a > .css-icon > svg,
  .topbar .top-right .top-tool > .css-icon > svg {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 991.98px) {
  .member-page .mobile-auth-row {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  }
  .member-page .mobile-auth-row a {
    gap: 4px !important;
    font-size: 12px !important;
  }
}

/* Paired actions for the self-service header: paid promotion and free listing. */
.self-service-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}
.self-service-actions .free-submit-link {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(45,115,255,.55);
  border-radius: 4px;
  color: #a9c5ff;
  background: rgba(45,115,255,.1);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.self-service-actions .free-submit-link:hover,
.self-service-actions .free-submit-link:focus-visible {
  color: #fff;
  border-color: rgba(126,171,255,.92);
  background: rgba(45,115,255,.2);
  box-shadow: 0 0 14px rgba(45,115,255,.2);
}
.self-service-actions .free-submit-link .css-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  font-size: 14px;
}

@media (max-width: 767.98px) {
  .self-service-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .self-service-actions > a {
    width: auto !important;
    justify-content: center;
  }
}
/* Backend categories share the existing navigation and scroll within the bar. */
[data-public-site] .topbar-inner>.topnav{flex:1;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
[data-public-site] .topbar-inner>.topnav::-webkit-scrollbar{display:none}
[data-public-site] .topnav>li{flex-shrink:0}

/* Authenticated member control shared by every public desktop header. */
.member-header-menu { position: relative; display: inline-flex; flex: 0 0 auto; font-family: inherit; }
.member-header-trigger { min-height: 42px; padding: 5px 10px 5px 5px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #ffffff12; border-radius: 9px; color: var(--site-text); background: #ffffff04; cursor: pointer; font-family: inherit; transition: border-color .18s,background .18s; }
.member-header-trigger:hover, .member-header-menu.is-open .member-header-trigger { border-color: #f1404b66; color: #fff; background: #f1404b09; }
.member-header-avatar { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 1px solid #ff9aa336; border-radius: 8px; color: #fff; background: linear-gradient(145deg,#f1404b,#b72b39); box-shadow: inset 0 1px 0 #ffffff20; font-size: 13px; font-weight: 700; }
.member-header-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.member-header-copy b { max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f0f2f4; font-size: 12px; font-weight: 600; }
.member-header-copy small { margin-top: 4px; color: #929aa3; font-size: 9px; }
.member-header-chevron { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; color: #929da8; transition: transform .18s; }
.member-header-chevron svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.member-header-menu.is-open .member-header-chevron { transform: rotate(180deg); color: #f67c85; }
.member-header-dropdown { position: absolute; top: calc(100% + 12px); right: 0; z-index: 460; width: 242px; padding: 9px; border: 1px solid #ffffff16; border-radius: 12px; background: #23272c; box-shadow: 0 20px 60px #0008; }
.member-header-dropdown[hidden] { display: none; }
.member-header-summary { display: flex; align-items: center; gap: 11px; margin-bottom: 7px; padding: 12px 9px 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
.member-header-summary>.member-header-avatar { width: 38px; height: 38px; flex-basis: 38px; font-size: 16px; border-radius: 10px; }
.member-header-summary>span:last-child { min-width: 0; }
.member-header-summary b, .member-header-summary small { display: block; }
.member-header-summary b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f1f3f5; font-size: 14px; }
.member-header-summary small { margin-top: 6px; color: #8b949d; font-size: 11px; }
.member-header-dropdown a, .member-header-logout { box-sizing: border-box; width: 100%; min-height: 43px; padding: 5px 10px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 7px; color: #bdc5ce; background: transparent; font-family: inherit; font-size: 13px; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
.member-header-dropdown a:hover, .member-header-dropdown a[aria-current="page"], .member-header-logout:hover { color: #fff; background: #f1404b12; }
.member-header-dropdown .css-icon { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid #ffffff0a; border-radius: 7px; background: #ffffff04; color: #9ca7b3; font-size: 15px; }
.member-header-dropdown .css-icon svg { display: block; width: 15px; height: 15px; }
.member-header-dropdown .member-menu-arrow { width: 14px; height: 14px; flex-basis: 14px; margin-left: auto; border: 0; border-radius: 0; background: transparent; color: #626f7d; }
.member-header-dropdown a:hover>.css-icon:first-child, .member-header-dropdown a[aria-current="page"]>.css-icon:first-child { color: #ff828c; background: #f1404b10; border-color: #f1404b22; }
.member-header-logout { margin-top: 7px; padding-top: 10px; border-top: 1px solid #ffffff10; border-radius: 0 0 7px 7px; color: #e3929a; }
.member-header-trigger:focus-visible, .member-header-dropdown [role="menuitem"]:focus-visible { outline: 2px solid #f1404b; outline-offset: 3px; }
@media (min-width: 1400px) {
  .topbar:has(.member-header-menu) .topnav a { padding: 0 5px !important; gap: 5px !important; font-size: 16px !important; }
  .topbar:has(.member-header-menu) .topnav .css-icon { width: 15px !important; height: 15px !important; flex-basis: 15px !important; font-size: 15px !important; }
  .topbar:has(.member-header-menu) .topnav .css-icon>svg { width: 15px !important; height: 15px !important; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .topbar-inner { gap: 10px; }
  .topbar .logo { min-width: 142px; font-size: 19px; }
  .topbar .topnav a { padding: 0 5px !important; gap: 4px !important; font-size: 14px !important; }
  .topbar .topnav .css-icon { font-size: 14px !important; }
  .topbar .top-right { gap: 5px !important; font-size: 12px; }
  .member-header-copy b { max-width: 62px; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .topbar .topnav a { font-size: 16px !important; }
}
.topbar-inner>.topnav{flex:1;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.topbar-inner>.topnav::-webkit-scrollbar{display:none}.topbar .topnav>li{flex-shrink:0}

.site-desktop-search { position: fixed; inset: 0; z-index: 500; display: none; align-items: flex-start; justify-content: center; padding: 112px 20px 20px; background: rgba(7,9,11,.72); backdrop-filter: blur(7px); }
.site-desktop-search.is-open { display: flex; }
.site-desktop-search-card { position: relative; width: min(560px,100%); padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #edf1f4; background: #25282c; box-shadow: 0 24px 70px rgba(0,0,0,.46); }
.site-desktop-search-kicker { color: #f26d76; font: 10px/1.2 ui-monospace,monospace; letter-spacing: 2px; }
.site-desktop-search-card h2 { margin: 9px 0 18px; font-size: 22px; }
.site-desktop-search-card form { min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 5px 6px 5px 13px; border: 1px solid #4b5158; border-radius: 6px; background: #1c1f22; }
.site-desktop-search-card form>.css-icon { width: 18px; height: 18px; color: #aab2ba; }
.site-desktop-search-card input { min-width: 0; flex: 1; border: 0; outline: 0; color: #f1f4f6; background: transparent; font-size: 14px; }
.site-desktop-search-card input::placeholder { color: #777f88; }
.site-desktop-search-card form>button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 4px; color: #fff; background: #f1404b; font-size: 12px; font-weight: 700; cursor: pointer; }
.site-desktop-search-card p { margin: 12px 0 0; color: #7f8993; font-size: 11px; }
.site-desktop-search-close { position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border: 0; border-radius: 4px; color: #aeb6bd; background: transparent; font-size: 22px; cursor: pointer; }
.site-desktop-search-close:hover { color: #fff; background: rgba(255,255,255,.07); }
.promo-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 18px}.promo-form-grid label{display:block;color:#68717a;font-size:12px}.promo-form-grid input{display:block;width:100%;height:40px;margin-top:6px;padding:0 11px;border:1px solid #e7e9ec;border-radius:8px;background:#fff;color:#171a1d;outline:0;font:inherit}.promo-form-grid input:focus{border-color:#f1404b;box-shadow:0 0 0 3px #f1404b18}.promo-form-grid small{display:block;margin-top:4px;color:#8d959d;font-size:10px}.promo-total strong del{margin-left:8px;color:#a7adb3;font-size:11px;font-weight:400}.promo-icon-field[hidden]{display:none}@media(max-width:600px){.promo-form-grid{grid-template-columns:1fr}}

@media (max-width: 767px) {
  .topbar .logo { max-width: calc(100% - 112px) !important; }
  .topbar .logo-mark { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
  .topbar .logo > span:last-child, .mobile-drawer-logo > span:last-child { gap: 4px !important; }
  .logo-name { font-size: 18px; max-width: 160px; }
  .topbar .logo .logo-domain, .mobile-drawer-logo .logo-domain { font-size: 10px; max-width: 160px; letter-spacing: .2px; }
}
