/* Tarot du jour — outil de tirage (includes/daily_tool.php, assets/js/daily.js).
   Ambiance propre à la page : ciel étoilé sombre (étoiles, nébuleuses, étoile filante) décliné selon le moment de la journée.
   Chargé après home.css et content.css (barre de navigation, briques éditoriales sous l'outil : body.page-content).
   En fin de fichier : mise en page propre de l'éditorial (bloc « dy- », includes/daily_editorial.php). */

.page-daily .site-main { padding-top: 1rem; }


/* ---------- Cadre ---------- */
.dt {
	position: relative; isolation: isolate; overflow: hidden; overflow: clip;   /* clip : jamais de défilement interne (focus d'un bouton) */
	margin: 0 auto; padding: 2rem 1rem 2rem; border-radius: 24px; text-align: center; color: var(--dt-ink);
	background: linear-gradient(var(--sky-1), var(--sky-2) 55%, var(--sky-3));
	box-shadow: 0 1px 2px rgba(18, 24, 48, .1), 0 22px 56px rgba(18, 24, 48, .28);
}

/* ---------- Haut : titre et date | guide du tirage (2 colonnes sur grand écran) ---------- */
.dt-top { position: relative; z-index: 2; display: grid; gap: 1rem; justify-items: center; max-width: 980px; margin: 0 auto; }
@media (min-width: 760px) {
	.dt-top { grid-template-columns: 1fr 1fr; align-items: center; gap: 2.2rem; justify-items: stretch; padding: 0 .6rem; }
	.dt-head { align-self: start; padding-top: .2rem; text-align: left; }   /* titre calé en haut de sa colonne */
	.dt-head .dt-date { justify-content: flex-start; }
	.dt-head .dt-date::before, .dt-head .dt-date::after { display: none; }   /* filets décoratifs : seulement en mise en page centrée */
}
.dt-head { position: relative; z-index: 2; }
.dt-head > * { animation: dtUp .8s cubic-bezier(.2, .8, .2, 1) both; }
.dt-head > :nth-child(2) { animation-delay: .12s; }
.dt-head > :nth-child(3) { animation-delay: .24s; }

/* Lune du jour, sous la date */
.dt-moon {
	display: inline-flex; align-items: center; gap: .45rem; margin: .65rem 0 0; padding: .3rem .9rem;
	border: 1px solid var(--dt-pill-line); border-radius: 999px; background: var(--dt-pill);
	font-size: .88rem; color: var(--dt-ink); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.dt-moon .moon-phase { color: var(--m-accent); flex: none; }
.dt-moon__sep { opacity: .5; }
@keyframes dtUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Guide : étapes, titre et consigne du moment, bouton d'action */
.dt-guide {
	display: grid; gap: .55rem; align-content: start; justify-items: center; width: 100%; max-width: 460px; min-height: 11.6rem; padding: 1rem 1.2rem 1.1rem;
	border: 1px solid var(--dt-pill-line); border-radius: 18px; background: var(--dt-pill); text-align: center;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	box-shadow: 0 10px 30px rgba(18, 24, 48, .06);
	transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 760px) { .dt-guide { justify-self: end; } }
.dt-guide.is-hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }

