/* v10.33-34 : l'accueil des nouveaux joueurs (ui/onboarding.js) et la Capitaine (ui/mascot.js).
   Ordinateur : une grande carte, à gauche la scène (vidéo du jeu / village du pays choisi + la Capitaine et sa bulle),
   à droite les écrans. Téléphone : plein écran, la scène en bandeau en haut, le bouton principal collé en bas.
   Même famille que l'écran de paiement (css/checkout.css) : sombre, or « soleil », Inter + Unbounded. */
.ob-layer { position: fixed; inset: 0; z-index: 8000; display: flex; padding: 20px; overflow: auto;
  background: radial-gradient(900px 600px at 50% 0%, rgba(245, 165, 36, 0.12), transparent 70%), rgba(6, 8, 14, 0.66);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: ob-fade 0.35s ease; }
.ob-layer.out { opacity: 0; transition: opacity 0.3s ease; }
@keyframes ob-fade { from { opacity: 0; } }

.ob {
  --ob-bg: #0d111c; --ob-bg2: #151c2f; --ob-line: rgba(255, 255, 255, 0.1); --ob-line2: rgba(255, 255, 255, 0.18);
  --ob-text: #f1f2f6; --ob-muted: #9ba3b6; --ob-sun: #ffe58f; --ob-amber: #ffc247; --ob-gold: #f5a524; --ob-teal: #35d6c4;
  --ob-grad: linear-gradient(100deg, var(--ob-sun) 0%, var(--ob-amber) 50%, var(--ob-gold) 100%);
  position: relative; margin: auto; width: min(1080px, 100%); height: min(740px, calc(100vh - 40px)); min-height: 560px;
  display: grid; grid-template-columns: minmax(340px, 42%) 1fr;
  font: 400 15px/1.5 'CK Inter', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif; color: var(--ob-text);
  background: var(--ob-bg); border: 1px solid var(--ob-line2); border-radius: 28px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); overflow: hidden;
  -webkit-font-smoothing: antialiased; text-align: start; cursor: default; letter-spacing: normal; text-transform: none;
}
.ob *, .ob *::before, .ob *::after { box-sizing: border-box; font-family: inherit; }
.ob p, .ob h1, .ob h2, .ob h3, .ob ul { margin: 0; padding: 0; }
.ob button { cursor: pointer; font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.ob .hidden { display: none !important; }

/* ------------------------------------------------------------ la scène */
.ob-stage { position: relative; overflow: hidden; background: #0a0d16; isolation: isolate; }
.ob-bgs, .ob-bg { position: absolute; inset: 0; }
.ob-bg { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; opacity: 0; transform: scale(1.06);
  transition: opacity 0.7s ease, transform 6s ease-out; }
.ob-bg.on { opacity: 1; transform: scale(1); }
.ob-bg.off { display: none; }
.ob-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.55) 0%, rgba(8, 10, 16, 0.05) 30%, rgba(8, 10, 16, 0.1) 58%, rgba(8, 10, 16, 0.86) 100%),
    linear-gradient(90deg, transparent 70%, rgba(13, 17, 28, 0.6) 100%); }
