:root {
  --bg: #050505;
  --card: #0e0d0b;
  --card-2: #16140f;
  --line: rgba(212, 175, 55, .16);
  --text: #f7f3e8;
  --muted: #9a9281;
  --gold: #e9c46a;
  --gold-deep: #b8892b;
  --gold-light: #f6e3a1;
  --gold-grad: linear-gradient(180deg, #f6e3a1, #e9c46a 50%, #b8892b);
  --silver: #d4d4d8;
  --bronze: #e0a36b;
  --green: #4ade80;
  --red: #f87171;
  --radius: 26px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%; overflow: hidden;
  background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

/* Fixed 1920x1080 canvas, scaled to fit any screen */
#stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px; overflow: hidden;
  transform-origin: center center;
  background:
    radial-gradient(1100px 700px at 0% 0%, rgba(212, 175, 55, .12), transparent 60%),
    radial-gradient(900px 700px at 100% 100%, rgba(212, 175, 55, .07), transparent 60%),
    var(--bg);
}

/* ---------- Header ---------- */
.top {
  position: absolute; inset: 0 0 auto; height: 120px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; padding: 0 72px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent);
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 20px; }
.brand img { height: 64px; max-width: 220px; object-fit: contain; }
.company {
  font-family: Sora, Inter, sans-serif; font-weight: 800; font-size: 46px; letter-spacing: .12em; line-height: 1; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { color: var(--muted); font-size: 17px; letter-spacing: .32em; text-transform: uppercase; margin-top: 8px; }
.clock { text-align: right; }
.time { font-family: Sora, Inter, sans-serif; font-size: 48px; font-weight: 700; line-height: 1; }
.date { color: var(--muted); font-size: 19px; margin-top: 6px; }

/* ---------- Slides ---------- */
#slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; padding: 150px 72px 110px;
  display: flex; flex-direction: column;
  opacity: 0; transform: scale(1.02); transition: opacity 1s ease, transform 1.2s ease;
}
.slide.active { opacity: 1; transform: none; }
.slide.leaving { opacity: 0; transform: scale(.985); }

