:root{--bg:#07090d;--panel:#10151d;--panel2:#131a24;--line:#253041;--text:#f5f7fa;--muted:#9aa6b5;--red:#ef292f;--red2:#ff4438;--yellow:#f5bc00;--cyan:#22d3ee;--green:#23d18b}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:
 radial-gradient(1000px 600px at 85% -8%,rgba(239,41,47,.12),transparent 60%),
 radial-gradient(800px 500px at -10% 20%,rgba(245,188,0,.06),transparent 60%),
 var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif}
a{color:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
header{position:sticky;top:0;z-index:20;background:rgba(7,9,13,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}
.nav{height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:900;font-size:18px}
.brand-mark{width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#ed232b,#8e0e14);display:grid;place-items:center;box-shadow:0 10px 28px rgba(239,41,47,.25)}
.back{text-decoration:none;color:#c8d0da;font-size:13px;padding:10px 14px;border:1px solid var(--line);border-radius:12px}
.hero{padding:54px 0 30px}
.eyebrow{font-size:11px;color:#ffd23f;font-weight:900;letter-spacing:1.5px;margin-bottom:14px}
h1{font-size:clamp(38px,6vw,68px);letter-spacing:-.05em;line-height:.98;margin:0 0 18px;max-width:850px}
.hero p{color:#aeb8c5;font-size:16px;line-height:1.7;max-width:720px;margin:0}
.action-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin:32px 0 26px}
.action{min-height:78px;border-radius:18px;border:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:16px 18px;text-decoration:none;font-weight:900;background:linear-gradient(145deg,#111722,#0d121a);box-shadow:0 16px 45px rgba(0,0,0,.20);transition:.18s}
.action:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.18)}
.action .ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:20px;background:#171e29;object-fit:cover;overflow:hidden}
.action .ico img{width:100%;height:100%;object-fit:contain;border-radius:12px;background:#f58220;padding:3px;box-sizing:border-box}
.action.primary{background:linear-gradient(135deg,#ef292f,#b4141a);border-color:#f44348}
.action.yellow{background:linear-gradient(135deg,#f7c400,#dc9f00);color:#18130a;border-color:#ffd42e}
.search-wrap{display:flex;justify-content:center;margin:18px 0 42px}
.search{width:min(100%,560px);height:50px;border-radius:999px;border:1px solid var(--line);background:#0f151f;color:white;padding:0 20px;font-size:14px;outline:none}
.search:focus{border-color:#465469;box-shadow:0 0 0 4px rgba(255,255,255,.03)}
.section{padding:18px 0 56px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}
.section-head h2{margin:0;font-size:26px;letter-spacing:-.03em}
.section-head p{margin:0;color:var(--muted);font-size:13px}
.notice{padding:14px 16px;border:1px solid rgba(245,188,0,.18);background:rgba(245,188,0,.055);border-radius:14px;color:#d6d0b1;font-size:12px;margin-bottom:22px}

.recommended-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.rec-card{display:flex;gap:16px;padding:20px;border:1px solid rgba(255,212,61,.22);border-radius:22px;background:
 linear-gradient(180deg,rgba(255,212,61,.04),transparent 28%),
 linear-gradient(145deg,#121825,#0d121a);box-shadow:0 20px 55px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04);position:relative;overflow:hidden;min-height:142px}
.rec-card:before{content:'';position:absolute;inset:auto auto 0 0;width:100%;height:3px;background:linear-gradient(90deg,#ffd43d,#ef292f,#0d121a)}
.rec-left img{width:74px;height:74px;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.08);box-shadow:0 12px 24px rgba(0,0,0,.25)}
.rec-tag{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(255,212,61,.12);border:1px solid rgba(255,212,61,.22);color:#ffd43d;font-size:10px;font-weight:900;letter-spacing:.9px}
.rec-right h3{margin:10px 0 6px;font-size:28px;letter-spacing:-.03em;line-height:1}
.compat{color:#d8dee8;font-size:13px;line-height:1.55;margin-bottom:8px}
.rec-code{color:#ffd43d;font-size:12px;font-weight:800}
.rec-code.muted{color:#8793a2;font-weight:700}

.apps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.app-card{border:1px solid var(--line);background:linear-gradient(145deg,#111722,#0d121a);border-radius:18px;padding:16px;min-height:170px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 14px 40px rgba(0,0,0,.18);transition:.18s}
.app-card:hover{transform:translateY(-3px);border-color:#354156}
.app-top{display:flex;gap:14px;align-items:flex-start}
.app-top img{width:60px;height:60px;object-fit:cover;border-radius:14px;border:1px solid rgba(255,255,255,.08);flex:0 0 auto}
.app-copy h3{margin:6px 0 6px;font-size:16px}
.app-copy p{margin:0;color:#98a5b4;font-size:12px;line-height:1.5}
.badge{display:inline-flex;font-size:9px;font-weight:900;letter-spacing:.8px;color:#9ca9b8}
.app-footer{border-top:1px solid rgba(255,255,255,.06);margin-top:14px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.code-muted{font-size:10px;color:#6f7b8a}
.mini-action{font-size:11px;text-decoration:none;background:#1b2330;border:1px solid #2b3646;padding:8px 10px;border-radius:10px;font-weight:900}
.empty{display:none;text-align:center;color:#8390a0;padding:36px 12px}

footer{border-top:1px solid rgba(255,255,255,.06);padding:26px 0 38px;color:#657181;font-size:11px}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:100;display:none;align-items:flex-start;justify-content:center;padding:16px;overflow:hidden}
.dialog{width:min(94vw,760px);max-width:760px;max-height:calc(100dvh - 32px);margin:0 auto;overflow-y:auto;overflow-x:hidden;background:#0f1520;border:1px solid #2a3444;border-radius:20px;box-shadow:0 30px 110px rgba(0,0,0,.65)}
.dialog-head{position:sticky;top:0;background:rgba(15,21,32,.96);backdrop-filter:blur(12px);padding:18px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #252f3d;z-index:2}
.dialog-head h2{font-size:20px;margin:0}
.close{border:0;background:transparent;color:#aab4c2;font-size:26px;cursor:pointer}
.dialog-note{margin:16px 18px 8px;padding:13px 14px;border:1px solid rgba(34,211,238,.3);background:rgba(34,211,238,.06);border-radius:13px;color:#82eaff;font-size:11px;line-height:1.5}
.code-section-title{padding:10px 18px 0;color:#ffd43d;font-size:13px;font-weight:900;letter-spacing:.8px}
.code-section-sub{padding:0 18px;color:#7fc789;font-size:11px;font-weight:700}
.codes{padding:8px 18px 22px}
.code-row{display:flex;gap:13px;padding:13px;border:1px solid #283244;background:#141c29;border-radius:14px;margin:10px 0}
.code-row img{width:50px;height:50px;border-radius:12px;object-fit:contain;background:#0f1522;border:1px solid rgba(255,255,255,.08);padding:2px;box-sizing:border-box}
.code-row .code-logo{width:50px;height:50px;border-radius:12px;display:block;flex:0 0 50px;background:#0f1522 center/contain no-repeat;border:1px solid rgba(255,255,255,.08);padding:2px;box-sizing:border-box}

.code-copy{flex:1;min-width:0}
.code-copy strong{display:block;font-size:13px;margin-bottom:8px}
.code-list{display:flex;gap:7px;flex-wrap:wrap}
.code-btn{display:flex;align-items:center;gap:6px;background:#4b2813;border:1px solid #8b4a1d;color:#ffae55;border-radius:999px;padding:6px 9px;cursor:pointer;font-weight:800;font-size:11px}
.code-btn b{font-size:9px;color:#d88942}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);background:#18212e;color:white;border:1px solid #334155;padding:11px 15px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:200}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

@media(max-width:980px){.action-grid{grid-template-columns:1fr}.apps-grid{grid-template-columns:repeat(2,1fr)}.recommended-grid{grid-template-columns:1fr}}
@media(max-width:620px){.container{width:calc(100% - 22px)}.nav{height:62px}.back{font-size:11px;padding:8px 10px}.hero{padding-top:36px}h1{font-size:40px}.hero p{font-size:14px}.apps-grid{grid-template-columns:1fr}.section-head{display:block}.section-head p{margin-top:6px}.action{min-height:66px}.app-card{min-height:auto}.rec-right h3{font-size:22px}.compat{font-size:12px}}
@media(max-width:620px){.modal{padding:0;align-items:flex-start}.dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}}

/* Ícones do Downloader. */
.action .ico .downloader-final{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  border-radius:10px;
  padding:0;
  background:transparent;
  box-sizing:border-box;
}
.code-logo-final{
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:block;
  object-fit:contain;
  object-position:center;
  border-radius:12px;
  background:#0f1522;
  border:1px solid rgba(255,255,255,.08);
  padding:0;
  box-sizing:border-box;
}

[hidden]{display:none!important}
.empty:not([hidden]){display:block}
.brand-mark img{border-radius:inherit;object-fit:contain;width:100%;height:100%}
:focus-visible{outline:2px solid #ffd43d;outline-offset:3px}
body.downloader-open{overflow:hidden}
dialog.modal{width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;background:transparent;color:inherit}
dialog.modal[open]{display:flex}
dialog.modal::backdrop{background:rgba(0,0,0,.72)}
.dialog{scrollbar-gutter:stable;overscroll-behavior:contain}
.close{min-width:44px;min-height:44px;border-radius:10px}
.clipboard-fallback{position:fixed;left:0;top:0;width:1px;height:1px;opacity:0}
.code-btn span{user-select:text}
@media(max-width:620px){
  .dialog{height:100%;max-height:100%;scrollbar-gutter:auto}
  .dialog-head{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:10px}
  .code-btn{min-height:36px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}