.ob-stage-logo { position: absolute; top: 16px; left: 18px; z-index: 3; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 12px;
  background: rgba(8, 10, 16, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.ob-stage-logo b, .ob-logo b { font: 700 19px/1 'CK Unbounded', sans-serif; letter-spacing: -0.03em; }
.ob-stage-logo i, .ob-logo i { font: 700 14px/1 'CK Unbounded', sans-serif; font-style: normal; letter-spacing: 0.08em; background: var(--ob-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ob-float canvas { position: absolute; left: var(--x); bottom: -50px; width: 40px; height: 40px; image-rendering: pixelated; opacity: 0;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.35)); animation: ob-rise var(--s) linear infinite; animation-delay: var(--d); }
@keyframes ob-rise { 0% { transform: translateY(0) rotate(-6deg); opacity: 0; } 12% { opacity: 0.85; } 80% { opacity: 0.85; } 100% { transform: translateY(-560px) rotate(8deg); opacity: 0; } }

/* la Capitaine et sa bulle */
.obm { position: absolute; z-index: 4; left: 50%; bottom: 7%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.obm-body { position: relative; }
.obm-sprite { display: block; image-rendering: pixelated; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4)); }
.obm-shadow { position: absolute; left: 18%; right: 18%; bottom: -4%; height: 9%; border-radius: 50%; background: rgba(0, 0, 0, 0.45); filter: blur(2px); }
.obm-bubble { position: relative; order: -1; margin-bottom: 14px; max-width: min(320px, 82vw); min-height: 50px; padding: 13px 16px 14px;
  font: 600 15px/1.4 'CK Inter', sans-serif; color: #2a1d12; background: #fff8e8; border: 3px solid #2a1d12; border-radius: 16px;
  box-shadow: 0 5px 0 #2a1d12, 0 14px 30px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(8px) scale(0.96); transition: opacity 0.2s, transform 0.2s; cursor: pointer; }
.obm-bubble.on { opacity: 1; transform: none; }
.obm-bubble.pop { animation: obm-pop 0.32s cubic-bezier(0.22, 1.6, 0.36, 1); }
.obm-bubble::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 18px; height: 18px; margin-left: -9px; background: #fff8e8;
  border-inline-end: 3px solid #2a1d12; border-bottom: 3px solid #2a1d12; transform: rotate(45deg); box-shadow: 4px 4px 0 -1px #2a1d12; }
.obm-bubble.sad { background: #e8f0ff; } .obm-bubble.sad::after { background: #e8f0ff; }
@keyframes obm-pop { from { transform: translateY(6px) scale(0.9); } }
.obm.hop .obm-body { animation: obm-hop 0.5s cubic-bezier(0.3, 0.7, 0.4, 1); }
.obm.cheer .obm-body { animation: obm-hop 0.45s cubic-bezier(0.3, 0.7, 0.4, 1) 2; }
.obm.nod .obm-body { animation: obm-nod 0.5s ease; }
.obm.sad .obm-body { animation: obm-sad 0.8s ease forwards; }
.obm.in-left .obm-body { animation: obm-in-l 0.9s linear; }
.obm.in-right .obm-body { animation: obm-in-r 0.9s linear; }
.obm.scanning .obm-body::after { content: ''; position: absolute; left: 50%; top: 38%; width: 140%; height: 70%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(63, 198, 216, 0.55), transparent); animation: obm-glow 0.8s ease-in-out infinite alternate; }
.obm.cheer::before { content: '✦ ✧ ✦'; position: absolute; top: 46%; left: 50%; transform: translateX(-50%); color: var(--ob-sun); font-size: 22px; letter-spacing: 12px; white-space: nowrap;
  animation: obm-spark 0.9s ease-out forwards; pointer-events: none; }
@keyframes obm-hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(0) scale(1.12, 0.88); } 45% { transform: translateY(-22%) scale(0.94, 1.08); } 75% { transform: translateY(0) scale(1.08, 0.92); } }
@keyframes obm-nod { 30% { transform: rotate(-6deg); } 65% { transform: rotate(5deg); } }
@keyframes obm-sad { to { transform: translateY(4%) scale(1.02, 0.95); filter: saturate(0.6) brightness(0.9); } }
@keyframes obm-in-l { from { transform: translateX(-180%); } }
@keyframes obm-in-r { from { transform: translateX(180%); } }
@keyframes obm-glow { from { opacity: 0.4; } to { opacity: 1; } }
@keyframes obm-spark { from { opacity: 1; transform: translate(-50%, 0) scale(0.6); } to { opacity: 0; transform: translate(-50%, -90px) scale(1.2); } }

/* ------------------------------------------------------------ les écrans */
.ob-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0;
  background: radial-gradient(520px 340px at 100% -10%, rgba(245, 165, 36, 0.13), transparent 70%),
    radial-gradient(480px 320px at 0% 110%, rgba(47, 183, 168, 0.1), transparent 70%), var(--ob-bg); }
.ob-top { display: flex; align-items: center; gap: 14px; padding: 22px 30px 4px; flex: none; }
.ob .ob-back { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--ob-line2); background: rgba(255, 255, 255, 0.04); font-size: 17px; line-height: 1; }
.ob .ob-back:hover { background: rgba(255, 255, 255, 0.1); }
.ob-back.ghost { border: 0; background: none; width: 0; margin-inline-end: -14px; }
.ob-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ob-bar i { display: block; height: 100%; background: var(--ob-grad); border-radius: 99px; transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.ob-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; padding: 22px 30px 18px;
  animation: ob-in 0.45s cubic-bezier(0.22, 1, 0.36, 1); scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.15) transparent; }
