/* ⚡ The Influencer Drop's window (world/js/influencer-ui.js): full screen like the Wardrobe (ui.js .wd-modal), in the
   start screen's look: the painting of ZAZA Town at dusk, a gold brand pill and the blue pill along the top, dark glass
   panels with small gold capitals, gilt frames like the 1% Club's. */
.infx { --tan: #e8c46a; --line: rgba(232, 196, 106, 0.34); --soft: #b9bfdc; --mute: #9ea6cc; --wd-top: env(safe-area-inset-top, 0px);
  position: relative; min-height: 100%; color: var(--text); isolation: isolate; }
html.standalone .infx { --wd-top: var(--mobile-top-safe, env(safe-area-inset-top, 0px)); }
.infx-bg { position: fixed; inset: 0; z-index: -1; background:
    radial-gradient(ellipse 60% 70% at 50% 42%, rgba(6, 9, 30, 0.5), rgba(6, 9, 30, 0.82) 70%),
    linear-gradient(0deg, rgba(6, 9, 30, 0.85), rgba(6, 9, 30, 0.2) 40%),
    url(/world/assets/start/town-1920.webp) 50% 100% / cover #1c1630; }
.infx-loading { padding: 40px 20px; text-align: center; color: var(--soft); font-size: 20px; }
/* the top bar: brand pill, the next drop's clock in the blue pill */
.infx-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; min-height: calc(62px + var(--wd-top)); box-sizing: border-box;
  padding: calc(10px + var(--wd-top)) 70px 10px max(20px, (100% - 1320px) / 2); background: linear-gradient(180deg, rgba(6, 10, 36, 0.9), rgba(6, 10, 36, 0.64)); border-bottom: 1px solid rgba(232, 196, 106, 0.22); backdrop-filter: blur(10px); }
