/* Enigma / midnight blue — shared desktop and mobile design. */
:root{--bg:#080e19;--panel:#111d2d;--muted:#aab9cd;--line:#243549;--purple:#76dfff;color-scheme:dark}
html{scroll-padding-top:120px}body{font-size:16px;background:radial-gradient(ellipse at 80% 12%,#12446b55,transparent 42%),radial-gradient(ellipse at 4% 48%,#28346b30,transparent 44%),#080e19;color:#eff6ff;min-height:100vh;isolation:isolate}
body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' filter='url(%23n)' opacity='.25' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.wrap{width:100%;max-width:1200px;padding-inline:40px}.nav{position:sticky;top:16px;z-index:30;height:76px;min-height:76px;margin-top:16px;background:#0c1626e8;border:1px solid #30465b80;border-radius:20px;box-shadow:0 12px 40px #0003;backdrop-filter:blur(18px)}.brand{font-size:16px;letter-spacing:.07em}.brand .light{color:#a9bbd2}.brand-icon{width:38px;height:38px}.nav nav{gap:8px;font-size:14px}.nav nav a{padding:11px 14px;border-radius:10px;transition:background .18s,color .18s}.nav nav a:hover{background:#1b3045;color:#fff}.nav nav a[aria-current=page]{background:#183449;color:#8de4ff}.menu-toggle{font-size:14px;border:1px solid #37566d;border-radius:10px;background:#15283b;min-width:76px}
.hero{grid-template-columns:1.1fr 1fr;min-height:620px;gap:36px;padding-top:62px;padding-bottom:48px}.hero h1{font-size:clamp(3.5rem,5.4vw,4.7rem);letter-spacing:-.055em;line-height:1.07;margin:25px 0}.hero h1 em{color:#83e4ff}.hero .intro{font-size:17px;line-height:1.85;max-width:470px;color:#afbed1}.eyebrow{font-size:12px;line-height:1.6;letter-spacing:.12em}.hero-meta{font-size:11px;letter-spacing:.09em;gap:12px;color:#9aafc5;flex-wrap:wrap}.actions{gap:18px}.button{border-radius:12px;font-size:14px;justify-content:center;min-height:50px;padding:15px 22px}.primary{background:linear-gradient(120deg,#8ce8ff,#57c9f5);color:#081a29;box-shadow:0 6px 25px #1a9bd526}.primary:hover{color:#081a29}.text-link{font-size:14px;line-height:1.6}.art{width:100%;max-width:450px;justify-self:center;padding:18px 0 30px;animation:enigma-glow 8s ease-in-out infinite}.art:before{inset:6%;filter:blur(55px);opacity:.22;background:#138ad1}.art:after{content:'';position:absolute;inset:-2%;border:1px solid #54c9ff18;border-radius:50%;z-index:-1;box-shadow:0 0 0 26px #59caff05,0 0 0 55px #59caff03}.wizard-emblem{filter:drop-shadow(0 15px 32px #009bda2a)}.art-label{font-size:10px;letter-spacing:.12em;color:#9abbd0}
.start-options{gap:20px;padding-bottom:64px}.start-option{position:relative;padding:27px;border-color:#2a4357;background:linear-gradient(135deg,#142739cc,#101a2bd9);border-radius:18px;box-shadow:inset 0 1px #ffffff05}.start-option>span{display:none}.start-option h2{margin:0 0 10px;font-size:21px}.start-option p{color:#aebfd2;font-size:15px}.start-option:hover{border-color:#68c9ec;background:#172d40;transform:translateY(-3px)}
.page-heading{padding-top:64px!important;padding-bottom:24px!important}.page-heading h1{font-size:clamp(2.5rem,5vw,3.7rem);letter-spacing:-.05em}.page-heading .intro{font-size:17px;color:#afbed1}.section-heading h2{font-size:clamp(1.8rem,3.3vw,2.4rem);letter-spacing:-.04em}.section-heading>p{font-size:14px;color:#aabbd0}.download-card,.addon-card,.build-card,.device-picker,.repo-box,.support-template,.support-panel,.detail-notes,.recent-entry{background:linear-gradient(135deg,#142235e8,#101b2ce8);border-color:#2b4056;border-radius:18px;box-shadow:inset 0 1px #ffffff05}.download-card,.addon-card,.build-card{transition:border-color .2s,transform .2s}.download-card:hover,.addon-card:hover,.build-card:hover{border-color:#497b97}.repo-section{background:#0c1728b3;border-color:#24374d}.repo-box{padding:28px}.repo-layout{gap:64px}.repo-layout>div>p:not(.eyebrow){font-size:16px}.copy-field{background:#0a1423;border-color:#36516b;border-radius:12px}.copy-field input{font-size:15px}.copy-field button{border-radius:8px;font-size:14px;min-height:44px}.repo-title p{font-size:14px}.card-button{border-color:#3d6480;background:#173148;border-radius:12px}.note,.guide-reference,.compatibility-note,.addon-count,.device-family-note{font-size:14px;line-height:1.75;color:#aabbcf}.device-result p,.device-explainer p{font-size:16px;color:#afbed1}.device-result{border-top:1px solid #2b4056;margin-top:22px;padding-top:22px}.device-result h3{font-size:24px}.device-picker label,label[for=device-family]{font-size:14px;letter-spacing:.04em;color:#b9cce0}.device-picker select,.addon-controls select,select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%239ec7dd' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:44px!important}input,select,textarea{font-size:16px}.device-picker select,#device-family,.addon-controls input,.addon-controls select{border-color:#3c5670;background-color:#0c1728;border-radius:10px;min-height:50px}.device-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 22px}.device-tile{white-space:normal;min-height:78px;text-align:left;padding:16px;background:#0d1b2c;border:1px solid #304b63;border-radius:12px;color:#c2d2e4;font-size:14px;line-height:1.4;transition:border-color .2s,background .2s}.device-tile:hover{border-color:#72d7f9}.device-tile[aria-pressed=true]{background:#153c51;border-color:#78dcfa;color:#e6faff}.device-tile strong{display:block;font-size:16px;color:#eef8ff;margin-bottom:4px}.exact-model,.manual-platform,.direct-downloads,.device-explainer{border-color:#2b4056}.device-picker summary,.device-explainer summary{font-size:15px;line-height:1.5;min-height:48px}.addon-card .addon-description,.kodi-guide p{font-size:15px;color:#afbed1}.tag{font-size:12px;letter-spacing:.03em;border-radius:6px}.mini{font-size:14px}.addon-version,.addon-author{font-size:13px}.build-card-body{padding:24px}.build-card h3{line-height:1.3}.start-option:focus-visible,:focus-visible{outline-color:#83e5ff}footer{margin-top:24px;padding-block:32px;gap:24px;border-color:#24374d}footer p,footer a:not(.brand),footer small{font-size:13px;color:#9bafc5}footer .brand{font-size:14px}footer small{font-size:12px}
@keyframes enigma-glow{50%{filter:drop-shadow(0 0 24px #0ba3e51c)}}
@media(min-width:1101px){.nav{width:calc(100% - 64px)}.nav nav a{border-bottom:0}}
@media(max-width:1100px){.nav:not(.detail-nav){width:calc(100% - 40px);min-height:72px;padding:14px 22px;gap:8px}.nav nav a{padding:14px 16px;font-size:15px;min-height:48px}.nav nav a:last-child{display:block}.nav nav[data-open=true]{padding-top:12px}.hero{gap:22px;min-height:550px}.hero h1{font-size:clamp(3rem,6vw,4.2rem)}.hero-meta{font-size:10px}.art{max-width:380px}}
@media(max-width:700px){html{scroll-padding-top:106px}.wrap{width:100%;padding-inline:22px}.nav:not(.detail-nav){top:10px;margin-top:10px;width:calc(100% - 24px);border-radius:16px;padding-inline:16px}.brand{font-size:13px;gap:5px}.brand-icon{width:32px;height:32px;margin-right:2px}.nav .menu-toggle{padding:10px 13px}.hero{position:relative;grid-template-columns:minmax(0,1fr);min-height:0;gap:0;padding-top:42px!important;padding-bottom:28px!important}.hero-copy{position:relative;z-index:1}.hero h1{font-size:clamp(2.8rem,10.3vw,4rem);letter-spacing:-.055em;margin:20px 0}.hero .intro{font-size:16px;line-height:1.75;max-width:100%}.hero .art{display:block;width:200px;max-width:58vw;margin:26px auto 6px;padding-bottom:0;grid-row:2;opacity:.95}.art:after{inset:2%}.art-label{display:none}.hero-meta{font-size:10px;gap:9px;margin-top:24px}.hero .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:26px}.hero .actions .text-link{text-align:center;padding:9px}.button{min-height:52px;font-size:15px}.start-options{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:12px!important;padding-bottom:36px!important}.start-option{padding:20px 22px;border-radius:14px}.start-option h2{font-size:19px;margin:0 0 6px}.start-option p{font-size:15px}.page-heading{padding-top:38px!important;padding-bottom:8px!important}.page-heading h1{font-size:clamp(2.2rem,9vw,3rem);line-height:1.12;overflow-wrap:anywhere}.page-heading .intro{font-size:16px}.eyebrow{font-size:11px}section.wrap{padding-block:30px}.section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:22px}.section-heading>p{max-width:none;margin:0}.section-heading h2{font-size:29px}.device-picker{padding:20px;border-radius:16px}.device-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.device-tile{min-height:80px;padding:13px;font-size:13px}.device-tile strong{font-size:15px}.device-result h3{font-size:22px}.device-result p{font-size:15px}.device-result .button{width:100%;white-space:normal}.download-card,.addon-card,.repo-box{padding:20px;border-radius:14px}.cards,.addon-grid,.build-grid,.preview-download-grid{grid-template-columns:minmax(0,1fr)}.repo-layout{gap:24px}.repo-section{padding-block:34px}.copy-field{flex-wrap:wrap;gap:6px}.copy-field input{flex:1 1 180px}.copy-field button{flex:0 0 auto}.repo-title{gap:12px}.repo-title h3{font-size:18px}.repo-title img{width:48px;height:48px}.support-template fieldset{padding:14px}.support-template label{font-size:14px}.support-send-actions,.report-send-actions{flex-wrap:wrap}.report-send-actions>*{width:100%}.kodi-guide>li{gap:12px}.kodi-guide p{font-size:15px}.guide-url{font-size:14px}.mobile-shortcuts a{font-size:13px;min-height:48px}.build-card-body{padding:20px}.hash-row{align-items:stretch}.hash-row button{min-height:48px}footer{padding-block:28px;gap:18px}footer p{display:block;flex-basis:100%;margin:0}footer a:not(.brand){min-height:44px;display:flex;align-items:center}footer>a:last-of-type{margin-left:0}.detail-main{min-width:0}.detail-main h1{font-size:clamp(2rem,9vw,3rem);overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.art{animation:none}.start-option,.device-tile,.download-card,.addon-card,.build-card,.nav nav a{transition:none}}
.mobile-shortcuts{background:#0c1728f5;border-color:#2b4056;backdrop-filter:blur(16px);padding-bottom:env(safe-area-inset-bottom)}.mobile-shortcuts a{color:#b6cce0}.mobile-shortcuts a:hover,.mobile-shortcuts a:focus-visible{background:#183449;color:#8de4ff}#device-family[hidden],label[for=device-family][hidden]{display:none!important}
/* Keep the original emblem sharp; light belongs to the page background. */
body:before{display:none}
.hero .art{animation:none;filter:none}
.hero .art:before,.hero .art:after{display:none}
.hero .wizard-emblem{filter:none;transform:none;image-rendering:auto}
/* Release notes: one calm reading surface with a compact version history. */
.detail-notes.notes-content{padding:30px;background:#101d2dc9;border:1px solid #263b50;border-radius:20px;box-shadow:none}
.notes-content .notes-source{font-size:13px;line-height:1.7;color:#9fb4ca;margin:0 0 24px;overflow-wrap:anywhere}
.notes-content>label{font-size:12px;letter-spacing:.1em;color:#a6c1d8;margin:0 0 10px}
.notes-content>input[type=search]{display:block;max-width:540px;min-height:50px;padding:14px 17px;background:#0a1422;border:1px solid #354d64;border-radius:12px;color:#eff6ff;font-size:16px}
.notes-content>input[type=search]::placeholder{color:#8ba1b8}
.notes-content .release-count{font-size:13px;line-height:1.6;color:#9fb4ca;margin:12px 0 26px}
.release-history{display:grid;gap:10px;margin:0 0 24px}
.notes-content .release-entry{padding:0 24px;background:#0d1828;border:1px solid #263a50;border-radius:14px;overflow:visible}
.notes-content .release-entry[open]{background:#132236;border-color:#3e617e;box-shadow:none}
.release-entry>summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;list-style:none;min-height:74px;padding:20px 0;cursor:pointer;border:0;color:#e7f3ff}
.release-entry>summary::-webkit-details-marker{display:none}
.release-entry>summary::marker{content:''}
.release-entry>summary:after{content:'';width:8px;height:8px;flex:0 0 8px;border-right:1.5px solid #99b5ce;border-bottom:1.5px solid #99b5ce;transform:rotate(45deg);margin-left:auto;margin-right:3px;align-self:center}
.release-entry[open]>summary:after{transform:rotate(225deg)}
.release-entry[open]>summary{border-bottom:1px solid #2b4158}
.release-entry .release-version{font-size:20px;line-height:1.4;letter-spacing:-.03em;margin:0;color:#ecf7ff;font-weight:600}
.release-entry .release-date{display:inline-block;font-size:14px;line-height:1.5;color:#a4b9cd;margin:0;font-weight:400}
.release-entry .release-current{font-size:12px;line-height:1.5;letter-spacing:.02em;background:#183f40;border:1px solid #326461;color:#a5e7d4;padding:3px 10px;border-radius:20px;margin:0}
.notes-content .release-entry .formatted-changelog{font-size:16px;line-height:1.85;color:#c4d3e3;max-width:80ch;margin:8px 0 18px;white-space:normal}
.formatted-changelog .change-list{display:grid;gap:0;margin:0;padding:0;list-style:none}
.formatted-changelog .change-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start;border:0;border-bottom:1px solid #283e52;background:transparent;border-radius:0;padding:22px 0;overflow-wrap:anywhere}
.formatted-changelog .change-item:last-child{border-bottom:0}
.formatted-changelog .change-item:not(:has(.change-badge)){grid-template-columns:minmax(0,1fr)}
.formatted-changelog .change-badge{display:inline-block;justify-self:start;font-size:11px;line-height:1.6;letter-spacing:.05em;border:0;border-radius:6px;background:#213c50;color:var(--change-color,#b8daef);padding:4px 9px;margin:4px 0 0;font-weight:600;text-transform:uppercase}
.formatted-changelog .change-title{display:block;font-size:16px;line-height:1.6;letter-spacing:0;color:#edf6ff;font-weight:600;margin:0 0 6px}
.formatted-changelog .change-text{white-space:pre-wrap;min-width:0}
.formatted-changelog .change-heading{font-size:17px;line-height:1.6;margin:22px 0 0}
.release-entry .copy-release{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;line-height:1.5;padding:10px 14px;margin:0 0 22px;border-radius:9px;border:1px solid #38556e;background:#102033;color:#b6d8ec}
.release-entry .copy-release:hover{background:#1b354b;border-color:#5488a8}
.release-entry>input{margin-bottom:22px;background:#0a1422;border-color:#3b5871;border-radius:9px;font-size:14px}
.notes-content>.text-link{display:inline-flex;min-height:44px;align-items:center;font-size:13px;color:#9dbdd5}
@media(max-width:600px){
 .detail-notes.notes-content{padding:18px;border-radius:16px}
 .notes-content .notes-source{font-size:12px;margin-bottom:22px}
 .notes-content .release-count{margin-bottom:20px}
 .notes-content .release-entry{padding:0 16px;border-radius:12px}
 .release-entry>summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 10px;min-height:82px;padding:17px 0}
 .release-entry .release-version{grid-column:1;grid-row:1;font-size:19px}
 .release-entry .release-date{grid-column:1;grid-row:2;font-size:13px;margin:0}
 .release-entry .release-current{grid-column:2;grid-row:1/3;font-size:11px;padding:3px 8px}
 .release-entry>summary:after{grid-column:3;grid-row:1/3;margin-left:6px}
 .notes-content .release-entry .formatted-changelog{font-size:15px;line-height:1.85;margin:0 0 8px}
 .formatted-changelog .change-item{grid-template-columns:minmax(0,1fr);gap:10px;padding:20px 0}
 .formatted-changelog .change-badge{margin:0;display:inline-block}
 .formatted-changelog .change-title{font-size:15px;line-height:1.65}
 .release-entry .copy-release{width:auto;max-width:100%;font-size:12px;margin-bottom:18px}
 .release-history{gap:10px;margin-bottom:16px}
}
.release-search-clear{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;padding:8px 12px;border:1px solid #354d64;border-radius:9px;background:#102033;color:#b6d8ec;font-size:13px}.release-search-clear[hidden]{display:none}
@media(max-width:1100px){.nav.detail-nav{width:calc(100% - 40px);padding-inline:22px}.detail-nav>a:not(.brand){font-size:14px;min-height:44px;display:flex;align-items:center}}
@media(max-width:700px){.nav.detail-nav{top:10px;margin-top:10px;width:calc(100% - 24px);padding-inline:16px;gap:12px;border-radius:16px}.detail-nav .brand{font-size:12px}.detail-nav>a:not(.brand){font-size:13px}}
/* Help begins with the visitor's task; guides remain available below. */
.help-start{padding-top:16px;padding-bottom:36px}.help-start>h2{font-size:28px;margin:0 0 10px;letter-spacing:-.04em}.help-start>p{font-size:16px;line-height:1.7;color:#aebfd2;margin:0 0 22px}.help-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.help-task-grid a{display:block;padding:22px 24px;background:#122236;border:1px solid #2d465e;border-radius:14px;min-height:108px;transition:border-color .18s,background .18s}.help-task-grid a:hover{border-color:#6bb7d6;background:#183047}.help-task-grid strong{display:block;font-size:17px;line-height:1.4;color:#edf7ff;margin-bottom:7px;font-weight:600}.help-task-grid span{display:block;font-size:15px;line-height:1.6;color:#aabed2}.help-start .help-prerequisite{font-size:14px;margin:20px 0 14px}.help-prerequisite a,.help-glossary a{color:#90def8;text-decoration:underline;text-underline-offset:3px}.help-glossary{border-top:1px solid #2b4056;padding-top:8px}.help-glossary summary{cursor:pointer;min-height:48px;padding:12px 0;color:#b9d4e8;font-size:14px}.help-glossary dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px 20px;margin:12px 0}.help-glossary dt{font-size:15px;font-weight:600;color:#edf7ff}.help-glossary dd{font-size:15px;line-height:1.7;margin:0;color:#aebfd2}.guide-empty{margin-top:16px;padding:18px 20px;border:1px solid #354f68;border-radius:12px;background:#122236}.guide-empty[hidden]{display:none}.guide-empty p{font-size:15px;line-height:1.7;color:#b7c9dc;margin:0 0 14px}.guide-empty button,.guide-empty a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:9px;font-size:14px;margin-right:12px}.guide-empty a{color:#a4e2f8}.guide-empty button{border:1px solid #3a647f;background:#18374d}
@media(max-width:600px){section.help-start{padding-top:12px;padding-bottom:24px}.help-start>h2{font-size:25px;line-height:1.25}.help-task-grid{grid-template-columns:minmax(0,1fr);gap:10px}.help-task-grid a{min-height:0;padding:18px 20px}.help-task-grid strong{font-size:16px}.help-task-grid span{font-size:14px}.help-start>p{font-size:15px}.help-glossary dl{grid-template-columns:minmax(0,1fr);gap:6px}.help-glossary dd{margin-bottom:12px;font-size:14px}.guide-empty{padding:16px}.guide-empty button,.guide-empty a{width:100%;margin:0 0 8px}}
@media(prefers-reduced-motion:reduce){.help-task-grid a{transition:none}}
/* Give the three report disclosures one consistent closed-row size. */
.support-template :is(.report-device-details,.report-optional,.report-preview){padding:0 16px;margin:16px 0;border:1px solid #35475e;border-radius:10px}
.support-template :is(.report-device-details,.report-optional,.report-preview)>summary{display:flex;align-items:center;gap:9px;box-sizing:border-box;min-height:54px;padding:15px 0;margin:0;font-size:15px;font-weight:600;line-height:24px;color:#c4eeff;cursor:pointer}
.support-template :is(.report-device-details,.report-optional,.report-preview)[open]{padding-bottom:16px}
.support-template :is(.report-device-details,.report-optional,.report-preview)[open]>summary{margin-bottom:0}
@media(max-width:600px){.support-template :is(.report-device-details,.report-optional,.report-preview){padding-inline:12px}.support-template :is(.report-device-details,.report-optional,.report-preview)>summary{min-height:78px}}
.support-template :is(.report-device-details,.report-optional,.report-preview)>summary::-webkit-details-marker{display:none}
.support-template :is(.report-device-details,.report-optional,.report-preview)>summary::before{content:'';flex:0 0 auto;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid currentColor}
.support-template :is(.report-device-details,.report-optional,.report-preview)[open]>summary::before{transform:rotate(90deg)}
