/* Défi de l'ours (solo gratuit) */
body.defi-open{overflow:hidden}
body.defi-open .clubGate{display:none!important}
.defiScreen{position:fixed;inset:0;z-index:9000;overflow-y:auto;background:radial-gradient(circle at 50% -10%,#6a420f66 0,transparent 40%),repeating-linear-gradient(90deg,#e6a91f08 0 1px,transparent 1px 34px),#070706;color:#fff;padding:calc(10px + env(safe-area-inset-top,0px)) 16px calc(30px + env(safe-area-inset-bottom,0px))}
.defiScreen[hidden]{display:none}
.dfTop,.dfBody{max-width:520px;margin:0 auto}
.dfTop{display:flex;justify-content:space-between;align-items:center;padding:4px 0 10px;font:900 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:3px;color:#f4c441}
.dfTop button{width:38px;height:38px;padding:0;border-radius:50%;background:#1a140d;color:#f4c441;font-size:16px}
.dfBody{display:grid;gap:14px}
.dfEyebrow{font:900 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:3px;color:#f4c441;text-align:center}
.dfIntro{display:grid;gap:10px}
.dfIntro h1{margin:4px 0 6px;text-align:center;font-size:44px;line-height:.92;font-weight:950;letter-spacing:-1px}
.dfIntro h1 span{color:#f4c441}
.dfRules{list-style:none;margin:0 0 4px;padding:12px 14px;display:grid;gap:7px;border:1px solid #59401f;border-radius:12px;background:#0d0b09;font-size:15px;color:#f4e6cf}
.dfIntro input,.dfIntro select,.dfAnswer input{margin:0}
.dfPrimary{padding:17px 14px;font-size:19px;letter-spacing:.5px;box-shadow:0 0 0 3px #000,0 0 22px #e6a91f44}
.dfGhost{background:#1a140d;color:#f4e6cf;border:1px solid #59401f;font-size:15px;padding:12px}
.dfErr,.dfBad{margin:0;color:#ff8379;font-weight:800;text-align:center}
.dfHud{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:10px 14px;border:1px solid #59401f;border-radius:12px;background:#0d0b09}
.dfHud b{font-size:22px;color:#f4c441}
.dfHud span{font-size:20px;letter-spacing:2px}
.dfHud small{justify-self:end;color:#bfae95;font-weight:700}
.dfLost{opacity:.45}
.dfLast{font:900 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:1px;color:#ff6a5c;animation:dfBlink 1s steps(2,end) infinite}
@keyframes dfBlink{50%{opacity:.35}}
.dfListen{display:grid;gap:14px;justify-items:center;text-align:center}
.dfHint{margin:0;font-size:17px;font-weight:800;color:#f4e6cf}
.dfEq{display:flex;gap:6px;align-items:flex-end;height:46px}
.dfEq i{width:9px;border-radius:3px;background:#e6a91f;animation:dfEq .9s ease-in-out infinite}
.dfEq i:nth-child(2){animation-delay:.15s}.dfEq i:nth-child(3){animation-delay:.3s}.dfEq i:nth-child(4){animation-delay:.45s}.dfEq i:nth-child(5){animation-delay:.6s}
@keyframes dfEq{0%,100%{height:10px}50%{height:46px}}
.dfBuzz{width:min(70vw,280px);aspect-ratio:1/1;border-radius:50%;padding:0;font-size:clamp(44px,14vw,64px);font-weight:950;color:#fff;letter-spacing:-1px;background:radial-gradient(circle at 50% 34%,#ff4a3d 0%,#e3261c 54%,#a91812 100%);border:10px solid #6a1712;box-shadow:0 12px 0 #2c0907,0 18px 34px #000b,0 0 40px #d82a2044;text-shadow:0 3px 0 #7d110c}
.dfBuzz:active{transform:translateY(8px);box-shadow:0 4px 0 #2c0907,0 8px 20px #000b}
.dfAnswer{display:grid;gap:10px;text-align:center}
.dfAnswer small{color:#bfae95}
.dfTimer{margin:0 auto;width:86px;height:86px;border-radius:50%;display:grid;place-items:center;border:4px solid #e6a91f;font-size:38px;font-weight:950;color:#f4c441}
.dfTimer.dfHurry{border-color:#ff4a3d;color:#ff6a5c}
.dfReveal{display:grid;gap:10px;text-align:center}
.dfRevealHead{font-size:24px;font-weight:950;color:#f4c441}
.dfReveal img{width:150px;height:150px;margin:0 auto;border-radius:12px;object-fit:cover;box-shadow:0 0 0 3px #000,0 10px 30px #000}
.dfRow{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:10px;border:1px solid #59401f;background:#0d0b09;text-align:right}
.dfRow span{flex:none;font-weight:800;color:#bfae95}
.dfRow b{overflow-wrap:anywhere}
.dfRow.ok{border-color:#3f7a49}.dfRow.ko b{color:#d7c8b3}
.dfOver{display:grid;gap:10px;text-align:center}
.dfScore{font-size:64px;font-weight:950;color:#f4c441;line-height:1}
.dfOver p{margin:0;color:#f4e6cf}
.dfParty{display:grid;gap:4px;padding:14px;border-radius:12px;border:2px dashed #e6a91f;color:#f4e6cf;text-decoration:none}
.dfParty b{color:#f4c441;font-size:16px}.dfParty span{font-size:13px;color:#bfae95}
.dfBoards{display:grid;gap:8px;margin-top:6px}
.dfTabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.dfDaily small{display:block;margin-top:5px;font-size:12px;font-weight:700;letter-spacing:0;opacity:.85}
.dfFree{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.dfFree select{margin:0}.dfFree button{width:auto;white-space:nowrap}
.dfLocked{display:grid!important;gap:4px;width:100%;margin-top:14px;padding:14px 16px!important;border-radius:16px!important;text-align:left;background:linear-gradient(135deg,#2a1d0c,#140d05)!important;border:1px dashed #e6a91f!important;color:#f1e6d2!important;box-shadow:none!important;cursor:pointer}
.dfLocked b{color:#f4c441;font-size:17px;font-weight:900}
.dfLocked span{font-size:13px;font-weight:700;opacity:.85;line-height:1.35}
.dfLocked em{font-style:normal;font-size:13px;font-weight:900;color:#1a0f02;background:#f4c441;justify-self:start;padding:5px 10px;border-radius:999px;margin-top:4px}
.dfHintBox{padding:10px;border-radius:10px;border:1px dashed #e6a91f;color:#f4c441;font:800 17px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:2px}
.dfFast{font-weight:950;color:#7fd6ff;font-size:16px;letter-spacing:.5px}
.dfGrid{font-size:26px;letter-spacing:3px;line-height:1.2}
.dfTabs button{padding:10px 4px;font-size:11px;letter-spacing:.3px;background:#1a140d;color:#d7c8b3;border:1px solid #59401f}
.dfTabs button.on{background:#e6a91f;color:#171006;border-color:#e6a91f}
.dfBoard{border:1px solid #59401f;border-radius:12px;background:#0d0b09;padding:6px 10px}
.dfBoard ol{list-style:none;margin:0;padding:0}
.dfBoard li{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;padding:8px 2px;border-bottom:1px solid #2a2016}
.dfBoard li:last-child{border-bottom:0}
.dfBoard li em{font-style:normal;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dfBoard li b{color:#f4c441}
.dfBoard li.me{background:#e6a91f18;border-radius:8px}
.dfEmpty{margin:10px 0;text-align:center;color:#bfae95}

/* ---- Vinyle Bear is BacK qui tourne (remplace les calendriers) ---- */
.bbVinyl{display:inline-block;width:1.25em;height:1.25em;border-radius:50%;vertical-align:-.25em;flex:none;
  background:url(/bear-is-back-logo.svg) center/46% no-repeat,radial-gradient(circle closest-side,#fff 0 64%,#e6a91f 65% 70%,#111 71% 100%),#111;
  background-blend-mode:normal;box-shadow:inset 0 0 0 1px #000,0 0 0 1px #3a2a12;animation:bbSpin 2.4s linear infinite;position:relative}
.bbVinyl::after{content:'';position:absolute;inset:0;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 2px,#ffffff10 2px 3px),linear-gradient(135deg,#ffffff30,transparent 40%,transparent 60%,#ffffff18)}
.bbVinyl.big{width:64px;height:64px}
@keyframes bbSpin{to{transform:rotate(360deg)}}

/* ---- En-tête : vrai logo, pleine largeur, palpite → boutique ---- */
.dfTop{position:relative;display:block;padding:12px 0 12px}
.dfTop #dfClose{position:absolute;top:0;right:-4px;z-index:2;width:34px!important;height:34px!important;box-shadow:0 0 0 2px #000!important}
.dfTop .dfBrand{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:14px;width:100%!important;height:auto!important;font-size:16px!important;margin:0;padding:10px 12px!important;border:1px solid #6b512b!important;border-radius:18px!important;
  background:linear-gradient(135deg,#2a1d0c,#120d07)!important;box-shadow:0 0 0 2px #000,0 0 26px #e6a91f33!important;color:#f4c441!important;text-align:left;cursor:pointer}
.dfBrand img{width:clamp(58px,16vw,86px);height:clamp(58px,16vw,86px);border-radius:50%;background:#fff;box-shadow:0 0 0 3px #e6a91f,0 0 22px #e6a91faa;animation:bbPulse 1.6s ease-in-out infinite}
.dfBrandTxt{display:block;white-space:nowrap;font:950 clamp(22px,7.4vw,46px)/.95 system-ui,-apple-system,sans-serif;letter-spacing:.5px;color:#f4c441;text-shadow:0 3px 0 #000}
.dfBrand small{display:block;margin-top:6px;font:800 13px/1.2 system-ui,-apple-system,sans-serif;color:#fff;letter-spacing:0}
@keyframes bbPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 3px #e6a91f,0 0 14px #e6a91f88}50%{transform:scale(1.09);box-shadow:0 0 0 4px #ffd75e,0 0 34px #ffcf4dcc}}

/* ---- Bouton Défi du jour ---- */
.dfDaily{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:14px;text-align:left!important;padding:16px!important;
  background:radial-gradient(circle at 15% 50%,#ffe08a 0,#f4c441 30%,#d8920f 100%)!important;color:#1a0f02!important;
  box-shadow:0 0 0 3px #000,0 6px 0 #7a4f07,0 0 34px #f4c44188!important;animation:dfGlow 2.2s ease-in-out infinite}
.dfDaily .bbVinyl.big{width:72px;height:72px}
.dfDaily strong{display:block;font:950 26px/1 system-ui,-apple-system,sans-serif;letter-spacing:.5px}
.dfDaily small{display:block;margin-top:6px!important;font-size:13px!important;font-weight:800!important;opacity:1!important;color:#3a2304!important}
.dfDaily em{display:inline-block;margin-top:8px;padding:5px 10px;border-radius:999px;background:#1a0f02;color:#f4c441;font:900 13px/1 system-ui,-apple-system,sans-serif;font-style:normal}
@keyframes dfGlow{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}

/* ---- Compte à rebours pendant l'écoute ---- */
.dfListenTimer{width:100%;display:grid;gap:6px;justify-items:center}
.dfListenTimer b{font:950 46px/1 system-ui,-apple-system,sans-serif;color:#f4c441}
.dfListenTimer b.hurry{color:#ff5a4d;animation:dfGlow .5s ease-in-out infinite}
.dfListenTimer span{font-weight:800;color:#d7c8b3;font-size:14px}
.dfListenBar{width:100%;height:10px;border-radius:999px;background:#2a2016;overflow:hidden}
.dfListenBar i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#ff5a4d,#f4c441);border-radius:999px;transition:width .25s linear}

/* ---- Fin de partie : place du jour + partage ---- */
.dfRankBox{display:grid;justify-items:center;margin:6px auto 2px;padding:14px 26px;border-radius:20px;background:radial-gradient(circle at 50% 30%,#ffe08a,#f4c441 40%,#c98a0c);color:#1a0f02;box-shadow:0 0 0 3px #000,0 0 40px #f4c44188;animation:dfGlow 2.2s ease-in-out infinite}
.dfRankBox small{font:900 14px/1 system-ui,sans-serif;letter-spacing:3px}
.dfRankBox b{font:950 64px/1 system-ui,sans-serif}
.dfRankBox span{font:900 16px/1.2 system-ui,sans-serif}
.dfShareBox{margin:14px 0 12px;padding:14px;border:2px dashed #f4c441;border-radius:16px;background:#f4c44112}
.dfShareTitle{margin:0 0 6px;text-align:center;font:950 19px/1.2 system-ui,sans-serif;color:#fff}
.dfSharePreview{margin:0 0 10px;text-align:center;font-style:italic;color:#f5d27a;font-size:14px}
.dfShareBox .dfShareRow button{padding:18px 10px;font-size:19px}
.dfShareBox .dfGhost{margin-top:10px}

/* ---- Classements en tiroirs ---- */
.dfDrawers{display:grid;gap:10px;margin-top:8px}
.dfDrawers h2{margin:4px 0 0;text-align:center;font:950 20px/1 system-ui,-apple-system,sans-serif;color:#f4c441;letter-spacing:1px}
.dfDrawer{border:1px solid #59401f;border-radius:14px;background:#0d0b09;overflow:hidden}
.dfDrawer summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px;font-weight:900;font-size:17px;cursor:pointer;color:#fff}
.dfDrawer summary::-webkit-details-marker{display:none}
.dfDrawer summary .dfLead{margin-left:auto;font-size:13px;color:#f4c441;font-weight:800;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dfDrawer summary::after{content:'▾';color:#f4c441;transition:transform .2s}
.dfDrawer[open] summary::after{transform:rotate(180deg)}
.dfDrawer .dfTabs{grid-template-columns:repeat(3,1fr);padding:0 10px}
.dfDrawer .dfBoard{margin:8px 10px 10px}