/* =========================================================
   SUPER MARIO PARTY JAMBOREE - tema "tabuleiro de festa"
   Tudo escopado em .jamboree / body[data-game="jamboree"]
   ========================================================= */

body[data-game="jamboree"] { background: #2ec5f5; }
body[data-game="jamboree"] .mbr-gamenav { background: #123a7a; }
body[data-game="jamboree"] .mbr-gamenav__link { background: #1b4fa0; border-color: #2a62bf; }

.jamboree {
  --jb-yellow: #ffd31a;
  --jb-orange: #ff9a1a;
  --jb-blue: #1e6fff;
  --jb-red: #ff3b3b;
  --jb-green: #2fcf5a;
  --jb-purple: #8b4fd8;
  --jb-pink: #ff4f8b;
  --jb-ink: #23163f;
  --jb-sky: #2ec5f5;
  --jb-display: "Luckiest Guy", "Lilita One", system-ui, sans-serif;
  --jb-ui: "Fredoka", "Nunito", system-ui, sans-serif;
  color: var(--jb-ink);
  overflow-x: clip;
  position: relative;
  background:
    radial-gradient(circle, rgba(255,255,255,.35) 0 3px, transparent 4px) 0 0 / 60px 60px,
    radial-gradient(circle, rgba(255,255,255,.18) 0 6px, transparent 7px) 30px 30px / 60px 60px,
    linear-gradient(180deg, #2ec5f5, #1fa8ea 50%, #2ec5f5);
}
.jamboree img { max-width: 100%; }
.jamboree [hidden] { display: none !important; }
.jb-h2, .jb-btn, .jb-results__title, .jb-hud__name, .jb-log__t, .jb-bcard h3, .jb-mode h3, .jb-duel__btn, .jb-duel__p span, .jb-timeline h3, .jb-platform h3, .jb-finale p { text-transform: uppercase; }
.jb-timeline h3 small { text-transform: none; }
.jb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 2; }

/* ---------- Tipografia ---------- */
.jb-h2 {
  font-family: var(--jb-display); font-weight: 400; line-height: 1.02; letter-spacing: .5px;
  font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 8px 0 12px; color: var(--jb-yellow);
  text-shadow: 3px 3px 0 var(--jb-ink), -2px -2px 0 var(--jb-ink), 2px -2px 0 var(--jb-ink), -2px 2px 0 var(--jb-ink), 0 7px 0 rgba(35,22,63,.35);
}
.jb-kicker {
  display: inline-block; margin: 0; padding: 5px 16px 4px; border-radius: 999px;
  font-family: var(--jb-ui); font-weight: 700; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase;
  background: var(--jb-pink); color: #fff; box-shadow: 0 4px 0 #b8204f;
}
.jb-head { max-width: 800px; margin: 0 auto 32px; text-align: center; }
.jb-head p:not(.jb-kicker) { font-size: 1.1rem; margin: 0; }
.jb-head--light p:not(.jb-kicker) { color: #fff; text-shadow: 0 2px 0 rgba(10,60,120,.45); font-weight: 700; }
.jb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; text-decoration: none;
  font-family: var(--jb-display); font-size: 1.35rem; letter-spacing: .5px; line-height: 1; color: #fff;
  padding: 14px 26px 11px; border-radius: 18px; background: linear-gradient(180deg, #ff6a3d, #ff3b3b);
  box-shadow: 0 6px 0 #a3171c, 0 10px 20px rgba(0,0,0,.2); text-shadow: 2px 2px 0 rgba(0,0,0,.25);
  transition: transform .15s, box-shadow .15s;
}
.jb-btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 #a3171c, 0 14px 24px rgba(0,0,0,.2); }
.jb-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #a3171c; }
.jb-btn--blue { background: linear-gradient(180deg, #4b9bff, #1e6fff); box-shadow: 0 6px 0 #0d3f9e, 0 10px 20px rgba(0,0,0,.2); }
.jb-btn--blue:hover { box-shadow: 0 9px 0 #0d3f9e, 0 14px 24px rgba(0,0,0,.2); }
.jb-btn--small { font-size: 1.05rem; padding: 10px 18px 8px; }

/* ---------- Ilhas (seções em forma de tabuleiro) ---------- */
.jb-sec { position: relative; padding: 20px 0; }
.jb-island {
  padding: clamp(26px, 4vw, 48px); border-radius: 44px; border: 8px solid #fff;
  box-shadow: 0 14px 0 rgba(10,60,120,.28), 0 30px 60px rgba(10,60,120,.18);
}
.jb-island--white { background: #fffdf3; }
.jb-island--grass { background: radial-gradient(circle, rgba(255,255,255,.18) 0 5px, transparent 6px) 0 0 / 40px 40px, linear-gradient(180deg, #8be05b, #5cc23a); }
.jb-island--purple { background: radial-gradient(circle, rgba(255,255,255,.12) 0 6px, transparent 7px) 0 0 / 46px 46px, linear-gradient(160deg, #9b5cf0, #6a2fc0); color: #fff; }
.jb-island--sky { background: linear-gradient(180deg, #e6f8ff, #bfeeff); }

/* ---------- Caminho de espaços entre seções ---------- */
.jb-pathwrap { position: relative; }
.jb-path { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; height: 150px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.jb-path i {
  position: relative; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  border: 4px solid #fff; box-shadow: 0 5px 0 rgba(10,60,120,.3); display: grid; place-items: center;
  font: 400 20px/1 var(--jb-display); color: #fff;
}
.jb-path i:nth-child(12n+1) { transform: translateY(0); }
.jb-path i:nth-child(12n+2) { transform: translateY(-26px); }
.jb-path i:nth-child(12n+3) { transform: translateY(-40px); }
.jb-path i:nth-child(12n+4) { transform: translateY(-26px); }
.jb-path i:nth-child(12n+5) { transform: translateY(0); }
.jb-path i:nth-child(12n+6) { transform: translateY(26px); }
.jb-path i:nth-child(12n+7) { transform: translateY(40px); }
.jb-path i:nth-child(12n+8) { transform: translateY(26px); }
.jb-path i:nth-child(12n+9) { transform: translateY(0); }
.jb-path i:nth-child(12n+10) { transform: translateY(-26px); }
.jb-path i:nth-child(12n+11) { transform: translateY(-40px); }
.jb-path i:nth-child(12n+12) { transform: translateY(-26px); }
.jb-path--alt { transform: scaleY(-1); }
.jb-path--alt i::after { transform: scaleY(-1); }
.jb-path i.b, .jb-space.b::before { background: radial-gradient(circle at 40% 35%, #6fb2ff, #1e6fff 70%); }
.jb-path i.r, .jb-space.r::before { background: radial-gradient(circle at 40% 35%, #ff8a8a, #ff3b3b 70%); }
.jb-path i.q, .jb-space.q::before { background: radial-gradient(circle at 40% 35%, #7dff9a, #2fcf5a 70%); }
.jb-path i.s, .jb-space.s::before { background: radial-gradient(circle at 40% 35%, #fff4a0, #ffc400 70%); }
.jb-path i.w, .jb-space.w::before { background: radial-gradient(circle at 40% 35%, #8a3a2a, #3a120c 70%); }
.jb-path i.q::after { content: "?"; display: block; }
.jb-path i.s::after { content: "★"; display: block; font-family: var(--jb-ui); color: #fff; text-shadow: 0 1px 0 #b07800; }
.jb-path i.w::after { content: "B"; display: block; color: #ffcf3a; }
.jb-coin-path { position: absolute; left: calc(50% + 70px); top: 34px; z-index: 3; }

/* ===================== HERÓI ===================== */
.jb-hero { position: relative; overflow: hidden; padding: 50px 0 70px; isolation: isolate; }
.jb-hero__burst { position: absolute; inset: -20%; z-index: -2;
  background: repeating-conic-gradient(from 0deg at 50% 55%, #ffd31a 0 9deg, #ffbb00 9deg 18deg);
  animation: jb-spin 60s linear infinite; }
.jb-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 70% at 50% 55%, transparent 40%, rgba(255,120,0,.45)); }
@keyframes jb-spin { to { transform: rotate(360deg); } }
.jb-confetti { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle, #ff4f8b 0 5px, transparent 6px) 10% 20% / 180px 150px,
    radial-gradient(circle, #1e6fff 0 4px, transparent 5px) 60% 70% / 140px 170px,
    radial-gradient(circle, #2fcf5a 0 5px, transparent 6px) 30% 40% / 210px 130px,
    radial-gradient(circle, #8b4fd8 0 4px, transparent 5px) 80% 10% / 160px 190px,
    radial-gradient(circle, #fff 0 3px, transparent 4px) 45% 85% / 120px 110px;
  animation: jb-fall 9s linear infinite; }
@keyframes jb-fall { to { background-position: 10% 170%, 60% 240%, 30% 170%, 80% 210%, 45% 200%; } }
.jb-balloons { position: absolute; right: 3%; top: 30px; width: 160px; height: 220px; z-index: 0; }
.jb-balloons i { position: absolute; width: 62px; height: 76px; border-radius: 50% 50% 46% 46%; animation: jb-float 4s ease-in-out infinite; }
.jb-balloons i::before { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 90px; background: rgba(35,22,63,.5); }
.jb-balloons i::after { content: ""; position: absolute; left: 14px; top: 12px; width: 12px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.6); }
.jb-balloons i:nth-child(1) { left: 0; top: 20px; background: radial-gradient(circle at 35% 30%, #ff8a8a, #e01e3c); }
.jb-balloons i:nth-child(2) { left: 50px; top: 0; background: radial-gradient(circle at 35% 30%, #8ac2ff, #1e6fff); animation-delay: -1.3s; }
.jb-balloons i:nth-child(3) { left: 96px; top: 30px; background: radial-gradient(circle at 35% 30%, #9dffb1, #19b043); animation-delay: -2.6s; }
@keyframes jb-float { 50% { transform: translateY(-14px) rotate(4deg); } }
.jb-coin-balloon { position: absolute; right: calc(3% + 64px); top: 168px; z-index: 3; }

.jb-hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: center; }
.jb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.jb-chips span { font-family: var(--jb-ui); font-weight: 700; font-size: .95rem; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--jb-ink); box-shadow: 0 4px 0 rgba(160,90,0,.4); }
.jb-chips span:first-child { background: var(--jb-blue); color: #fff; box-shadow: 0 4px 0 #0d3f9e; }
.jb-hero__logo { margin: 0; }
.jb-hero__logo img { width: min(520px, 100%); filter: drop-shadow(0 8px 0 rgba(140,60,0,.35)); animation: jb-bounce 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes jb-bounce { 0%, 100% { transform: scale(1, 1); } 8% { transform: scale(1.04, .95); } 16% { transform: scale(.98, 1.03) translateY(-8px); } 26% { transform: none; } }
.jb-hook { font-family: var(--jb-ui); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.35; margin: 10px 0 22px; max-width: 540px; }
.jb-hook strong { color: #c4000f; }
.jb-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.jb-hero__art { position: relative; }
.jb-tv { position: relative; border-radius: 34px; padding: 14px; background: linear-gradient(180deg, #2a3d8f, #17245e); box-shadow: 0 14px 0 #0d1640, 0 30px 50px rgba(90,40,0,.35); transform: rotate(2deg); }
.jb-tv::before, .jb-tv::after { content: ""; position: absolute; top: -46px; width: 6px; height: 56px; background: #17245e; border-radius: 3px; }
.jb-tv::before { left: 38%; transform: rotate(-28deg); } .jb-tv::after { left: 58%; transform: rotate(28deg); }
.jb-tv img { width: 100%; border-radius: 22px; display: block; }
.jb-hero__star { position: absolute; left: -36px; bottom: -40px; width: 120px; filter: drop-shadow(0 8px 0 rgba(140,60,0,.35)); animation: jb-float 3s ease-in-out infinite; }

/* ===================== SOBRE ===================== */
.jb-about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.jb-about__txt .jb-h2 { font-size: clamp(2rem, 4vw, 3rem); }
.jb-about__txt p:not(.jb-kicker) { font-size: 1.06rem; }
.jb-results { border-radius: 28px; overflow: hidden; background: #fff; border: 5px solid var(--jb-ink); box-shadow: 8px 8px 0 var(--jb-ink); }
.jb-results__title { margin: 0; padding: 12px 20px 8px; font-family: var(--jb-display); font-weight: 400; font-size: 1.6rem; color: #fff; background: linear-gradient(90deg, var(--jb-blue), #5a8bff); text-shadow: 2px 2px 0 var(--jb-ink); }
.jb-results dl { margin: 0; }
.jb-results dl div { display: grid; grid-template-columns: 150px 1fr; gap: 8px; padding: 9px 18px; }
.jb-results dl div:nth-child(odd) { background: #fff6cf; }
.jb-results dt { font-family: var(--jb-ui); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: #b8204f; padding-top: 1px; }
.jb-results dd { margin: 0; font-weight: 800; }

/* ===================== TABULEIRO (JOGO) ===================== */
.jb-play .jb-head p:not(.jb-kicker) { color: #10320a; font-weight: 700; }
.jb-select { display: flex; align-items: center; gap: 10px; margin: 0 auto 26px; max-width: 980px; }
.jb-select__arrow { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 4px solid #fff; background: var(--jb-blue); color: #fff; font-size: 18px; box-shadow: 0 4px 0 #0d3f9e; }
.jb-select__arrow:hover { background: #3f86ff; }
.jb-select__list { list-style: none; margin: 0; padding: 8px 4px 14px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.jb-select__list::-webkit-scrollbar { display: none; }
.jb-select__list li { scroll-snap-align: start; flex-shrink: 0; }
.jb-select__list button {
  width: 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px 8px; border-radius: 20px;
  background: #fff; border: 4px solid transparent; box-shadow: 0 5px 0 rgba(16,50,10,.3);
  font-family: var(--jb-ui); font-weight: 700; font-size: .85rem; color: var(--jb-ink); line-height: 1.1; transition: transform .15s, border-color .15s;
}
.jb-select__list img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 8%; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--c); }
.jb-select__list button:hover { transform: translateY(-3px); }
.jb-select__list button[aria-pressed="true"] { border-color: var(--c); transform: translateY(-4px); box-shadow: 0 9px 0 rgba(16,50,10,.3); }
.jb-select__list button[aria-pressed="true"]::after { content: "VOCÊ"; font-family: var(--jb-display); font-size: .75rem; color: #fff; background: var(--c); padding: 2px 8px 0; border-radius: 999px; margin-top: 2px; }

.jb-game { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "hud hud" "board log"; gap: 20px 24px; align-items: start; }
.jb-hud {
  grid-area: hud; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 4px solid var(--jb-ink); box-shadow: 0 6px 0 rgba(16,50,10,.35);
  font-family: var(--jb-ui); font-weight: 700;
}
.jb-hud__face { width: 58px; height: 58px; object-fit: cover; object-position: 50% 8%; border-radius: 50%; background: var(--c, #e4262b); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--c, #e4262b); }
.jb-hud__name { font-family: var(--jb-display); font-size: 1.4rem; margin-right: auto; padding-top: 3px; }
.jb-hud__stat { display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 6px; border-radius: 999px; background: #fff6cf; }
.jb-hud__stat img { width: 32px; height: 32px; object-fit: contain; }
.jb-hud__stat b { font-family: var(--jb-display); font-size: 1.6rem; line-height: 1; padding-top: 4px; min-width: 1.4em; }
.jb-hud__stat.is-bump { animation: mbr-bump .35s ease; }
.jb-hud__turn { font-size: 1rem; padding: 6px 14px; border-radius: 999px; background: var(--jb-blue); color: #fff; }
.jb-hud__turn b { font-family: var(--jb-display); font-size: 1.2rem; }

.jb-board {
  grid-area: board; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(5, 1fr);
  aspect-ratio: 7 / 5; width: 100%; max-width: 720px; justify-self: center; border-radius: 34px; padding: 6px;
  background: radial-gradient(circle, rgba(255,255,255,.22) 0 4px, transparent 5px) 0 0 / 34px 34px, linear-gradient(160deg, #a5ec6f, #6fd040);
  border: 8px solid #8a5a2b; box-shadow: inset 0 0 0 4px #c48a4a, 0 10px 0 #5e3b17, 0 20px 30px rgba(0,0,0,.25);
}
.jb-board::before { /* trilha ligando os espaços */
  content: ""; position: absolute; inset: calc(100% / 10) calc(100% / 14); border: 8px dashed rgba(255,255,255,.75); border-radius: 18px; pointer-events: none;
}
.jb-space { position: relative; display: grid; place-items: center; z-index: 1; }
.jb-space::before { content: ""; width: 74%; aspect-ratio: 1; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 0 rgba(0,0,0,.25), inset 0 -4px 0 rgba(0,0,0,.18); grid-area: 1 / 1; }
.jb-space::after { grid-area: 1 / 1; font-family: var(--jb-display); font-size: clamp(.7rem, 1.8vw, 1.15rem); line-height: 1; color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,.35); padding-top: 3px; }
.jb-space.b::after { content: "+3"; }
.jb-space.r::after { content: "−3"; }
.jb-space.q::after { content: "?"; font-size: clamp(1rem, 2.6vw, 1.6rem); }
.jb-space.w::after { content: "B"; color: #ffcf3a; font-size: clamp(1rem, 2.6vw, 1.6rem); }
.jb-space.start::before { background: radial-gradient(circle at 40% 35%, #ffd38a, #ff8a1a 70%); border-radius: 30%; }
.jb-space.start::after { content: "INÍCIO"; font-size: clamp(.5rem, 1.2vw, .78rem); }
.jb-space.has-star::before { background: radial-gradient(circle at 40% 35%, #fff4a0, #ffc400 70%); box-shadow: 0 0 0 4px rgba(255,255,255,.6), 0 0 22px 6px rgba(255,220,0,.9); animation: jb-glow 1.2s ease-in-out infinite alternate; }
.jb-space.has-star::after { content: ""; width: 58%; aspect-ratio: 1; background: url("../../img/itens/power-star.webp") center / contain no-repeat; animation: jb-float 2s ease-in-out infinite; }
@keyframes jb-glow { to { box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 30px 10px rgba(255,220,0,1); } }
.jb-space.is-land::before { animation: jb-land .5s ease; }
@keyframes jb-land { 40% { transform: scale(1.25); } }

.jb-board__center { grid-area: 2 / 2 / 5 / 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; z-index: 2; text-align: center; padding: 6px; }
.jb-dice {
  position: relative; width: clamp(74px, 15vw, 120px); aspect-ratio: 1; border: 0; padding: 0; border-radius: 22%;
  background: linear-gradient(145deg, #ffffff, #dfe9ff); box-shadow: inset 0 -8px 0 #b9c9f0, 0 0 0 5px var(--jb-blue), 0 10px 0 5px #0d3f9e, 0 18px 24px rgba(0,0,0,.25);
  animation: jb-dicebob 1.6s ease-in-out infinite;
}
.jb-dice::before, .jb-dice::after { content: ""; position: absolute; width: 10%; aspect-ratio: 1; border-radius: 50%; background: #b9c9f0; }
.jb-dice::before { left: 9%; top: 9%; } .jb-dice::after { right: 9%; bottom: 14%; }
@keyframes jb-dicebob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.jb-dice__face { font-family: var(--jb-display); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; padding-top: 6%; color: var(--jb-blue); text-shadow: 2px 2px 0 rgba(0,0,0,.15); display: block; }
.jb-dice.is-rolling { animation: jb-shake .12s linear infinite; }
.jb-dice.is-rolling .jb-dice__face { color: var(--jb-red); }
@keyframes jb-shake { 25% { transform: rotate(-6deg) translateY(-6px); } 75% { transform: rotate(6deg) translateY(-6px); } }
.jb-dice.is-hit { animation: jb-hit .45s cubic-bezier(.3,1.8,.5,1); }
@keyframes jb-hit { 30% { transform: translateY(-22px) scale(1.12); } }
.jb-dice[aria-disabled="true"] { cursor: default; }
.jb-board__msg { margin: 4px 0 0; font-family: var(--jb-ui); font-weight: 700; font-size: clamp(.78rem, 1.6vw, 1rem); line-height: 1.2; color: #10320a; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 14px; max-width: 95%; }

.jb-token { position: absolute; left: 0; top: 0; width: calc(100% / 7 * .8); aspect-ratio: 1; z-index: 3; pointer-events: none; transition: left .22s ease-out, top .22s ease-out; }
.jb-token__in { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c, #e4262b); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--c, #e4262b), 0 8px 10px rgba(0,0,0,.35); overflow: hidden; }
.jb-token__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; display: block; }
.jb-token.is-hop .jb-token__in { animation: jb-hop .24s ease-out; }
@keyframes jb-hop { 50% { transform: translateY(-45%) scale(1.06); } }
.jb-hidden-block { position: absolute; right: calc(100% / 7 + 10px); top: calc(100% / 5 + 10px); width: 40px; height: 40px; opacity: .14; z-index: 2; transition: opacity .2s; }
.jb-hidden-block:hover, .jb-hidden-block:focus-visible { opacity: 1; }

.jb-log { grid-area: log; background: #fff; border-radius: 26px; border: 4px solid var(--jb-ink); box-shadow: 0 6px 0 rgba(16,50,10,.35); padding: 16px 16px 18px; }
.jb-log__t { margin: 0 0 8px; font-family: var(--jb-display); font-weight: 400; font-size: 1.3rem; color: var(--jb-blue); }
.jb-log__list { list-style: none; margin: 0 0 10px; padding: 0; max-height: 330px; overflow-y: auto; display: grid; gap: 6px; }
.jb-log__list li { font-size: .93rem; padding: 7px 10px; border-radius: 12px; background: #f2f6ff; border-left: 5px solid #b9c9f0; }
.jb-log__list li.b { border-color: var(--jb-blue); } .jb-log__list li.r { border-color: var(--jb-red); }
.jb-log__list li.q { border-color: var(--jb-green); } .jb-log__list li.w { border-color: #3a120c; background: #fff0ec; }
.jb-log__list li.s { border-color: #ffc400; background: #fff8d6; font-weight: 800; }
.jb-log__list li.end { border-color: var(--jb-pink); background: #ffe6f0; font-weight: 800; }

/* ===================== TABULEIROS ===================== */
.jb-boardgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.jb-bcard { position: relative; border-radius: 30px; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: 0 10px 0 rgba(10,60,120,.3); }
.jb-bcard__art { display: block; height: 140px; border-radius: 22px 22px 0 0; background: linear-gradient(160deg, var(--b1), var(--b2)); position: relative; overflow: hidden; }
.jb-bcard h3 { font-family: var(--jb-display); font-weight: 400; font-size: 1.35rem; line-height: 1.05; margin: 8px 14px 4px; color: var(--jb-ink); }
.jb-bcard p { margin: 0 14px 16px; font-size: .95rem; }
.jb-tag { position: absolute; left: 12px; top: 12px; font-family: var(--jb-ui); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; background: var(--jb-green); color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.2); z-index: 1; }
.jb-tag--classic { background: var(--jb-yellow); color: var(--jb-ink); }
.jb-tag--bowser { background: var(--jb-red); }
.jb-coin-mall { position: absolute; right: 14px; top: 90px; z-index: 2; }
/* mini ilustrações */
.jb-art-tree::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 26px; height: 60px; margin-left: -13px; background: #7a4a1f; border-radius: 6px 6px 0 0; }
.jb-art-tree::after { content: ""; position: absolute; left: 50%; top: 14px; width: 120px; height: 80px; margin-left: -60px; border-radius: 50%; background: radial-gradient(circle at 30% 40%, #b8ff7a, #3fae2f 70%);
  box-shadow: -50px 30px 0 -20px #ffd31a, -66px 34px 0 -22px #ffd31a, 52px 34px 0 -20px #ffd31a, 68px 30px 0 -22px #ff8a1a; }
.jb-art-mall::before { content: ""; position: absolute; inset: 22px 20px 0; background: repeating-linear-gradient(180deg, rgba(255,255,255,.85) 0 6px, transparent 6px 36px); border-radius: 10px 10px 0 0; }
.jb-art-mall::after { content: ""; position: absolute; left: 30%; bottom: 0; width: 46%; height: 70%; background: linear-gradient(135deg, transparent 46%, #fff 46% 54%, transparent 54%); }
.jb-art-lagoon::before { content: ""; position: absolute; left: 22%; bottom: 18px; width: 56%; height: 46px; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #ffe7a6, #e8c06a); box-shadow: 0 -18px 0 -8px #4fc94f; }
.jb-art-lagoon::after { content: ""; position: absolute; inset: auto 0 0; height: 30px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 20px, transparent 20px 40px); opacity: .6; }
.jb-art-race::before { content: ""; position: absolute; inset: 22px 30px; border-radius: 999px; border: 12px solid #3a3d45; box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px #fff; }
.jb-art-race::after { content: ""; position: absolute; right: 22px; top: 16px; width: 30px; height: 20px; background: conic-gradient(#111 25%, #fff 0 50%, #111 0 75%, #fff 0) 0 0 / 10px 10px; box-shadow: -2px 0 0 #111; }
.jb-art-west::before { content: ""; position: absolute; left: 22%; bottom: 0; width: 18px; height: 80px; background: #3f9a3a; border-radius: 10px 10px 0 0; box-shadow: -20px -10px 0 -4px #3f9a3a, 20px 4px 0 -4px #3f9a3a; }
.jb-art-west::after { content: ""; position: absolute; right: 20%; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: #fff3a6; box-shadow: 0 0 0 8px rgba(255,243,166,.35); }
.jb-art-castle::before { content: ""; position: absolute; left: 50%; bottom: -60px; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 60px, #ff4f8b 61px 70px, #ffd31a 71px 80px, #2fcf5a 81px 90px, #1e6fff 91px 100px, transparent 101px); }
.jb-art-castle::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 70px; height: 56px; margin-left: -35px; background: #fff; clip-path: polygon(0 100%, 0 30%, 15% 30%, 15% 0, 30% 0, 30% 30%, 42% 30%, 50% 8%, 58% 30%, 70% 30%, 70% 0, 85% 0, 85% 30%, 100% 30%, 100% 100%); }
.jb-art-keep::before { content: ""; position: absolute; inset: auto 0 0; height: 30px; background: radial-gradient(circle at 20% 0, #ffb000 0 8px, transparent 9px), radial-gradient(circle at 70% 10%, #ffb000 0 6px, transparent 7px), linear-gradient(#ff6a00, #c42a00); }
.jb-art-keep::after { content: ""; position: absolute; left: 50%; bottom: 24px; width: 110px; height: 80px; margin-left: -55px; background: #140505; clip-path: polygon(0 100%, 0 35%, 12% 35%, 12% 10%, 24% 10%, 24% 35%, 38% 35%, 50% 0, 62% 35%, 76% 35%, 76% 10%, 88% 10%, 88% 35%, 100% 35%, 100% 100%); }

/* ===================== MODOS ===================== */
.jb-count { display: inline-block; min-width: 2.2ch; text-align: right; }
.jb-modes .jb-head p:not(.jb-kicker) { text-shadow: none; }
.jb-modegrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.jb-mode { background: #fff; color: var(--jb-ink); border-radius: 26px; padding: 18px; box-shadow: 0 8px 0 rgba(40,10,90,.35); }
.jb-mode h3 { font-family: var(--jb-display); font-weight: 400; font-size: 1.3rem; line-height: 1.05; margin: 10px 0 6px; color: var(--jb-purple); }
.jb-mode p { margin: 0; font-size: .95rem; }
.jb-mode__ico { display: block; width: 58px; height: 58px; border-radius: 50%; position: relative; box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.jb-ico-party { background: conic-gradient(#ff4f8b 0 25%, #ffd31a 0 50%, #2fcf5a 0 75%, #1e6fff 0); }
.jb-ico-koopa { background: radial-gradient(circle at 50% 70%, #fff 0 34%, transparent 35%), radial-gradient(circle at 50% 50%, #2fcf5a 0 60%, #188a33 61%); }
.jb-ico-bomb { background: radial-gradient(circle at 40% 40%, #555, #111 70%); }
.jb-ico-bomb::after { content: ""; position: absolute; right: 2px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(#fff36b, #ff8a00); box-shadow: 0 0 10px #ffb000; }
.jb-ico-buddy { background: radial-gradient(circle at 34% 50%, #ff8ad8 0 30%, transparent 31%), radial-gradient(circle at 66% 50%, #ffd31a 0 30%, transparent 31%), #fff3fb; border: 3px solid #ff8ad8; }
.jb-ico-motion { background: repeating-radial-gradient(circle at 50% 50%, #1e6fff 0 5px, #8ec0ff 5px 10px); }

/* ===================== SAQUE RÁPIDO ===================== */
.jb-duel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: end; gap: 10px;
  min-height: 380px; padding: 30px 30px 0; border-radius: 40px; border: 8px solid #fff; box-shadow: 0 14px 0 rgba(10,60,120,.28);
  background: linear-gradient(180deg, #ff7a3d 0%, #ffb347 45%, #ffd27a 70%);
}
.jb-duel__sky { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,243,166,.9) 0 70px, rgba(255,243,166,0) 71px),
    linear-gradient(transparent 76%, #c8763a 76% 80%, #a85a26 80%),
    radial-gradient(ellipse 18% 22% at 12% 76%, #8a3f1c 0 70%, transparent 71%),
    radial-gradient(ellipse 14% 18% at 90% 76%, #8a3f1c 0 70%, transparent 71%); }
.jb-duel > *:not(.jb-duel__sky) { position: relative; z-index: 1; }
.jb-duel__p { display: flex; flex-direction: column; align-items: center; padding-bottom: 18px; }
.jb-duel__p img { height: 220px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 6px rgba(80,20,0,.4)); transition: transform .3s; }
.jb-duel__p--rival img { transform: scaleX(-1); }
.jb-duel__p span { font-family: var(--jb-display); font-size: 1.3rem; color: #fff; text-shadow: 2px 2px 0 var(--jb-ink); margin-top: 6px; }
.jb-duel__mid { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-bottom: 40px; }
.jb-duel__signal { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-family: var(--jb-display); font-size: 4.2rem; line-height: 1; padding-top: 10px; color: #fff; background: #5a2e7a; border: 6px solid #fff; }
.jb-duel__btn { font-family: var(--jb-display); font-size: 1.6rem; padding: 16px 30px 12px; border-radius: 22px; border: 0; color: var(--jb-ink); background: linear-gradient(180deg, #fff, #ffe7a6); box-shadow: 0 7px 0 #b3651e, 0 12px 20px rgba(0,0,0,.25); min-width: 230px; touch-action: manipulation; }
.jb-duel__btn:active { transform: translateY(5px); box-shadow: 0 2px 0 #b3651e; }
.jb-duel__out { margin: 0; font-family: var(--jb-ui); font-weight: 700; font-size: 1.1rem; color: var(--jb-ink); background: rgba(255,255,255,.85); padding: 8px 14px; border-radius: 14px; min-height: 2.6em; max-width: 360px; }
.jb-duel__best { margin: 0; font-weight: 800; color: var(--jb-ink); background: rgba(255,255,255,.85); padding: 3px 12px; border-radius: 999px; }
.jb-coin-duel { margin-top: -4px; }
.jb-duel.is-wait .jb-duel__signal { background: rgba(35,22,63,.75); animation: jb-tension .5s ease-in-out infinite alternate; }
@keyframes jb-tension { to { transform: scale(1.06); } }
.jb-duel.is-go .jb-duel__signal { background: var(--jb-red); color: #fff; transform: scale(1.25); box-shadow: 0 0 0 10px rgba(255,255,255,.6), 0 0 60px 20px rgba(255,59,59,.8); }
.jb-duel.is-go .jb-duel__btn { background: linear-gradient(180deg, #ff6a6a, #ff3b3b); color: #fff; }
.jb-duel.is-win .jb-duel__p--rival img { transform: scaleX(-1) rotate(-80deg) translateY(30px); }
.jb-duel.is-lose .jb-duel__p--you img, .jb-duel.is-false .jb-duel__p--you img { transform: rotate(80deg) translateY(30px); }

/* ===================== ELENCO ===================== */
.jb-castart { margin: 0; border-radius: 28px; overflow: hidden; background: #fff; border: 5px solid #fff; box-shadow: 0 10px 0 rgba(10,60,120,.2); }
.jb-castart img { width: 100%; display: block; }

/* ===================== HISTÓRIA ===================== */
.jb-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: tl; }
.jb-timeline li { position: relative; display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 26px; padding: 16px; box-shadow: 0 8px 0 rgba(10,60,120,.3); }
.jb-timeline li.is-now { background: #fff6cf; box-shadow: 0 8px 0 rgba(10,60,120,.3), 0 0 0 4px var(--jb-yellow); }
.jb-tl__sp { flex-shrink: 0; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; padding-top: 4px;
  font-family: var(--jb-display); font-size: 1.1rem; color: #fff; background: radial-gradient(circle at 40% 35%, #6fb2ff, #1e6fff 70%); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--jb-blue), 0 4px 0 rgba(0,0,0,.25); }
.jb-timeline li:nth-child(3n+2) .jb-tl__sp { background: radial-gradient(circle at 40% 35%, #ff8a8a, #ff3b3b 70%); box-shadow: 0 0 0 3px var(--jb-red), 0 4px 0 rgba(0,0,0,.25); }
.jb-timeline li:nth-child(3n) .jb-tl__sp { background: radial-gradient(circle at 40% 35%, #7dff9a, #2fcf5a 70%); box-shadow: 0 0 0 3px var(--jb-green), 0 4px 0 rgba(0,0,0,.25); }
.jb-timeline li.is-now .jb-tl__sp { background: radial-gradient(circle at 40% 35%, #fff4a0, #ffc400 70%); color: var(--jb-ink); box-shadow: 0 0 0 3px #e0a800, 0 4px 0 rgba(0,0,0,.25); }
.jb-timeline h3 { margin: 4px 0 4px; font-family: var(--jb-display); font-weight: 400; font-size: 1.2rem; line-height: 1.05; color: var(--jb-ink); }
.jb-timeline h3 small { display: block; font-family: var(--jb-ui); font-weight: 600; font-size: .85rem; color: #6b5a8a; margin-top: 2px; }
.jb-timeline p { margin: 0; font-size: .93rem; }
.jb-coin-tl { position: absolute; right: 10px; top: -16px; }

/* ===================== CURIOSIDADES ===================== */
.jb-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.jb-facts li { display: flex; gap: 14px; align-items: flex-start; }
.jb-facts p { margin: 0; padding-top: 4px; }
.jb-fact__sp { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding-top: 4px; font-family: var(--jb-display); font-size: 1.5rem; color: #fff; background: radial-gradient(circle at 40% 35%, #7dff9a, #2fcf5a 70%); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--jb-green), 0 4px 0 rgba(0,0,0,.2); }

/* ===================== ONDE JOGAR ===================== */
.jb-where { padding-bottom: 60px; }
.jb-wheregrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jb-platform { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 30px; padding: 20px; border: 6px solid #fff; box-shadow: 0 10px 0 rgba(10,60,120,.3); }
.jb-platform > img { width: 110px; border-radius: 8px; box-shadow: 0 6px 12px rgba(0,0,0,.25); }
.jb-platform h3 { font-family: var(--jb-display); font-weight: 400; font-size: 1.45rem; line-height: 1.05; margin: 10px 0 6px; }
.jb-platform p { margin: 0; }
.jb-platform__tv { flex-shrink: 0; width: 110px; height: 90px; border-radius: 18px; background: linear-gradient(180deg, #2a3d8f, #17245e); display: grid; place-items: center; position: relative; box-shadow: 0 6px 0 #0d1640; }
.jb-platform__tv span { width: 80%; height: 70%; border-radius: 10px; display: grid; place-items: center; font-family: var(--jb-display); font-size: 1.6rem; color: #fff; background: repeating-conic-gradient(from 0deg at 50% 50%, #ff4f8b 0 30deg, #ffd31a 30deg 60deg, #2fcf5a 60deg 90deg, #1e6fff 90deg 120deg); text-shadow: 2px 2px 0 var(--jb-ink); }
.jb-chip { display: inline-block; font-family: var(--jb-ui); font-weight: 700; font-size: .78rem; letter-spacing: .5px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: #1b1b1f; color: #fff; }
.jb-chip--red { background: #e60012; }
.jb-finale { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 44px; text-align: center; }
.jb-finale img { width: 110px; filter: drop-shadow(0 8px 0 rgba(10,60,120,.3)); animation: jb-float 3s ease-in-out infinite; }
.jb-finale p { margin: 8px 0 0; font-family: var(--jb-display); font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; text-shadow: 3px 3px 0 var(--jb-ink); }
.jb-coin-end { position: absolute; left: calc(50% + 70px); top: 10px; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1100px) {
  .jb-boardgrid { grid-template-columns: repeat(3, 1fr); }
  .jb-game { grid-template-columns: 1fr; grid-template-areas: "hud" "board" "log"; }
  .jb-log__list { max-height: 200px; }
  .jb-timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .jb-hero__in, .jb-about__grid, .jb-wheregrid { grid-template-columns: 1fr; }
  .jb-hero__art { max-width: 600px; margin: 10px auto 0; width: 100%; }
  .jb-balloons { transform: scale(.7); transform-origin: top right; }
  .jb-coin-balloon { top: 120px; right: calc(3% + 40px); }
  .jb-boardgrid { grid-template-columns: repeat(2, 1fr); }
  .jb-duel { grid-template-columns: 1fr 1fr; grid-template-areas: "mid mid" "you rival"; padding: 24px 16px 0; }
  .jb-duel__mid { grid-area: mid; padding-bottom: 6px; }
  .jb-duel__p--you { grid-area: you; } .jb-duel__p--rival { grid-area: rival; }
  .jb-duel__p img { height: 150px; }
}
@media (max-width: 600px) {
  .jb-sec { padding: 12px 0; }
  .jb-island { border-radius: 30px; border-width: 6px; padding: 22px 14px; }
  .jb-path { height: 110px; padding: 0 14px; }
  .jb-path i { width: 32px; height: 32px; border-width: 3px; font-size: 15px; }
  .jb-path i:nth-child(n+9) { display: none; }
  .jb-coin-path { top: 18px; left: calc(50% + 40px); }
  .jb-balloons { display: none; }
  .jb-coin-balloon { top: 12px; right: 14px; }
  .jb-hero { padding-top: 30px; }
  .jb-hero__star { width: 80px; left: -10px; bottom: -30px; }
  .jb-results dl div { grid-template-columns: 1fr; gap: 0; }
  .jb-select__arrow { display: none; }
  .jb-select__list button { width: 82px; font-size: .78rem; }
  .jb-select__list img { width: 54px; height: 54px; }
  .jb-hud { border-radius: 26px; gap: 8px; padding: 8px 10px; }
  .jb-hud__face { width: 46px; height: 46px; }
  .jb-hud__name { font-size: 1.15rem; }
  .jb-hud__stat b { font-size: 1.3rem; }
  .jb-hud__stat img { width: 26px; height: 26px; }
  .jb-board { border-width: 5px; border-radius: 22px; padding: 3px; }
  .jb-board::before { border-width: 5px; }
  .jb-space::before { border-width: 2px; width: 80%; }
  .jb-board__msg { display: none; }
  .jb-hidden-block { width: 28px; height: 28px; }
  .jb-boardgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .jb-bcard__art { height: 96px; }
  .jb-bcard h3 { font-size: 1.05rem; margin: 6px 10px 2px; }
  .jb-bcard p { font-size: .84rem; margin: 0 10px 12px; }
  .jb-tag { font-size: .62rem; left: 8px; top: 8px; padding: 3px 7px; }
  .jb-coin-mall { top: 50px; right: 8px; }
  .jb-timeline, .jb-facts { grid-template-columns: 1fr; }
  .jb-modegrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 4px 14px 18px; scrollbar-width: none; }
  .jb-modegrid::-webkit-scrollbar { display: none; }
  .jb-mode { scroll-snap-align: center; }
  .jb-platform { flex-direction: column; }
  .jb-duel { min-height: 0; border-width: 6px; border-radius: 30px; }
  .jb-duel__signal { width: 92px; height: 92px; font-size: 3.2rem; }
  .jb-duel__btn { min-width: 0; width: 100%; font-size: 1.35rem; }
  .jb-duel__p img { height: 120px; }
}

/* ===================== MOVIMENTO REDUZIDO ===================== */
@media (prefers-reduced-motion: reduce) {
  .jamboree :not([data-coin]), .jamboree :not([data-coin])::before, .jamboree :not([data-coin])::after { animation: none !important; }
  .jb-token { transition: none; }
}
