:root{--bg:#101027;--panel:#1b1937;--panel2:#201c40;--pink:#e01880;--pink2:#ff72bd;--fg:#fff;--sub:#bcb7d4;--stroke:#36304e;--max:1140px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Tahoma,Arial,sans-serif;background:var(--bg);color:var(--fg);line-height:1.7;-webkit-text-size-adjust:100%}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible{outline:3px solid #ff8ecc;outline-offset:5px}.shell{width:calc(100% - 48px);max-width:var(--max);margin:0 auto}.header{border-bottom:1px solid #2b2547;background:#14122d}.nav{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px;line-height:1.2}.brand img{width:52px;height:52px;object-fit:cover;border-radius:50%;border:1px solid #e0188075}.brand strong{display:block;white-space:nowrap;font-size:21px;letter-spacing:.4px}.brand em{color:var(--pink2);font-style:normal}.brand small{color:var(--sub);display:block;font-size:13px;margin-top:7px}.nav-store{border:1px solid #504362;padding:11px 18px;border-radius:10px;font-size:14px}.nav-store:hover{background:#26203e}.hero{position:relative;min-height:330px;margin:28px 0 48px;display:grid;grid-template-columns:1fr 370px;gap:30px;align-items:center;overflow:hidden;background:linear-gradient(115deg,#24183d,#15122f 65%,#1a1535);border:1px solid #463055;border-radius:22px;padding:42px 60px}.hero:before{content:"";position:absolute;width:400px;height:300px;background:radial-gradient(ellipse,#e0188020,transparent 68%);left:-30px;top:0;pointer-events:none}.hero-copy{position:relative;z-index:1}.label{display:inline-flex;align-items:center;gap:9px;color:#ff80bc;font-size:13px;font-weight:bold;direction:ltr}.dot{background:#e01880;border-radius:50%;height:7px;width:7px}.hero h1{font-size:clamp(28px,4vw,47px);line-height:1.3;margin:22px 0 15px;font-weight:900}.hero h1 span{color:#ff72bd}.hero p{font-size:16px;color:#ded8ec;max-width:570px;margin:0 0 26px}.hero-link{color:#fff;background:#e01880;padding:10px 21px;border-radius:9px;display:inline-flex;gap:25px;align-items:center;font-weight:bold}.hero-device{justify-self:center;position:relative;transform:perspective(800px) rotateY(5deg)}.device{width:270px;height:165px;border:6px solid #383054;border-radius:14px;box-shadow:0 18px 45px #0005;background:#14112a;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.device img{width:95px;height:95px;border-radius:50%}.device-caption{font-size:11px;letter-spacing:3px;color:#d2c2e2}.device-bar{position:absolute;top:12px;left:16px;display:flex;gap:4px}.device-bar span{height:4px;width:4px;background:#6a4a75;border-radius:50%}.device-base{width:80px;height:7px;background:#484064;margin:0 auto;border-radius:0 0 9px 9px}.section-label{font-size:12px;font-weight:bold;color:#ff78b9;margin-bottom:6px}.section-head{text-align:center;margin:0 0 26px}.section-head h2{font-size:30px;margin:0 0 6px}.section-head p{color:var(--sub);margin:0}.downloads{margin-bottom:50px}.app-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.app{padding:27px;min-width:0;background:var(--panel);border:1px solid var(--stroke);border-radius:17px}.app-head{display:flex;align-items:center;gap:18px;margin-bottom:22px}.app-symbol{flex:none;width:62px;height:62px;border-radius:15px;display:grid;place-items:center;font-weight:900;color:#fff;background:#33235d;font-size:27px}.app-symbol.ibo{background:#402345;color:#ff88ca;font-size:22px}.app-head h3{font-size:22px;line-height:1.4;margin:0 0 6px;direction:ltr;text-align:right}.app-head p{margin:0;color:var(--sub);font-size:13px}.primary{min-height:58px;background:var(--pink);border-radius:10px;display:flex;justify-content:center;align-items:center;gap:10px;font-size:18px;font-weight:bold;box-shadow:0 7px 24px #e0188022}.primary:hover,.support-button:hover{background:#f32898}.primary span{font-size:14px;opacity:.9}.under{display:block;text-align:center;color:#efc0db;margin-top:17px;font-size:14px}.under:hover,.visual-guide:hover{color:#fff}.download-hint{border:1px solid #433756;border-radius:10px;background:#1e1a35;color:#c8c0d7;padding:16px 22px;margin:16px 0 0;font-size:14px}.download-hint b{color:#fff}.steps-section{scroll-margin-top:25px;margin:0 0 24px;border:1px solid var(--stroke);background:#19162f;border-radius:19px;padding:33px 35px}.guide-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.guide-heading h2{font-size:27px;margin:0 0 3px}.guide-heading p{margin:0;color:var(--sub);font-size:14px}.guide-count{border:1px solid #684060;border-radius:50px;padding:7px 17px;white-space:nowrap;color:#ff88bd;font-size:13px}.code-banner{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px 25px;border:1px solid #774268;border-radius:13px;background:linear-gradient(115deg,#302046,#241d3c);margin-bottom:20px}.code-banner small{font-size:13px;color:#d6bad0;display:block}.code-banner strong{display:block;color:#ff83c5;font-size:clamp(23px,3.2vw,34px);letter-spacing:1px;white-space:nowrap}.code-banner strong i{font-size:15px;font-style:normal;color:#fff}.code-banner>span{color:#e7cbdc;font-size:13px}.steps{display:grid;grid-template-columns:1fr 1fr;gap:13px}.step{display:flex;align-items:flex-start;gap:15px;background:#211b3d;border:1px solid #3d3458;border-radius:13px;padding:20px;min-width:0}.step-no{flex:none;width:34px;height:34px;background:#e01880;border-radius:10px;display:grid;place-items:center;font-weight:bold;font-size:15px}.step h3{font-size:17px;line-height:1.6;margin:0 0 7px}.step p{font-size:14px;color:#d5cee2;line-height:1.85;margin:0}.step b{color:#ff8bc5}.visual-guide{margin-top:19px;display:inline-flex;align-items:center;gap:10px;color:#ff8ac7;font-size:14px;font-weight:bold}.support{background:linear-gradient(110deg,#2e1b3d,#201932);border:1px solid #6a305b;border-radius:16px;padding:27px 33px;margin:22px 0 50px;display:flex;align-items:center;justify-content:space-between;gap:18px}.support h2{font-size:23px;margin:0 0 4px}.support p{color:#d2c1d4;margin:0;font-size:14px}.support-button{background:#e01880;border-radius:10px;padding:13px 22px;font-weight:bold;white-space:nowrap}.footer{border-top:1px solid #2f294b;padding:20px 0;color:#bcb4c9;font-size:13px}.foot-inner{display:flex;justify-content:space-between;gap:15px}
@media(max-width:900px){.hero{grid-template-columns:1fr 260px;padding:36px}.hero-device .device{width:215px;height:150px}.app-head h3{font-size:19px}.steps{grid-template-columns:1fr 1fr}.step{padding:15px}.step h3{font-size:15px}}@media(max-width:700px){.shell{width:calc(100% - 28px)}.nav{min-height:68px}.brand img{width:44px;height:44px}.brand strong{font-size:15px}.brand small{font-size:11px}.nav-store{font-size:12px;padding:9px}.hero{margin-top:16px;margin-bottom:35px;grid-template-columns:1fr;padding:32px 24px;min-height:0}.hero h1{font-size:30px}.hero p{font-size:14px}.hero-device{display:none}.app-grid{grid-template-columns:1fr}.app{padding:20px}.steps-section{padding:25px 17px}.steps{grid-template-columns:1fr}.guide-heading h2{font-size:22px}.code-banner{display:block}.code-banner>span{display:block;margin-top:8px}.code-banner strong{font-size:24px;white-space:normal}.support{display:block;padding:23px}.support-button{display:inline-block;margin-top:20px}.foot-inner{flex-wrap:wrap}}@media(min-width:1400px){.shell{max-width:1220px}.hero{min-height:380px}.primary{min-height:70px;font-size:21px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v3: identical illustration images from the original Android TV / TV Box guide. */
.steps-with-images{align-items:stretch}
.steps-with-images .step{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.steps-with-images .step>div:nth-child(2){flex:1}
.step-image{display:block;margin-top:auto;border:1px solid #4d4067;border-radius:11px;overflow:hidden;background:#141126;text-align:center;color:#e7dcef;transition:border-color .15s}
.step-image:hover,.step-image:focus{border-color:#e01880}
.step-image img{display:block;width:100%;height:auto;max-height:270px;object-fit:contain;background:#121126}
.image-zoom{display:block;padding:7px 10px;font-size:12px;color:#e8b7d1;border-top:1px solid #3a3155}
@media(max-width:700px){.steps-with-images .step{gap:13px}.step-image img{max-height:380px}}
@media(min-width:1000px){.steps-with-images .step-image img{max-height:330px}}

/* v4: user-replaceable real application icons */
.app-symbol{position:relative;overflow:hidden}
.app-logo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:14px;background:#201b39;z-index:2}
.app-logo-fallback{position:relative;z-index:1}