@keyframes ob-in { from { opacity: 0; transform: translateX(18px); } }
.ob-cta { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 14px 30px 24px; border-top: 1px solid transparent; }
.ob-cta:empty { display: none; }
.ob-logo { display: inline-flex; align-items: baseline; gap: 6px; }
.ob-h { font: 700 clamp(28px, 3.4vw, 40px)/1.08 'CK Unbounded', sans-serif; letter-spacing: -0.035em; }
.ob-h2 { font-size: clamp(24px, 2.8vw, 32px); }
.ob-q { font: 700 clamp(21px, 2.3vw, 27px)/1.2 'CK Unbounded', sans-serif; letter-spacing: -0.025em; }
.ob-q2 { font: 650 18px/1.3 'CK Inter', sans-serif; text-align: center; }
.ob-s { color: #c5cbd9; font-size: 15.5px; }
.ob-k { font-size: 12px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ob-amber); }
.ob-k2 { margin-top: 6px !important; }

.ob .ob-btn { width: 100%; min-height: 58px; padding: 14px 20px; border: 0; border-radius: 16px; font-weight: 750; font-size: 17px;
  color: #1a1204; background: var(--ob-grad); box-shadow: 0 10px 30px rgba(245, 165, 36, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.12s ease, filter 0.12s ease; animation: ob-in-up 0.4s ease both; }
.ob .ob-btn:hover { filter: brightness(1.06); } .ob .ob-btn:active { transform: scale(0.98); }
@keyframes ob-in-up { from { opacity: 0; transform: translateY(10px); } }
.ob .ob-link { background: none; border: 0; color: var(--ob-muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; padding: 8px; }
.ob .ob-link:hover { color: var(--ob-text); }

/* bienvenue */
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--ob-line2); }
.ob-peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.ob-peek-v { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; image-rendering: pixelated; border-radius: 12px; border: 1px solid var(--ob-line2);
  background: #000; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); animation: ob-in-up 0.5s ease both; }
.ob-peek-v:nth-child(2) { animation-delay: 0.08s; } .ob-peek-v:nth-child(3) { animation-delay: 0.16s; }
.ob-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ob-speak { display: inline-flex; align-items: center; gap: 8px; color: var(--ob-muted); font-size: 14px; }
.ob-sel { background: var(--ob-bg2); color: var(--ob-text); border: 1px solid var(--ob-line2); border-radius: 10px; padding: 7px 10px; font: inherit; }

/* langues */
.ob-langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 9px; }
.ob .ob-lang { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px 12px; text-align: start; border-radius: 14px;
  border: 1px solid var(--ob-line2); background: rgba(255, 255, 255, 0.04); transition: border-color 0.15s, background 0.15s, transform 0.12s;
  animation: ob-in-up 0.35s ease both; animation-delay: calc(var(--i) * 0.02s); }
.ob-lang canvas { flex: none; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); image-rendering: pixelated; }
.ob-lang-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ob-lang-t b, .ob-lang-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-lang-t b { font-weight: 650; font-size: 14.5px; } .ob-lang-t small { color: var(--ob-muted); font-size: 12px; }
.ob .ob-lang:hover, .ob .ob-opt:hover { border-color: rgba(255, 194, 71, 0.5); background: rgba(255, 194, 71, 0.06); }
.ob .ob-lang.on, .ob .ob-opt.on { border-color: var(--ob-amber); background: rgba(255, 194, 71, 0.15); box-shadow: 0 0 0 3px rgba(255, 194, 71, 0.15); }

/* choix */
.ob-opts { display: flex; flex-direction: column; gap: 10px; }
.ob .ob-opt { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 11px 16px; text-align: start; border-radius: 16px;
  border: 1px solid var(--ob-line2); background: rgba(255, 255, 255, 0.04); transition: border-color 0.15s, background 0.15s, transform 0.12s;
  animation: ob-in-up 0.35s ease both; animation-delay: calc(var(--i) * 0.05s); }
