@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&display=swap');

/* =========================================================
   CURVEXPT — PUBLIC THEME
   Visual language rebuilt from the public Jottathon pages.
   No zoom/scaling tricks: all values are normal 100% CSS.
   ========================================================= */

:root {
  --jt-bg: #050607;
  --jt-bg-soft: #090b0e;
  --jt-card: rgba(255,255,255,.018);
  --jt-card-hover: rgba(255,255,255,.035);
  --jt-fg: #f3f4f6;
  --jt-muted: #969ba3;
  --jt-subtle: #686e77;
  --jt-border: rgba(255,255,255,.105);
  --jt-border-soft: rgba(255,255,255,.065);
  --jt-white: #f7f7f7;
  --jt-black: #08090a;
  --jt-live: #ef4444;
  --jt-blue: #3b82f6;
  --jt-purple: #a855f7;
  --jt-amber: #f59e0b;
  --jt-grey: #9ca3af;
  --jt-radius: 16px;
  --jt-radius-sm: 9px;
  --jt-max: 1152px;
  --font-display: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { background: var(--jt-bg); }

body.jt-public,
body.jt-public.sorteios-page {
  margin: 0;
  min-height: 100vh;
  color: var(--jt-fg);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
  background:
    radial-gradient(850px 420px at 52% -80px, rgba(22,24,28,.20), transparent 65%),
    linear-gradient(180deg, #090a0b 0, #0a0a0a 430px);
}

body.jt-public::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(650px 480px at 20% 20%, rgba(255,255,255,.012), transparent 70%);
}

body.jt-public a { color: inherit; text-decoration: none; }
body.jt-public button,
body.jt-public input,
body.jt-public select,
body.jt-public textarea { font-family: inherit; }

/* ---------- header ---------- */
.jt-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(5,6,7,.79);
  backdrop-filter: blur(18px) saturate(130%);
}

.jt-site-header-inner {
  width: min(calc(100% - 32px), var(--jt-max));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.jt-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.jt-brand-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--jt-border);
  border-radius: 8px;
  background: #f1f1f1;
  color: #090a0b;
  font-weight: 800;
  font-size: 13px;
}

.jt-main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: rgba(255,255,255,.018);
}

.jt-main-nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #a4a8ae;
  font-size: 12.5px;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}

