* { box-sizing: border-box }
body { margin: 0; background: #fdfdfd; color: #090909; font: 13px/1.15 SimSun, "宋体", "Noto Serif CJK SC", serif }
a { color: #0000cc }
button, input, select { font: inherit }
button, summary { cursor: pointer }
[hidden] { display: none !important }
.catalog, .detail { width: min(760px, 100%); margin-inline: auto }
.catalog { margin-top: 5px; display: grid; grid-template-columns: 162px 1fr 150px; gap: 8px; align-items: start }
.directory { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 8px; padding-top: 2px }
table { border-collapse: collapse; table-layout: fixed; width: 100% }
.directory table { border: 2px solid #444 }
.directory td { border: 1px solid #444; height: 20px; padding: 1px 3px; white-space: nowrap }
.directory td:first-child { width: 30%; text-align: center }
.directory td:nth-child(2) { overflow: hidden; text-overflow: ellipsis; padding-left: 8px }
.directory td:last-child { width: 46px; text-align: center; font: 11px Arial, sans-serif }
.directory a { text-decoration: none }
a:hover, .directory a:focus-visible { text-decoration: underline }
.latest, .locked { color: #eb0012 }
.box { margin-bottom: 14px; border: 1px solid; padding: 8px }
.stats, .calculator { background: #faf2d7 }
.stats { border-color: #f79300; min-height: 321px; padding: 14px 12px; line-height: 1.4 }
.stats #search-form { margin-top: 16px }
.stats input { width: 100%; margin-top: 4px }
.stats p { margin-bottom: 0 }
.calculator { border-color: #ff6464; min-height: 155px }
.box h2 { background: #f3d2c4; font-size: 13px; font-weight: normal; letter-spacing: 3px; margin: -8px -8px 10px; border-bottom: 1px solid #ff6464; padding: 4px 10px }
#power { width: 58px }
#dish-form div { margin-top: 5px }
.poll { border-color: #2424ff; background: #faf9f1; min-height: 221px }
.poll h2 { background: #dddcfc; border-color: #2424ff; margin-bottom: 4px }
fieldset { border: none; margin: 0 0 12px; padding: 19px 0 0 }
fieldset label, .reports a, .featured a { display: block }
fieldset input { vertical-align: middle; margin: 3px 2px 3px 0 }
legend { padding: 0 }
.welcome { border-color: #94d12b; background: #f4fcf0; min-height: 140px; padding: 13px; margin-bottom: 28px }
.featured { border-color: #aaa; background: #f5f5f5; min-height: 152px }
.reports { border-color: #99a9af; background: #e2eef4; min-height: 220px }
.featured a, .reports a, .reports details { margin-top: 5px }
.detail { font-family: Arial, SimSun, "宋体", sans-serif; font-size: 13px }
.table-scroll { overflow-x: auto }
.detail table { min-width: 735px }
.detail th, .detail td { border: 1px solid #a2a2a2; padding: 1px; text-align: center; overflow-wrap: anywhere }
.title { background: #090909; color: white; height: 22px }
.title th { background: linear-gradient(to right,#b00000 64%,#090909 64%); text-align: left; padding-left: 12px; font: bold 14px SimSun, serif }
.title td { text-align: right; padding-right: 14px }
.title a, .title button { color: white; background: none; border: 0; text-decoration: underline; padding: 0; margin-left: 12px }
.title td, .title th { border-color: #090909 }
.headers th { background: #bdbdbd; height: 25px; font-weight: normal }
.detail tbody tr { height: 23px }
.detail tbody tr:only-child { height: 59px }
.detail tbody .parameter, .detail tbody .provider, .detail tbody .date, .empty { background: #ffffcf }
.detail tbody .parameter { font-weight: normal }
.parameter b, .channel b { letter-spacing: .1px }
.parameter span, .provider span { display: block; margin-top: 2px }
.provider .network { color: #0000cc; margin-bottom: 11px }
.clear { color: #376300 }
.free { background: #d6df8e }
.encrypted { background: #ffcbb8 }
.hd { background: #d9ffdf }
.radio { background: #efefef }
.test { background: #ccdde7 }
.data { background: #c995ff }
.legend { margin: 58px 10px 28px; display: grid; grid-template-columns: repeat(6,1fr); gap: 30px; text-align: center }
.legend span { padding: 3px 1px; white-space: nowrap }
footer { border-top: 1px solid #999; padding: 14px 0; margin-inline: 4px; text-align: center; font: 12px SimSun, serif }
dialog { max-width: min(350px, 95vw); border: 1px solid #777 }
@media(max-width: 720px) {
  .catalog { padding: 0 6px; grid-template-columns: 1fr 1fr }
  .directory { grid-row: 1; grid-column: 1 / -1 }
  .legend { margin-top: 30px; grid-template-columns: repeat(3,1fr); gap: 5px }
}
@media(max-width: 365px) { .directory { grid-template-columns: 1fr } }

.site-header { width: min(760px,100%); margin: 0 auto 5px }
.masthead { display: grid; grid-template-columns: 166px minmax(0,1fr) 86px; column-gap: 17px; align-items: start; min-height: 68px }
.site-brand { display: flex; align-items: center; gap: 5px; padding: 11px 3px 8px; text-decoration: none; color: #111; white-space: nowrap }
.brand-mark { display: grid; place-items: center; width: 70px; height: 27px; background: #e60031; color: #fff; border-radius: 50%; font: bold 14px Arial,sans-serif }
.brand-name { display: grid; justify-items: start }
.brand-name strong { font: bold 20px/1.05 SimHei,"黑体",sans-serif }
.brand-name small { font: bold 9px Arial,sans-serif }
.orbit-banner {
  position: relative; display: flex; align-items: center; overflow: hidden; min-height: 57px;
  padding: 0 8px; color: #aa6100; font: bold 20px SimHei,"黑体",sans-serif;
  text-decoration: none;
  background: repeating-linear-gradient(0deg, transparent 0 18px,#ffffffc4 18px 19px), repeating-linear-gradient(125deg, transparent 0 23px,#ffffffd9 23px 24px), linear-gradient(100deg,#b1fa68,#d2f8af 58%,#9fdb71)
}
.orbit-banner span { margin-left: auto; padding-left: 12px; color: #427243; font: 10px/1.18 monospace; text-align: right }
.header-shortcuts { margin-top: 6px; border: 1px solid #141414 }
.header-shortcuts a { display: grid; min-height: 27px; place-items: center; text-decoration: none }
.header-shortcuts a + a { border-top: 1px solid #141414 }
.site-nav { display: grid; grid-template-columns: 166px 1fr; font-size: 13px }
.site-nav a { text-decoration: none; text-align: center }
.site-nav a:hover, .header-shortcuts a:hover { text-decoration: underline }
.home-link { grid-row: span 2; display: grid; place-items: start center; padding: 12px 3px; background: #bde61b; border: 1px solid #111; border-bottom: 0 }
.nav-links { display: grid; grid-template-columns: repeat(5,1fr); background: #cccc37; border: 1px solid #111; border-left: 0 }
.nav-links a { display: grid; align-content: center; min-height: 20px; padding: 2px 0 }
.nav-links a:nth-child(-n+5) { min-height: 22px; border-bottom: 1px solid #111 }
.nav-links .nav-accent { color: #ba2000 }
.header-search { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; min-height: 27px; padding: 2px 4px; background: #efefef }
.header-search input { width: 160px; height: 19px; padding: 0 4px; border: 1px solid #999; background: #f8f8f8 }
.header-search button { border: 0; background: transparent }
.header-search button:hover { text-decoration: underline }
.site-footer { margin: 30px auto 0; width: min(760px,100%); padding: 8px 4px 3px }
body:has(.detail:not([hidden])) .site-footer { margin-top: 0 }
body { border-bottom: 3px solid #20323d; min-height: 100vh }
@media(max-width: 600px) {
  .masthead { grid-template-columns: auto minmax(0,1fr) auto; gap: 5px }
  .site-brand { padding: 10px 3px; gap: 0 }
  .brand-mark { display: none }
  .brand-name strong { font-size: 15px }
  .brand-name small { font-size: 7px }
  .orbit-banner { font-size: 15px }
  .orbit-banner span { display: none }
  .header-shortcuts { min-width: 62px }
  .site-nav { grid-template-columns: 76px 1fr }
  .home-link { padding: 12px 4px; align-content: center }
  .nav-links a { padding: 4px 1px }
  .site-nav, .header-shortcuts { font-size: 12px }
}

.contribution { max-width: 760px; padding: 12px 8px; margin: auto; font: 14px/1.45 Arial, SimSun, sans-serif }
.contribution nav { margin-bottom: 8px }
.contribution h1 { font-size: 20px; margin: 0 0 12px }
.contribution .box { min-height: 0 }
.contribution .stats { padding: 14px }
.contribution .reports h2 { background: #cbdde7; border-color: #99a9af }
.contribution fieldset { padding: 8px; margin: 12px 0; border: 1px solid #a1a1a1 }
.contribution legend { padding: 0 5px }
.contribution label { display: block; margin-bottom: 5px }
.contribution input:not([type=checkbox]), .contribution select, .contribution textarea { max-width: 100%; padding: 4px; font: inherit }
.contribution textarea { display: block; width: 100% }
.contribution button { padding: 3px 9px }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,170px),1fr)); gap: 6px }
.form-grid input, .form-grid select { display: block; width: 100% }
.submission-record { background: #fff; border: 1px solid #a1a1a1; padding: 8px; margin-bottom: 6px; overflow-wrap: anywhere }
.submission-record button { margin-right: 6px }
.submission-record p { margin: 5px 0 }

.title h1 { font: inherit; margin: 0 }
.detail tbody .contributor { overflow-wrap: anywhere }
.contributor small { display: block; margin-top: 2px; font-size: 11px; color: #484837 }
.coverage-page { border: 1px solid #a2a2a2; padding: 12px; min-height: 145px }
.coverage-page h1 { font-size: 17px; margin: 0 0 8px }
.coverage-page .empty { padding: 10px }
.coverage-page figure { margin: 16px 0; border-top: 1px solid #a2a2a2; padding-top: 10px }
.coverage-page img { display: block; max-width: 100%; height: auto; margin: 8px auto }
#image-preview { display: block; max-width: 100%; max-height: 280px; margin: 6px 0 12px }
