/* ===== MIReel Core Styles (from original) ===== */
:root {
  --gold: #ff9933;
  --gold2: #e67e22;
  --bg: #06060e;
  --bg2: #0c0c1a;
  --bg3: #121228;
  --text: #e4e4ef;
  --dim: #6b6b8d;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.06);
  --green: #00d474;
  --red: #f42a41;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
  touch-action: manipulation;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100vw;
  -webkit-overflow-scrolling: touch;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 420px; margin: 0 auto; padding: 0 16px; }
.bd-divider {
  height: 2px; margin: 4px 0;
  background: linear-gradient(90deg, transparent, rgba(255,153,51,0.3) 20%, rgba(230,126,34,0.2) 50%, rgba(255,153,51,0.3) 80%, transparent);
  position: relative;
}
.bd-divider::after {
  content: "◆"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); background: var(--bg);
  padding: 0 6px; color: rgba(255,153,51,0.4); font-size: 8px;
}

/* Nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: rgba(6,6,14,0.9);
  backdrop-filter: blur(20px); position: sticky; top: 0;
  z-index: 100; border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.nav-logo span { font-weight: 800; font-size: 16px; color: #fff; letter-spacing: -0.5px; }
.nav-logo span b { color: #ff9933; }
.nav-dl {
  background: var(--gold); color: #fff; font-weight: 700;
  font-size: 12px; padding: 6px 14px; border-radius: 8px;
  border: none; cursor: pointer; display: inline-block;
}

/* Hero */
.hero { position: relative; padding: 0; overflow: hidden; background: var(--bg); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(6,6,14,0.4) 40%, var(--bg) 100%),
    linear-gradient(135deg, rgba(255,153,51,0.15) 0%, rgba(230,126,34,0.06) 50%, transparent 80%),
    radial-gradient(ellipse at 50% 0%, rgba(255,153,51,0.2) 0%, transparent 60%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; padding: 36px 20px 30px; text-align: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,212,116,0.1); border: 1px solid rgba(0,212,116,0.25);
  padding: 5px 14px; border-radius: 20px; font-size: 11px;
  font-weight: 600; color: var(--green); margin-bottom: 16px;
}
.hero-chip .dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { font-size: 26px; font-weight: 900; color: #fff; line-height: 1.4; margin-bottom: 10px; }
.hero h1 .gold { color: #ff9933; }
.hero-sub { font-size: 14px; color: var(--dim); margin-bottom: 20px; line-height: 1.6; }
.hero-cta { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #fff; font-weight: 800; font-size: 15px;
  padding: 14px 32px; border-radius: 14px; border: none;
  cursor: pointer; box-shadow: 0 4px 20px rgba(255,153,51,0.3);
  transition: all 0.15s; text-decoration: none;
}
.btn-dl:active { transform: scale(0.96); }
.btn-dl svg { width: 20px; height: 20px; fill: currentColor; }
.hero-info { display: flex; justify-content: center; gap: 20px; margin-top: 18px; }
.hero-info-item { text-align: center; }
.hero-info-item .val { font-size: 18px; font-weight: 800; color: #fff; }
.hero-info-item .lbl { font-size: 10px; color: var(--dim); margin-top: 1px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Cat sections */
.cat-section { padding: 28px 0 8px; }
.cat-header { display: flex; justify-content: space-between; align-items: center; padding: 0 16px; margin-bottom: 14px; }
.cat-header h2 { font-size: 17px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.cat-header h2 .emoji { font-size: 20px; }
.cat-header .see-all {
  font-size: 12px; color: var(--gold); font-weight: 600; cursor: pointer;
  padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); transition: all 0.15s;
}
.cat-header .see-all:active { opacity: 0.6; transform: scale(0.92); }
.cat-sub { padding: 0 16px; font-size: 12px; color: var(--dim); margin: -8px 0 10px; }
.cat-scroll { overflow: hidden; padding: 0 0 12px 16px; }
.scroll-track { display: flex; gap: 12px; will-change: transform; }
.content-card { flex-shrink: 0; width: 140px; cursor: pointer; transition: transform 0.2s; }
.content-card:active { transform: scale(0.95); }
.content-card .thumb { width: 140px; height: 200px; border-radius: 12px; overflow: hidden; position: relative; background: var(--bg3); }
.content-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.content-card .thumb .badge {
  position: absolute; top: 8px; left: 8px; background: var(--red);
  color: #fff; font-size: 9px; font-weight: 700; padding: 2px 7px;
  border-radius: 4px; text-transform: uppercase;
}
.content-card .thumb .badge2 {
  position: absolute; top: 8px; right: 8px; background: var(--green);
  color: #000; font-size: 9px; font-weight: 700; padding: 2px 7px;
  border-radius: 4px; text-transform: uppercase;
}
.content-card .thumb .badge.live { background: var(--red); }
.content-card .thumb .badge.hd { background: var(--gold); color: #fff; }
.content-card .title { font-size: 12px; font-weight: 600; color: #fff; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.content-card .meta { font-size: 10px; color: var(--dim); margin-top: 2px; text-align: start; }
.wide-card { flex-shrink: 0; width: 260px; cursor: pointer; }
.wide-card .thumb { width: 260px; height: 146px; border-radius: 14px; overflow: hidden; position: relative; background: var(--bg3); }
.wide-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.wide-card .thumb .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 12px;
}
.wide-card .thumb .overlay .tag {
  font-size: 9px; font-weight: 700; color: var(--red); text-transform: uppercase;
  margin-bottom: 4px; display: flex; align-items: center; gap: 4px;
}
.wide-card .thumb .overlay .tag .livedot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: blink 1s infinite; }
.wide-card .thumb .overlay h3 { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; text-align: start; }
.wide-card .thumb .overlay p { font-size: 10px; color: rgba(255,255,255,0.6); margin-top: 2px; text-align: start; }

/* Highlights */
.highlights { padding: 28px 16px; }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hl-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 14px; text-align: center; transition: all 0.2s;
}
.hl-card .icon { font-size: 28px; margin-bottom: 8px; }
.hl-card h3 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.hl-card p { font-size: 11px; color: var(--dim); line-height: 1.4; }

/* Compare */
.compare { padding: 28px 16px; }
.compare h2 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 14px; text-align: center; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.compare-table th { background: var(--bg3); padding: 10px; text-align: start; font-weight: 600; color: var(--dim); font-size: 11px; text-transform: uppercase; }
.compare-table th:nth-child(2), .compare-table th:nth-child(3) { text-align: center; }
.compare-table th.dflive-col { color: #ff9933; }
.compare-table td { padding: 10px; border-bottom: 1px solid var(--border); }
.compare-table td:nth-child(2), .compare-table td:nth-child(3) { text-align: center; font-weight: 600; }
.check { color: var(--green); }
.cross { color: var(--red); }

/* CTA Banner */
.cta-banner {
  margin: 28px 16px; background: linear-gradient(135deg, var(--bg3), rgba(255,153,51,0.08));
  border: 1px solid rgba(255,153,51,0.15); border-radius: 18px; padding: 28px 20px; text-align: center;
}
.cta-banner h2 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.cta-banner p { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.cta-banner .stats { display: flex; justify-content: center; gap: 20px; margin-bottom: 18px; }
.cta-banner .stat { text-align: center; }
.cta-banner .stat .v { font-size: 20px; font-weight: 900; color: var(--green); }
.cta-banner .stat .l { font-size: 10px; color: var(--dim); text-transform: uppercase; }

/* Install */
.install-section { padding: 28px 16px; }
.install-section h2 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.step-cards { display: grid; gap: 12px; }
.step-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px; cursor: pointer; text-decoration: none; color: inherit;
}
.step-card .snum {
  width: 32px; height: 32px; background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #fff; font-weight: 900; font-size: 14px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-card .stxt h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.step-card .stxt p { font-size: 12px; color: var(--dim); line-height: 1.5; }

/* App Info */
.app-info { padding: 0 16px 20px; }
.app-info table { width: 100%; border-collapse: collapse; font-size: 12px; background: var(--card); border-radius: 12px; overflow: hidden; }
.app-info td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: start; }
.app-info tr:last-child td { border-bottom: none; }
.app-info td:first-child { color: var(--dim); font-weight: 500; width: 40%; }
.app-info td:last-child { color: #fff; font-weight: 600; }

/* FAQ */
.faq-section { padding: 28px 16px; }
.faq-section h2 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; overflow: hidden; background: var(--card); }
.faq-q {
  font-size: 13px; font-weight: 600; color: #fff; padding: 14px 16px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: "+"; font-size: 18px; color: var(--dim); transition: transform 0.2s, color 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--green); }
.faq-a {
  font-size: 12px; color: var(--dim); max-height: 0; overflow: hidden;
  transition: max-height 0.3s, padding 0.3s; padding: 0 16px; line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 16px 14px; }

/* Footer */
.footer {
  text-align: center; padding: 24px 16px calc(90px + env(safe-area-inset-bottom, 0px));
  font-size: 11px; color: rgba(255,255,255,0.15); border-top: 1px solid var(--border);
}
.footer-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; font-size: 11px; }
.footer-links a { color: rgba(255,255,255,0.25); }

/* Float CTA */
.float-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(6,6,14,0.95); backdrop-filter: blur(16px);
  z-index: 90; border-top: 1px solid rgba(255,153,51,0.12);
}
.float-cta button {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #fff; font-weight: 800; font-size: 15px; padding: 14px;
  border-radius: 12px; border: none; cursor: pointer;
}
.float-cta button svg { width: 18px; height: 18px; fill: currentColor; }
.float-cta .sub { text-align: center; font-size: 10px; color: var(--dim); margin-top: 4px; }

/* ===== dlSheet (download modal) ===== */
.dl-sheet { display: none; position: fixed; inset: 0; z-index: 9999; align-items: flex-end; justify-content: center; }
.dl-sheet.show { display: flex; }
.dl-sheet__mask { position: absolute; inset: 0; background: rgba(0,0,0,0.72); backdrop-filter: blur(6px); }
.dl-sheet__panel {
  position: relative; width: 100%; max-width: 420px;
  background: linear-gradient(180deg, #16162a 0%, #0c0c1a 100%);
  border: 1px solid rgba(255,153,51,0.18); border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0,0,0,0.45);
  animation: dlSheetUp 0.28s ease;
}
@keyframes dlSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.dl-sheet__handle { width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.18); margin: 0 auto 14px; }
.dl-sheet__title { font-size: 17px; font-weight: 800; color: #fff; text-align: center; margin-bottom: 4px; }
.dl-sheet__desc { font-size: 12px; color: var(--dim); text-align: center; margin-bottom: 14px; line-height: 1.5; }
a.dl-opt { text-decoration: none; color: inherit; }
.dl-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 8px;
  cursor: pointer; color: inherit; font: inherit; text-align: left;
  transition: transform 0.12s, background 0.12s;
}
.dl-opt:active { transform: scale(0.98); background: rgba(255,153,51,0.1); }
.dl-opt__icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,0.08); }
.dl-opt__icon img { width: 28px; height: 28px; object-fit: contain; display: block; }
.dl-opt__icon.sys { background: #e8f1ff; }
.dl-opt__icon.chrome, .dl-opt__icon.firefox { background: #fff; }
.dl-opt__icon.samsung { background: transparent; border-color: transparent; }
.dl-opt__icon.samsung img { width: 40px; height: 40px; }
.dl-opt__text { flex: 1; min-width: 0; }
.dl-opt__name { font-size: 14px; font-weight: 700; color: #fff; }
.dl-opt__hint { font-size: 11px; color: var(--dim); margin-top: 1px; }
.dl-opt__arrow { color: rgba(255,255,255,0.25); font-size: 18px; }
.dl-sheet__close {
  width: 100%; margin-top: 6px; background: none;
  border: 1px solid rgba(255,255,255,0.12); color: var(--dim);
  font-size: 13px; font-weight: 600; padding: 12px; border-radius: 12px; cursor: pointer;
}
.dl-step { display: none; }
.dl-step.is-active { display: block; }
.dl-help__status { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; text-align: left; }
.dl-help__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,212,116,0.12); border: 1px solid rgba(0,212,116,0.35); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-help__icon svg { width: 22px; height: 22px; fill: currentColor; animation: dlSpin 1s linear infinite; }
@keyframes dlSpin { to { transform: rotate(360deg); } }
.dl-help__status h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.dl-help__status p { font-size: 12px; color: var(--dim); line-height: 1.45; margin: 0; }
.dl-help__hint { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255,153,51,0.08); border: 1px solid rgba(255,153,51,0.22); color: #f0c090; font-size: 12px; line-height: 1.45; margin-bottom: 14px; text-align: left; }
.dl-help__steps-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.55); margin-bottom: 8px; text-align: left; letter-spacing: 0.02em; }
.dl-help__steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.dl-help__step { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); text-align: left; }
.dl-help__num { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #111; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.dl-help__step strong { display: block; font-size: 13px; color: #fff; margin-bottom: 2px; }
.dl-help__step p { font-size: 11px; color: var(--dim); line-height: 1.45; margin: 0; }
.dl-help__actions { display: flex; flex-direction: column; gap: 8px; }
.dl-help__btn { width: 100%; border: none; border-radius: 12px; padding: 13px; font-size: 14px; font-weight: 800; cursor: pointer; }
.dl-help__btn.primary { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #fff; }
.dl-help__btn.ghost { background: none; border: 1px solid rgba(255,255,255,0.12); color: var(--dim); font-weight: 600; }
body.dl-open { overflow: hidden; }

/* ===== New component styles (from iptv backend) ===== */

/* Promo Panel */
.promo-panel { padding: 20px 16px 28px; }
.promo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.promo-head img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.promo-head h2 { font-size: 18px; font-weight: 800; color: #fff; margin: 0; }
.promo-head p { font-size: 12px; color: var(--dim); margin: 2px 0 0; }
.promo-list { display: grid; gap: 10px; margin-bottom: 18px; }
.promo-item { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.promo-icon { font-size: 24px; flex-shrink: 0; width: 36px; text-align: center; }
.promo-item h3 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 3px; }
.promo-item p { font-size: 11px; color: var(--dim); margin: 0; line-height: 1.45; }
.promo-dl { text-align: center; }

/* Features Strip */
.features-strip { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; font-size: 11px; color: var(--dim); }
.feat-item { display: flex; align-items: center; gap: 4px; }

/* Share Section */
.share-section { padding: 24px 16px; text-align: center; }
.share-section h2 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.share-section > .container > p { font-size: 12px; color: var(--dim); margin-bottom: 14px; }
.share-progress { font-size: 12px; color: var(--dim); margin-bottom: 10px; }
.share-link-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; font-size: 12px; color: var(--dim); }
.share-link-row code { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; font-size: 11px; color: var(--text); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-copy-btn { background: var(--gold); color: #fff; border: none; border-radius: 6px; padding: 6px 12px; font-size: 11px; font-weight: 700; cursor: pointer; }
.share-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.share-btn { border: none; border-radius: 8px; padding: 10px 18px; font-size: 12px; font-weight: 700; cursor: pointer; }
.share-btn.wa { background: #25D366; color: #fff; }
.share-btn.fb { background: #1877F2; color: #fff; }
.share-btn.tg { background: #0088cc; color: #fff; }

/* WebView Overlay */
.wv-overlay, .ig-overlay { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.wv-overlay.show, .ig-overlay.show { display: flex; }
.wv-overlay::before, .ig-overlay::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(6px); }
.wv-panel, .ig-panel { position: relative; width: calc(100% - 40px); max-width: 380px; background: linear-gradient(180deg,#16162a 0%,#0c0c1a 100%); border: 1px solid rgba(255,153,51,0.18); border-radius: 20px; padding: 22px 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.wv-panel-title, .ig-panel-title { font-size: 18px; font-weight: 800; color: #fff; text-align: center; margin-bottom: 6px; }
.wv-panel-sub, .ig-panel-sub { font-size: 12px; color: var(--dim); text-align: center; margin-bottom: 14px; }
.wv-steps, .ig-steps { margin: 0 0 14px; padding: 0 0 0 18px; font-size: 13px; color: var(--text); line-height: 2; }
.wv-actions { display: flex; flex-direction: column; gap: 8px; }
.wv-btn { width: 100%; border: none; border-radius: 12px; padding: 13px; background: linear-gradient(135deg,var(--gold),var(--gold2)); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.wv-btn-ghost { width: 100%; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 11px; background: none; color: var(--dim); font-size: 13px; font-weight: 600; cursor: pointer; }
.ig-steps { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.ig-step { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text); }
.ig-num { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #111; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ig-more { display: block; text-align: center; font-size: 12px; color: var(--gold); margin-bottom: 10px; }
.ig-close-btn { width: 100%; border: none; border-radius: 12px; padding: 13px; background: linear-gradient(135deg,var(--gold),var(--gold2)); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }

/* Maintenance / Access */
.maintenance-mask, .access-block { display: none; position: fixed; inset: 0; z-index: 9998; align-items: center; justify-content: center; background: rgba(6,6,14,0.95); }
.maintenance-mask.show, .access-block.show { display: flex; }
.maintenance-box, .access-box { text-align: center; padding: 30px; }
.maintenance-icon, .access-icon { font-size: 48px; margin-bottom: 16px; }
.maintenance-box h2, .access-box h2 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.maintenance-box p, .access-box p { font-size: 13px; color: var(--dim); }

/* Announce Bar */
.announce { display: block; padding: 8px 16px; text-align: center; background: rgba(255,153,51,0.12); color: #f0c090; font-size: 12px; font-weight: 600; }
.announce[hidden] { display: none; }

/* Busy State */
.download-action.busy { opacity: 0.6; pointer-events: none; }
