/* Lux Front website: Frutiger Aero, dark sky (matches the launcher's default "Aero Dark" theme). */
:root {
  --bg-top: #0a2550;
  --bg-mid: #0b1e3f;
  --bg-bottom: #06122a;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-hover: rgba(255, 255, 255, 0.14);
  --stroke: rgba(160, 205, 255, 0.22);
  --stroke-strong: rgba(170, 215, 255, 0.4);
  --text: #eef5ff;
  --text-2: #b7c9e6;
  --text-3: #8aa0c4;
  --accent: #3fa9f5;
  --accent-2: #4fd1ff;
  --accent-deep: #1468c8;
  --success: #3ccf7a;
  --warning: #f5b324;
  --danger: #ef5b61;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px rgba(0, 8, 30, 0.45);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font: 15px/1.55 var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%) fixed;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* ===== Sky decoration ===== */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ray { position: absolute; top: -20%; left: 20%; width: 18%; height: 140%; transform: rotate(28deg);
  background: linear-gradient(180deg, rgba(120, 190, 255, 0.10), transparent 70%); filter: blur(2px); }
.ray.r2 { left: 42%; width: 9%; opacity: .7; }
.ray.r3 { left: 63%; width: 13%; opacity: .5; }
.bubble { position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), rgba(255,255,255,.06) 42%, rgba(120,190,255,.08) 70%, transparent 72%);
  border: 1px solid rgba(190, 225, 255, 0.18); animation: float 18s ease-in-out infinite; }
.b1 { width: 120px; height: 120px; right: 6%; top: 12%; }
.b2 { width: 54px; height: 54px; right: 18%; top: 34%; animation-delay: -6s; }
.b3 { width: 90px; height: 90px; left: 4%; bottom: 14%; animation-delay: -11s; }
.b4 { width: 34px; height: 34px; left: 16%; top: 30%; animation-delay: -3s; }
.swoosh { position: absolute; left: -10%; right: -10%; bottom: -120px; height: 260px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 0%, rgba(60, 220, 190, 0.14), transparent 60%); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } html { scroll-behavior: auto; } }

/* ===== Top bar ===== */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 10px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(30, 90, 170, 0.75), rgba(12, 40, 90, 0.75));
  backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 24px rgba(0,10,40,.35); }
.brand img { display: block; height: 46px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.tabs { display: flex; gap: 4px; margin-right: auto; }
.tabs a { color: var(--text); padding: 8px 14px; border-radius: 8px; border: 1px solid transparent; font-weight: 500; }
.tabs a:hover { text-decoration: none; background: var(--glass-hover); }
.tabs a.active { background: linear-gradient(180deg, rgba(120, 190, 255, .35), rgba(40, 110, 210, .35));
  border-color: var(--stroke-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 11px 20px; border-radius: 9px; font: 600 15px var(--font); color: var(--text);
  border: 1px solid var(--stroke-strong); background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3); transition: transform .12s, filter .12s; }
.btn:hover { text-decoration: none; filter: brightness(1.12); transform: translateY(-1px); }
.btn.accent { color: #fff; border-color: rgba(150, 215, 255, .7);
  background: linear-gradient(180deg, #6cc3ff 0%, #2b8fe8 48%, #1468c8 52%, #2c8de6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 18px rgba(40, 140, 255, .35); }
.btn.big { padding: 16px 30px; font-size: 18px; border-radius: 12px; }
.btn.small { padding: 7px 16px; font-size: 14px; }

/* ===== Layout ===== */
.view { max-width: 1180px; margin: 0 auto; padding: 28px 16px 60px; outline: none; }
.glass { background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--shadow); backdrop-filter: blur(8px); }
.overline { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--accent-2); margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 10px; }
h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; font-style: italic; letter-spacing: -.01em;
  text-shadow: 0 2px 18px rgba(80, 170, 255, .45); }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); font-size: 13px; }
.section { margin-top: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.empty { padding: 30px; text-align: center; color: var(--text-2); }
.error { color: var(--danger); }

/* ===== Hero ===== */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 30px 0 10px; }
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 520px; margin: 8px 0 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .meta { margin-top: 12px; }
.shot { border-radius: 14px; border: 1px solid var(--stroke-strong); box-shadow: 0 30px 60px rgba(0, 10, 40, .6), 0 0 0 6px rgba(255,255,255,.04);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); width: 100%; display: block; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { padding: 20px; }
.feature .icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; margin-bottom: 10px;
  background: radial-gradient(circle at 35% 30%, #9fdcff, #2d8ce6 60%, #134f9c); box-shadow: inset 0 2px 2px rgba(255,255,255,.5), 0 4px 10px rgba(0,40,120,.5); }
.feature p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }

/* ===== App grid ===== */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.search { flex: 1 1 260px; padding: 11px 14px; border-radius: 9px; font: 15px var(--font); color: var(--text);
  background: rgba(0, 10, 30, .35); border: 1px solid var(--stroke); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; font: 500 13px var(--font); color: var(--text-2); cursor: pointer;
  background: var(--glass); border: 1px solid var(--stroke); }
.chip.on { color: #fff; background: linear-gradient(180deg, rgba(110,190,255,.45), rgba(30,110,220,.45)); border-color: var(--stroke-strong); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { display: block; color: inherit; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 22px 44px rgba(0, 10, 40, .55); }
.card .art { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2d8ce6, #4fd1ff); position: relative; display: grid; place-items: center; overflow: hidden; }
.card .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card .art .letter { font: italic 900 54px var(--font-display); color: rgba(255,255,255,.9); }
.card .body { padding: 12px 14px 14px; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.card .icon { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; background: var(--glass-strong); }
.card .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sub { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stars { color: var(--warning); letter-spacing: 1px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent-deep); }
.badge.live { background: var(--danger); }
.badge.feat { position: absolute; top: 8px; left: 8px; background: rgba(10, 40, 90, .8); border: 1px solid var(--stroke-strong); }

/* ===== App page ===== */
.app-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end;
  background: linear-gradient(135deg, #1d6fd0, #3fc6f5); border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.app-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.app-hero .over { position: relative; width: 100%; padding: 26px 30px; display: flex; gap: 18px; align-items: center;
  background: linear-gradient(0deg, rgba(4, 14, 34, .9), rgba(4, 14, 34, 0)); }
.app-hero .icon { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; border: 1px solid var(--stroke-strong); background: var(--glass-strong); }
.app-hero h1 { font-size: 40px; margin: 0; }
.app-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: 20px; align-items: start; }
.panel { padding: 22px; }
.md h1, .md h2, .md h3 { font-style: normal; text-shadow: none; margin-top: 18px; }
.md h1 { font-size: 24px; } .md h2 { font-size: 20px; } .md h3 { font-size: 17px; }
.md p { margin: 0 0 12px; color: var(--text-2); }
.md ul { margin: 0 0 12px; padding-left: 20px; color: var(--text-2); }
.md code { background: rgba(0,0,0,.3); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 6px 0 18px; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--stroke); cursor: zoom-in; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.facts dt { color: var(--text-3); } .facts dd { margin: 0; }
.rating-big { font: 700 40px var(--font-display); }
.bars { display: grid; gap: 4px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 18px 1fr 30px; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); }
.bar span.track { height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar span.fill { display: block; height: 100%; background: linear-gradient(90deg, #ffd25e, #f5a524); }
.review { border-top: 1px solid var(--stroke); padding: 12px 0; }
.review .who { font-weight: 600; } .review p { margin: 4px 0 0; color: var(--text-2); white-space: pre-wrap; }

/* ===== Streaming ===== */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000;
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow); }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--text-2); padding: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(63,169,245,.25), transparent 60%); }
.stream-layout { display: grid; grid-template-columns: 1fr 300px; gap: 18px; }
.list { display: grid; gap: 8px; }
.list button { all: unset; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px;
  border: 1px solid transparent; }