.ob .ob-opt:active { transform: scale(0.985); }
.ob-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 22px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); }
.ob-lab { flex: 1; font-weight: 600; font-size: 16px; }
.ob-min { font: 700 17px/1 'CK Unbounded', sans-serif; color: var(--ob-sun); }
.ob-unit { color: var(--ob-muted); font-size: 12.5px; white-space: nowrap; }

/* visite du jeu */
.ob-frame { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--ob-line2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.03); animation: ob-zoom 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.ob-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.ob-media.off { visibility: hidden; }
.ob-live { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 99px; font-size: 11px; font-weight: 750; letter-spacing: 0.06em;
  color: #fff; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(4px); }
@keyframes ob-zoom { from { opacity: 0; transform: scale(0.96); } }
.ob-dots { display: flex; justify-content: center; gap: 8px; }
.ob-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); transition: all 0.3s; }
.ob-dots i.done { background: rgba(255, 194, 71, 0.5); }
.ob-dots i.on { width: 26px; background: var(--ob-amber); }

/* à toi : scanner les objets */
.ob-field { position: relative; display: flex; justify-content: space-around; align-items: flex-end; gap: 8px; min-height: 190px; padding: 70px 14px 22px;
  border-radius: 20px; border: 3px solid #2b4a1f; box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.12), 0 12px 30px rgba(0, 0, 0, 0.3);
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px) 0 0 / 34px 34px,
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.08) 0 2px, transparent 3px) 0 0 / 28px 28px, linear-gradient(180deg, #6cbf4e, #4f9a3a); }
.ob-field.done { min-height: 150px; padding-top: 62px; }
.ob .ob-obj { position: relative; display: flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 0 6px;
  animation: ob-bob 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.6s); }
.ob-objic canvas { display: block; width: 64px; height: 64px; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.25)); transition: transform 0.15s; }
.ob .ob-obj:hover .ob-objic canvas { transform: scale(1.08); }
.ob-objsh { width: 44px; height: 9px; margin-top: 2px; border-radius: 50%; background: rgba(0, 0, 0, 0.22); }
.ob-ring { position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; margin: -48px 0 0 -42px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, 0.85);
  animation: ob-spin 6s linear infinite; pointer-events: none; }