.s-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.s-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.badge {
  display: inline-block; font-size: 17px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 99px; color: #0a0805; background: var(--gold-grad);
}
.badge.outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.s-month { color: var(--gold-light); font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.s-title { font-family: Sora, Inter, sans-serif; font-size: 64px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.s-sub { color: var(--muted); font-size: 24px; text-align: right; }
.s-sub b { color: var(--gold); font-weight: 700; }
.gold { color: var(--gold); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-top-color: rgba(212, 175, 55, .35);
  border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.bar { height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light)); width: 0; transition: width 1.6s cubic-bezier(.2, .8, .2, 1) .3s; }
.empty-state { flex: 1; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 34px; }
.empty-state b { display: block; color: var(--gold); font-family: Sora, Inter, sans-serif; font-size: 52px; margin-bottom: 12px; }

/* ---------- Avatars ---------- */
.avatar {
  border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center;
  font-family: Sora, Inter, sans-serif; font-weight: 700; color: var(--gold);
  background: linear-gradient(145deg, #2b2416, #110f0a); border: 2px solid rgba(212, 175, 55, .5);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Overview ---------- */
.ov { flex: 1; display: grid; gap: 36px; }
.ov.two { grid-template-columns: 1fr 1fr; }
.ov-col { padding: 40px 48px; display: flex; flex-direction: column; gap: 26px; }
.ov-col.this { border-color: rgba(212, 175, 55, .5); box-shadow: 0 0 0 1px rgba(212, 175, 55, .25), 0 24px 60px rgba(0, 0, 0, .45); }
.ov-head { display: flex; align-items: center; justify-content: space-between; }
.ov-head .s-month { font-size: 26px; }
.ov-total { font-family: Sora, Inter, sans-serif; font-size: 104px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.ov-total-label { color: var(--muted); font-size: 22px; margin-top: 8px; }
.ov-delta { font-size: 22px; font-weight: 700; margin-top: 10px; }
.ov-delta.up { color: var(--green); } .ov-delta.down { color: var(--red); }
.ov-target { display: grid; gap: 10px; }
.ov-target .row { display: flex; justify-content: space-between; color: var(--muted); font-size: 20px; }
.ov-target .row b { color: var(--gold); }
.ov-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ov-stats div { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.ov-stats b { display: block; font-family: Sora, Inter, sans-serif; font-size: 40px; font-weight: 700; }
.ov-stats span { color: var(--muted); font-size: 18px; }
.ov-stars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; }
.star { display: flex; align-items: center; gap: 18px; background: rgba(212, 175, 55, .06); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.star .avatar { width: 76px; height: 76px; font-size: 26px; }
.star .lbl { color: var(--gold); font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.star .nm { font-size: 26px; font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.star .vl { color: var(--muted); font-size: 18px; }
.star > div:last-child { min-width: 0; }
.team-icon { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; font-family: Sora, Inter, sans-serif; font-weight: 800; font-size: 28px; color: #0a0805; background: var(--gold-grad); flex: none; overflow: hidden; }
.team-icon img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Leaderboard ---------- */
.lb { flex: 1; display: grid; grid-template-columns: 1060px 1fr; gap: 40px; min-height: 0; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 22px; align-items: end; }
.pod { position: relative; text-align: center; padding: 34px 20px 30px; }
.pod .avatar { margin: 0 auto 20px; width: 180px; height: 180px; font-size: 60px; border: none; box-shadow: 0 0 0 6px var(--ring), 0 16px 40px rgba(0, 0, 0, .5); }
.pod.first { padding-top: 70px; background: linear-gradient(180deg, rgba(212, 175, 55, .18), rgba(212, 175, 55, .02)); border-color: rgba(212, 175, 55, .55); }
.pod.first .avatar { width: 240px; height: 240px; font-size: 80px; }
.pod .medal { position: absolute; top: 18px; left: 20px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 24px; color: #111; background: var(--ring); }
.pod .crown { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-size: 48px; line-height: 1; }
.pod .name { font-size: 32px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod .team { color: var(--muted); font-size: 19px; margin-top: 4px; }
.pod .value { font-family: Sora, Inter, sans-serif; font-size: 50px; font-weight: 800; margin-top: 16px; letter-spacing: -.02em; }
.pod.first .value { font-size: 62px; }
.pod .sub { color: var(--muted); font-size: 21px; margin-top: 4px; }
.pod .sub b { color: var(--text); }
.lb-list { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; justify-content: center; }
.lb-row { display: grid; grid-template-columns: 50px 72px 1fr auto; align-items: center; gap: 20px; padding: 14px 24px; border-radius: 20px; }
.lb-row .rank { font-family: Sora, Inter, sans-serif; font-size: 28px; font-weight: 700; color: var(--muted); text-align: center; }
.lb-row .avatar { width: 68px; height: 68px; font-size: 24px; }
.lb-row .nm { font-size: 28px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .tm { color: var(--muted); font-size: 18px; }
.lb-row .vl { text-align: right; font-family: Sora, Inter, sans-serif; font-size: 32px; font-weight: 700; }
.lb-row .vl small { display: block; font-family: Inter, sans-serif; font-size: 17px; color: var(--muted); font-weight: 500; }

/* ---------- Deal of the month ---------- */
.dom-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(3px) brightness(.28) saturate(.8); transform: scale(1.06); }
.dom-bg + .dom-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35)); }
.slide.dom > *:not(.dom-bg):not(.dom-shade) { position: relative; }
.dom-body { flex: 1; display: grid; grid-template-columns: 520px 1fr; gap: 80px; align-items: center; }
.dom-photo { text-align: center; }
.dom-photo .avatar { width: 440px; height: 440px; font-size: 140px; margin: 0 auto; border: none; box-shadow: 0 0 0 10px var(--gold), 0 0 120px rgba(212, 175, 55, .45); }
.dom-photo .nm { font-family: Sora, Inter, sans-serif; font-size: 44px; font-weight: 700; margin-top: 36px; }
.dom-photo .tm { color: var(--gold-light); font-size: 22px; margin-top: 6px; }
.dom-value { font-family: Sora, Inter, sans-serif; font-size: 150px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.dom-project { font-family: Sora, Inter, sans-serif; font-size: 62px; font-weight: 700; margin-top: 28px; line-height: 1.1; }
.dom-dev { font-size: 30px; color: var(--gold-light); margin-top: 10px; }
.dom-facts { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.fact { background: rgba(0, 0, 0, .45); border: 1px solid var(--line); border-radius: 16px; padding: 14px 22px; font-size: 24px; }
.fact span { display: block; color: var(--muted); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Closed deals grid ---------- */
.deals-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 26px; min-height: 0; }
.deal { padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; min-height: 0; opacity: 0; transform: translateY(20px); animation: rise .7s ease forwards; }
.deal-agent { display: flex; align-items: center; gap: 16px; }
.deal-agent .avatar { width: 66px; height: 66px; font-size: 23px; }
.deal-agent .nm { font-size: 24px; font-weight: 700; }
.deal-agent .tm { color: var(--muted); font-size: 17px; }
.deal-value { font-family: Sora, Inter, sans-serif; font-size: 50px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.deal-project { font-size: 26px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-unit { color: var(--muted); font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--muted); font-size: 18px; }
.type { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; background: rgba(212, 175, 55, .14); color: var(--gold); }
.type.t-ready { background: rgba(74, 222, 128, .12); color: var(--green); }
.type.t-secondary { background: rgba(246, 227, 161, .1); color: var(--gold-light); }
.type.t-rental { background: rgba(255, 255, 255, .08); color: #d4d4d8; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Teams ---------- */
.teams-grid { flex: 1; display: grid; gap: 30px; min-height: 0; }
.team-card { position: relative; padding: 40px 36px 34px; display: flex; flex-direction: column; gap: 16px; }
.team-card.first { background: linear-gradient(180deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .02)); border-color: rgba(212, 175, 55, .6); }
.team-card .rank { position: absolute; top: 24px; right: 28px; font-family: Sora, Inter, sans-serif; font-size: 60px; font-weight: 800; color: rgba(212, 175, 55, .22); line-height: 1; }
.team-card.first .rank { color: var(--gold); }
.team-card .team-icon { width: 96px; height: 96px; font-size: 36px; border-radius: 24px; }
.team-card .tname { font-family: Sora, Inter, sans-serif; font-size: 40px; font-weight: 700; }
.team-card .lead { color: var(--muted); font-size: 20px; margin-top: -8px; }
.team-card .tvalue { font-family: Sora, Inter, sans-serif; font-size: 60px; font-weight: 800; letter-spacing: -.02em; margin-top: auto; }
.team-card .tdeals { color: var(--muted); font-size: 21px; }
.team-card .tdeals b { color: var(--text); }
.stack { display: flex; }
.stack .avatar { width: 56px; height: 56px; font-size: 19px; margin-left: -12px; box-shadow: 0 0 0 3px var(--card-2); }
.stack .avatar:first-child { margin-left: 0; }
.team-card .mvp { display: flex; align-items: center; gap: 12px; font-size: 19px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.team-card .mvp b { color: var(--gold-light); }
.team-card .mvp .avatar { width: 40px; height: 40px; font-size: 14px; }

/* ---------- Meetings ---------- */
.meet { flex: 1; display: grid; grid-template-columns: 1fr 520px; grid-template-rows: minmax(0, 1fr); gap: 40px; min-height: 0; }
.meet-teams { display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.mt { padding: 20px 30px; display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; align-items: center; flex: 1 1 0; min-height: 0; max-height: 230px; }
.mt .tname { font-family: Sora, Inter, sans-serif; font-size: 34px; font-weight: 700; display: flex; align-items: center; gap: 16px; }
.mt .tname .team-icon { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
.mt .count { font-family: Sora, Inter, sans-serif; font-size: 56px; font-weight: 800; text-align: right; line-height: 1; }
.mt .count small { font-size: 26px; color: var(--muted); font-weight: 600; }
.mt .bar { grid-column: 1 / -1; height: 16px; }
.mt .chips { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; overflow: hidden; max-height: 52px; }
.chip { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 99px; padding: 5px 16px 5px 5px; font-size: 18px; }
.chip .avatar { width: 40px; height: 40px; font-size: 14px; border-width: 1px; }
.chip b { color: var(--gold); }
.chip.hit { border-color: rgba(212, 175, 55, .6); }
.meet-star { padding: 30px 36px; min-height: 0; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.meet-star .lbl { color: var(--gold); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 19px; }
.meet-star .avatar { width: 190px; height: 190px; font-size: 64px; border: none; box-shadow: 0 0 0 7px var(--gold), 0 0 80px rgba(212, 175, 55, .35); margin: 12px 0; }
.meet-star .nm { font-family: Sora, Inter, sans-serif; font-size: 40px; font-weight: 700; }
.meet-star .big { font-family: Sora, Inter, sans-serif; font-size: 80px; font-weight: 800; line-height: 1; }
.meet-star .muted { color: var(--muted); font-size: 22px; }
.meet-star .total { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px; width: 100%; color: var(--muted); font-size: 22px; }
.meet-star .total b { color: var(--text); font-size: 34px; font-family: Sora, Inter, sans-serif; }

/* ---------- Developer project ---------- */
.slide.project { padding: 0; }
.pj-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide.project.active .pj-img { animation: kenburns 18s ease-out both; }
.pj-img.none {
  background:
    radial-gradient(900px 600px at 75% 40%, rgba(233, 196, 106, .28), transparent 60%),
    repeating-linear-gradient(90deg, rgba(212, 175, 55, .06) 0 2px, transparent 2px 120px),
    linear-gradient(135deg, #1d180e, #050505);
}
.pj-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .75) 42%, rgba(0, 0, 0, .1) 75%), linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 30%); }
.pj-body { position: relative; padding: 170px 72px 120px; width: 1060px; height: 100%; display: flex; flex-direction: column; }
.pj-top { display: flex; align-items: center; gap: 18px; }
.pj-dev { display: flex; align-items: center; gap: 18px; margin-top: 30px; color: var(--gold-light); font-size: 28px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pj-dev img { height: 56px; max-width: 200px; object-fit: contain; }
.pj-name { font-family: Sora, Inter, sans-serif; font-size: 96px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 14px; }
.pj-loc { font-size: 30px; color: var(--text); margin-top: 18px; opacity: .9; }
.pj-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pj-facts .fact { font-size: 30px; font-weight: 700; padding: 18px 26px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.pj-facts .fact.price { color: var(--gold); }
.pj-hl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; margin-top: 34px; font-size: 24px; }
.pj-hl li { display: flex; gap: 12px; align-items: baseline; }
.pj-hl li::before { content: '◆'; color: var(--gold); font-size: 16px; }
.pj-sold { position: absolute; right: 72px; bottom: 120px; text-align: right; padding: 26px 34px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }
.pj-sold b { display: block; font-family: Sora, Inter, sans-serif; font-size: 64px; font-weight: 800; line-height: 1; }
.pj-sold span { color: var(--gold-light); font-size: 20px; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Quote ---------- */
.quote-wrap { flex: 1; display: grid; place-items: center; text-align: center; padding: 0 140px; }
.quote-mark { font-family: Sora, Inter, sans-serif; font-size: 220px; line-height: .6; height: 110px; }
.quote-text { font-family: Sora, Inter, sans-serif; font-size: 68px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.quote-author { color: var(--gold); font-size: 30px; margin-top: 36px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Progress + ticker ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: 70px; height: 4px; background: rgba(255, 255, 255, .06); z-index: 5; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; z-index: 5; display: flex; align-items: center; background: rgba(0, 0, 0, .85); border-top: 1px solid var(--line); }
.ticker-tag { height: 100%; display: grid; place-items: center; padding: 0 34px; background: var(--gold-grad); color: #0a0805; font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .12em; }
.ticker-window { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.ticker-track { display: inline-flex; white-space: nowrap; font-size: 23px; will-change: transform; animation: scroll linear infinite; }
.ticker-track span { padding: 0 46px; position: relative; }
.ticker-track span::after { content: '◆'; position: absolute; right: -8px; color: var(--gold); font-size: 12px; top: 50%; transform: translateY(-50%); }
.ticker-track b { color: var(--gold); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Celebration ---------- */
#celebrate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0, 0, 0, .88); backdrop-filter: blur(6px); animation: fadeIn .6s ease; }
#celebrate[hidden] { display: none; }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; }
.celebrate-card { position: relative; text-align: center; animation: pop .8s cubic-bezier(.2, 1.4, .4, 1); }
.celebrate-kicker { font-family: Sora, Inter, sans-serif; font-size: clamp(28px, 4vw, 72px); font-weight: 800; color: var(--gold); margin-bottom: 3vh; }
.celebrate-photo .avatar { width: clamp(140px, 18vw, 320px); height: clamp(140px, 18vw, 320px); margin: 0 auto; font-size: clamp(48px, 6vw, 110px); border: none; box-shadow: 0 0 0 10px var(--gold), 0 0 80px rgba(212, 175, 55, .5); }
.celebrate-name { font-family: Sora, Inter, sans-serif; font-size: clamp(32px, 5vw, 90px); font-weight: 800; margin-top: 3vh; }
.celebrate-detail { font-size: clamp(20px, 2.4vw, 46px); color: var(--gold-light); margin-top: 1vh; }
.celebrate-detail b { color: var(--gold); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

.admin-link {
  position: fixed; right: 14px; top: 14px; z-index: 60;
  color: var(--muted); font-size: 13px; text-decoration: none;
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .3s;
}
body:hover .admin-link { opacity: .85; }
body.cursor-hidden, body.cursor-hidden * { cursor: none; }
body.cursor-hidden .admin-link { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 0s !important; }
  .slide, .fill { transition: none; }
  .deal { animation: none; opacity: 1; transform: none; }
  .slide.project.active .pj-img { animation: none; }
}

/* =====================================================================
   Liquid glass
   Soft gold light drifts behind everything; cards are frosted glass that
   blur and brighten it, with a specular edge and a light sweep on entry.
   Turn off in Admin → Settings on low-powered TV sticks.
   ===================================================================== */
.ambient { position: absolute; inset: 0; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; will-change: transform; animation: drift 38s ease-in-out infinite alternate; }
.ambient i:nth-child(1) { width: 1100px; height: 1100px; left: -250px; top: -350px; background: radial-gradient(circle, rgba(233, 196, 106, .42), transparent 65%); }
.ambient i:nth-child(2) { width: 900px; height: 900px; right: -200px; bottom: -300px; background: radial-gradient(circle, rgba(184, 137, 43, .45), transparent 65%); animation-duration: 46s; animation-direction: alternate-reverse; }
.ambient i:nth-child(3) { width: 700px; height: 700px; left: 45%; top: 20%; background: radial-gradient(circle, rgba(246, 227, 161, .22), transparent 65%); animation-duration: 52s; }
.ambient i:nth-child(4) { width: 500px; height: 500px; left: 20%; bottom: -150px; background: radial-gradient(circle, rgba(212, 175, 55, .3), transparent 65%); animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(180px, 120px) scale(1.15); }
  100% { transform: translate(-120px, 200px) scale(.95); }
}

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035) 45%, rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    inset 0 0 40px rgba(255, 255, 255, .03),
    0 30px 70px rgba(0, 0, 0, .5);
}
.card:not(.pj-sold) { position: relative; }
/* Glossy sheen + light sweep */
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 45%, transparent 60%) no-repeat,
              linear-gradient(160deg, rgba(255, 255, 255, .12), transparent 35%);
  background-size: 250% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  mix-blend-mode: screen;
}
.slide.active .card::before { animation: sweep 2.4s cubic-bezier(.3, .6, .3, 1) .4s both; }
@keyframes sweep { from { background-position: 120% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
/* Refracted gold rim */
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(246, 227, 161, .75), rgba(255, 255, 255, .1) 28%, rgba(255, 255, 255, .02) 60%, rgba(233, 196, 106, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.pod.first, .team-card.first { background: linear-gradient(160deg, rgba(233, 196, 106, .28), rgba(233, 196, 106, .06) 50%, rgba(255, 255, 255, .03)); }
.ov-col.this { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(233, 196, 106, .3), 0 30px 70px rgba(0, 0, 0, .5); }

/* Inner glass pieces: translucent without extra blur (cheaper to draw) */
.ov-stats div, .star, .chip, .fact {
  background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.pj-facts .fact, .dom-facts .fact {
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 30px rgba(0, 0, 0, .35);
}
.badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px rgba(212, 175, 55, .25); }
.badge.outline {
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.bar { background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.fill { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 16px rgba(233, 196, 106, .45); }

/* Glass header clock and ticker */
.clock {
  padding: 12px 24px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.top { background: none; }
.ticker {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border-top: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.ticker-tag { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.pj-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .05) 78%), linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 30%); }

/* Performance fallback: solid dark cards, no blur or moving light */
body.no-glass .ambient i { animation: none; }
body.no-glass .card, body.no-glass .ticker, body.no-glass .clock, body.no-glass .fact, body.no-glass .badge.outline {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.no-glass .card { background: linear-gradient(180deg, #17150f, #0d0c0a); }
body.no-glass .card::before { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ambient i, .slide.active .card::before { animation: none; }
}

/* ---------- Shared deals (two agents) ---------- */
.duo { display: flex; justify-content: center; }
.duo .avatar + .avatar { margin-left: -18px; box-shadow: 0 0 0 3px #0c0b09; }
.deal-agent .duo .avatar + .avatar { margin-left: -16px; }
.dom-photo.shared .avatar { width: 320px; height: 320px; font-size: 100px; }
.dom-photo.shared .avatar + .avatar { margin-left: -70px; box-shadow: 0 0 0 10px var(--gold), 0 0 120px rgba(212, 175, 55, .45); }
.dom-photo.shared .nm { font-size: 38px; }
.celebrate-photo .duo .avatar + .avatar { margin-left: clamp(-60px, -3vw, -24px); }

/* ---------- Full-screen button ---------- */
.fs-btn {
  position: fixed; left: 50%; bottom: 12vh; transform: translateX(-50%); z-index: 60;
  font: 600 clamp(14px, 1.3vw, 22px) Inter, sans-serif; color: var(--text); cursor: pointer;
  padding: .8em 1.5em; border-radius: 99px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(246, 227, 161, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 16px 40px rgba(0, 0, 0, .5);
  animation: fadeIn .4s ease;
}
.fs-btn[hidden] { display: none; }
.fs-btn:hover { border-color: var(--gold); }
.fs-btn kbd { font: 700 .8em Inter, sans-serif; color: #0a0805; background: var(--gold-grad); border-radius: 6px; padding: .1em .45em; margin-left: .5em; }
body.cursor-hidden .fs-btn { cursor: none; }