.list button:hover, .list button.on { background: var(--glass-hover); border-color: var(--stroke); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }
.dot.live { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.vods { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.vod { all: unset; cursor: pointer; display: block; overflow: hidden; }
.vod .thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #123e7a, #1f7fd6); display: grid; place-items: center; font-size: 34px; }
.vod .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vod .t { padding: 10px 12px; font-weight: 600; }

/* ===== News ===== */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.post { overflow: hidden; color: inherit; display: block; cursor: pointer; }
.post:hover { text-decoration: none; }
.post .cover { aspect-ratio: 2 / 1; background: linear-gradient(135deg, #1d6fd0, #3fc6f5); position: relative; overflow: hidden; }
.post .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post .body { padding: 16px; }
.post .body p { margin: 6px 0 0; color: var(--text-2); }
.article { max-width: 820px; margin: 0 auto; }
.article .cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; }
.article .cover img { width: 100%; display: block; }

/* ===== Download ===== */
.download { text-align: center; padding: 40px 24px; }
.download .logo { width: 128px; height: 128px; filter: drop-shadow(0 10px 30px rgba(60, 160, 255, .5)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; text-align: left; }
.step { padding: 18px; } .step b { color: var(--accent-2); }
.req { margin-top: 22px; }

/* ===== Footer ===== */
.foot { border-top: 1px solid var(--stroke); background: rgba(3, 10, 26, .5); }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 24px 16px 8px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.foot-inner div { display: grid; margin-right: auto; } .foot-inner span { color: var(--text-3); font-size: 13px; }
.foot-inner nav { display: flex; gap: 16px; }
.fine { max-width: 1180px; margin: 0 auto; padding: 0 16px 22px; color: var(--text-3); font-size: 12px; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(2, 8, 20, .88); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow); }
.lb-close { position: absolute; top: 14px; right: 20px; font-size: 34px; color: #fff; background: none; border: 0; cursor: pointer; }

.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 200% 100%;
  animation: shimmer 1.2s infinite; border-radius: var(--radius-lg); min-height: 220px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ===== Small screens ===== */
@media (max-width: 900px) {
  .hero, .app-layout, .stream-layout { grid-template-columns: 1fr; }
  .shot { transform: none; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .top { flex-wrap: wrap; gap: 8px; }
  .brand img { height: 36px; }
  .tabs { order: 3; width: 100%; overflow-x: auto; }
  .features, .steps { grid-template-columns: 1fr; }
  .app-hero .over { padding: 18px; }
  .app-hero h1 { font-size: 28px; }
}

/* ===== Utilities (no inline styles: the CSP blocks them) ===== */
.grow { flex: 1; min-width: 0; }
.mt { margin-top: 18px; } .mt-l { margin-top: 22px; } .mt-s { margin-top: 8px; }
.btn.wide { width: 100%; }
.stars.big { font-size: 20px; }
.post-title { font-size: 40px; }
.hero.flat { padding: 0; }
.shot.flat { transform: none; }
.award { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.award-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* ===== Motion: page-in, reveal on scroll, tilt, shine ===== */
.view.enter { animation: page-in .45s ease-out both; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.tilt { transition: transform .18s ease-out, box-shadow .18s; transform-style: preserve-3d; position: relative; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.16), transparent 45%); }
.tilt:hover::after { opacity: 1; }
.shine-text { background: linear-gradient(90deg, #fff 0%, #9fe0ff 30%, #fff 50%, #9fe0ff 70%, #fff 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: -250% 0; } }
.btn.pulse { animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 18px rgba(40,140,255,.35); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 34px rgba(80,180,255,.75); } }
.shot-wrap { position: relative; animation: float 9s ease-in-out infinite; }
.shot-glare { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); }
.shot-glare::before { content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); animation: glare 6s ease-in-out infinite; }
@keyframes glare { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.float { animation: float 6s ease-in-out infinite; }
.ray { animation: sway 14s ease-in-out infinite alternate; }
.ray.r2 { animation-duration: 18s; } .ray.r3 { animation-duration: 22s; }
@keyframes sway { from { transform: rotate(26deg); opacity: .8; } to { transform: rotate(31deg); opacity: 1; } }
.bubble { pointer-events: auto; cursor: pointer; transition: translate .6s ease-out; }
.sky { z-index: 0; } .top, .view, .foot { position: relative; z-index: 1; } .top { z-index: 20; }
.bubble.pop { animation: pop .35s ease-out forwards, respawn 2.2s .4s ease-out forwards; }
@keyframes pop { to { transform: scale(1.6); opacity: 0; } }
@keyframes respawn { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.stat { padding: 18px; text-align: center; }
.stat b { display: block; font: 800 italic 38px var(--font-display); color: #fff; text-shadow: 0 2px 16px rgba(80,170,255,.5); }
.stat span { color: var(--text-2); font-size: 14px; }

/* ===== Carousel ===== */
.carousel { position: relative; height: 360px; overflow: hidden; padding: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease, transform 6s ease-out; transform: scale(1.04); color: inherit; }
.slide:hover { text-decoration: none; }
.slide.on { opacity: 1; transform: scale(1); z-index: 1; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.slide-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px 40px; display: flex; gap: 16px; align-items: center;
  background: linear-gradient(0deg, rgba(4, 14, 34, .92), rgba(4, 14, 34, 0)); }
.slide-text .icon { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; border: 1px solid var(--stroke-strong); }
.slide-text div { flex: 1; min-width: 0; } .slide-text h2 { margin: 0; } .slide-text p { margin: 2px 0 0; color: var(--text-2); }
.carousel .nav { position: absolute; top: 50%; z-index: 3; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  font-size: 26px; line-height: 1; color: #fff; border: 1px solid var(--stroke-strong); background: rgba(10, 40, 90, .55); backdrop-filter: blur(6px); }
.carousel .prev { left: 14px; } .carousel .next { right: 14px; }
.carousel .dots { position: absolute; z-index: 3; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.carousel .dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.carousel .dots button.on { width: 24px; border-radius: 6px; background: var(--accent-2); }

/* ===== Live strip & CTA band ===== */
.live-strip { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin-bottom: 8px; color: var(--text); border-color: rgba(239, 91, 97, .5); }
.live-strip:hover { text-decoration: none; background: var(--glass-hover); }
.dot.live { animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.cta-band { display: flex; align-items: center; gap: 22px; padding: 26px 30px; }
.cta-band div { flex: 1; } .cta-band h2 { margin: 0; } .cta-band p { margin: 4px 0 0; }

/* ===== Profiles ===== */
.who { font-weight: 600; color: var(--text); }
.profile { overflow: hidden; padding: 0; }
.profile .banner { height: 190px; background: linear-gradient(135deg, #1d6fd0, #3fc6f5); position: relative; }
.profile .banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who-row { display: flex; gap: 18px; align-items: flex-end; padding: 0 26px; margin-top: -48px; position: relative; }
.avatar { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 4px solid var(--bg-mid); flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #9fdcff, #2d8ce6 60%, #134f9c); font: 800 44px var(--font-display); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.presence { position: absolute; right: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--bg-mid); background: var(--text-3); }
.presence.online { background: var(--success); } .presence.away { background: var(--warning); } .presence.dnd { background: var(--danger); }
.profile-name { font-size: 32px; margin: 0; }
.bio { padding: 6px 26px 22px; color: var(--text-2); white-space: pre-wrap; margin: 10px 0 0; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 8px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--c, #3fa9f5) 60%, transparent); background: color-mix(in srgb, var(--c, #3fa9f5) 18%, transparent); }
.badge-chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c, #3fa9f5); box-shadow: 0 0 8px var(--c, #3fa9f5); }
.played { margin: 10px 0; } .played .row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.played .track { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.played .fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1s cubic-bezier(.2,.8,.2,1); }

@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .profile-grid { grid-template-columns: 1fr; } .carousel { height: 280px; } }
@media (max-width: 620px) { .cta-band { flex-direction: column; text-align: center; } .slide-text .icon { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .view.enter, .shine-text, .btn.pulse, .shot-wrap, .shot-glare::before, .float, .ray, .dot.live { animation: none; }
  .shine-text { color: #fff; }
}
.stats[data-n="1"] { grid-template-columns: 1fr; } .stats[data-n="2"] { grid-template-columns: 1fr 1fr; } .stats[data-n="3"] { grid-template-columns: repeat(3, 1fr); }

/* ===== App image options (DevHub → How images look) ===== */
[data-art] { position: relative; overflow: hidden; display: block; }
[data-art] > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.art-glass { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); }
.art-none { background: transparent !important; }
.art-blur { filter: blur(22px) saturate(1.2); transform: scale(1.25); opacity: .85; object-fit: cover !important; }
.card .icon[data-art], .slide-text .icon[data-art], .app-hero .icon[data-art] { position: relative; overflow: hidden; display: inline-block; flex: none; }
.slide-art, .hero-art { position: absolute; inset: 0; }
.shot-art { aspect-ratio: 16 / 9; border-radius: 10px; border: 1px solid var(--stroke); cursor: zoom-in; }
.shots img { border: 0; aspect-ratio: auto; }
.announce { margin-bottom: 8px; border-color: var(--stroke-strong); }
.announce .dot { background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }

/* ---------- developers (organizations) ---------- */
.org-card { --org: var(--accent); }
.org-card .art { aspect-ratio: 16 / 6; background: linear-gradient(135deg, color-mix(in srgb, var(--org) 55%, #0b1e3f), #0b1e3f); }
.org-card .art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--org); }
.org-card .body { position: relative; align-items: start; }
.org-card .body .logo { margin-top: -34px; }
.logo { width: 60px; height: 60px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, #6fc3ff, #1468c8); border: 1px solid var(--stroke-strong); box-shadow: 0 8px 20px rgba(0, 10, 40, .45); }
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo b { font: 700 26px var(--font-display); color: #fff; }
.logo.big { width: 96px; height: 96px; border-radius: 20px; }
.logo.big b { font-size: 42px; }
.accent-text { color: var(--accent-2); }
.org-hero { --org: var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--org) 50%, #0b1e3f), #0b1e3f); }
.org-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--org); }
.org-hero .overline { margin: 0 0 2px; }
.app-hero .by { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.app-hero .by a { color: #fff; font-weight: 600; text-decoration: underline; }
.about { white-space: pre-wrap; color: var(--text-2); }
.team { display: grid; gap: 12px; }
.member { display: flex; gap: 12px; align-items: center; color: inherit; padding: 6px; border-radius: 10px; }
.member:hover { background: var(--glass-hover); text-decoration: none; }
.avatar.small { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, #6fc3ff, #1468c8); font-weight: 700; color: #fff; }
.avatar.small img { width: 100%; height: 100%; object-fit: cover; }
.grid.orgs { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 620px) { .logo.big { width: 64px; height: 64px; } .org-hero .btn { display: none; } }

/* ---------- status ---------- */
.status-hero { display: flex; gap: 18px; align-items: center; padding: 22px 24px; margin-top: 10px; }
.status-hero h3 { margin: 0 0 4px; font-size: 24px; }
.status-hero p { margin: 2px 0 0; }
.dot.big { width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--text-3); box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.status-hero.ok .dot.big { background: var(--success); } .status-hero.warn .dot.big { background: var(--warning); }
.status-hero.bad .dot.big { background: var(--danger); } .status-hero.maint .dot.big { background: var(--accent-2); }
.services { display: grid; gap: 10px; }
.service { display: flex; gap: 16px; align-items: center; padding: 14px 18px; }
.service .msg { margin: 6px 0 0; color: var(--text-2); }
.service .right { text-align: right; display: grid; gap: 2px; justify-items: end; }
.service .state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.service .state .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); display: inline-block; }
.service.ok .state { color: var(--success); } .service.ok .state .dot { background: var(--success); }
.service.warn .state { color: var(--warning); } .service.warn .state .dot { background: var(--warning); }
.service.bad .state { color: var(--danger); } .service.bad .state .dot { background: var(--danger); }
.service.maint .state { color: var(--accent-2); } .service.maint .state .dot { background: var(--accent-2); }
.note { padding: 14px 18px; margin: 10px 0; border-left: 4px solid var(--text-3); }
.note.ok { border-left-color: var(--success); } .note.warn { border-left-color: var(--warning); }
.note.bad { border-left-color: var(--danger); } .note.maint { border-left-color: var(--accent-2); }
.note h3 { margin: 4px 0; font-size: 17px; } .note p { margin: 4px 0 0; color: var(--text-2); white-space: pre-wrap; }
.note-head { display: flex; gap: 10px; align-items: baseline; }
.tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tag.ok { color: var(--success); } .tag.warn { color: var(--warning); } .tag.bad { color: var(--danger); } .tag.maint { color: var(--accent-2); }
.status-alert.bad .dot { background: var(--danger); } .status-alert.maint .dot { background: var(--accent-2); }
@media (max-width: 620px) { .service { flex-direction: column; align-items: flex-start; } .service .right { justify-items: start; text-align: left; } }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 10px auto 0; line-height: 1.65; }
.legal h1 { font-size: 34px; margin: 0 0 6px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; }
.fine a { color: var(--text-3); }

/* ---------- videos ---------- */
.video-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.video-search input { width: min(360px, 100%); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--stroke); background: var(--glass-strong);
  color: var(--text); font: 15px var(--font); }
.video-card .art { position: relative; }
.video-card .duration { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 4px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; }
.video-card .body { align-items: start; }
.video-card .name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.letter-icon { display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2d8ce6, #4fd1ff); border-radius: 50%; }
.video-card .icon, .comment .icon, .channel-chip .icon { border-radius: 50%; width: 36px; height: 36px; flex: none; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
.watch-layout aside .grid, .up-next { display: grid; gap: 12px; }
.watch-title { margin: 14px 0 8px; }
.watch-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.description { line-height: 1.6; }
.channel-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.channel-chip { display: flex; gap: 10px; align-items: center; padding: 10px 14px; color: inherit; }
.channel-chip.plain { padding: 0; }
.channel-chip:hover { text-decoration: none; }
.comment { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 14px 0; }
.replies { margin-left: 48px; }
.channel-banner { height: 180px; border-radius: var(--radius-lg); background-size: cover; background-position: center; margin-bottom: 16px; }
.channel-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.channel-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; font-size: 34px; flex: none; }
@media (max-width: 900px) { .watch-layout { grid-template-columns: 1fr; } }