.ob-obj.seen .ob-ring { border: 3px solid #7ff3ff; box-shadow: 0 0 18px rgba(127, 243, 255, 0.7); animation: ob-ping 0.6s ease-out; }
.ob-tag { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%) scale(0.6); opacity: 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; padding: 6px 12px 5px; min-width: 76px; border-radius: 10px; white-space: nowrap;
  color: #2a1d12; background: #fff8e8; border: 3px solid #2a1d12; box-shadow: 0 4px 0 #2a1d12; transition: all 0.25s cubic-bezier(0.22, 1.6, 0.36, 1); }
.ob-tag b { font-size: 17px; font-weight: 800; line-height: 1.15; } .ob-tag small { font-size: 11.5px; color: #8a5a10; font-weight: 700; } .ob-tag em { font-style: normal; font-size: 11px; color: #7a6a58; }
.ob-obj.seen .ob-tag { opacity: 1; transform: translateX(-50%) scale(1); }
@keyframes ob-bob { 50% { transform: translateY(-5px); } }
@keyframes ob-spin { to { transform: rotate(360deg); } }
@keyframes ob-ping { from { transform: scale(0.6); opacity: 0; } }
.ob-quiz { position: relative; display: flex; flex-direction: column; gap: 12px; animation: ob-in-up 0.4s ease; }
.ob-picks { display: flex; justify-content: center; gap: 12px; }
.ob .ob-pick { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 20px; border: 2px solid var(--ob-line2); background: rgba(255, 255, 255, 0.06); transition: transform 0.12s; }
.ob .ob-pick canvas { image-rendering: pixelated; }
.ob .ob-pick:hover { transform: translateY(-2px); border-color: rgba(255, 194, 71, 0.6); }
.ob .ob-pick.ok { border-color: var(--ob-teal); background: rgba(53, 214, 196, 0.18); animation: ob-ok 0.5s ease; }
.ob .ob-pick.no { border-color: #ff6b6b; animation: ob-shake 0.35s ease; }
.ob .ob-pick:disabled { cursor: default; }
@keyframes ob-ok { 50% { transform: scale(1.15); } }
@keyframes ob-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.ob-msg { text-align: center; min-height: 22px; font-weight: 650; }
.ob-msg.ok { color: var(--ob-teal); } .ob-msg.no { color: #ff8f8f; }
.ob-confetti { position: absolute; inset: -40px 0 auto; height: 10px; pointer-events: none; }
.ob-confetti i { position: absolute; left: var(--x); top: 0; width: 8px; height: 12px; border-radius: 2px; background: var(--c);
  animation: ob-conf 1.6s cubic-bezier(0.2, 0.7, 0.4, 1) forwards; animation-delay: var(--d); }
@keyframes ob-conf { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(220px) rotate(var(--r)); opacity: 0; } }

/* pourquoi ça marche */
.ob-whys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-why { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--ob-line2); background: rgba(255, 255, 255, 0.04);
  animation: ob-in-up 0.4s ease both; animation-delay: calc(var(--i) * 0.08s); }
.ob-why-i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 21px; border-radius: 12px; background: rgba(255, 194, 71, 0.12); }
.ob-why b { display: block; font-size: 15.5px; margin-bottom: 2px; } .ob-why p { color: #aab2c4; font-size: 13px; line-height: 1.4; }
.ob-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 6px; border-radius: 16px; background: rgba(255, 194, 71, 0.07); border: 1px solid rgba(255, 194, 71, 0.2); }
.ob-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.ob-stat b { font: 700 24px/1 'CK Unbounded', sans-serif; background: var(--ob-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-stat span { color: var(--ob-muted); font-size: 12px; line-height: 1.25; }

/* on prépare le plan */
.ob-step-build .ob-body { justify-content: center; }
.ob-bbar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ob-bbar i { display: block; height: 100%; width: 0; background: var(--ob-grad); transition: width 0.7s ease; }
.ob-pct { font: 700 30px/1 'CK Unbounded', sans-serif; color: var(--ob-sun); }
.ob-blist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ob-bl { display: flex; align-items: center; gap: 12px; color: var(--ob-muted); transition: color 0.3s; font-size: 15.5px; }
.ob-chk { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--ob-line2); display: grid; place-items: center; transition: all 0.3s; }
.ob-bl.done { color: var(--ob-text); }
.ob-bl.done .ob-chk { border-color: var(--ob-teal); background: var(--ob-teal); animation: ob-ok 0.4s ease; }
.ob-bl.done .ob-chk::after { content: '✓'; color: #062420; font-weight: 800; font-size: 14px; }

/* le plan */
.ob-big { font: 700 clamp(26px, 3vw, 36px)/1.12 'CK Unbounded', sans-serif; letter-spacing: -0.03em;
  background: var(--ob-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-chart { display: flex; align-items: flex-end; gap: 14px; height: 168px; padding: 0 6px 26px; border-bottom: 1px solid var(--ob-line); position: relative; }
.ob-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; position: relative; }
.ob-col small { position: absolute; bottom: -24px; color: var(--ob-muted); font-size: 12px; white-space: nowrap; }
.ob-v { font-weight: 700; font-size: 13px; color: var(--ob-sun); animation: ob-in-up 0.4s ease both; animation-delay: calc(var(--d, 0s) + 0.5s); }
.ob-c { flex: none; width: 100%; height: var(--h); border-radius: 10px 10px 4px 4px; background: var(--ob-grad); transform-origin: bottom;
  animation: ob-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: var(--d); }
@keyframes ob-grow { from { transform: scaleY(0); } }
.ob-ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 18px !important; }
.ob-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ob-ticks li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800;
  color: #062420; background: var(--ob-teal); }
.ob-isl { display: flex; align-items: center; gap: 4px; }
.ob-isl span { flex: 1; display: grid; place-items: center; height: 42px; border-radius: 12px; font-size: 20px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ob-line); filter: grayscale(0.7) brightness(0.8); animation: ob-in-up 0.35s ease both; animation-delay: calc(var(--i) * 0.06s); }
.ob-isl span.on { filter: none; background: rgba(255, 194, 71, 0.16); border-color: var(--ob-amber); }

/* l'offre */
.ob-step-offer .ob-body { gap: 13px; }
.ob .ob-x { position: absolute; z-index: 3; top: 20px; right: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ob-line2);
  background: rgba(0, 0, 0, 0.3); font-size: 19px; line-height: 1; opacity: 0; pointer-events: none; transition: opacity 0.6s; }
.ob .ob-x.on { opacity: 0.55; pointer-events: auto; }
.ob-step-offer .ob-top { padding-inline-end: 70px; }
.ob-badge { align-self: flex-start; padding: 6px 13px; border-radius: 99px; font-weight: 750; font-size: 13px; color: #1a1204; background: var(--ob-grad);
  box-shadow: 0 6px 20px rgba(245, 165, 36, 0.3); animation: ob-pulse 2.4s ease-in-out infinite; }
@keyframes ob-pulse { 50% { transform: scale(1.04); } }
/* v10.72 : badge d'événement (core/promo.js), à la place de .ob-badge quand l'admin en allume un */
.ob-promo { align-self: flex-start; display: flex; max-width: 100%; min-width: 0; animation: ob-pulse 2.4s ease-in-out infinite; transform-origin: left center; }
.ob-promo[hidden], .ob-badge[hidden] { display: none; }
/* petits téléphones : badge plus petit (noms longs : « Kembali ke Sekolah »), gros prix qui tient dans l'écran (Rp 85.000) */
@media (max-width: 380px) {
  .ob-promo .lgp-lg { font-size: 12px; }
  .ob-step-offer .ob-price { flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
  .ob-step-offer .ob-price b { font-size: clamp(28px, 10.5vw, 40px); }
}
.ob-timer { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.3); color: #ffc9c9; font-size: 14px; }
.ob-clock { font: 700 18px/1 'CK Unbounded', sans-serif; font-variant-numeric: tabular-nums; color: #ffdede; }
.ob-feats { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ob-feats li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 550; animation: ob-in-up 0.35s ease both; animation-delay: calc(var(--i) * 0.06s); }
.ob-fi { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, 0.06); font-size: 16px; }
.ob-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 14px; margin-top: 2px; }   /* v10.98 : passe à la ligne si les deux prix sont longs (roupie, dong…) */
.ob-price s { color: var(--ob-muted); font-size: 24px; font-weight: 600; text-decoration-color: #ff6b6b; text-decoration-thickness: 2px; }
.ob-price b { font: 700 50px/1 'CK Unbounded', sans-serif; letter-spacing: -0.03em; background: var(--ob-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob .ob-pay { animation: ob-glow 2.2s ease-in-out infinite; }
@keyframes ob-glow { 50% { box-shadow: 0 10px 44px rgba(245, 165, 36, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5); } }
.ob-once { text-align: center; color: var(--ob-muted); font-size: 12.5px; }
.ob .ob-no { align-self: center; background: none; border: 0; color: var(--ob-muted); font-size: 13.5px; padding: 4px 10px; opacity: 0; pointer-events: none; transition: opacity 0.6s; }
.ob .ob-no.on { opacity: 0.7; pointer-events: auto; }

/* « Tu es sûr ? » */
.ob-sure { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; background: rgba(5, 7, 12, 0.6); animation: ob-fade 0.25s ease; }
.ob-sure-in { width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 26px 30px 24px; background: var(--ob-bg2);
  border-top: 1px solid var(--ob-line2); border-radius: 24px 24px 0 0; animation: ob-up 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes ob-up { from { transform: translateY(100%); } }

/* ------------------------------------------------------------ téléphone : la scène en bandeau, plein écran */
@media (max-width: 760px) {
  .ob-layer { padding: 0; }
  .ob { width: 100%; height: 100%; min-height: 0; border-radius: 0; border: 0; grid-template-columns: 1fr; grid-template-rows: 200px 1fr; }
  .ob-stage-logo { top: 14px; left: 16px; } .ob-stage-logo b { font-size: 15px; } .ob-stage-logo i { font-size: 11px; }
  .obm { left: 14px; bottom: 10px; transform: none; flex-direction: row; align-items: flex-end; }
  .obm-bubble { order: 1; margin: 0 0 30px 10px; max-width: calc(100vw - 110px); min-height: 0; padding: 10px 12px; font-size: 13.5px; border-radius: 14px; }
  .obm-bubble::after { left: -11px; bottom: 16px; margin: 0; width: 14px; height: 14px; transform: rotate(135deg); }
  .ob-top { padding: 14px 18px 0; }
  .ob-body { padding: 16px 18px 12px; gap: 14px; }
  .ob-cta { padding: 10px 18px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(13, 17, 28, 0), var(--ob-bg) 30%); }
  .ob-langs { grid-template-columns: 1fr 1fr; }
  .ob-whys { grid-template-columns: 1fr; }
  .ob-stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .ob-chart { height: 140px; }
  .ob-peek { display: none; }
  .ob-h { font-size: 27px; }
  .ob .ob-x { top: 12px; right: 14px; }
  .ob-step-offer .ob-top { padding-inline-end: 60px; }
  .ob-step-hello { grid-template-rows: 150px 1fr; }   /* v10.51 : les langues sont sur le 1er écran — scène plus basse */
  .ob-step-hello .ob-h { font-size: 24px; }
  .ob-step-hello .ob-q-lang { font-size: 18px; margin-top: 2px; }
  .ob-step-hello .ob-chip:nth-child(n+3) { display: none; }
  .ob-step-hello .ob-lang { padding-top: 9px; padding-bottom: 9px; }
  .ob-step-hello .ob-stage-logo { display: none; }   /* la bulle de la Capitaine passait dessus */
  .ob-step-hello .ob-logo { display: none; }
  .ob-step-hello .ob-body { gap: 12px; }
  .ob-chip { font-size: 12.5px; padding: 6px 10px; }
  /* v10.40 : l'offre tient sur un téléphone — prix en haut, avantages serrés, scène plus basse (avant : prix caché sous le bouton) */
  .ob-step-offer { grid-template-rows: 150px 1fr; }
  .ob-step-offer .ob-body { gap: 10px; padding-top: 12px; }
  .ob-step-offer .ob-h { font-size: 23px; }
  .ob-step-offer .ob-price { order: 1; margin: 0; justify-content: flex-start; }
  .ob-step-offer .ob-price b { font-size: 40px; }
  .ob-step-offer .ob-timer { order: 2; padding: 7px 12px; }
  .ob-step-offer .ob-feats { order: 3; gap: 5px; }
  .ob-step-offer .ob-feats li { font-size: 13.5px; gap: 9px; }
  .ob-step-offer .ob-fi { width: 24px; height: 24px; font-size: 13px; border-radius: 7px; }
  .ob-step-offer .ob-cta { gap: 6px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .ob-step-offer { grid-template-rows: 112px 1fr; }
  .ob-step-offer .ob-stage-logo { display: none; }
  .ob-step-hello .ob-chips { display: none; }   /* v10.51 : petit écran → les langues d'abord */
  .ob-step-hello .ob-chip:nth-child(n+3) { display: none; }   /* v10.43 : « 10 min par jour » passait sous « Commencer » */
  .ob-step-offer .ob-feats li:nth-child(n+4) { display: none; }
}

/* v10.37 : le compte gratuit après le refus de l'offre */
.ob-form { display: grid; gap: 10px; margin-top: 18px; max-width: 420px; }
.ob-f { display: grid; gap: 5px; font-size: 13px; font-weight: 650; color: var(--ob-muted); }
.ob-f input { width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 11, 20, 0.7); color: var(--ob-text); font: inherit; font-size: 15px; font-weight: 500; outline: none; }
.ob-f input:focus { border-color: var(--ob-amber); box-shadow: 0 0 0 3px rgba(255, 194, 71, 0.18); }
.ob-form .ob-msg { text-align: start; min-height: 0; font-size: 13.5px; }
.ob-form .ob-msg:empty { display: none; }
.ob-paynote { margin-top: 10px; font-size: 13.5px; }

/* v10.63 : la langue de la pub, déjà choisie (bouton doré au-dessus de la liste) */
.ob .ob-btn.ob-pre { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 2px; font-size: 19px; }
.ob .ob-btn.ob-pre canvas { border-radius: 4px; box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
