@charset "utf-8";

html[data-front-theme="apple"] body {
  background: #f5f7fb !important;
}

html[data-front-theme="apple"] #wrapper,html[data-front-theme="apple"] #topbar {
  max-width: 1200px;
}

html[data-front-theme="apple"] #header,html[data-front-theme="apple"] #txtbox,html[data-front-theme="apple"] .sitepath,html[data-front-theme="apple"] #siteinfo,html[data-front-theme="apple"] #bestart,html[data-front-theme="apple"] #bestweb {
  border: 1px solid rgba(0, 122, 255, .10) !important;
  box-shadow: 0 18px 42px rgba(29, 78, 216, .08) !important;
}

html[data-front-theme="apple"] #navbox {
  background: #007aff !important;
}

html[data-front-theme="apple"] .sbtn {
  background: #007aff !important;
}

html[data-front-theme="apple"] a {
  color: #0066d6;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) {
  align-items: center !important;
  grid-template-columns: 106px minmax(0, 1fr) !important;
  min-height: 108px !important;
  padding: 10px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row):has(strong) {
  grid-template-columns: 106px minmax(0, 1fr) !important;
  min-height: 108px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b {
  gap: 10px !important;
  padding-top: 8px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) > a:first-child {
  align-items: center !important;
  align-self: center !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.98), rgba(255,255,255,0) 42%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,246,255,.90)) !important;
  border: 1px solid rgba(59,130,246,.14) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95) !important;
  box-sizing: border-box !important;
  display: flex !important;
  grid-row: 1 / span 3 !important;
  height: 96px !important;
  justify-content: center !important;
  min-height: 96px !important;
  padding: 7px !important;
  width: 96px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row):has(strong) > a:first-child {
  align-items: center !important;
  align-self: center !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  display: flex !important;
  height: 96px !important;
  justify-content: center !important;
  min-height: 96px !important;
  padding: 7px !important;
  width: 96px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) > a:first-child img {
  height: 82px !important;
  max-height: 82px !important;
  max-width: 82px !important;
  object-fit: contain !important;
  padding: 0 !important;
  width: 82px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row):has(strong) > a:first-child img {
  border-radius: 22px !important;
  height: 82px !important;
  max-height: 82px !important;
  max-width: 82px !important;
  min-height: 82px !important;
  min-width: 82px !important;
  object-fit: cover !important;
  padding: 0 !important;
  width: 82px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .siteinfo-letter-side {
  aspect-ratio: auto !important;
  border-radius: 22px !important;
  display: grid !important;
  flex: 0 0 82px !important;
  font-size: 48px !important;
  height: 82px !important;
  min-height: 82px !important;
  min-width: 82px !important;
  width: 82px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) > a:first-child .siteinfo-letter-icon.siteinfo-letter-side {
  aspect-ratio: auto !important;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.42) 0%, rgba(255,255,255,.20) 20%, rgba(255,255,255,0) 44%),
    linear-gradient(150deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 38%),
    linear-gradient(180deg, rgba(0,0,0,0) 54%, rgba(0,0,0,.16) 100%),
    var(--bg) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 24px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -14px 26px rgba(15,23,42,.12),
    0 12px 22px rgba(37,99,235,.16) !important;
  color: var(--fg) !important;
  display: grid !important;
  flex: 0 0 82px !important;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-size: 48px !important;
  font-weight: 900 !important;
  height: 82px !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 82px !important;
  min-width: 82px !important;
  text-shadow: 0 2px 0 var(--shadow), 0 10px 18px rgba(15,23,42,.20) !important;
  width: 82px !important;
  -webkit-text-fill-color: var(--fg) !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) > a:first-child .siteinfo-letter-icon.siteinfo-letter-side:before,html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) > a:first-child .siteinfo-letter-icon.siteinfo-letter-side:after {
  animation: none !important;
  background: none !important;
  box-shadow: none !important;
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) strong {
  align-self: end !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) p {
  -webkit-line-clamp: 2 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  max-height: 40px !important;
}

html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) address a {
  max-width: 100% !important;
}

@media (max-width: 560px) {
  html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) {
    grid-template-columns: 106px minmax(0, 1fr) !important;
    min-height: 108px !important;
  }

  html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row):has(strong) {
    grid-template-columns: 106px minmax(0, 1fr) !important;
    min-height: 108px !important;
  }

  html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) > a:first-child {
    height: 96px !important;
    min-height: 96px !important;
    width: 96px !important;
  }

  html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row):has(strong) > a:first-child {
    height: 96px !important;
    min-height: 96px !important;
    width: 96px !important;
  }

  html[data-front-theme="apple"] #mainbox-right #bestweb .siteinfo-letter-side {
    border-radius: 22px !important;
    flex-basis: 82px !important;
    font-size: 48px !important;
    height: 82px !important;
    min-height: 82px !important;
    min-width: 82px !important;
    width: 82px !important;
  }

  html[data-front-theme="apple"] #mainbox-right #bestweb .weblist_b li:not(.rank-row) > a:first-child .siteinfo-letter-icon.siteinfo-letter-side {
    border-radius: 22px !important;
    flex-basis: 82px !important;
    font-size: 48px !important;
    height: 82px !important;
    min-height: 82px !important;
    min-width: 82px !important;
    width: 82px !important;
  }

}

/* Final Webdir-compatible VIP thumbnail overrides. */

/* Homepage latest outbound sites stay on one stable row. */

/* Keep VIP fallback thumbnails consistent with uploaded logo thumbnails. */

/* Match the Webdir left-column thumbnail treatment. */

/* Keep cool-site labels crisp while preserving hover colors and shadows. */

/* Give the text logo a little more breathing room above the header row. */

html[data-front-theme="apple"] #topbox {
  padding-top: 14px !important;
  padding-bottom: 8px !important;
}

/* Revenue-focused quick review strip. */

@media (max-width: 560px) {
  html[data-front-theme="apple"] #topbox {
    padding-top: 11px !important;
    padding-bottom: 7px !important;
  }
}

/* Final Webdir-compatible VIP thumbnail overrides. */