.infx-brand { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border: 2px solid var(--gold); border-radius: 999px; color: var(--gold); font: 400 16px/1 var(--display); white-space: nowrap; }
.infx-brand b { font-weight: 400; color: inherit; }
.infx-clock { display: inline-flex; align-items: center; height: 36px; margin: 0 auto; padding: 0 18px; border: 2px solid #3d8bff; border-radius: 999px; background: rgba(4, 10, 40, 0.6); color: var(--soft); font: 400 15px/1 var(--display); white-space: nowrap; }
.infx-clock b { margin-left: 6px; color: #fff; font-weight: 400; }
/* three columns: the next drop | the stage and the drops before | the leaderboard */
.infx-grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 340px); gap: 18px; max-width: 1320px; margin: 0 auto; padding: 18px 20px 28px; align-items: start; }
.infx-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.infx-p { padding-bottom: 12px; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(180deg, rgba(12, 16, 44, 0.88), rgba(7, 10, 30, 0.88)); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 240, 200, 0.06); backdrop-filter: blur(4px); }
.infx-ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; padding: 9px 12px 8px; border-bottom: 1px solid rgba(232, 196, 106, 0.16); }
.infx-ph b { color: var(--tan); font: 400 12px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.infx-ph span { color: var(--soft); font-size: 16px; line-height: 1; }
.infx-p > :not(.infx-ph) { margin-left: 12px; margin-right: 12px; }
.infx-kv { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 18px; line-height: 1.5; }
.infx-kv > span { color: var(--mute); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.infx-kv > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #fff; font-weight: 400; text-align: right; white-space: nowrap; }
.infx-kv small { color: var(--gold); font-size: 15px; }
.infx-note { margin-top: 0; margin-bottom: 8px; color: var(--soft); font-size: 17px; line-height: 1.3; }
.infx-note b { color: var(--gold); font-weight: 400; }
/* gilt frames, like the 1% Club's */
.infx-gilt { position: relative; display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 3px; box-sizing: border-box; border-radius: 4px; overflow: hidden;
  background: linear-gradient(135deg, #fff0a0, #ffd84a 22%, #d8aa2c 50%, #a07818 78%, #6e4a0c); box-shadow: 0 0 0 1px #1f1206, 0 3px 8px rgba(0, 0, 0, 0.45); }
.infx-gilt img, .infx-gilt .infx-none { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px #1f1206; background: #1a0e10; }
.infx-none { display: grid; place-items: center; color: #fff; font: 400 18px/1 var(--display); background: hsl(var(--h) 50% 32%) !important; }
.infx-gilt.sm { width: 36px; height: 36px; padding: 2px; }
.infx-gilt.sq { width: 100%; height: auto; aspect-ratio: 1; padding: 5px; }
.infx-gilt.big { width: min(240px, 60vw); height: auto; aspect-ratio: 1; padding: 10px; border-radius: 6px; box-shadow: 0 0 0 2px #1f1206, inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 14px 34px rgba(0, 0, 0, 0.55); }
.infx-gilt.big .infx-none { font-size: 90px; }
.infx-gilt.big.live { box-shadow: 0 0 0 2px #1f1206, inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 0 6px rgba(255, 210, 63, 0.2), 0 0 44px rgba(255, 210, 63, 0.35), 0 14px 34px rgba(0, 0, 0, 0.55); }
.infx-gilt.grey img { filter: grayscale(0.85) brightness(0.8); }
/* the stage: the latest drop */
.infx-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 18px 20px; text-align: center; border: 1px solid var(--line); border-radius: 6px;
  background: radial-gradient(ellipse 70% 55% at 50% 34%, rgba(255, 210, 63, 0.16), transparent 70%), linear-gradient(180deg, rgba(12, 16, 44, 0.78), rgba(7, 10, 30, 0.9)); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.infx-kick { color: var(--tan); font: 400 13px/1 var(--display); letter-spacing: 0.28em; text-transform: uppercase; }
.infx-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 400 40px/1.15 var(--display); background: linear-gradient(180deg, #fff6c8, #ffd23f 52%, #dc9a1c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(40, 20, 0, 0.75)); white-space: nowrap; }
.infx-sub { color: var(--soft); font-size: 18px; }
.infx-line { max-width: 560px; margin: 4px 0 0; color: #dfe3f7; font-size: 19px; line-height: 1.3; }
.infx-line b { color: var(--gold); font-weight: 400; }
/* the race for the pack: their time draining toward the community's side */
.infx-race { width: 100%; max-width: 560px; display: grid; gap: 5px; }
.infx-race-bar { position: relative; height: 30px; border-radius: 999px; overflow: hidden; background: linear-gradient(90deg, rgba(192, 138, 255, 0.28), rgba(192, 138, 255, 0.5)); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 196, 106, 0.3); }
.infx-race-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(180deg, #ffe27a, #ffd23f 55%, #e8b52a); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 0 14px rgba(255, 210, 63, 0.5); }
.infx-race.warm .infx-race-bar i { background: linear-gradient(180deg, #ffc27a, #ff9a3c 55%, #e07a20); }
.infx-race.hot .infx-race-bar i { background: linear-gradient(180deg, #ff8a7a, #ff5a4a 55%, #d8382a); }
.infx-race-bar b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 400 16px/1 var(--display); text-shadow: 0 1px 0 #000, 0 0 6px rgba(0, 0, 0, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px; }
.infx-race-ends { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.infx-race-ends span:first-child { color: var(--gold); }
.infx-race-ends span:last-child { color: #d8b8ff; text-align: right; }
.infx-race.done .infx-race-bar { background: rgba(255, 255, 255, 0.06); }
.infx-race.done.got .infx-race-bar i { background: linear-gradient(180deg, #7ff0a8, #3fe07a 55%, #22b860); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18); }
.infx-race.done.free .infx-race-bar i { background: linear-gradient(180deg, #d8b8ff, #c08aff 55%, #9a5ae8); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18); }
.infx-race.done .infx-race-bar b { font-size: 15px; }
.infx-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.infx-go, .infx-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; font: 400 18px/1 var(--display); text-decoration: none; white-space: nowrap; cursor: pointer; }
.infx-go { border: 1px solid #ffe27a; background: linear-gradient(180deg, #ffe27a, var(--gold) 55%, #e8b52a); color: #0b1636; box-shadow: 0 3px 0 #8a6410, 0 8px 18px rgba(0, 0, 0, 0.4); }
.infx-go.sm { height: 36px; padding: 0 16px; font-size: 15px; }
.infx-btn { border: 1px solid var(--line); background: rgba(7, 10, 30, 0.7); color: #fff; }
.infx-go:hover, .infx-btn:hover { filter: brightness(1.08); }
.infx-go:focus-visible, .infx-btn:focus-visible, .infx-vote:focus-visible, .infx-take:focus-visible, .infx-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* the drops before: gilt squares with their race */
.infx-squares { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.infx-sq { display: grid; gap: 6px; min-width: 0; color: #fff; text-decoration: none; text-align: center; }
.infx-sq > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 16px; }
.infx-sq .infx-race-bar { height: 18px; }
.infx-sq .infx-race-bar b { font-size: 11px; padding: 0 6px; }
.infx-sq .infx-race-ends { display: none; }
/* the leaderboard */
.infx-board ol { list-style: none; margin: 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: min(62vh, 640px); overflow-y: auto; scrollbar-width: thin; }
.infx-board li { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); }
.infx-board li.mine { background: rgba(255, 210, 63, 0.1); }
.infx-board li.picked { background: rgba(61, 139, 255, 0.14); }
.infx-rank { color: var(--gold); font: 400 15px/1 var(--display); text-align: center; }
.infx-board li.picked .infx-rank { color: #9fd6ff; }
.infx-who { display: flex; flex-direction: column; min-width: 0; }
.infx-who a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; text-decoration: none; font-size: 17px; line-height: 1.15; }
.infx-who a:hover { color: var(--gold); }
.infx-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mute); font-size: 14px; }
.infx-board li.picked .infx-who small { color: #9fd6ff; }
.infx-score { color: var(--gold); font: 400 14px/1 var(--display); white-space: nowrap; }
.infx-vote { height: 28px; min-width: 52px; padding: 0 10px; border: 1px solid #ffe27a; border-radius: 999px; background: linear-gradient(180deg, #ffe27a, var(--gold) 55%, #e8b52a); color: #0b1636; font: 400 13px/1 var(--display); }
.infx-vote.on { border-color: var(--gold); background: rgba(255, 210, 63, 0.14); color: var(--gold); }
.infx-vote:disabled { opacity: 0.6; }
.infx-row-acts { display: inline-flex; align-items: center; gap: 4px; }
.infx-take { width: 24px; height: 24px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(7, 10, 30, 0.7); color: var(--mute); font: 700 12px/1 system-ui, sans-serif; cursor: pointer; }
.infx-take:hover { border-color: #ff9a8a; color: #ff9a8a; }
.infx-take:disabled { opacity: 0.6; }
.infx-you { margin-bottom: 8px; color: var(--soft); font-size: 15px; }
.infx-you:empty { display: none; }
.infx-foot { margin-top: 10px; }
.infx-link { padding: 0; border: 0; background: none; color: #9fd6ff; font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.infx-mute { color: var(--mute); font-size: 15px; }
.infx-suggest { display: flex; gap: 8px; }
.infx-suggest input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, 0.35); color: #fff; font: inherit; font-size: 17px; user-select: text; -webkit-user-select: text; }
.infx-suggest input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.infx-msg { margin: 0; color: var(--soft); font-size: 16px; }
.infx-msg.is-err { color: #ff9a8a; }
.infx-msg.is-ok { color: #9be89b; }
.infx-msg:empty { display: none; }
/* tablets: the leaderboard under the stage; phones: one column, the stage first, then the leaderboard */
@media (max-width: 1100px) {
  .infx-grid { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
  .infx-col.r { grid-column: 2; }
}
@media (max-width: 760px) {
  .infx-top { padding-right: 60px; padding-left: 14px; }
  .infx-clock { margin: 0; }
  .infx-grid { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 24px; gap: 12px; }
  .infx-col.r { grid-column: auto; }
  .infx-col.c { order: 1; }
  .infx-col.r { order: 2; }
  .infx-col.l { order: 3; }
  .infx.focus-vote .infx-col.r { order: 0; }
  .infx-name { font-size: 32px; }
  .infx-board ol { max-height: none; }
  .infx-take { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .infx-go:hover, .infx-btn:hover { filter: none; } }