.jt-main-nav a:hover { color: #f1f1f1; background: rgba(255,255,255,.045); }
.jt-main-nav a.active { color: #111214; background: #f4f4f4; box-shadow: 0 1px 3px rgba(0,0,0,.22); }

.jt-user-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.jt-live-pill,
.jt-coins,
.jt-icon-button,
.jt-twitch-button {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--jt-border-soft);
  border-radius: 8px;
  background: rgba(255,255,255,.018);
  color: var(--jt-muted);
  font-size: 12px;
  font-weight: 500;
}
.jt-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #69707a; }
.jt-live-pill.is-live { color: #f0b2b2; }
.jt-live-pill.is-live .jt-live-dot { background: var(--jt-live); box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.jt-coins strong { color: #e9eaec; font-variant-numeric: tabular-nums; }
.jt-user-avatar { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; border: 1px solid var(--jt-border); }
.jt-icon-button:hover { color: var(--jt-fg); background: rgba(255,255,255,.045); }
.jt-twitch-button { color: #f3f3f3; }
.jt-twitch-button:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.045); }

/* ---------- reusable page shell ---------- */
.jt-page {
  width: min(calc(100% - 32px), var(--jt-max));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.jt-page-head {
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--jt-border-soft);
}

.jt-eyebrow {
  margin: 0 0 10px;
  color: var(--jt-muted);
  font-size: 12px;
  font-weight: 500;
}

.jt-page-head h1,
.jt-home-hero h1 {
  margin: 0;
  max-width: 800px;
  color: #f4f4f5;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 700;
}

.jt-page-head > p:not(.jt-eyebrow) {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--jt-muted);
  font-size: 14px;
  line-height: 1.6;
}

.jt-section { padding: 36px 0; }
.jt-section + .jt-section { border-top: 1px solid var(--jt-border-soft); }
.jt-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:14px; }
.jt-section-heading h2 { margin:0; color:#f3f4f6; font-size:18px; line-height:1.4; font-weight:700; letter-spacing:-.025em; }
.jt-section-heading span { color:var(--jt-muted); font-size:12px; }

.jt-card {
  border: 1px solid var(--jt-border);
  border-radius: var(--jt-radius);
  background: var(--jt-card);
  overflow: hidden;
}

.jt-button-primary,
.jt-button-secondary {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.jt-button-primary { border:1px solid #efefef; background:#f0f0f0; color:#111214; }
.jt-button-primary:hover { background:#fff; transform:translateY(-1px); }
.jt-button-secondary { border:1px solid var(--jt-border); background:transparent; color:#ededee; }
.jt-button-secondary:hover { background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.16); }

/* ---------- landing/home ---------- */
.jt-home { width:min(calc(100% - 32px), var(--jt-max)); margin:0 auto; padding:72px 0 80px; }
.jt-home-hero { min-height:420px; display:grid; align-content:center; justify-items:center; text-align:center; border-bottom:1px solid var(--jt-border-soft); }
.jt-home-hero .jt-live-pill { margin-bottom:18px; }
.jt-home-hero h1 { font-size:clamp(52px,8vw,92px); letter-spacing:-.065em; }
.jt-home-hero .jt-home-tagline { max-width:620px; margin:20px auto 0; color:#a3a7ae; font-size:16px; line-height:1.65; }
.jt-home-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:28px; }
.jt-home-note { margin:18px 0 0; color:#6f747c; font-size:12px; }

.jt-feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.jt-feature-card { min-height:210px; display:flex; flex-direction:column; justify-content:space-between; padding:24px; border:1px solid var(--jt-border); border-radius:18px; background:rgba(255,255,255,.012); }
.jt-feature-card:hover { background:var(--jt-card-hover); border-color:rgba(255,255,255,.14); }
.jt-feature-kicker { color:var(--jt-muted); font-size:12px; }
.jt-feature-card h2 { margin:8px 0 8px; font-size:25px; letter-spacing:-.04em; line-height:1.1; }
.jt-feature-card p { max-width:480px; margin:0; color:var(--jt-muted); font-size:13px; line-height:1.55; }
.jt-feature-card .jt-feature-link { margin-top:22px; color:#f1f1f1; font-size:13px; font-weight:600; }

/* ---------- live / multiview ---------- */
.jt-live-grid { display:grid; grid-template-columns:minmax(0, 1fr) 340px; gap:12px; }
.jt-media-shell { overflow:hidden; border:1px solid var(--jt-border); border-radius:16px; background:#000; }
.jt-media-shell iframe { width:100%; height:100%; display:block; border:0; }
.jt-stream-frame { aspect-ratio:16/9; }
.jt-chat-frame { min-height:100%; }
.jt-camera-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 14px; border-bottom:1px solid var(--jt-border-soft); background:rgba(255,255,255,.015); }
.jt-camera-toolbar strong { font-size:13px; font-weight:600; }
.jt-camera-toolbar span { color:var(--jt-muted); font-size:11px; }
.jt-camera-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:12px; }
.jt-camera-thumb { overflow:hidden; border:1px solid var(--jt-border); border-radius:12px; background:#050505; cursor:pointer; }
.jt-camera-thumb:hover { border-color:rgba(255,255,255,.18); }
.jt-camera-thumb iframe { width:100%; aspect-ratio:16/9; border:0; display:block; pointer-events:none; }
.jt-camera-thumb-label { padding:9px 11px; color:#d9dbde; font-size:12px; }

/* ---------- challenges ---------- */
.jt-challenges-summary { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.jt-challenges-summary strong { display:block; font-size:32px; line-height:1; letter-spacing:-.045em; font-weight:700; }
.jt-challenges-summary p { margin:7px 0 0; color:var(--jt-muted); font-size:12px; }
.challenges-grid.jt-challenge-list,
.jt-challenge-list { display:block; }
.jt-challenge-row { padding:18px 0; border-top:1px solid var(--jt-border-soft); }
.jt-challenge-row:first-child { border-top:0; }
.jt-challenge-status { display:flex; align-items:center; gap:7px; margin-bottom:7px; color:var(--jt-muted); font-size:11px; font-weight:500; }
.jt-challenge-status-dot { width:6px; height:6px; border-radius:50%; background:#8a9099; }
.jt-challenge-row.is-complete .jt-challenge-status-dot { background:#4ade80; }
.jt-challenge-row h3 { margin:0; font-size:17px; line-height:1.35; letter-spacing:-.025em; font-weight:650; }
.jt-challenge-row p { max-width:720px; margin:6px 0 0; color:var(--jt-muted); font-size:12px; line-height:1.55; }
.jt-challenge-progress-line { display:flex; align-items:center; gap:14px; margin-top:12px; }
.jt-progress { height:3px; flex:1; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.075); }
.jt-progress > i { display:block; width:0; height:100%; border-radius:inherit; background:#e8e8e8; transition:width .7s ease; }
.jt-challenge-numbers { flex:none; color:var(--jt-muted); font-size:11px; font-variant-numeric:tabular-nums; }

/* ---------- agenda ---------- */
.jt-agenda-month { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.jt-agenda-month strong { font-size:14px; }
.jt-agenda-controls { display:flex; gap:6px; }
.jt-agenda-controls button { width:32px; height:32px; border:1px solid var(--jt-border); border-radius:8px; color:var(--jt-muted); background:transparent; cursor:pointer; }
.jt-agenda-controls button:hover { color:#fff; background:rgba(255,255,255,.04); }
.jt-day-strip { display:flex; gap:6px; overflow-x:auto; padding:2px 0 12px; scrollbar-width:none; }
.jt-day-strip::-webkit-scrollbar { display:none; }
.jt-day-button { min-width:58px; height:58px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; border:1px solid var(--jt-border-soft); border-radius:10px; background:transparent; color:var(--jt-muted); cursor:pointer; }
.jt-day-button span:first-child { font-size:10px; font-weight:600; text-transform:uppercase; }
.jt-day-button strong { color:#d7d9dc; font-size:14px; }
.jt-day-button.active { background:#f1f1f1; border-color:#f1f1f1; color:#555; }
.jt-day-button.active strong { color:#0b0c0d; }
.jt-agenda-detail { padding-top:24px; border-top:1px solid var(--jt-border-soft); }
.jt-agenda-detail-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.jt-agenda-detail-head h2 { margin:0; font-size:18px; letter-spacing:-.025em; }
.jt-agenda-detail-head span { color:var(--jt-muted); font-size:11px; }
.jt-event-list { border:1px solid var(--jt-border); border-radius:16px; overflow:hidden; }
.jt-event-item { display:grid; grid-template-columns:76px minmax(0,1fr); gap:16px; padding:16px; border-top:1px solid var(--jt-border-soft); }
.jt-event-item:first-child { border-top:0; }
.jt-event-time { color:var(--jt-muted); font-size:11px; font-variant-numeric:tabular-nums; }
.jt-event-item h3 { margin:0; font-size:14px; font-weight:600; }
.jt-event-item p { margin:4px 0 0; color:var(--jt-muted); font-size:12px; line-height:1.5; }
.jt-empty { padding:30px 18px; text-align:center; color:var(--jt-muted); font-size:12px; border:1px dashed var(--jt-border); border-radius:14px; }

/* ---------- legacy component neutralisation ---------- */
body.jt-public .panel { background:var(--jt-card); border-color:var(--jt-border); border-radius:14px; box-shadow:none; }
body.jt-public .panel::before,
body.jt-public .panel::after { display:none !important; }
body.jt-public .section-title { color:#f3f4f6; font-size:18px; font-weight:700; letter-spacing:-.025em; text-transform:none; }
body.jt-public .btn-accent,
body.jt-public .btn-twitch,
body.jt-public .btn-ghost { border-radius:8px; box-shadow:none; transform:none; }
body.jt-public .btn-accent { background:#f1f1f1; border-color:#f1f1f1; color:#111; }
body.jt-public .btn-twitch { background:transparent; border-color:var(--jt-border); color:#f1f1f1; }
body.jt-public .btn-accent:hover,
body.jt-public .btn-twitch:hover,
body.jt-public .btn-ghost:hover { transform:none; background:rgba(255,255,255,.05); color:#fff; border-color:rgba(255,255,255,.16); }

/* ---------- sorteios: top area/tabs ---------- */
body.jt-public.sorteios-page .site-header { display:none; }
body.jt-public.sorteios-page > .subtabs,
body.jt-public.sorteios-page > .subtab-panel { width:min(calc(100% - 32px), var(--jt-max)); margin-left:auto; margin-right:auto; }
body.jt-public.sorteios-page > .subtabs { margin-top:24px; }

body.jt-public .subtabs {
  display:inline-flex;
  width:auto !important;
  align-items:center;
  gap:2px;
  padding:3px;
  border:1px solid var(--jt-border-soft);
  border-radius:11px;
  background:rgba(255,255,255,.018);
}
body.jt-public .subtab-btn {
  min-width:auto;
  height:32px;
  padding:0 12px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#a3a7ad;
  font-size:12px;
  font-weight:500;
  box-shadow:none;
}
body.jt-public .subtab-btn:hover { transform:none; border-color:transparent; color:#fff; background:rgba(255,255,255,.035); }
body.jt-public .subtab-btn.active { background:#f4f4f4; color:#111214; }

body.jt-public .subtab-panel { padding-bottom:64px; }
body.jt-public .subtab-panel.casino-container { max-width:var(--jt-max); padding:32px 0 64px; }

/* ---------- giveaways exact proportions from target ---------- */
body.jt-public #tab-giveaways {
  width:min(100%, var(--jt-max));
  max-width:none;
  margin:0 auto;
  padding:32px 16px 64px;
  box-sizing:border-box;
}
body.jt-public #tab-giveaways [data-giveaways-live] { margin:0; }
body.jt-public #tab-giveaways [data-giveaways-live] > div { display:flex; flex-direction:column; gap:20px; }
body.jt-public #tab-giveaways .giveaways-empty-state {
  width:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:56px 24px;
  border:1px dashed rgba(255,255,255,.085);
  border-radius:12px;
  background:transparent;
  text-align:center;
  box-sizing:border-box;
}
body.jt-public #tab-giveaways .giveaways-empty-icon {
  width:44px; height:44px; display:grid; place-items:center;
  border:1px solid var(--jt-border); border-radius:999px; color:#979ca4;
}
body.jt-public #tab-giveaways .giveaways-empty-icon svg { width:18px; height:18px; stroke-width:1.75; }
body.jt-public #tab-giveaways .giveaways-empty-title { margin:16px 0 0; color:#efeff0; font-size:14px; line-height:20px; font-weight:500; }
body.jt-public #tab-giveaways .giveaways-empty-text { max-width:320px; margin:4px 0 0; color:#9599a1; font-size:14px; line-height:20px; }
body.jt-public #tab-giveaways .giveaways-empty-action { width:100%; max-width:320px; margin-top:20px; }
body.jt-public #tab-giveaways .giveaways-slot-button {
  width:100%; height:36px; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:8px 16px; border:1px solid rgba(255,255,255,.13); border-radius:6px; background:transparent;
  color:#ededee; font-size:14px; line-height:20px; font-weight:500;
}
body.jt-public #tab-giveaways .giveaways-slot-button:hover { background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.18); }
body.jt-public #tab-giveaways .giveaways-slot-button svg { width:16px; height:16px; }
body.jt-public #tab-giveaways section { margin-top:32px; }
body.jt-public #tab-giveaways section > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px; }
body.jt-public #tab-giveaways section h2 { margin:0; color:#f2f2f3; font-size:18px; line-height:28px; font-weight:700; letter-spacing:-.025em; }
body.jt-public #tab-giveaways section > div > span { color:#8f949b; font-size:12px; line-height:16px; }
body.jt-public #tab-giveaways .giveaways-history-list {
  width:100%; margin:0; padding:0; list-style:none; overflow:hidden;
  border:1px solid rgba(255,255,255,.060); border-radius:16px; background:transparent;
}
body.jt-public #tab-giveaways .giveaways-history-list > li {
  min-height:52px; display:flex; align-items:center; gap:12px; padding:12px 16px;
  border-bottom:1px solid rgba(255,255,255,.055); box-sizing:border-box;
}
body.jt-public #tab-giveaways .giveaways-history-list > li:last-child { border-bottom:0; }
body.jt-public #tab-giveaways .giveaways-history-list > li > span:first-child { width:10px; height:10px; flex:0 0 10px; transform:rotate(45deg); border-radius:2px; }
body.jt-public #tab-giveaways .giveaways-history-list > li > div { min-width:0; flex:1; }
body.jt-public #tab-giveaways .giveaways-history-list p { margin:0; }
body.jt-public #tab-giveaways .giveaways-history-list p:first-child { overflow:hidden; color:#ededee; font-size:14px; line-height:20px; font-weight:500; text-overflow:ellipsis; white-space:nowrap; }
body.jt-public #tab-giveaways .giveaways-history-list p:nth-child(2) { overflow:hidden; color:#92979f; font-size:12px; line-height:16px; text-overflow:ellipsis; white-space:nowrap; }
body.jt-public #tab-giveaways .giveaways-history-list > li > span:last-child { display:flex; align-items:center; flex-shrink:0; gap:8px; color:#90959d; font-size:12px; line-height:16px; }
body.jt-public #tab-giveaways .giveaways-history-list > li > span:last-child > span:first-child { width:28px; height:28px; flex:0 0 28px; display:flex; align-items:center; justify-content:center; overflow:hidden; border:1px solid rgba(255,255,255,.060); border-radius:999px; }
body.jt-public #tab-giveaways .giveaways-history-list img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
body.jt-public #tab-giveaways .giveaways-history-list > li > span:last-child > span:last-child { max-width:128px; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.jt-public #tab-giveaways .history-empty { justify-content:center; color:var(--jt-muted); font-size:12px; }

/* Giveaways live cards: neutralise casino/carnival framing when rendered */
body.jt-public #tab-giveaways .marquee-panel { border:1px solid var(--jt-border); border-radius:16px; background:transparent; box-shadow:none; padding:20px; }
body.jt-public #tab-giveaways .marquee-panel::before,
body.jt-public #tab-giveaways .marquee-panel::after,
body.jt-public #tab-giveaways .rivet-tr,
body.jt-public #tab-giveaways .rivet-bl,
body.jt-public #tab-giveaways .lights-row { display:none !important; }
body.jt-public #tab-giveaways .marquee-heading { border:0; background:transparent; box-shadow:none; }
body.jt-public #tab-giveaways .marquee-title { font-family:inherit; font-size:14px; letter-spacing:0; text-transform:none; }
body.jt-public #tab-giveaways .marquee-subtitle { color:var(--jt-muted); font-size:12px; }

/* ---------- slot: keep logic/art but harmonise outer shell ---------- */
body.jt-public #tab-slot { gap:14px; align-items:stretch; }
body.jt-public #tab-slot .slot-machine,
body.jt-public #tab-slot .jt-aside { filter:saturate(.68) contrast(.96); }
body.jt-public #tab-slot .buy-row { border-radius:10px; }

/* ---------- footer ---------- */
.jt-footer { border-top:1px solid var(--jt-border-soft); }
.jt-footer-inner { width:min(calc(100% - 32px), var(--jt-max)); min-height:150px; margin:0 auto; display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:28px; color:var(--jt-muted); font-size:11px; }
.jt-footer strong { color:#e9eaec; font-size:13px; }
.jt-footer p { margin:4px 0 0; }
.jt-footer nav { display:flex; gap:14px; }
.jt-footer nav a:hover { color:#fff; }
.jt-footer-copy { white-space:nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .jt-site-header-inner { grid-template-columns:auto 1fr; }
  .jt-main-nav { grid-column:1 / -1; grid-row:2; justify-self:stretch; overflow-x:auto; margin-bottom:8px; }
  .jt-main-nav a { flex:1 0 auto; justify-content:center; }
  .jt-user-actions { justify-self:end; }
  .jt-live-pill { display:none; }
  .jt-live-grid { grid-template-columns:1fr; }
  .jt-chat-frame { min-height:430px; }
  .jt-feature-grid { grid-template-columns:1fr; }
  .jt-footer-inner { grid-template-columns:1fr; padding:36px 0; gap:16px; }
  .jt-footer nav { flex-wrap:wrap; }
}

@media (max-width: 640px) {
  .jt-site-header-inner { width:min(calc(100% - 24px), var(--jt-max)); gap:10px; }
  .jt-brand span:last-child { display:none; }
  .jt-coins { display:none; }
  .jt-icon-button.jt-admin-link { display:none; }
  .jt-twitch-button { padding:0 9px; font-size:11px; }
  .jt-page,
  .jt-home { width:min(calc(100% - 24px), var(--jt-max)); padding-top:30px; }
  .jt-page-head { min-height:138px; padding-bottom:24px; }
  .jt-page-head h1 { font-size:32px; }
  .jt-home { padding-top:38px; }
  .jt-home-hero { min-height:360px; }
  .jt-home-hero h1 { font-size:54px; }
  .jt-camera-grid { grid-template-columns:1fr 1fr; }
  .jt-event-item { grid-template-columns:58px minmax(0,1fr); gap:10px; padding:13px; }
  body.jt-public.sorteios-page > .subtabs,
  body.jt-public.sorteios-page > .subtab-panel,
  body.jt-public #tab-giveaways { width:100%; }
  body.jt-public #tab-giveaways { padding-top:24px; }
  body.jt-public #tab-giveaways .giveaways-history-list > li { padding:12px; }
  body.jt-public #tab-giveaways .giveaways-history-list > li > span:last-child > span:last-child { max-width:90px; }
}

/* Sorteios tabs align with the same 1152px content column. */
body.jt-public.sorteios-page > .subtabs {
  width: max-content !important;
  margin-left: max(16px, calc((100vw - var(--jt-max)) / 2));
  margin-right: 0;
}
@media (max-width: 640px) {
  body.jt-public.sorteios-page > .subtabs {
    margin-left: 12px;
  }
}

/* =========================================================
   HOME — composição editorial / hero em ecrã inteiro
   ========================================================= */
body.jt-home-page {
  background:#07090c;
}
body.jt-home-page .jt-site-header {
  position:absolute;
  inset:0 0 auto;
  border-bottom:0;
  background:linear-gradient(180deg,rgba(0,0,0,.45),transparent);
  backdrop-filter:none;
}
body.jt-home-page .jt-site-header-inner { min-height:72px; }
body.jt-home-page .jt-main-nav {
  border:0;
  background:transparent;
  padding:0;
  gap:6px;
}
body.jt-home-page .jt-main-nav a {
  color:rgba(255,255,255,.72);
  background:transparent;
  box-shadow:none;
}
body.jt-home-page .jt-main-nav a:hover,
body.jt-home-page .jt-main-nav a.active { color:#fff; background:rgba(255,255,255,.08); }
body.jt-home-page .jt-live-pill,
body.jt-home-page .jt-coins,
body.jt-home-page .jt-icon-button { background:rgba(0,0,0,.25); border-color:rgba(255,255,255,.13); color:#e7e7e8; }

.jt-home-redesign { min-height:100vh; }
.jt-hero-stage {
  position:relative;
  min-height:690px;
  height:min(76vh,760px);
  overflow:hidden;
  background:
    radial-gradient(900px 520px at 55% 18%,rgba(30,96,165,.36),transparent 67%),
    linear-gradient(135deg,#16283b 0%,#111a26 42%,#090b0d 100%);
}
.jt-hero-media {
  position:absolute;
  inset:0;
  overflow:hidden;
  opacity:.78;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  filter:saturate(.88) contrast(1.04);
}
.jt-hero-shade {
  position:absolute; inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.16) 55%,rgba(0,0,0,.16) 100%),
    linear-gradient(180deg,rgba(0,0,0,.08) 20%,rgba(5,6,7,.10) 55%,#07090c 100%);
}
.jt-hero-inner { position:relative; z-index:2; width:min(calc(100% - 32px),1152px); height:100%; margin:0 auto; }
.jt-hero-copy { position:absolute; left:0; bottom:104px; max-width:640px; }
.jt-hero-live { display:flex; align-items:center; gap:10px; color:#f4f4f5; font-size:11px; font-weight:700; letter-spacing:.24em; }
.jt-hero-live span { width:7px; height:7px; border-radius:99px; background:#747981; }
.jt-hero-live span.is-live { background:#ff3347; box-shadow:0 0 0 3px rgba(255,51,71,.12); }
.jt-hero-copy h1 { margin:12px 0 0; color:#fff; font-size:clamp(66px,9vw,118px); line-height:.9; font-weight:800; letter-spacing:-.075em; }
.jt-hero-copy p { margin:22px 0 0; color:rgba(255,255,255,.76); font-size:18px; font-weight:500; }
.jt-hero-copy .jt-home-actions { justify-content:flex-start; margin-top:24px; }

.jt-home-content { width:min(calc(100% - 32px),1152px); margin:0 auto; padding:70px 0 110px; }
.jt-home-section { display:grid; grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr); gap:74px; align-items:center; min-height:360px; padding:72px 0; border-bottom:1px solid rgba(255,255,255,.075); }
.jt-home-section:last-child { border-bottom:0; }
.jt-home-section-copy h2 { margin:0; color:#f5f5f6; font-size:56px; line-height:1; letter-spacing:-.055em; }
.jt-home-section-copy h2 span { color:#3b82f6; }
.jt-home-section-copy p { max-width:520px; margin:24px 0 0; color:#9b9fa6; font-size:17px; line-height:1.6; }
.jt-home-section-copy a { display:inline-flex; margin-top:28px; color:#e9e9ea; font-size:14px; font-weight:600; }
.jt-home-preview-card { min-height:230px; display:flex; flex-direction:column; justify-content:flex-end; padding:26px; border:1px solid rgba(255,255,255,.08); border-radius:18px; background:linear-gradient(145deg,rgba(59,130,246,.12),rgba(255,255,255,.015)); }
.jt-home-preview-card strong { margin-top:10px; color:#f5f5f6; font-size:24px; letter-spacing:-.03em; }
.jt-home-preview-card p { margin:7px 0 0; color:#91969e; }
.jt-mini-days { display:flex; gap:9px; align-items:center; }
.jt-mini-days > div { width:60px; height:72px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.09); border-radius:14px; position:relative; }
.jt-mini-days span { color:#8e949d; font-size:9px; font-weight:700; }
.jt-mini-days strong { margin:2px 0 0; font-size:18px; }
.jt-mini-days i { position:absolute; bottom:9px; width:5px; height:5px; border-radius:99px; background:#3b82f6; }
.jt-home-camera-preview { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.jt-home-camera-tile { min-height:180px; display:flex; align-items:flex-end; padding:14px; border-radius:14px; background:linear-gradient(145deg,#152334,#090b0e); border:1px solid rgba(255,255,255,.06); }
.jt-home-camera-tile span { color:#dfe1e4; font-size:12px; font-weight:600; }

/* =========================================================
   AGENDA — dias com pontos, timeline e convidados clicáveis
   ========================================================= */
body.jt-agenda-page .jt-page { padding-top:52px; }
.jt-agenda-shell { max-width:1152px; }
.jt-agenda-head { min-height:220px; justify-content:center; padding-bottom:38px; }
.jt-agenda-head .jt-eyebrow { display:flex; align-items:center; gap:10px; text-transform:uppercase; letter-spacing:.24em; font-size:11px; }
.jt-red-dot { width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:#ff3347; }
.jt-agenda-head h1 { font-size:38px; }
.jt-agenda-head > p:not(.jt-eyebrow) { max-width:520px; font-size:15px; line-height:1.45; }
.jt-agenda-program { padding:44px 0 28px; }
.jt-agenda-month-row { display:flex; align-items:center; justify-content:flex-end; min-height:32px; margin-bottom:12px; }
.jt-agenda-month-row > strong { display:none; }
.jt-agenda-controls { display:flex; gap:8px; }
.jt-agenda-controls button { width:32px; height:32px; border:0; background:transparent; color:#7f858d; font-size:26px; cursor:pointer; }
.jt-agenda-controls button:hover { color:#fff; background:transparent; }
.jt-day-strip-wrap { overflow:hidden; }
.jt-day-strip { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:0 0 16px; scroll-behavior:smooth; }
.jt-day-strip::-webkit-scrollbar { display:none; }
.jt-day-button {
  position:relative;
  min-width:56px;
  width:56px;
  height:70px;
  flex:0 0 56px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  padding:0 0 10px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:transparent;
  color:#70757d;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.jt-day-button span:first-child { font-size:9px; font-weight:700; text-transform:uppercase; }
.jt-day-button strong { color:#e4e5e7; font-size:17px; line-height:1.1; }
.jt-day-button i { position:absolute; left:50%; bottom:9px; width:5px; height:5px; transform:translateX(-50%); border-radius:99px; background:transparent; }
.jt-day-button.has-events i { background:#3b82f6; }
.jt-day-button.active { color:#fff; border-color:#3b82f6; background:rgba(59,130,246,.12); }
.jt-day-button.active strong { color:#fff; }
.jt-agenda-detail { padding-top:4px; border-top:0; }
.jt-agenda-detail-head { margin:0 0 28px; }
.jt-agenda-detail-head h2 { margin:0; font-size:24px; line-height:1.2; letter-spacing:-.035em; }
.jt-agenda-detail-head span { display:block; margin-top:8px; color:#90959d; font-size:14px; }
.jt-agenda-empty { padding:32px 0; color:#777d85; }
.jt-agenda-timeline { max-width:760px; }
.jt-agenda-block { position:relative; display:grid; grid-template-columns:18px minmax(0,1fr); gap:18px; padding:0 0 34px; }
.jt-agenda-block::before { content:''; position:absolute; left:5px; top:14px; bottom:-2px; width:1px; background:rgba(255,255,255,.07); }
.jt-agenda-block:last-child::before { bottom:38px; }
.jt-agenda-block-diamond { position:relative; z-index:1; width:10px; height:10px; margin-top:8px; transform:rotate(45deg); background:#3b82f6; }
.jt-agenda-time { margin-bottom:6px; color:#969ca5; font-size:12px; font-weight:600; }
.jt-agenda-block h3 { margin:0; color:#f2f3f4; font-size:20px; line-height:1.3; letter-spacing:-.025em; }
.jt-agenda-block p { max-width:650px; margin:9px 0 0; color:#8e949c; font-size:13px; line-height:1.55; }
.jt-agenda-guests-label { margin-top:20px; color:#8f959d; font-size:10px; font-weight:700; letter-spacing:.17em; }
.jt-agenda-guests { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.jt-guest-chip { min-height:48px; display:inline-flex; align-items:center; gap:10px; padding:6px 12px 6px 7px; border:1px solid rgba(255,255,255,.085); border-radius:14px; background:transparent; color:#f0f1f2; cursor:pointer; }
.jt-guest-chip:hover { border-color:rgba(255,255,255,.17); background:rgba(255,255,255,.025); }
.jt-guest-chip-avatar { width:34px; height:34px; display:grid; place-items:center; overflow:hidden; border-radius:10px; background:#15181c; }
.jt-guest-chip-avatar img { width:100%; height:100%; object-fit:cover; }
.jt-guest-chip-avatar b { font-size:13px; }
.jt-guest-chip strong { font-size:13px; font-weight:600; }

body.jt-modal-open { overflow:hidden; }
.jt-guest-modal[hidden] { display:none !important; }
.jt-guest-modal { position:fixed; inset:0; z-index:9999; display:grid; place-items:center; padding:20px; }
.jt-guest-modal-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; background:rgba(0,0,0,.72); backdrop-filter:blur(7px); cursor:default; }
.jt-guest-card { position:relative; z-index:1; width:min(382px,calc(100vw - 32px)); overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:22px; background:#08090a; box-shadow:0 30px 90px rgba(0,0,0,.5); }
.jt-guest-close { position:absolute; z-index:3; top:14px; right:14px; width:34px; height:34px; display:grid; place-items:center; border:0; border-radius:50%; background:rgba(0,0,0,.28); color:rgba(255,255,255,.75); font-size:22px; cursor:pointer; }
.jt-guest-card-visual { position:relative; height:112px; display:grid; place-items:center; background:linear-gradient(180deg,var(--guest-accent,#7c2d12),color-mix(in srgb,var(--guest-accent,#7c2d12) 72%,#000)); }
.jt-guest-card-visual > img { width:100%; height:100%; object-fit:cover; }
.jt-guest-card-avatar { position:absolute; left:50%; bottom:-25px; width:72px; height:72px; transform:translateX(-50%); display:grid; place-items:center; overflow:hidden; border-radius:20px; border:4px solid #08090a; background:#ff5b1d; color:#fff; }
.jt-guest-card-avatar img { width:100%; height:100%; object-fit:cover; }
.jt-guest-card-avatar span { font-size:30px; font-weight:800; }
.jt-guest-card-body { min-height:105px; display:grid; place-items:center; padding:42px 20px 22px; }
.jt-guest-card-body h3 { margin:0; color:#f4f4f5; font-size:20px; font-weight:700; }

@media (max-width:900px) {
  .jt-home-section { grid-template-columns:1fr; gap:30px; min-height:0; }
  .jt-home-section-copy h2 { font-size:44px; }
}
@media (max-width:640px) {
  .jt-hero-stage { height:640px; min-height:640px; }
  .jt-hero-copy { bottom:72px; }
  .jt-hero-copy h1 { font-size:64px; }
  .jt-hero-copy p { font-size:15px; }
  .jt-home-content { width:min(calc(100% - 24px),1152px); padding-top:28px; }
  .jt-home-section { padding:54px 0; }
  .jt-home-section-copy h2 { font-size:40px; }
  .jt-home-section-copy p { font-size:15px; }
  .jt-agenda-head { min-height:190px; }
  .jt-agenda-head h1 { font-size:32px; }
  .jt-agenda-program { padding-top:30px; }
  .jt-agenda-detail-head h2 { font-size:21px; }
}

/* =========================================================
   RANKINGS — podium + períodos, visual inspirado na referência
   ========================================================= */
body.jt-rankings-page {
  background:
    radial-gradient(760px 620px at 50% 16%, rgba(28,65,130,.35), transparent 67%),
    linear-gradient(180deg,#080a0d 0,#080a0d 100%);
}
body.jt-rankings-page .jt-site-header {
  background:rgba(7,9,12,.75);
  border-bottom:0;
}
.jt-rank-page {
  width:min(calc(100% - 32px),1120px);
  margin:0 auto;
  padding:74px 0 88px;
}
.jt-rank-head { margin-bottom:34px; }
.jt-rank-kicker {
  display:flex; align-items:center; gap:9px;
  margin:0 0 14px;
  color:#e7e7e9;
  font-size:11px; font-weight:700; letter-spacing:.22em;
}
.jt-rank-kicker span { width:8px; height:8px; border-radius:50%; background:#ff3347; box-shadow:0 0 0 3px rgba(255,51,71,.09); }
.jt-rank-head h1 {
  margin:0;
  color:#f5f5f6;
  font-size:38px;
  line-height:1.04;
  letter-spacing:-.045em;
  font-weight:750;
}
.jt-rank-head > p:last-child { margin:10px 0 0; color:#9b9fa5; font-size:14px; }
.jt-rank-toolbar {
  min-height:50px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:30px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.jt-rank-metrics,.jt-rank-periods { display:flex; align-items:center; gap:24px; }
.jt-rank-metrics a,.jt-rank-periods a,.jt-rank-static-period {
  position:relative;
  min-height:50px;
  display:inline-flex; align-items:center; gap:8px;
  color:#90949b;
  font-size:14px; font-weight:600;
  white-space:nowrap;
}
.jt-rank-metrics a > span { color:#a7abb1; font-size:18px; font-weight:400; }
.jt-rank-metrics a.active,.jt-rank-periods a.active,.jt-rank-static-period { color:#f2f2f3; }
.jt-rank-metrics a.active::after,.jt-rank-periods a.active::after,.jt-rank-static-period::after {
  content:''; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:#36bffa;
}
.jt-rank-metrics a.active > span { color:#36c4ff; }
.jt-rank-periods { gap:28px; }
.jt-rank-periods a { min-height:50px; font-size:14px; }
.jt-rank-static-period { min-width:64px; justify-content:flex-end; }

.jt-rank-podium {
  display:grid;
  grid-template-columns:1fr 1.08fr 1fr;
  gap:20px;
  align-items:end;
  min-height:395px;
  padding:40px 0 22px;
}
.jt-rank-podium-item { text-align:center; min-width:0; }
.jt-rank-podium-item.place-1 { transform:translateY(-30px); }
.jt-rank-avatar {
  display:grid; place-items:center; overflow:hidden;
  background:linear-gradient(145deg,#18c6b2,#5df0be);
  color:#050607;
  font-weight:800;
  user-select:none;
}
.jt-rank-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.jt-rank-avatar.podium-avatar { width:80px; height:80px; margin:0 auto; border-radius:16px; font-size:28px; }
.jt-rank-podium-item.place-1 .jt-rank-avatar.podium-avatar { width:96px; height:96px; border-radius:17px; background:#050505; }
.jt-rank-podium-item.place-3 .jt-rank-avatar.podium-avatar { background:linear-gradient(145deg,#4ee7c0,#6cf4c1); }
.jt-rank-podium-item h2 {
  max-width:290px; margin:14px auto 24px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  color:#f2f3f4;
  font-size:19px; font-weight:700; letter-spacing:-.02em;
}
.jt-rank-podium-item.place-1 h2 { font-size:21px; }
.jt-rank-value-card {
  min-height:188px;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:28px 20px 20px;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(6,8,11,.14);
}
.jt-rank-value-card::after {
  content:'';
  position:absolute;
  left:20px;
  right:20px;
  bottom:76px;
  height:1px;
  background:rgba(255,255,255,.075);
}
.jt-rank-value-card > span {
  margin:0 0 8px;
  color:#8f949c;
  font-size:10px;
  line-height:12px;
  font-weight:700;
  letter-spacing:.18em;
}
.jt-rank-value-card > strong {
  position:relative;
  z-index:1;
  color:#f7f7f8;
  font-size:31px;
  line-height:1;
  font-weight:750;
  letter-spacing:-.035em;
  font-variant-numeric:tabular-nums;
}
.jt-rank-podium-item.place-1 .jt-rank-value-card > strong { font-size:43px; }
.jt-rank-position-badge {
  position:absolute;
  left:50%;
  bottom:76px;
  z-index:2;
  width:31px;
  height:31px;
  transform:translate(-50%,50%);
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.11);
  border-radius:50%;
  background:#090b0e;
  color:#c4c6ca;
  font-size:12px;
  font-weight:700;
}
.jt-rank-position-badge.winner { color:#3b82f6; }
.jt-rank-value-card small {
  position:absolute;
  bottom:38px;
  color:#888d94;
  font-size:11px;
  line-height:14px;
}

.jt-rank-my-position,.jt-rank-not-ranked {
  min-height:66px;
  margin:12px 0 42px;
  border:1px solid rgba(59,130,246,.70);
  border-radius:15px;
  background:rgba(14,26,43,.48);
}
.jt-rank-my-position {
  display:grid;
  grid-template-columns:38px 38px minmax(0,1fr) auto;
  align-items:center; gap:12px;
  padding:0 18px;
}
.jt-rank-position-num {
  width:34px; height:34px; display:grid; place-items:center;
  border:1px solid rgba(59,130,246,.65); border-radius:50%;
  color:#57a0ff; font-size:12px; font-weight:700;
}
.jt-rank-avatar.mini { width:34px; height:34px; border-radius:50%; font-size:12px; }
.jt-rank-my-position > div { display:flex; flex-direction:column; min-width:0; }
.jt-rank-my-position > div strong { color:#f1f2f3; font-size:13px; }
.jt-rank-my-position > div span { color:#858a92; font-size:11px; }
.jt-rank-my-position > b { color:#f4f4f5; font-size:13px; font-variant-numeric:tabular-nums; }
.jt-rank-not-ranked {
  display:grid; place-items:center;
  padding:0 20px;
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.005);
  color:#9c9fa5; font-size:14px;
}
.jt-rank-list { margin-top:16px; }
.jt-rank-list-head {
  display:grid; grid-template-columns:34px minmax(0,1fr) 160px; gap:12px;
  padding:0 24px 11px;
  color:#8d9198; font-size:10px; font-weight:700; letter-spacing:.03em;
}
.jt-rank-list-head span:last-child { text-align:right; }
.jt-rank-row {
  min-height:62px;
  display:grid; grid-template-columns:34px minmax(0,1fr) 160px; gap:12px; align-items:center;
  padding:8px 16px 8px 24px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:rgba(255,255,255,.006);
  margin-bottom:6px;
}
.jt-rank-row-place { color:#969aa1; font-size:13px; font-weight:700; }
.jt-rank-member { display:flex; align-items:center; gap:12px; min-width:0; }
.jt-rank-avatar.row-avatar { width:38px; height:38px; flex:0 0 38px; border-radius:50%; font-size:14px; }
.jt-rank-member > div { min-width:0; display:flex; flex-direction:column; }
.jt-rank-member strong,.jt-rank-member span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.jt-rank-member strong { color:#f1f2f3; font-size:14px; }
.jt-rank-member span { color:#7f848c; font-size:11px; }
.jt-rank-row-value { text-align:right; color:#f4f4f5; font-size:13px; font-variant-numeric:tabular-nums; }
.jt-rank-empty {
  margin:70px 0 26px;
  padding:34px 24px;
  border:1px solid rgba(255,255,255,.075); border-radius:16px;
  text-align:center;
}
.jt-rank-empty strong { font-size:15px; }
.jt-rank-empty p { margin:6px 0 0; color:#8f949c; font-size:12px; }
.jt-rank-source-note { margin:34px 0 0; color:#646a73; font-size:10px; text-align:center; }

@media (max-width:780px) {
  .jt-rank-page { width:min(calc(100% - 24px),1120px); padding-top:48px; }
  .jt-rank-head h1 { font-size:32px; }
  .jt-rank-toolbar { display:block; overflow-x:auto; }
  .jt-rank-metrics { width:max-content; min-width:100%; }
  .jt-rank-periods,.jt-rank-static-period { width:max-content; margin-left:auto; }
  .jt-rank-podium { grid-template-columns:1fr; min-height:0; gap:24px; padding-top:34px; }
  .jt-rank-podium-item.place-1 { transform:none; order:-1; }
  .jt-rank-podium-item h2 { margin-bottom:12px; }
  .jt-rank-value-card { min-height:168px; padding-top:24px; }
  .jt-rank-value-card::after, .jt-rank-position-badge { bottom:66px; }
  .jt-rank-value-card small { bottom:31px; }
  .jt-rank-list-head,.jt-rank-row { grid-template-columns:26px minmax(0,1fr) 96px; }
  .jt-rank-list-head { padding-left:12px; padding-right:10px; }
  .jt-rank-row { padding-left:12px; padding-right:10px; }
}

/* =========================================================
   HOME — barra de chat Twitch no rodapé do hero
   ========================================================= */
.jt-hero-chat {
  position:absolute;
  z-index:4;
  left:0;
  right:0;
  bottom:27px;
  min-width:0;
  display:flex;
  align-items:center;
  gap:22px;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1;
}
.jt-hero-chat-label {
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
  color:#ff3347;
  font-size:11px;
  font-weight:800;
  letter-spacing:.20em;
}
.jt-hero-chat-label .jt-chat-dot {
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#ff3347;
  box-shadow:0 0 0 0 rgba(255,51,71,.42);
  animation:jtChatDotPulse 1.55s ease-out infinite;
}

@keyframes jtChatDotPulse {
  0% {
    box-shadow:0 0 0 0 rgba(255,51,71,.46);
  }
  70% {
    box-shadow:0 0 0 7px rgba(255,51,71,0);
  }
  100% {
    box-shadow:0 0 0 0 rgba(255,51,71,0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jt-hero-chat-label .jt-chat-dot {
    animation:none;
    box-shadow:0 0 0 3px rgba(255,51,71,.09);
  }
}
.jt-hero-chat-viewport {
  min-width:0;
  flex:1;
  overflow:hidden;
  white-space:nowrap;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 36px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 36px),transparent 100%);
}
.jt-hero-chat-track {
  width:max-content;
  min-width:100%;
  display:flex;
  align-items:center;
  gap:30px;
  padding:3px 34px 3px 22px;
  box-sizing:border-box;
}
.jt-live-chat-message {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  max-width:520px;
  min-width:0;
  font-size:13px;
  font-weight:600;
}
.jt-live-chat-name {
  flex:0 0 auto;
  font-weight:800;
  color:#289cff;
}
.jt-live-chat-text {
  overflow:hidden;
  color:rgba(255,255,255,.72);
  text-overflow:ellipsis;
  white-space:nowrap;
}
.jt-live-chat-emote {
  width:auto;
  height:20px;
  vertical-align:middle;
  object-fit:contain;
  margin:0 1px;
}
.jt-hero-chat-status {
  color:rgba(255,255,255,.42);
  font-size:12px;
  font-weight:500;
}
@media (max-width:760px) {
  .jt-hero-chat { bottom:19px; gap:12px; }
  .jt-hero-chat-label { font-size:10px; }
  .jt-hero-chat-track { gap:20px; padding-left:12px; }
  .jt-live-chat-message { max-width:310px; font-size:12px; }
  .jt-live-chat-emote { height:18px; }
}

/* Twitch badges (broadcaster, mod, VIP, subscriber, Prime, bits...) */
.jt-live-chat-identity {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-width:0;
}
.jt-live-chat-badge {
  display:inline-block;
  width:18px;
  height:18px;
  flex:0 0 18px;
  object-fit:contain;
  vertical-align:middle;
}
@media (max-width:760px) {
  .jt-live-chat-badge {
    width:16px;
    height:16px;
    flex-basis:16px;
  }
}

/* Chat ticker: Twitch emotes rendered inline with the message */
.jt-live-chat-text {
  display:inline-flex;
  align-items:center;
  min-width:0;
}
.jt-live-chat-emote {
  display:inline-block;
  flex:0 0 auto;
  max-width:42px;
}
\n\n/* =========================================================\n   CHAT TICKER — continuous left marquee + pause on hover\n   ========================================================= */\n.jt-hero-chat-viewport {\n  position: relative;\n  overflow: hidden;\n  cursor: default;\n}\n\n.jt-hero-chat-track {\n  width: max-content;\n  min-width: 100%;\n  will-change: transform;\n  transform: translate3d(0,0,0);\n  backface-visibility: hidden;\n}\n\n/* Keep each message on one line and prevent the browser from shrinking it\n   while the JS recycles messages from the beginning to the end. */\n.jt-live-chat-message {\n  flex: 0 0 auto;\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .jt-hero-chat-track {\n    will-change: auto;\n  }\n}\n