/* Foyer — styles des jeux à deux, de la boutique et des bilans */

.coin { display: inline-block; width: 0.95em; height: 0.95em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0 0 18%, var(--honey) 19% 100%); border: 2px solid var(--ink); vertical-align: -0.12em; margin-right: 4px; flex: none; }
.pep-link { color: var(--honey); text-decoration: none; font-weight: 900; display: inline-flex; align-items: center; }
.pep-link .coin { border-color: var(--moss-900); }

/* Boss */
.boss-hero { display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.4fr; gap: 26px; align-items: center; background: color-mix(in oklch, var(--boss) 16%, white); border-color: color-mix(in oklch, var(--boss) 40%, var(--line)); }
.boss-art { display: grid; justify-items: center; gap: 14px; }
.boss-art .bubble { max-width: 260px; text-align: center; }
.boss-art .bubble::before { left: 50%; top: -9px; transform: translateX(-50%) rotate(135deg); }
.boss { filter: drop-shadow(0 5px 0 oklch(0.3 0.04 150 / 0.12)); }
.boss.boss-smug, .boss.boss-hungry { animation: bossBob 2.6s ease-in-out infinite; }
@keyframes bossBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.boss-mini { display: block; text-decoration: none; color: inherit; transition: transform 0.15s var(--ease); }
.boss-mini:hover { transform: translateY(-2px); }

/* Accroches de l'accueil */
.teaser { display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; text-decoration: none; color: inherit; width: 100%; font: inherit; transition: transform 0.15s var(--ease); }
div.teaser { cursor: default; }
.teaser:hover { transform: translateY(-2px); }
div.teaser:hover { transform: none; }
.teaser .grow { display: grid; gap: 2px; }
.teaser b { font-size: var(--fs-md); font-weight: 900; }
.teaser-ic { width: 62px; height: 62px; flex: none; border-radius: 20px; display: grid; place-items: center; font-size: 32px; background: var(--honey-soft); border: 2px solid var(--ink); }

/* Quiz */
.qz { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.qz.rev { background: var(--moss-100); }
.qz-n { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; background: var(--surface); border: 2px solid var(--ink); flex: none; }
.qz-guess { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.qz-p { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 8px; row-gap: 4px; background: var(--surface); padding: 8px 10px; border-radius: 14px; border: 2px solid transparent; min-width: 190px; flex: 1; }
.qz-p > svg { grid-row: 1 / span 2; }
.qz-p > .xs:first-of-type { grid-column: 2 / span 2; }
.qz-p .input { grid-column: 2; padding: 6px 8px; min-width: 0; }
.qz-p .pill { grid-column: 2 / span 2; justify-self: start; }
.qz-p.win { border-color: var(--ink); box-shadow: var(--press-sm); }
.qz-answer { display: grid; justify-items: center; align-content: center; padding: 8px 16px; border-radius: 14px; background: var(--honey); border: 2px solid var(--ink); }
.qz-answer b { font-size: var(--fs-lg); font-weight: 900; }
.qz-guess > .btn { align-self: center; }
.input.secret { -webkit-text-security: disc; }

/* Journées zen */
.zen-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.zen-day { display: grid; justify-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; background: var(--surface-2); font-size: var(--fs-xs); }
.zen-day.ok { background: var(--moss-100); }
.zen-day.ko { background: var(--coral-soft); }

/* Boutique */
.shop-head { background: var(--honey-soft); border-color: color-mix(in oklch, var(--honey) 60%, var(--line)); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.shop-grid.wide { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.shop-item { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; padding: 10px 8px; border-radius: 16px; background: var(--surface-2); border: 2px solid transparent; }
.shop-item.on { border-color: var(--moss-500); background: var(--moss-100); }
.shop-item .btn { padding: 5px 10px; }
.dress-preview { display: grid; justify-items: center; gap: 6px; padding: 10px 14px; border-radius: 22px; background: radial-gradient(circle at 50% 40%, var(--moss-100), var(--surface-2)); }

/* Bilan du mois (cartes) */
.recap { position: fixed; inset: 0; z-index: var(--z-modal); background: oklch(0.22 0.04 150 / 0.72); display: grid; place-items: center; padding: 60px 20px 90px; animation: fade 0.2s var(--ease); }
.recap-bars { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: min(420px, 90vw); display: flex; gap: 6px; }
.recap-bars i { flex: 1; height: 5px; border-radius: 3px; background: oklch(1 0 0 / 0.3); }
.recap-bars i.on { background: #fff; }
.recap-x { position: absolute; top: 30px; right: 22px; color: #fff; font-size: 20px; }
.recap-x:hover { background: oklch(1 0 0 / 0.15); color: #fff; }
.recap-card { width: min(420px, 92vw); min-height: min(540px, 72vh); background: var(--wbg); color: var(--wfg); border: 2.5px solid var(--ink); border-radius: 30px; box-shadow: 0 6px 0 var(--ink); padding: 34px 28px; display: grid; align-content: center; justify-items: center; text-align: center; gap: 12px; animation: pop 0.4s var(--ease-x); overflow-y: auto; }
.recap-card h2 { font-size: var(--fs-2xl); }
.recap-card .lead { font-weight: 800; opacity: 0.85; }
.recap-card .big { font-size: 2.4rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.recap-card .big span { font-size: var(--fs-md); font-weight: 800; opacity: 0.75; }
.recap-nav { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }

@media (max-width: 860px) { .boss-hero { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .boss { animation: none !important; } }