.dt-steps { display: flex; flex-wrap: wrap; justify-content: center; justify-self: stretch; gap: .35rem .9rem; margin: 0; padding: 0; list-style: none; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dt-soft); }
.dt-step { display: inline-flex; align-items: center; gap: .4rem; opacity: .55; transition: opacity .4s ease, color .4s ease; }
.dt-step__n { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; border: 1.5px solid currentColor; font-size: .74rem; letter-spacing: 0; transition: background .4s ease, color .4s ease, border-color .4s ease; }
.dt-step.is-on { opacity: 1; color: var(--m-accent); }
.dt-step.is-on .dt-step__n { background: var(--m-accent); border-color: var(--m-accent); color: #fff; }
.dt-step.is-done { opacity: .85; }
.dt-step.is-done .dt-step__n { color: transparent; position: relative; }
.dt-step.is-done .dt-step__n::after { content: '✓'; position: absolute; color: var(--m-accent); font-size: .8rem; }
.dt .dt-step.is-on .dt-step__n { color: #1b2547; }

/* Étapes en haut, titre + consigne centrés verticalement dans la hauteur restante du cadre, bouton en bas */
.dt-guide { grid-template-rows: auto 1fr auto; align-content: stretch; }
.dt.is-seen .dt-guide { grid-template-rows: none; align-content: center; }
.dt-guide:has(.dt-btn.is-out):has(.dt-form[hidden]) .dt-actions { display: none; }   /* rien à afficher : pas de ligne vide qui décentre le message */
.dt-guide:has(.dt-btn.is-out):has(.dt-form[hidden]) .dt-msg { padding-top: .85rem; }  /* compense la marge basse du cadre : même espace au-dessus et au-dessous du texte */
.dt-msg { display: grid; gap: .3rem; align-content: center; transition: opacity .25s ease, transform .25s ease; }
.dt-msg.is-swap { opacity: 0; transform: translateY(4px); }
.dt-msg__title { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 800; line-height: 1.15; color: var(--dt-title); }
.dt-msg__title:empty { display: none; }

.dt .dt-title { margin: 0; color: var(--dt-title); line-height: 1.05; }
.dt-title__main { display: block; font-family: 'Fraunces', Georgia, serif; font-size: clamp(2.3rem, 6.4vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.dt-title__sub { display: block; margin-top: .45rem; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: clamp(.95rem, 2.2vw, 1.08rem); font-weight: 500; letter-spacing: .01em; color: var(--dt-soft); }

.dt-date { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1rem 0 0; font-size: .86rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--m-accent); }
.dt-date::before, .dt-date::after { content: ''; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); opacity: .7; }
.dt-date::after { transform: scaleX(-1); }

/* ---------- Table ---------- */
.dt-stage { position: relative; z-index: 1; max-width: 980px; height: var(--stage-h, 480px); margin: 1.2rem auto 0; transition: height .6s cubic-bezier(.2, .8, .2, 1); --cw: 104px; --ch: 191px; --rw: 190px; --rh: 350px; }
.dt-card, .dt-pile, .dt-reveal, .dt-halo, .dt-spark, .dt-orb, .dt-shock { position: absolute; left: 0; top: 0; }
.dt-card { width: var(--cw); height: var(--ch); opacity: 0; will-change: transform; pointer-events: none; }
.dt-card img { display: block; width: 100%; height: 100%; border-radius: 8px; box-shadow: 0 1px 2px rgba(18, 24, 48, .12), 0 6px 14px rgba(18, 24, 48, .14); transition: box-shadow .8s ease; }
/* Reflet de lumière (animé par daily.js pendant l'éclosion) */
.dt-card::after {
	content: ''; position: absolute; inset: 0; border-radius: 8px; opacity: 0; pointer-events: none;
	background: linear-gradient(110deg, transparent 38%, rgba(255, 252, 238, .9) 50%, transparent 62%) no-repeat;
	background-size: 250% 100%; background-position: 160% 0;
}
/* Éclosion : les pétales rayonnent d'une lueur dorée */
.dt-stage.is-bloom .dt-card img { box-shadow: 0 0 0 1px rgba(255, 226, 160, .55), 0 0 22px rgba(255, 206, 110, .55), 0 8px 18px rgba(18, 24, 48, .16); }

/* Cœur de lumière d'où naissent les cartes */
.dt-orb { width: var(--orb, 130px); height: var(--orb, 130px); margin: calc(var(--orb, 130px) / -2) 0 0 calc(var(--orb, 130px) / -2); z-index: 30; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.dt-orb::before, .dt-orb::after { content: ''; position: absolute; border-radius: 50%; }
.dt-orb::before { inset: -35%; background: radial-gradient(closest-side, #fff 0%, #fff8e2 20%, rgba(255, 226, 150, .8) 42%, rgba(255, 206, 110, .28) 68%, transparent 100%); }
.dt-orb::after { inset: 0; border: 1.5px solid rgba(232, 192, 110, .75); opacity: 0; }
.dt-orb.is-on::before { animation: dtBreath 1.8s ease-in-out infinite; }
.dt-orb.is-on::after { animation: dtRipple 1.8s ease-out infinite; }
@keyframes dtBreath { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.1); } }
@keyframes dtRipple { from { transform: scale(.5); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

/* Onde lumineuse quand le paquet se forme */
.dt-shock { width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; z-index: 55; pointer-events: none; border: 2px solid rgba(236, 200, 120, .9); box-shadow: 0 0 24px rgba(255, 214, 130, .6), inset 0 0 18px rgba(255, 214, 130, .45); }

/* Paquets à choisir : zone cliquable invisible posée sur chaque paquet (l'effet de survol est porté par les cartes, daily.js) */
.dt-pile { width: var(--cw); height: var(--ch); padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; z-index: 40; -webkit-tap-highlight-color: transparent; }
.dt-pile:focus { outline: none; }
/* Paquet survolé : ses cartes du dessus s'ouvrent en éventail et rayonnent */
.dt-card.is-hot img { transition-duration: .3s; box-shadow: 0 0 0 1.5px rgba(255, 226, 160, .8), 0 0 28px rgba(255, 204, 100, .7), 0 16px 28px rgba(18, 24, 48, .24); }

/* Éclair de lumière au-dessus du paquet choisi */
.dt-flash { position: absolute; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; z-index: 58; pointer-events: none; background: radial-gradient(closest-side, #fff 0%, rgba(255, 246, 214, .95) 25%, rgba(255, 214, 130, .55) 55%, transparent 100%); }

/* Carte révélée (bouton : un clic ouvre le résultat) */
.dt-reveal { width: var(--rw); height: var(--rh); padding: 0; border: 0; background: none; z-index: 50; opacity: 0; perspective: 800px; pointer-events: none; transform-origin: 50% 50%; }
.dt-reveal__flip { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; }
.dt-reveal__flip img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 2px 4px rgba(18, 24, 48, .12), 0 22px 50px rgba(18, 24, 48, .3); }
.dt-reveal__front { transform: rotateY(180deg); }
.dt.is-revealed .dt-reveal:not(:disabled) { pointer-events: auto; cursor: pointer; }
/* Survol de la carte révélée : simple halo doré sur la face. Jamais de filter sur .dt-reveal__flip : il aplatit la 3D
   (preserve-3d) et faisait apparaître le dos de la carte. */
.dt-reveal__front { transition: box-shadow .3s ease; }
.dt.is-revealed .dt-reveal:not(:disabled):hover .dt-reveal__front { box-shadow: 0 0 0 3px rgba(217, 184, 114, .75), 0 0 36px rgba(255, 226, 160, .45), 0 22px 50px rgba(18, 24, 48, .3); }
.dt-reveal:focus { outline: none; }
.dt-reveal:focus-visible img { outline: 3px solid #d9b872; outline-offset: 4px; }

/* Halo de rayons derrière la carte révélée */
.dt-halo { width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; opacity: 0; pointer-events: none; z-index: 45; transition: opacity .9s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.dt-halo::before, .dt-halo::after { content: ''; position: absolute; inset: 0; border-radius: 50%; }
.dt-halo::before {
	background: repeating-conic-gradient(from 0deg, rgba(255, 222, 140, .5) 0deg 5deg, rgba(255, 222, 140, 0) 5deg 15deg);
	-webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 100%); mask-image: radial-gradient(closest-side, #000 18%, transparent 100%);
	animation: dtSpin 36s linear infinite;
}
.dt-halo::after { background: radial-gradient(closest-side, rgba(255, 246, 214, .95), rgba(255, 226, 150, .35) 45%, transparent 75%); }
.dt.is-lit .dt-halo { opacity: 1; }
@keyframes dtSpin { to { transform: rotate(360deg); } }

/* Éclats (créés par daily.js) */
.dt-spark { width: 12px; height: 12px; margin: -6px 0 0 -6px; z-index: 60; pointer-events: none; background: #f3d27a; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.dt-spark:nth-child(3n) { background: #ffffff; }
.dt-spark:nth-child(4n) { background: #e3b45a; width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.dt-spark--dot { clip-path: circle(50%); width: 6px; height: 6px; margin: -3px 0 0 -3px; }

/* ---------- Guide : consigne, nom de la carte, actions ---------- */
.dt-hint { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--dt-soft); }
.dt-hint:empty { display: none; }
.dt-hint.is-reading::after { content: ''; display: inline-block; width: 1.2em; text-align: left; animation: dtDots 1.2s steps(4) infinite; }
@keyframes dtDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

.dt-actions { display: grid; justify-self: stretch; justify-items: center; }   /* bouton centré dans le cadre */
.dt-actions:empty { display: none; }
.page-daily .dt-btn {
	display: inline-flex; align-items: center; gap: .55rem; margin-top: .3rem; padding: .85rem 1.7rem; border-radius: 999px;
	background: #1b2547; color: #fff; font-weight: 700; letter-spacing: .02em;
	box-shadow: 0 2px 4px rgba(18, 24, 48, .15), 0 10px 24px rgba(27, 37, 71, .28);
	cursor: pointer;
	transition: background .2s ease, transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
	animation: dtPop .6s cubic-bezier(.2, 1.4, .4, 1) both;
}
.page-daily .dt-btn svg { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.page-daily .dt-btn:hover, .page-daily .dt-btn:focus-visible {
	background: #2d3b6e; transform: translateY(-2px) scale(1.03);
	box-shadow: 0 0 0 3px rgba(217, 184, 114, .45), 0 4px 8px rgba(18, 24, 48, .18), 0 14px 30px rgba(27, 37, 71, .34);
}
.page-daily .dt-btn:hover svg { transform: rotate(180deg); }
.page-daily .dt-btn:active { transform: translateY(0) scale(.98); }
.dt .dt-btn:hover, .dt .dt-btn:focus-visible { background: linear-gradient(#f0d793, #d6b066); }
.page-daily .dt-btn.is-out { display: none; }   /* le bouton n'occupe pas de place hors de l'étape « Mélanger » */
.dt .dt-btn { background: linear-gradient(#e7c97f, #c9a258); color: #1b2547; }

.dt-form { margin: .3rem 0 0; }
.dt-form[hidden] { display: none; }
.page-daily .dt-consult { animation: dtPop .6s cubic-bezier(.2, 1.4, .4, 1) both; background: linear-gradient(#24305a, #1b2547); color: #fff; cursor: pointer; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease, filter .2s ease; }
.page-daily .dt-consult:hover, .page-daily .dt-consult:focus-visible { transform: translateY(-2px) scale(1.03); filter: brightness(1.15); box-shadow: 0 0 0 3px rgba(217, 184, 114, .45), 0 14px 30px rgba(27, 37, 71, .34); }
.page-daily .dt-consult:active { transform: translateY(0) scale(.98); }
.page-daily .dt .dt-consult { background: linear-gradient(#e7c97f, #c9a258); color: #1b2547; }   /* plus précis que .page-home .btn.btn--lg */
.page-daily .dt .dt-consult:hover, .page-daily .dt .dt-consult:focus-visible { background: linear-gradient(#f0d793, #d6b066); color: #1b2547; }
@keyframes dtPop { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }

/* Carte déjà tirée aujourd'hui */
.dt-seen { display: none; justify-self: stretch; justify-items: center; gap: .7rem; text-align: center; }
.dt.is-seen .dt-seen { display: grid; }
.dt.is-seen .dt-steps, .dt.is-seen .dt-msg, .dt.is-seen .dt-actions { display: none; }
.dt.is-final .dt-steps { display: none; }
.dt.is-final .dt-form { margin-top: .9rem; }   /* respiration entre la consigne et le bouton */   /* fin du tirage : plus de ligne d'étapes, le cadre garde sa hauteur */
.dt-seen__title { margin: 0; font-size: 1.05rem; color: var(--dt-soft); }
.dt-seen__title strong { color: var(--dt-title); }

@media (max-width: 640px) {
	.dt { padding: 1.4rem .6rem 1.2rem; border-radius: 18px; margin: 0 -.4rem; }
	.dt-date { gap: .6rem; font-size: .78rem; letter-spacing: .12em; }
	.dt-date::before, .dt-date::after { width: 22px; }
	.dt-guide { min-height: 0; padding: .85rem 1rem 1rem; }
	.dt-halo { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
}
/* Petits écrans : la consigne et le bouton passent SOUS la table, à portée du pouce (daily.js recadre l'écran en conséquence) */
@media (max-width: 759px) {
	.dt { display: flex; flex-direction: column; }
	.dt-top { display: contents; }
	.dt-head { order: 0; }
	.dt-stage { order: 1; width: 100%; margin-top: .9rem; }
	.dt-guide { order: 2; position: relative; z-index: 2; margin: .7rem auto 0; }
	.dt .noscript { order: 3; }
}

/* ?motion=reduce : ciel immobile */
html.motion-reduce .dt-motif, html.motion-reduce .dt-halo::before, html.motion-reduce .dt-head > * { animation: none; }

/* ---------- Éditorial sous le tirage (includes/daily_editorial.php) ----------
   Briques communes de content.css (cx-sec, cx-h2, cx-steps, cx-box, cx-cta, cx-related, FAQ) + mises en page propres ci-dessous. */
.dy { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.dy > .cx-ad:first-child { margin-top: 0; }   /* la publicité sous le tirage garde un vrai écart avec le cadre */
.dy-center { margin: 1.6rem 0 0; text-align: center; }
.dy .cx-lead--center { margin: -.2rem auto 1.6rem; }   /* .cx-sec p remettait les marges latérales à 0 */

/* Texte et illustration côte à côte */
.dy-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.dy-split__text > .cx-h2:first-child, .dy-split__text > .cx-kicker + .cx-h2 { margin-top: 0; }

/* Comment lire sa carte : grande illustration, titre en surimpression sur un dégradé bleu nuit, puis 4 gestes en 2 colonnes */
.dy-read__hero { position: relative; overflow: hidden; margin-bottom: 1.4rem; border-radius: 26px; box-shadow: 0 24px 54px rgba(var(--c-shadow-rgb), .2); }
.dy-read__hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 55%; transform: scale(1.04); transition: transform 2.2s cubic-bezier(.2, .7, .2, 1); }
.dy-read__hero.is-in img, html:not(.cx-js) .dy-read__hero img { transform: scale(1); }
.dy-read__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 24, 54, .88) 0%, rgba(17, 24, 54, .62) 38%, rgba(17, 24, 54, 0) 68%); pointer-events: none; }
.dy-read__title { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; padding: clamp(1.4rem, 4vw, 3rem); }
.page-content .dy-read__title h2 { margin-bottom: .6rem; color: #fff; }
.dy-read__title .cx-h2::before { background: linear-gradient(90deg, var(--c-gold-light), rgba(217, 184, 114, 0)); }
.dy-read .dy-read__title p { margin: 0; font-size: 1.07rem; line-height: 1.6; color: #dfe4f2; }
.dy-read__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }

/* Pourquoi la même carte : panneau bleu nuit étoilé (rappel du tirage) */
.dy-same__panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; overflow: hidden; padding: clamp(1.6rem, 4vw, 3rem); border-radius: 26px; color: #dfe4f2;
	background:
		radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .8), transparent 60%),
		radial-gradient(1px 1px at 36% 72%, rgba(255, 255, 255, .6), transparent 60%),
		radial-gradient(1.4px 1.4px at 64% 12%, rgba(255, 248, 230, .9), transparent 60%),
		radial-gradient(1px 1px at 88% 58%, rgba(255, 255, 255, .7), transparent 60%),
		radial-gradient(420px 300px at 92% 8%, rgba(233, 238, 255, .22), transparent 70%),
		radial-gradient(380px 260px at 8% 100%, rgba(122, 104, 214, .28), transparent 70%),
		linear-gradient(160deg, #1f2a58, #111836);
	box-shadow: var(--shadow-lg); }
.page-content .dy-same h2 { color: #fff; }
.dy-same .cx-h2::before { background: linear-gradient(90deg, var(--c-gold-light), rgba(217, 184, 114, 0)); }
.dy-same__text p:last-child { margin-bottom: 0; }
.page-content .dy-same__panel a { color: var(--c-gold-light); }
.dy-same__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.dy-same__points li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 18px; background: rgba(14, 20, 46, .45); border: 1px solid rgba(226, 197, 135, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dy-same__ico { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--gold-grad); color: #1b2547; }
.page-content .dy-same__points h3 { margin: .05rem 0 .2rem; font-family: var(--font-serif); font-size: 1.04rem; color: #fff; }
.dy-same__points p { margin: 0; font-size: .92rem; line-height: 1.55; color: #c3cbe0; }
.dy-same .cx-box { margin-top: 1.2rem; }

/* Bienfaits : 4 tuiles à icône */
.dy-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dy-benefits li { position: relative; padding: 1.5rem 1.3rem 1.3rem; border-radius: 22px; background: linear-gradient(180deg, #fff, #fbf7ee); border: 1px solid var(--c-line); box-shadow: var(--shadow); text-align: center; }
.dy-benefits__ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto .9rem; border-radius: 50%; background: var(--navy-grad); color: var(--c-gold-light); box-shadow: 0 0 0 5px #fbf3df, 0 10px 24px rgba(var(--c-shadow-rgb), .2); }
.dy-benefits h3 { margin: 0 0 .4rem; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 800; line-height: 1.25; }
.dy-benefits p { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--c-ink-soft); }

@media (max-width: 1000px) {
	.dy-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.dy-split, .dy-same__panel { grid-template-columns: 1fr; }
	.dy-split__fig { order: -1; }
	/* Comment lire : titre sous l'image, gestes en une colonne */
	.dy-read__hero { overflow: visible; border-radius: 0; box-shadow: none; }
	.dy-read__hero img { aspect-ratio: 16 / 10; border-radius: 20px; box-shadow: 0 18px 44px rgba(var(--c-shadow-rgb), .16); }
	.dy-read__hero::after { display: none; }
	.dy-read__title { position: static; max-width: none; padding: 1.4rem 0 0; }
	.page-content .dy-read__title h2 { color: var(--c-primary); }
	.dy-read__title .cx-h2::before { background: linear-gradient(90deg, var(--c-accent), rgba(176, 141, 87, 0)); }
	.dy-read .dy-read__title p { color: var(--c-ink-soft); }
	.dy-read__steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.dy-benefits { grid-template-columns: 1fr; }
	.dy-benefits li { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; text-align: left; }
	.dy-benefits__ico { grid-row: span 2; margin: 0; width: 48px; height: 48px; }
}

/* Mode tirage (html.dt-focus, posé par daily.js au clic sur « Mélanger ») : la barre de navigation glisse hors de l'écran ;
   elle revient quand le visiteur remonte la page. */
.page-daily .sbar { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.dt-focus .page-daily .sbar { transform: translateY(-110%); box-shadow: none; pointer-events: none; }

/* Écrans bas (portables, hauteur visible < 820 px) : haut du cadre plus compact, la place gagnée revient aux cartes
   (daily.js mesure la table d'après la hauteur restante). Même mise en page en 2 colonnes, en plus serré. */
@media (min-width: 760px) and (max-height: 820px) {
	.dt { padding-top: 1.1rem; padding-bottom: 1.2rem; }
	.dt-top { gap: 1.6rem; }
	.dt-head { padding-top: 0; }
	.dt-title__main { font-size: clamp(2rem, 4.4vw, 2.6rem); }
	.dt-title__sub { margin-top: .2rem; font-size: .92rem; }
	.dt-date { margin-top: .55rem; font-size: .8rem; }
	.dt-moon { margin-top: .45rem; padding: .2rem .75rem; font-size: .82rem; }
	.dt-guide { min-height: 9.2rem; gap: .4rem; padding: .7rem 1rem .8rem; }
	.dt-steps { font-size: .72rem; }
	.dt-msg__title { font-size: 1.3rem; }
	.dt-hint { font-size: .94rem; line-height: 1.4; }
	.page-daily .dt .dt-btn, .page-daily .dt .dt-consult { padding: .7rem 1.4rem; font-size: .92rem; }
	.dt.is-final .dt-form { margin-top: .55rem; }
	.dt-stage { margin-top: .5rem; }
}
