:root {
  color-scheme: light;
  --background: #f6f7f9;
  --white: #fff;
  --ink: #15161a;
  --muted: #575e69;
  --line: #e2e5eb;
  --blue: #0564cf;
  --blue-deep: #0056b8;
  --font: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 78px; }
body { margin: 0; background: var(--background); color: var(--ink); font: 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #287be4; outline-offset: 4px; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; z-index: 10; top: 8px; left: 8px; border-radius: 10px; padding: 10px 16px;
  background: var(--white); color: var(--blue-deep);
}
.shell { width: min(calc(100% - 64px), 1168px); margin-inline: auto; }
.site-header {
  position: sticky; z-index: 5; top: 0; background: rgb(247 248 250 / 92%);
  border-bottom: 1px solid rgb(25 38 59 / 9%); backdrop-filter: saturate(170%) blur(20px);
}
.nav { min-height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand {
  display: inline-flex; width: fit-content; gap: 10px; align-items: center; font-size: 16px;
  line-height: 1.3; font-weight: 700; letter-spacing: -.035em;
}
.brand-tail { color: #52545c; font-size: 13px; margin-left: 2px; font-weight: 600; }
.brand-symbol {
  display: grid; grid-template-columns: repeat(2, 5px); grid-template-rows: repeat(2, 5px);
  place-content: center; gap: 2px; width: 25px; height: 25px; border-radius: 7px;
  background: #171a21; box-shadow: 0 2px 5px #151b2922;
}
.brand-symbol i { display: block; border-radius: 1.4px; background: #f1f4fb; }
.brand-symbol i:last-child { background: #81baff; }
.nav-links { display: flex; gap: 29px; }
.nav-links a, .nav-source { font-size: 13px; color: #363b45; }
.nav-links a:hover, .nav-source:hover, .footer-content a:hover { color: var(--blue); }
.nav-source { justify-self: end; white-space: nowrap; }
.nav-source span { margin-left: 3px; color: var(--muted); }
.intro { text-align: center; padding: 77px 0 63px; }
.intro h1 {
  font-size: clamp(42px, 7vw, 84px); font-weight: 740; line-height: 1.11; letter-spacing: -.062em;
}
.intro p { margin-top: 17px; color: var(--muted); font-size: clamp(17px, 2.2vw, 23px); line-height: 1.6; }
.intro-actions, .featured-actions, .card-actions, .inline-links { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; }
.intro-actions { justify-content: center; margin-top: 24px; }
.action {
  display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 9px 18px;
  border: 1px solid transparent; border-radius: 999px; font-size: 14px; line-height: 1.35; font-weight: 650;
  white-space: nowrap; transition: background .18s ease, color .18s ease;
}
.action.primary { color: white; background: var(--blue); }
.action.primary:hover { background: var(--blue-deep); }
.action.soft { color: var(--blue-deep); background: #edf4ff; }
.action.soft:hover { background: #deecff; }
.action.on-dark { color: #101723; background: #f1f6ff; }
.action.on-dark:hover { background: #dceaff; }
.text-link { display: inline-flex; min-height: 42px; align-items: center; gap: 5px; color: var(--blue-deep); font-size: 14px; font-weight: 590; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.arrow { font: 1.35em/1 var(--font); transform: translateY(-.03em); }

.featured {
  position: relative; isolation: isolate; overflow: hidden; min-height: 482px;
  display: grid; grid-template-columns: 39% 61%; align-items: center; color: #f6f8ff;
  background: radial-gradient(ellipse at 83% 67%, #1c3858 0%, #0c1e32 41%, #080e17 79%);
  border: 1px solid #223047; border-radius: 30px; box-shadow: 0 18px 47px #182d4c19;
}
.featured-copy { position: relative; z-index: 1; padding: 55px 0 55px 54px; }
.featured-label { display: flex; align-items: center; gap: 10px; font-weight: 650; color: #d6e4fa; letter-spacing: -.015em; font-size: 18px; }
.featured-label .app-icon { width: 34px; height: 34px; border-radius: 9px; }
.featured h2 { margin-top: 19px; font-size: clamp(32px, 4.5vw, 60px); line-height: 1.12; letter-spacing: -.065em; font-weight: 750; }
.featured-copy p { margin-top: 18px; max-width: 285px; color: #c6d4e8; font-size: 16px; line-height: 1.75; }
.featured-actions { margin-top: 21px; gap: 14px; }
.featured-actions .text-link { color: #a8d2ff; }
.mirror-art { position: relative; align-self: stretch; display: grid; align-items: center; min-height: 360px; }
.mirror-halo {
  position: absolute; width: 90%; height: 65%; left: 3%; top: 19%;
  background: radial-gradient(ellipse, #5385c555, transparent 70%); filter: blur(29px);
}
.tv-frame {
  z-index: 1; position: relative; margin: 28px 48px 33px 0; aspect-ratio: 1.76; padding: 6px 6px 10px;
  border: 1px solid #7d8b9e; border-bottom-color: #42516a; border-radius: 16px;
  background: linear-gradient(154deg, #526276, #131d2a 27%, #0c1017 79%, #323b4a);
  box-shadow: 0 25px 48px #02050c99, 0 0 30px #7298c223;
}
.tv-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 10px;
  background: linear-gradient(0deg, #131e3a16, #10234705), url("mountains.webp") center / cover;
}
.tv-foot {
  position: absolute; bottom: -11px; display: block; width: 50px; height: 9px; border-bottom: 2px solid #646e7b;
  background: linear-gradient(120deg, #202a36, #53647c, #171c26);
  clip-path: polygon(10% 0, 76% 0, 100% 100%, 0 100%);
}
.tv-foot.left { left: 12%; }
.tv-foot.right { right: 12%; }
.tv-controls {
  position: absolute; bottom: 6%; left: 15%; width: 76%; max-width: 430px; padding: 8px 9px 9px;
  color: #f4f8ff; background: #111928ee; border: 1px solid #697b956a; border-radius: 11px;
  box-shadow: 0 8px 19px #090e1c4d; font-size: clamp(8px, .9vw, 11px);
}
.tv-modes { margin-top: 5px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.tv-modes span { display: grid; place-items: center; align-content: center; gap: 3px; min-height: 37px; padding: 2px; border-radius: 5px; background: #283445; white-space: nowrap; }
.tv-modes span.current { color: #dcfff3; background: #215052; box-shadow: inset 0 0 0 1px #b0ebe0; }
.tv-modes i {
  width: 22px; height: 13px; border: 1px solid #d5e5fa; border-radius: 3px;
  background: linear-gradient(#d5e5fa, #d5e5fa) center / 73% 60% no-repeat;
}
.tv-modes span:nth-child(3) i { background-size: 88% 77%; }
.tv-modes span:last-child i {
  border: 0; background: radial-gradient(circle at 25% 50%, #d5e5fa 1px, transparent 1.6px),
    radial-gradient(circle at 50% 50%, #d5e5fa 1px, transparent 1.6px),
    radial-gradient(circle at 75% 50%, #d5e5fa 1px, transparent 1.6px);
}
.phone-frame {
  z-index: 2; position: absolute; width: clamp(63px, 15%, 112px); aspect-ratio: .51; left: -2%; bottom: 10%;
  transform: rotate(-9deg); padding: 4px; border: 1px solid #98a5b5; border-radius: 19px;
  background: #111721; box-shadow: 8px 15px 24px #020710bd, inset 0 0 0 1px #d7e4f167;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 14px;
  background: linear-gradient(0deg, #04102355, #11243b00), url("mountains.webp") 42% 50% / cover;
}
.phone-camera { position: absolute; width: 34%; height: 6px; top: 5px; left: 33%; border-radius: 10px; background: #0e1118; }

.catalog, .install { margin-top: 73px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 26px; align-items: end; margin-bottom: 23px; }
.section-heading h2, .detail-section h2 { font-size: clamp(30px, 4.7vw, 48px); line-height: 1.16; letter-spacing: -.053em; font-weight: 740; }
.section-heading p { color: var(--muted); margin-top: 7px; font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; padding: 4px; border-radius: 18px; background: #e9ecf1; }
.filters button {
  border: 0; background: transparent; min-height: 36px; padding: 5px 13px; border-radius: 14px;
  color: #414653; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--white); color: #141d2a; box-shadow: 0 1px 5px #12234419; font-weight: 650; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.app-card {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e0e5ec;
  border-radius: 24px; background: var(--white); box-shadow: 0 5px 14px #233e5e06;
}
.card-art { position: relative; display: grid; place-items: center; overflow: hidden; height: clamp(156px, 17.8vw, 208px); isolation: isolate; }
.card-art:focus-visible { outline-offset: -4px; z-index: 2; }
.card-art .app-icon {
  position: relative; width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 17px 15px #28345733);
  transition: transform .28s ease;
}
.card-art:hover .app-icon { transform: translateY(-5px); }
.card-art.airplay-fit { background: #d5e6f9; }
.card-art.airplay-fit .app-icon { width: 52px; height: 52px; border-radius: 13px; }
.art-view {
  position: absolute; width: min(81%, 273px); aspect-ratio: 16 / 9; border: 5px solid #132133; border-radius: 11px;
  background: url("mountains.webp") center / cover; box-shadow: 0 15px 27px #1b365e44;
}
.art-mask { position: absolute; inset: 0; border-radius: 5px; background: #13233f2c; }
.card-art.nettv { background: #e5eafc; }
.nettv-screen {
  width: min(81%, 285px); height: auto; border: 5px solid #19233c; border-radius: 11px;
  box-shadow: 0 15px 27px #232e6545; transition: transform .28s ease;
}
.card-art:hover .nettv-screen { transform: translateY(-4px); }
.card-art.hostsmgr { background: radial-gradient(ellipse at 52% 24%, #fdf9ff, #e1dfef); }
.card-art.minimtp { background: radial-gradient(ellipse at 58% 26%, #f9fff3, #dcebd8); }
.card-art.taptap { background: radial-gradient(ellipse at 35% 29%, #f0fbff, #d7e8f5); }
.card-art.mdv { background: radial-gradient(ellipse at 50% 33%, #fff8e7, #f0e4ca); }
.icon-glow {
  position: absolute; width: 56%; height: 65%; border-radius: 50%; transform: translate(5%, -12%);
  background: #fff9; filter: blur(18px);
}
.card-body { flex: 1; display: flex; flex-direction: column; padding: 21px 20px 19px; }
.card-meta { display: flex; justify-content: space-between; gap: 9px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.card-body h3 { margin-top: 4px; font-size: 30px; line-height: 1.2; letter-spacing: -.055em; }
.card-body h3 a:hover { color: var(--blue); }
.card-body p { min-height: 47px; margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.card-actions { margin-top: auto; gap: 11px; }
.card-actions .action, .card-actions .text-link { min-height: 38px; font-size: 13px; }
.card-actions .action { padding: 8px 13px; }

.install { margin-bottom: 74px; }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.install-card { padding: 26px 29px 22px; border-radius: 23px; border: 1px solid var(--line); background: #fff; }
.install-card h3, .setup-panel h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.027em; }
.install-card p { max-width: 480px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.install-card .inline-links { margin-top: 6px; }
.device-symbol { display: block; position: relative; width: 34px; height: 23px; border: 2px solid #365275; border-radius: 4px; margin-bottom: 19px; }
.device-symbol::after { content: ""; position: absolute; height: 2px; background: #365275; }
.tv-symbol::after { width: 14px; left: 8px; bottom: -6px; }
.mac-symbol::after { width: 40px; left: -5px; bottom: -5px; border-radius: 2px; }
.site-footer { border-top: 1px solid var(--line); background: #edeff3; font-size: 13px; color: var(--muted); }
.footer-content, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.footer-content { padding-block: 29px 22px; }
.footer-brand { color: var(--ink); font-weight: 700; }
.footer-content p { margin-top: 3px; font-size: 12px; }
.footer-content nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-bottom { min-height: 56px; border-top: 1px solid #dce0e7; font-size: 12px; }
.footer-bottom a:hover { text-decoration: underline; }

.detail { padding-top: 21px; padding-bottom: 65px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--blue); }
.detail-hero {
  display: grid; grid-template-columns: 1fr minmax(230px, .7fr); align-items: center; overflow: hidden;
  min-height: 355px; padding: 41px 51px; border-radius: 27px; border: 1px solid #dce3ee;
  background: radial-gradient(ellipse at 72% 20%, #faffff, #e1eafa);
}
.detail-hero.hostsmgr { background: radial-gradient(ellipse at 58% 26%, #fff, #e5dfee); }
.detail-hero.minimtp { background: radial-gradient(ellipse at 58% 26%, #fff, #dcebd8); }
.detail-hero.mdv { background: radial-gradient(ellipse at 58% 26%, #fff, #f0e4ca); }
.detail-copy .intro-actions { justify-content: start; margin-top: 19px; }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #444c5b; font-size: 13px; font-weight: 650; }
.product-meta span { width: 4px; height: 4px; border-radius: 50%; background: #7e8694; }
.detail-copy h1 { margin: 5px 0 7px; font-size: clamp(45px, 7.2vw, 85px); font-weight: 750; line-height: 1.09; letter-spacing: -.074em; }
.detail-tagline { max-width: 560px; color: #353f4e; font-size: clamp(16px, 2.1vw, 20px); line-height: 1.66; }
.requirements { color: var(--muted); font-size: 13px; margin-top: 11px; }
.detail-art { display: grid; place-items: center; }
.detail-art .app-icon { width: min(57%, 190px); height: auto; filter: drop-shadow(0 21px 18px #33465736); }
.detail-hero.airplay-fit .detail-art img { border-radius: 23%; width: min(45%, 150px); }
.detail-art .nettv-screen { width: 100%; max-width: 380px; }
.detail-section { margin-top: 51px; }
.detail-description { margin-top: 10px; max-width: 760px; color: var(--muted); font-size: 16px; }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 19px; }
.feature, .setup-panel { min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 19px 21px; background: var(--white); }
.feature h3 { font-size: 17px; font-weight: 680; line-height: 1.3; }
.feature p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.setup-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 16px; align-items: start; margin-top: 20px; }
.setup-panel { padding: 22px; }
.download-list { padding: 0; margin: 10px 0 6px; list-style: none; }
.download-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.download-list span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.download-list .action { min-height: 36px; padding: 6px 14px; }
.steps { margin: 13px 0 0; padding-left: 23px; color: #3e4654; }
.steps li + li { margin-top: 9px; }
.steps li::marker { color: var(--blue); font-weight: 700; }
.steps li span { display: block; padding-left: 5px; }
.code-block { margin-top: 15px; display: flex; align-items: start; gap: 9px; border-radius: 12px; background: #edf1f7; border: 1px solid #e2e9f3; padding: 9px 10px 9px 13px; }
.code-block pre { min-width: 0; flex: 1; overflow: auto; margin: 0; padding: 3px 0; color: #1f304a; font-size: 13px; }
.code-block button { border: 0; background: transparent; color: var(--blue-deep); padding: 4px 7px; cursor: pointer; font-size: 12px; white-space: nowrap; border-radius: 5px; }
.code-block button:hover { background: #dce7f6; }
.setup-notes { margin-top: 12px; color: var(--muted); font-size: 13px; }
.setup-notes p + p { margin-top: 8px; }
.detail-back { margin-top: 24px; }
.error-page { min-height: 58vh; }
.error-page .action { margin-top: 20px; }

@media (max-width: 1000px) {
  .featured { min-height: 400px; grid-template-columns: 40% 60%; }
  .featured-copy { padding-left: 32px; }
  .tv-frame { margin-right: 31px; }
  .tv-controls { width: 81%; left: 11%; }
  .card-body { padding-inline: 16px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .intro { padding: 55px 0 43px; }
  .nav { min-height: 54px; gap: 12px; }
  .nav-links { gap: 14px; }
  .brand-tail { display: none; }
  .featured { grid-template-columns: 1fr; min-height: 0; }
  .featured-copy { padding: 32px 28px 5px; }
  .featured h2 { font-size: clamp(35px, 7vw, 52px); }
  .featured h2 br { display: none; }
  .featured-copy p { max-width: 100%; }
  .mirror-art { min-height: 0; padding: 0 10px 13px; margin-top: 17px; }
  .tv-frame { margin: 9px 18px 21px 27px; }
  .phone-frame { left: 1%; bottom: 12%; }
  .catalog, .install { margin-top: 47px; }
  .app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .card-art { height: 140px; }
  .install-grid, .setup-grid { grid-template-columns: 1fr; gap: 12px; }
  .install { margin-bottom: 44px; }
  .detail-hero { padding: 25px; min-height: 270px; grid-template-columns: 1fr minmax(105px, .46fr); }
  .detail-art .app-icon { width: min(83%, 140px); }
  .detail-hero.airplay-fit .detail-art img { width: min(68%, 123px); }
  .features { gap: 10px; }
  .feature { padding: 12px; }
}
@media (max-width: 505px) {
  .shell { width: calc(100% - 28px); }
  .nav { grid-template-columns: auto 1fr auto; gap: 9px; }
  .nav-links { justify-content: center; gap: 11px; }
  .nav-links a, .nav-source { font-size: 11px; }
  .brand { gap: 6px; font-size: 14px; }
  .brand-symbol { width: 20px; height: 20px; border-radius: 5px; }
  .nav-source span { margin-left: 1px; }
  .intro { padding: 47px 0 37px; }
  .intro p { margin-top: 9px; }
  .intro-actions { margin-top: 17px; }
  .featured { border-radius: 23px; }
  .featured-copy { padding: 25px 20px 1px; }
  .featured h2 { font-size: clamp(27px, 7.7vw, 39px); margin-top: 13px; }
  .featured-copy p { font-size: 14px; margin-top: 9px; }
  .featured-actions { margin-top: 11px; }
  .tv-frame { padding: 3px 3px 6px; margin-right: 5px; margin-left: 15px; border-radius: 11px; }
  .tv-screen { border-radius: 7px; }
  .tv-foot { width: 30px; height: 7px; bottom: -8px; }
  .tv-controls { padding: 4px 5px 5px; border-radius: 7px; }
  .tv-modes { gap: 3px; margin-top: 3px; }
  .tv-modes span { min-height: 25px; gap: 2px; }
  .tv-modes i { width: 14px; height: 8px; border-radius: 2px; }
  .phone-frame { width: 51px; border-radius: 10px; padding: 2px; }
  .phone-screen { border-radius: 8px; }
  .phone-camera { height: 4px; top: 4px; }
  .filters { gap: 2px; width: fit-content; }
  .filters button { min-height: 34px; padding-inline: 8px; font-size: 12px; }
  .app-grid { grid-template-columns: 1fr; }
  .card-art { height: 156px; }
  .card-body { padding: 15px; }
  .card-body p { min-height: 0; }
  .install-card { padding: 19px; }
  .detail-hero { padding: 19px; grid-template-columns: 1fr; }
  .detail-art { display: none; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 15px; }
  .setup-panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
