:root { --cdg-space-xs: 0.35rem;
--cdg-space-sm: 0.55rem;
--cdg-space-md: 0.85rem;
--cdg-space-lg: 1.15rem;
--cdg-space-xl: 1.5rem; --cdg-radius-sm: 10px;
--cdg-radius-md: 14px;
--cdg-radius-lg: 18px;
--cdg-radius-pill: 999px; --cdg-shadow-sm: 0 4px 14px rgba(8, 12, 36, 0.08);
--cdg-shadow-md: 0 10px 28px rgba(8, 12, 36, 0.12);
--cdg-shadow-glow: 0 0 24px var(--cdg-ad-glow-violet, rgba(124, 58, 237, 0.35)); --cdg-game-accent: var(--cdg-ad-violet, #7c3aed);
--cdg-game-accent-soft: rgba(124, 58, 237, 0.12);
--cdg-game-shadow: var(--cdg-shadow-md);
--cdg-game-border: rgba(124, 58, 237, 0.22);
} .cdg-jeux-hero {
position: relative;
isolation: isolate;
padding: var(--cdg-space-md) var(--cdg-space-lg) var(--cdg-space-lg);
border-radius: var(--cdg-radius-lg);
overflow: hidden;
}
.cdg-jeux-hero::before {
content: "";
position: absolute;
inset: -40% -20%;
z-index: 0;
pointer-events: none;
background:
radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.35), transparent 42%),
radial-gradient(circle at 80% 20%, rgba(219, 39, 119, 0.28), transparent 38%),
radial-gradient(circle at 60% 90%, rgba(8, 145, 178, 0.22), transparent 40%);
animation: cdg-hero-halo 14s ease-in-out infinite alternate;
opacity: 0.85;
}
.cdg-jeux-hero > * {
position: relative;
z-index: 1;
}
@keyframes cdg-hero-halo {
0% { transform: translate3d(-2%, 0, 0) scale(1); }
100% { transform: translate3d(2%, -1%, 0) scale(1.04); }
}
.cdg-jeux-hero__title {
font-size: clamp(1.2rem, 3.8vw, 1.55rem);
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.2;
}
.cdg-jeux-hero__tagline {
max-width: 28rem;
line-height: 1.45;
opacity: 0.92;
}
.cdg-jeux-hero__stats {
gap: var(--cdg-space-sm);
}
.cdg-jeux-hero__stat {
padding: 0.4rem 0.7rem;
font-size: 0.78rem;
backdrop-filter: blur(8px);
} body.cdg-playing--active::after {
content: "";
position: fixed;
inset: 0;
z-index: 110;
pointer-events: none;
background:
radial-gradient(ellipse 80% 55% at 50% 15%, rgba(124, 58, 237, 0.14), transparent 62%),
radial-gradient(ellipse 70% 50% at 90% 85%, rgba(8, 145, 178, 0.1), transparent 58%),
rgba(15, 23, 42, 0.26);
opacity: 1;
transition: opacity 0.45s ease;
}
body.cdg-playing--active .cdg-play-stage {
z-index: 125;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
background:
radial-gradient(ellipse 95% 65% at 50% -5%, rgba(124, 58, 237, 0.12), transparent 58%),
radial-gradient(ellipse 75% 55% at 100% 100%, rgba(8, 145, 178, 0.1), transparent 55%),
radial-gradient(ellipse 55% 45% at 0% 75%, rgba(219, 39, 119, 0.07), transparent 52%),
linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.94) 100%);
border: none;
box-shadow: none;
border-radius: 0;
max-width: none;
width: 100%;
}
body.cdg-playing--active .cdg-play-stage.cdg-scene-enter {
animation: cdg-scene-in 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} body.cdg-playing--active .cdg-play-stage.cdg-game-card::before,
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play::before {
content: "";
position: absolute;
z-index: 0;
top: max(0.65rem, env(safe-area-inset-top));
right: max(0.75rem, env(safe-area-inset-right));
bottom: max(1rem, env(safe-area-inset-bottom));
left: max(0.75rem, env(safe-area-inset-left));
border-radius: var(--cdg-radius-lg);
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
border: 1px solid rgba(124, 58, 237, 0.16);
box-shadow:
0 16px 42px rgba(15, 23, 42, 0.11),
0 0 0 1px rgba(255, 255, 255, 0.85) inset,
0 0 28px rgba(124, 58, 237, 0.2),
0 0 40px rgba(8, 145, 178, 0.1);
pointer-events: none;
}
body.cdg-playing--active .cdg-play-stage.cdg-game-card,
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play {
position: fixed;
inset: 0;
z-index: 130;
display: flex;
flex-direction: column;
opacity: 1;
visibility: visible;
pointer-events: auto;
background: transparent;
border: none;
box-shadow: none;
max-width: none;
width: 100%;
margin: 0;
align-self: stretch;
}
body.cdg-playing--active .cdg-play-stage.cdg-game-card > *:not(.cdg-game-quit),
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play > *:not(.cdg-game-quit) {
position: relative;
z-index: 140;
width: 100%;
max-width: min(32rem, calc(100% - 1.5rem));
margin-left: auto;
margin-right: auto;
}
@keyframes cdg-scene-in {
from {
opacity: 0;
transform: translate3d(0, 8px, 0) scale(0.992);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0) scale(1);
}
}
.cdg-question-enter {
animation: cdg-question-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cdg-question-in {
from {
opacity: 0;
transform: translate3d(0, 8px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
} .cdg-answer,
.cdg-quiz__choice,
.cdg-room__answer-btn {
transition:
border-color 0.18s ease,
background 0.18s ease,
transform 0.14s ease,
box-shadow 0.18s ease;
will-change: transform;
}
.cdg-answer:hover:not(:disabled),
.cdg-quiz__choice:hover:not(:disabled),
.cdg-room__answer-btn:hover:not(:disabled) {
transform: translate3d(0, -2px, 0);
box-shadow: var(--cdg-shadow-sm);
}
.cdg-answer:active:not(:disabled),
.cdg-quiz__choice:active:not(:disabled),
.cdg-room__answer-btn:active:not(:disabled) {
transform: scale(0.98);
}
.cdg-answer--selected,
.cdg-quiz__choice--selected {
box-shadow:
inset 0 0 0 1px var(--cdg-game-accent),
0 0 16px rgba(124, 58, 237, 0.25);
}
.cdg-answer--correct.cdg-answer--pop,
.cdg-quiz__choice--correct.cdg-answer--pop {
animation: cdg-correct-pop 0.45s ease;
}
@keyframes cdg-correct-pop {
0% { transform: scale(1); }
35% { transform: scale(1.02); box-shadow: 0 0 20px rgba(34, 197, 94, 0.45); }
100% { transform: scale(1); }
}
.cdg-quiz__progress,
#cdg-daily-progress,
#cdg-cultural-progress {
transition: transform 0.25s ease, opacity 0.25s ease;
}
.cdg-quiz__progress.cdg-progress-bump,
#cdg-daily-progress.cdg-progress-bump,
#cdg-cultural-progress.cdg-progress-bump {
animation: cdg-progress-bump 0.35s ease;
}
@keyframes cdg-progress-bump {
0% { transform: scale(1); }
50% { transform: scale(1.04); }
100% { transform: scale(1); }
} .cdg-btn-next--primary,
#cdg-btn-next.cdg-btn-next--primary,
#cdg-daily-btn-next.cdg-btn-next--primary,
#cdg-cultural-btn-next.cdg-btn-next--primary {
width: 100%;
max-width: none;
margin-top: var(--cdg-space-md);
min-height: 3.15rem;
padding: 0.85rem 1.25rem;
border: none;
border-radius: var(--cdg-radius-md);
background: linear-gradient(135deg, var(--cdg-ad-violet), var(--cdg-ad-magenta));
color: #fff;
font-size: 1.02rem;
font-weight: 800;
letter-spacing: 0.02em;
box-shadow: 0 10px 24px var(--cdg-ad-glow-magenta);
cursor: pointer;
transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}
.cdg-btn-next--primary:hover,
.cdg-btn-next--primary:focus-visible {
transform: translate3d(0, -2px, 0);
box-shadow: 0 14px 28px var(--cdg-ad-glow-violet);
outline: none;
}
.cdg-btn-next--primary:active {
transform: scale(0.98);
} .cdg-end-screen {
position: relative;
text-align: center;
padding: var(--cdg-space-lg) var(--cdg-space-md) var(--cdg-space-xl);
border-radius: var(--cdg-radius-lg);
background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.95));
border: 1px solid rgba(124, 58, 237, 0.18);
box-shadow: var(--cdg-shadow-md);
overflow: hidden;
}
.cdg-end-screen__glow {
position: absolute;
inset: -30% -10%;
pointer-events: none;
background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.25), transparent 55%);
opacity: 0.7;
}
.cdg-end-screen--in {
animation: cdg-end-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cdg-end-in {
from {
opacity: 0;
transform: translate3d(0, 12px, 0) scale(0.98);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0) scale(1);
}
}
.cdg-end-screen__title {
margin: 0 0 var(--cdg-space-sm);
font-size: 1.35rem;
font-weight: 800;
color: var(--cdg-ad-text);
}
.cdg-end-screen__score {
margin: 0 0 var(--cdg-space-md);
line-height: 1.1;
}
.cdg-end-screen__score-value {
display: block;
font-size: 2rem;
font-weight: 800;
background: linear-gradient(135deg, var(--cdg-ad-violet), var(--cdg-ad-magenta));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.cdg-end-screen__score-label {
display: block;
margin-top: 0.15rem;
font-size: 0.85rem;
font-weight: 700;
color: var(--cdg-ad-text-soft);
}
.cdg-end-screen__stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--cdg-space-sm);
margin: 0 0 var(--cdg-space-md);
}
.cdg-end-stat {
padding: var(--cdg-space-sm);
border-radius: var(--cdg-radius-sm);
background: rgba(255, 255, 255, 0.85);
border: 1px solid rgba(148, 163, 184, 0.35);
}
.cdg-end-stat__label {
display: block;
font-size: 0.68rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--cdg-ad-text-soft);
margin-bottom: 0.2rem;
}
.cdg-end-stat__value {
font-size: 1rem;
font-weight: 800;
color: var(--cdg-ad-text);
font-variant-numeric: tabular-nums;
}
.cdg-end-screen__summary,
.cdg-end-screen__xp,
.cdg-end-screen__levelup {
margin: 0 0 var(--cdg-space-sm);
font-size: 0.92rem;
line-height: 1.45;
color: var(--cdg-ad-text-soft);
}
.cdg-end-screen__encourage {
margin: 0 0 var(--cdg-space-md);
font-size: 0.95rem;
font-weight: 600;
color: #5b21b6;
}
.cdg-end-screen__actions {
display: flex;
flex-direction: column;
gap: var(--cdg-space-sm);
margin-top: var(--cdg-space-md);
}
.cdg-quiz__btn--ghost {
background: transparent;
border: 2px solid rgba(100, 116, 139, 0.45);
color: var(--cdg-ad-text-soft);
min-height: 2.85rem;
border-radius: var(--cdg-radius-md);
font-weight: 700;
}
.cdg-quiz__btn--ghost:hover,
.cdg-quiz__btn--ghost:focus-visible {
border-color: var(--cdg-ad-violet);
color: var(--cdg-ad-violet);
outline: none;
}  .cdg-leaderboard__row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--cdg-space-sm);
padding: var(--cdg-space-sm) var(--cdg-space-md);
margin-bottom: var(--cdg-space-sm);
border-radius: var(--cdg-radius-md);
background: rgba(255, 255, 255, 0.92);
border: 1px solid rgba(148, 163, 184, 0.28);
box-shadow: var(--cdg-shadow-sm);
border-bottom: none;
}
.cdg-challenges__item {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--cdg-space-sm);
padding: var(--cdg-space-sm) var(--cdg-space-md);
margin-bottom: var(--cdg-space-sm);
border-radius: var(--cdg-radius-md);
background: rgba(255, 255, 255, 0.92);
border: 1px solid rgba(148, 163, 184, 0.28);
box-shadow: var(--cdg-shadow-sm);
flex-direction: row;
}
.cdg-challenges__body {
flex: 1 1 10rem;
min-width: 0;
}
.cdg-challenges__avatar,
.cdg-leaderboard__avatar {
flex: 0 0 2.4rem;
width: 2.4rem;
height: 2.4rem;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.72rem;
font-weight: 800;
color: #fff;
background: linear-gradient(135deg, var(--cdg-ad-violet), var(--cdg-ad-magenta));
box-shadow: 0 4px 10px var(--cdg-ad-glow-violet);
}
.cdg-leaderboard__row--gold .cdg-leaderboard__avatar {
box-shadow: 0 0 0 2px #fbbf24, 0 4px 12px rgba(251, 191, 36, 0.35);
}
.cdg-leaderboard__row--silver .cdg-leaderboard__avatar {
box-shadow: 0 0 0 2px #94a3b8;
}
.cdg-leaderboard__row--bronze .cdg-leaderboard__avatar {
box-shadow: 0 0 0 2px #d97706;
}
.cdg-leaderboard__main {
flex: 1 1 8rem;
min-width: 0;
}
.cdg-leaderboard__name {
font-weight: 700;
color: var(--cdg-ad-text);
}
.cdg-leaderboard__rank {
font-weight: 800;
min-width: 1.75rem;
color: var(--cdg-ad-violet);
}
.cdg-challenges__opponent {
margin: 0;
font-weight: 700;
font-size: 0.95rem;
}
.cdg-challenges__meta,
.cdg-challenges__scores {
margin: 0.15rem 0 0;
font-size: 0.82rem;
color: var(--cdg-ad-text-soft);
}
.cdg-challenges__subtitle {
margin: var(--cdg-space-md) 0 var(--cdg-space-sm);
font-size: 0.78rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--cdg-ad-text-soft);
} .cdg-room__final-scores.cdg-room__podium {
padding: var(--cdg-space-sm) 0;
}
.cdg-room__final-scores.cdg-room__podium .cdg-room__winner {
transform: scale(1.02);
box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35);
animation: cdg-end-in 0.45s ease;
}
.cdg-room__final-scores.cdg-room__podium .cdg-room__final-row--first:not(.cdg-room__winner) {
border-color: rgba(124, 58, 237, 0.35);
} @media (max-width: 390px) {
body.cdg-jeux-page {
overflow-x: hidden;
}
body.cdg-playing--active .cdg-play-stage {
width: 100%;
margin: 0;
border-radius: 0;
}
body.cdg-playing--active .cdg-play-stage.cdg-game-card::before,
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play::before {
border-radius: var(--cdg-radius-md);
}
body.cdg-playing--active .cdg-play-stage.cdg-game-card,
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play {
padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}
body.cdg-playing--active .cdg-audio-sticky {
bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 4.5rem));
left: max(0.65rem, env(safe-area-inset-left));
right: max(0.65rem, env(safe-area-inset-right));
padding: 0.6rem 0.85rem;
}
.cdg-btn-next--primary {
position: sticky;
bottom: max(0.65rem, env(safe-area-inset-bottom));
margin-bottom: 0.25rem;
z-index: 3;
}
.cdg-end-screen__stats {
grid-template-columns: 1fr 1fr;
}
.cdg-end-screen__stats .cdg-end-stat:last-child {
grid-column: 1 / -1;
}
body.cdg-playing--active .cdg-game-quit,
body.cdg-playing--active .cdg-game-quit__icon {
min-width: 44px;
min-height: 44px;
}
}
@media (prefers-reduced-motion: reduce) {
.cdg-jeux-hero::before,
body.cdg-playing--active .cdg-play-stage,
.cdg-question-enter,
.cdg-end-screen--in,
.cdg-answer--pop,
.cdg-progress-bump,
.cdg-room__podium .cdg-room__winner {
animation: none !important;
transition: none !important;
}
.cdg-answer:hover:not(:disabled),
.cdg-quiz__choice:hover:not(:disabled) {
transform: none;
}
}  body.cdg-playing.cdg-playing--active::before {
opacity: 0 !important;
}
body.cdg-playing .cdg-jeux-hero,
body.cdg-playing .cdg-challenges,
body.cdg-playing .cdg-daily:not(.cdg-app--in-play),
body.cdg-playing .cdg-cultural-quiz:not(.cdg-app--in-play),
body.cdg-playing .cdg-leaderboard,
body.cdg-playing .cdg-room:not(.cdg-app--in-play),
body.cdg-playing .cdg-quiz:not(.cdg-app--in-play) {
opacity: 1;
filter: none;
}
.cdg-playing-focus {
animation: cdg-scene-in 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} @media (min-width: 783px) {
body.cdg-playing--active #wpadminbar {
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
} body.cdg-playing--active .cdg-audio-sticky {
background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 55%, #6d28d9 100%);
border: 2px solid rgba(196, 181, 253, 0.75);
box-shadow: 0 10px 28px rgba(30, 27, 75, 0.35);
color: #ffffff;
padding: 0.55rem 0.9rem 0.55rem 0.65rem;
backdrop-filter: none;
}
body.cdg-playing--active .cdg-audio-sticky__text,
body.cdg-playing--active .cdg-audio-sticky__label {
color: #ffffff;
font-weight: 700;
font-size: 0.84rem;
line-height: 1.25;
}
body.cdg-playing--active .cdg-audio-sticky__sub {
color: rgba(224, 231, 255, 0.92);
font-size: 0.72rem;
}
body.cdg-playing--active .cdg-audio-sticky__toggle {
background: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.55);
color: #fff;
font-weight: 800;
min-height: 2.35rem;
padding: 0.35rem 0.65rem;
}
body.cdg-playing--active .cdg-audio-sticky__toggle--off {
background: rgba(239, 68, 68, 0.45);
border-color: #fecaca;
}
body.cdg-playing--active .cdg-audio-sticky__pulse {
box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}
@media (max-width: 390px) {
body.cdg-playing--active::after {
background:
radial-gradient(ellipse 80% 50% at 50% 10%, rgba(124, 58, 237, 0.1), transparent 60%),
rgba(15, 23, 42, 0.18);
}
body.cdg-playing--active .cdg-play-stage {
background:
radial-gradient(ellipse 90% 60% at 50% 0%, rgba(124, 58, 237, 0.08), transparent 58%),
linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
}
} body.cdg-playing--active .cdg-game-quit {
position: absolute;
top: max(0.5rem, env(safe-area-inset-top, 0px));
right: max(0.5rem, env(safe-area-inset-right, 0px));
z-index: 12;
width: auto;
height: auto;
min-width: 44px;
min-height: 44px;
max-width: none;
margin: 0;
padding: 0;
border: 1px solid rgba(196, 181, 253, 0.42);
border-radius: 999px;
background: rgba(30, 27, 75, 0.78);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: rgba(248, 250, 252, 0.96);
font-size: 1rem;
line-height: 1;
cursor: pointer;
box-shadow: 0 4px 18px rgba(15, 23, 42, 0.22);
transition:
background 0.18s ease,
border-color 0.18s ease,
box-shadow 0.18s ease,
transform 0.18s ease;
}
body.cdg-playing--active .cdg-game-quit:hover,
body.cdg-playing--active .cdg-game-quit:focus-visible {
background: rgba(49, 46, 129, 0.9);
border-color: rgba(196, 181, 253, 0.68);
color: #fff;
box-shadow: 0 6px 22px rgba(79, 70, 229, 0.28);
transform: translateY(-1px);
outline: none;
}
body.cdg-playing--active .cdg-game-quit__icon {
display: flex;
align-items: center;
justify-content: center;
width: 2.75rem;
height: 2.75rem;
min-width: 44px;
min-height: 44px;
font-size: 1.45rem;
font-weight: 600;
line-height: 1;
}
#cdg-btn-resume,
#cdg-daily-btn-resume,
#cdg-room-resume-play {
margin-top: 0.65rem;
} body.cdg-playing-isolated .cdg-jeux-hero,
body.cdg-playing-isolated .cdg-challenges,
body.cdg-playing-isolated .cdg-leaderboard,
body.cdg-playing-isolated .cdg-quiz:not(.cdg-app--in-play),
body.cdg-playing-isolated .cdg-daily:not(.cdg-app--in-play),
body.cdg-playing-isolated .cdg-cultural-quiz:not(.cdg-app--in-play),
body.cdg-playing-isolated .cdg-room:not(.cdg-app--in-play),
body.cdg-playing-isolated [class*="debug"],
body.cdg-playing-isolated [id*="debug"],
body.cdg-playing-isolated .a2a_kit,
body.cdg-playing-isolated .share-buttons,
body.cdg-playing-isolated .social-share {
visibility: hidden !important;
pointer-events: none !important;
}
body.cdg-playing--active::after,
body.cdg-playing--active .cdg-play-stage::before,
body.cdg-playing--active .cdg-play-stage.cdg-game-card::before,
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play::before {
pointer-events: none !important;
}
body.cdg-playing--active .cdg-play-stage {
pointer-events: auto;
z-index: 130;
}
body.cdg-playing--active .cdg-play-stage .cdg-answer,
body.cdg-playing--active .cdg-play-stage .cdg-quiz__choice,
body.cdg-playing--active .cdg-play-stage .cdg-quiz__btn,
body.cdg-playing--active .cdg-play-stage .cdg-room__answer-btn,
body.cdg-playing--active .cdg-play-stage button:not(.cdg-game-quit) {
pointer-events: auto;
position: relative;
z-index: 2;
touch-action: manipulation;
cursor: pointer;
}
body.cdg-playing--active .cdg-play-stage .cdg-game-status {
pointer-events: none;
}
body.cdg-playing--active .cdg-game-quit {
z-index: 145;
pointer-events: auto;
}
body.cdg-playing--active #cdg-audio-sticky {
z-index: 160;
pointer-events: auto;
left: max(0.75rem, env(safe-area-inset-left));
right: auto;
max-width: min(22rem, calc(100vw - 1.5rem));
}
.cdg-audio-sticky__listen {
min-width: 44px;
min-height: 44px;
padding: 0.4rem 0.75rem;
border-radius: 999px;
border: 2px solid rgba(255, 255, 255, 0.45);
background: rgba(255, 255, 255, 0.16);
color: #fff;
font-weight: 800;
font-size: 0.78rem;
cursor: pointer;
}
.cdg-audio-sticky__listen--playing {
background: rgba(34, 197, 94, 0.35);
border-color: #bbf7d0;
}
.cdg-audio-sticky__auto {
min-width: 44px;
min-height: 44px;
padding: 0.35rem 0.55rem;
border-radius: 999px;
border: 2px solid rgba(255, 255, 255, 0.35);
background: rgba(255, 255, 255, 0.1);
color: #fff;
font-weight: 700;
font-size: 0.72rem;
cursor: pointer;
}
.cdg-audio-sticky__auto--off {
opacity: 0.55;
}
.cdg-pregame__field {
display: flex;
flex-direction: column;
gap: 0.35rem;
margin-top: 0.55rem;
}
.cdg-pregame__field-label {
font-size: 0.72rem;
font-weight: 700;
color: var(--cdg-ad-text-soft, #64748b);
}
.cdg-pregame__select {
width: 100%;
min-height: 44px;
padding: 0.45rem 0.55rem;
border-radius: 10px;
border: 1px solid #cbd5e1;
background: #fff;
font-size: 0.9rem;
}
.cdg-pregame__hint {
margin: 0.45rem 0 0;
font-size: 0.72rem;
line-height: 1.35;
color: #64748b;
}
.cdg-pregame__card--muted {
opacity: 0.72;
}
@media (max-width: 390px) {
body.cdg-playing--active #cdg-audio-sticky {
left: max(0.55rem, env(safe-area-inset-left));
right: auto;
bottom: max(0.65rem, env(safe-area-inset-bottom));
max-width: calc(100vw - 1.1rem);
}
} body.cdg-playing--active #cdg-audio-sticky.cdg-audio-dock {
position: fixed;
left: max(1rem, env(safe-area-inset-left));
right: auto;
bottom: max(1rem, env(safe-area-inset-bottom));
top: auto;
z-index: 132;
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.35rem 0.45rem;
max-width: min(18rem, calc(100vw - 2rem));
border-radius: 999px;
background: rgba(15, 23, 42, 0.82);
border: 1px solid rgba(148, 163, 184, 0.35);
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
color: #f8fafc;
pointer-events: auto;
}
body.cdg-playing--active .cdg-audio-dock__listen,
body.cdg-playing--active .cdg-audio-dock__auto,
body.cdg-playing--active .cdg-audio-dock__power,
body.cdg-playing--active .cdg-audio-dock__settings {
min-width: 44px;
min-height: 36px;
padding: 0.3rem 0.55rem;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.28);
background: rgba(255, 255, 255, 0.1);
color: #fff;
font-size: 0.72rem;
font-weight: 700;
cursor: pointer;
line-height: 1.1;
}
body.cdg-playing--active .cdg-audio-dock__listen {
padding-inline: 0.65rem;
}
body.cdg-playing--active .cdg-audio-dock__listen--playing {
background: rgba(34, 197, 94, 0.28);
border-color: rgba(187, 247, 208, 0.65);
}
body.cdg-playing--active .cdg-audio-dock__auto--off,
body.cdg-playing--active .cdg-audio-dock__power--off {
opacity: 0.55;
}
body.cdg-playing--active .cdg-audio-dock__status {
font-size: 0.68rem;
font-weight: 600;
opacity: 0.88;
white-space: nowrap;
max-width: 5.5rem;
overflow: hidden;
text-overflow: ellipsis;
}
body.cdg-playing--active .cdg-sensitive-audio__btn--dock-only {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}
.cdg-pregame__toggle {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
min-height: 2.75rem;
padding: 0.2rem 0;
}
.cdg-pregame__toggle > span:first-child {
flex: 1;
font-size: 0.88rem;
line-height: 1.35;
color: var(--cdg-ad-text, #334155);
}
.cdg-pregame__switch:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.cdg-pregame__card--muted .cdg-pregame__switch,
.cdg-pregame__card--muted .cdg-pregame__select {
opacity: 0.55;
} body.cdg-playing--active #cdg-audio-sticky.cdg-audio-dock {
flex-wrap: wrap;
align-content: flex-end;
}
body.cdg-playing--active .cdg-audio-dock__settings {
font-size: 0.72rem;
font-weight: 700;
position: relative;
z-index: 2;
pointer-events: auto;
} .cdg-player-audio__drawer--floating,
.cdg-player-audio__drawer--light {
position: fixed;
width: min(320px, 92vw);
max-width: 92vw;
max-height: 80vh;
overflow-x: hidden;
overflow-y: auto;
padding: 1rem 1rem 0.85rem;
border-radius: 14px;
border: 1px solid rgba(148, 163, 184, 0.45);
background: rgba(255, 255, 255, 0.97);
color: #0f172a;
box-shadow:
0 18px 40px rgba(15, 23, 42, 0.18),
0 0 0 1px rgba(255, 255, 255, 0.65) inset;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
z-index: 120005;
display: none;
gap: 0.65rem;
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
pointer-events: auto;
visibility: visible;
opacity: 1;
}
.cdg-player-audio__drawer--floating.cdg-player-audio__drawer--open,
.cdg-player-audio__drawer--light.cdg-player-audio__drawer--open {
display: grid !important;
visibility: visible !important;
opacity: 1 !important;
pointer-events: auto !important;
}
body.cdg-playing--active .cdg-player-audio__drawer--floating,
body.cdg-playing--active .cdg-player-audio__drawer--floating.cdg-player-audio__drawer--open,
body.cdg-playing--active .cdg-player-audio__drawer--light {
z-index: 120005 !important;
}
body.cdg-playing--active .cdg-player-audio__drawer--dock:not(.cdg-player-audio__drawer--open) {
display: none !important;
}
body.cdg-playing--active .cdg-game-audio-bar {
position: relative;
z-index: 146;
overflow: visible;
}
body.cdg-playing--active .cdg-play-stage,
body.cdg-playing--active .cdg-panel-play {
overflow: visible;
}
body.cdg-playing--active .cdg-player-audio__drawer--dock .cdg-player-audio__lead,
body.cdg-playing--active .cdg-player-audio__drawer--dock .cdg-player-audio__note,
.cdg-player-audio__drawer--light .cdg-player-audio__lead,
.cdg-player-audio__drawer--light .cdg-player-audio__note {
margin: 0;
font-size: 0.84rem;
line-height: 1.4;
color: #475569;
}
body.cdg-playing--active .cdg-player-audio__drawer--dock .cdg-player-audio__row,
.cdg-player-audio__drawer--light .cdg-player-audio__row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
font-size: 0.92rem;
font-weight: 600;
min-height: 44px;
color: #0f172a;
}
body.cdg-playing--active .cdg-player-audio__drawer--dock .cdg-player-audio__row > span,
.cdg-player-audio__drawer--light .cdg-player-audio__row > span {
flex: 1;
color: #1e293b;
}
body.cdg-playing--active .cdg-player-audio__drawer--dock .cdg-player-audio__row input[type='checkbox'],
.cdg-player-audio__drawer--light .cdg-player-audio__row input[type='checkbox'] {
width: 2.75rem;
height: 1.5rem;
margin: 0;
flex-shrink: 0;
accent-color: #7c3aed;
cursor: pointer;
}
body.cdg-playing--active .cdg-player-audio__drawer--dock .cdg-player-audio__row--range input[type='range'],
.cdg-player-audio__drawer--light .cdg-player-audio__row--range input[type='range'] {
flex: 1;
min-width: 100px;
height: 0.45rem;
accent-color: #7c3aed;
cursor: pointer;
}
body.cdg-playing--active .cdg-player-audio__test-tone,
.cdg-player-audio__drawer--light .cdg-player-audio__test-tone {
width: 100%;
min-height: 44px;
border-radius: 10px;
border: 1px solid rgba(124, 58, 237, 0.35);
background: linear-gradient(180deg, #ede9fe 0%, #ddd6fe 100%);
color: #5b21b6;
font-weight: 700;
font-size: 0.9rem;
cursor: pointer;
}
body.cdg-playing--active .cdg-player-audio__debug-status,
.cdg-player-audio__drawer--light .cdg-player-audio__debug-status {
margin: 0;
font-size: 0.8rem;
color: #64748b;
}
@media (max-width: 390px) {
body.cdg-playing--active #cdg-audio-sticky.cdg-audio-dock {
left: max(0.55rem, env(safe-area-inset-left));
bottom: max(0.55rem, env(safe-area-inset-bottom));
max-width: calc(100vw - 1.1rem);
}
body.cdg-playing--active .cdg-player-audio__drawer--floating,
body.cdg-playing--active .cdg-player-audio__drawer--light {
width: 92vw !important;
max-width: 92vw !important;
max-height: 80vh !important;
padding: 0.85rem 0.8rem 0.75rem;
}
body.cdg-playing--active .cdg-audio-dock__status {
display: none;
}
body.cdg-playing--active .cdg-play-stage {
padding-bottom: calc(3.75rem + env(safe-area-inset-bottom));
}
} .cdg-pregame__toggle {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
min-height: 2.85rem;
padding: 0.25rem 0;
cursor: pointer;
pointer-events: auto;
user-select: none;
}
.cdg-pregame__toggle > span:first-child {
flex: 1;
font-size: 0.88rem;
line-height: 1.35;
}
.cdg-pregame__switch {
pointer-events: auto;
flex-shrink: 0;
}
.cdg-pregame__card--muted .cdg-pregame__switch:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.cdg-pregame__card:not(.cdg-pregame__card--muted) .cdg-pregame__switch:not(:disabled) {
opacity: 1;
}
body.cdg-playing--active .cdg-audio-dock--in-stage {
position: relative;
left: auto;
right: auto;
bottom: auto;
top: auto;
z-index: 141;
display: inline-flex !important;
visibility: visible !important;
opacity: 1 !important;
margin: 0 auto 0.85rem;
max-width: 100%;
pointer-events: auto;
}
body.cdg-playing--active .cdg-audio-dock--in-stage.cdg-audio-dock {
background: rgba(15, 23, 42, 0.88);
border: 1px solid rgba(148, 163, 184, 0.4);
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}
body.cdg-playing--active .cdg-play-stage > .cdg-audio-dock--in-stage {
align-self: center;
width: fit-content;
}
body.cdg-playing--active .cdg-play-stage .cdg-game-status {
pointer-events: none;
z-index: 1;
}
@media (max-width: 390px) {
body.cdg-playing--active .cdg-audio-dock--in-stage {
margin-bottom: 0.65rem;
}
body.cdg-playing--active .cdg-play-stage {
padding-bottom: 1rem;
}
} body.cdg-playing--active .cdg-play-stage.cdg-play-live,
body.cdg-playing--active.cdg-play-portaled .cdg-play-stage,
body.cdg-play-fallback .cdg-play-stage {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
position: fixed !important;
inset: 0 !important;
z-index: 140 !important;
pointer-events: auto !important;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
body.cdg-playing--active .cdg-app--in-play {
visibility: visible !important;
}
body.cdg-playing--active::after {
z-index: 110;
pointer-events: none !important;
}
body.cdg-playing--active .cdg-game-quit {
z-index: 150 !important;
pointer-events: auto !important;
}
.cdg-game-audio-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 0.45rem;
margin: 0 auto 0.75rem;
width: 100%;
max-width: min(32rem, calc(100% - 1.5rem));
position: relative;
z-index: 145;
pointer-events: auto;
}
body.cdg-playing--active .cdg-audio-dock--in-card,
body.cdg-playing--active .cdg-game-audio-bar .cdg-audio-dock {
position: relative !important;
left: auto !important;
right: auto !important;
bottom: auto !important;
top: auto !important;
display: inline-flex !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 145 !important;
margin: 0;
max-width: 100%;
pointer-events: auto !important;
background: rgba(15, 23, 42, 0.88);
border: 1px solid rgba(148, 163, 184, 0.35);
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}
body.cdg-playing--active .cdg-play-stage .cdg-quiz__question-title,
body.cdg-playing--active .cdg-play-stage .cdg-quiz__choices,
body.cdg-playing--active .cdg-play-stage .cdg-quiz__progress,
body.cdg-playing--active .cdg-play-stage .cdg-btn-next {
visibility: visible !important;
opacity: 1 !important;
}
.cdg-jeux-page .cdg-jeux-hero {
margin-bottom: 0.75rem;
padding: 0.75rem 1rem 0.85rem;
}
.cdg-jeux-page .cdg-jeux-hero__tagline {
font-size: 0.88rem;
margin-bottom: 0.35rem;
}
.cdg-jeux-hub {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
gap: 0.85rem;
margin: 0 0 0.85rem;
align-items: stretch;
}
.cdg-jeux-hub__card--multi {
grid-column: 1 / -1;
padding: 1rem 1.05rem 1.15rem !important;
border: 1px solid rgba(124, 58, 237, 0.22) !important;
background:
linear-gradient(145deg, rgba(124, 58, 237, 0.1) 0%, rgba(219, 39, 119, 0.06) 42%, rgba(8, 145, 178, 0.08) 100%),
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)) !important;
box-shadow: 0 6px 22px rgba(124, 58, 237, 0.1);
}
.cdg-jeux-multi__kicker {
margin: 0 0 0.2rem;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: #7c3aed;
}
.cdg-jeux-multi__title {
margin: 0 0 0.35rem;
font-size: 1.12rem;
font-weight: 800;
color: #1e293b;
}
.cdg-jeux-multi__lead {
margin: 0 0 0.65rem;
font-size: 0.88rem;
line-height: 1.45;
color: #475569;
max-width: 36rem;
}
.cdg-jeux-multi__badges {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin: 0 0 0.75rem;
}
.cdg-jeux-multi__badge {
display: inline-flex;
padding: 0.2rem 0.55rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 700;
background: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(124, 58, 237, 0.18);
color: #6d28d9;
}
.cdg-jeux-multi__badge--soft {
background: rgba(8, 145, 178, 0.1);
border-color: rgba(8, 145, 178, 0.22);
color: #0e7490;
}
.cdg-jeux-multi__actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.cdg-jeux-multi__btn {
flex: 1 1 11rem;
min-height: 2.75rem;
text-align: center;
text-decoration: none;
}
.cdg-jeux-multi__btn--ghost {
background: rgba(255, 255, 255, 0.92) !important;
border: 2px solid rgba(124, 58, 237, 0.28) !important;
color: #5b21b6 !important;
}
.cdg-room-app--jeux:not(.cdg-room-app--active) {
display: none !important;
}
.cdg-room-app--jeux.cdg-room-app--active {
margin: 0.85rem 0 1rem;
padding: 1rem;
border-radius: var(--cdg-radius-md);
border: 1px solid rgba(124, 58, 237, 0.2);
background: #fff;
}
.cdg-room-app--jeux .cdg-room__title,
.cdg-room-app--jeux .cdg-room__intro,
.cdg-room-app--jeux #cdg-room-create {
display: none !important;
}
@media (min-width: 720px) {
.cdg-jeux-hub {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cdg-jeux-hub__card--multi {
grid-column: 1 / -1;
}
}
@media (max-width: 480px) {
.cdg-jeux-multi__actions {
flex-direction: column;
}
.cdg-jeux-multi__btn {
width: 100%;
flex: 1 1 auto;
}
}
.cdg-jeux-hub__card {
margin: 0 !important;
padding: 0.85rem 0.95rem 1rem !important;
border-radius: var(--cdg-radius-md);
border: 1px solid rgba(124, 58, 237, 0.16);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
box-shadow: var(--cdg-shadow-sm);
}
.cdg-jeux-hub__card .cdg-quiz__header,
.cdg-jeux-hub__card .cdg-daily__title,
.cdg-jeux-hub__card .cdg-room__title,
.cdg-jeux-hub__card .cdg-cultural-quiz .cdg-quiz__header {
margin-bottom: 0.45rem;
}
.cdg-jeux-hub__card .cdg-quiz__title,
.cdg-jeux-hub__card .cdg-daily__title,
.cdg-jeux-hub__card .cdg-room__title,
.cdg-jeux-hub__card .cdg-cultural-quiz .cdg-quiz__title {
font-size: 1.02rem;
margin: 0 0 0.25rem;
}
.cdg-jeux-hub__card .cdg-quiz__intro,
.cdg-jeux-hub__card .cdg-quiz__meta,
.cdg-jeux-hub__card .cdg-daily__subtitle,
.cdg-jeux-hub__card .cdg-daily__meta,
.cdg-jeux-hub__card .cdg-room__intro,
.cdg-jeux-hub__card .cdg-cultural-quiz .cdg-quiz__intro {
display: none;
}
.cdg-jeux-hub__card .cdg-quiz__panel--start,
.cdg-jeux-hub__card #cdg-daily-panel-start,
.cdg-jeux-hub__card #cdg-cultural-panel-start,
.cdg-jeux-hub__card #cdg-room-create,
.cdg-jeux-hub__card #cdg-room-create-link {
margin-top: 0.35rem;
}
.cdg-room__btn--link {
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
text-align: center;
}
.cdg-jeux-accordion {
margin: 0.55rem 0 0.75rem;
border-radius: var(--cdg-radius-md);
border: 1px solid rgba(124, 58, 237, 0.14);
background: rgba(255, 255, 255, 0.94);
overflow: hidden;
}
.cdg-jeux-accordion__summary {
cursor: pointer;
padding: 0.7rem 0.9rem;
font-weight: 700;
font-size: 0.95rem;
list-style: none;
color: #334155;
}
.cdg-jeux-accordion__summary::-webkit-details-marker {
display: none;
}
.cdg-jeux-accordion__summary::after {
content: "+";
float: right;
font-weight: 800;
opacity: 0.55;
}
.cdg-jeux-accordion[open] .cdg-jeux-accordion__summary::after {
content: "−";
}
.cdg-jeux-accordion > .cdg-challenges,
.cdg-jeux-accordion > .cdg-leaderboard,
.cdg-jeux-accordion > .cdg-journey-private {
padding: 0 0.85rem 0.85rem;
margin: 0;
border: none;
box-shadow: none;
background: transparent;
}
@media (max-width: 390px) {
.cdg-jeux-hub {
grid-template-columns: 1fr;
gap: 0.65rem;
}
.cdg-jeux-hub__card {
padding: 0.75rem 0.85rem 0.9rem !important;
}
body.cdg-playing--active .cdg-audio-dock--in-card {
width: 100%;
justify-content: center;
}
} body.cdg-playing--active .cdg-play-stage.cdg-play-live,
body.cdg-playing--active.cdg-play-portaled .cdg-play-stage,
body.cdg-play-fallback .cdg-play-stage {
justify-content: flex-start !important;
align-items: center !important;
height: auto !important;
min-height: 0 !important;
max-height: calc(100dvh - 1.25rem) !important;
top: max(0.65rem, env(safe-area-inset-top)) !important;
bottom: auto !important;
left: 50% !important;
right: auto !important;
transform: translateX(-50%) !important;
width: min(32rem, calc(100% - 1.5rem)) !important;
padding: 1rem 1.1rem 1.15rem !important;
gap: 0 !important;
}
body.cdg-playing--active .cdg-play-stage.cdg-game-card::before,
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play::before {
display: none !important;
}
body.cdg-playing--active .cdg-play-stage.cdg-game-card,
body.cdg-playing--active .cdg-play-stage.cdg-quiz__panel--play {
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
border: 1px solid rgba(124, 58, 237, 0.16) !important;
border-radius: var(--cdg-radius-lg) !important;
box-shadow: var(--cdg-shadow-md) !important;
}
.cdg-play-stack {
display: flex;
flex-direction: column;
gap: 1.35rem;
width: 100%;
max-width: min(32rem, calc(100% - 1.5rem));
margin: 0 auto;
flex: 0 0 auto;
}
body.cdg-playing--active .cdg-play-stage .cdg-play-stack {
max-width: 100%;
}
body.cdg-playing--active .cdg-play-stage .cdg-quiz__question-head {
margin-bottom: 0;
gap: 0.5rem;
}
body.cdg-playing--active .cdg-play-stage .cdg-quiz__question-title,
body.cdg-playing--active .cdg-play-stage .cdg-daily__question,
body.cdg-playing--active .cdg-play-stage #cdg-cultural-question-title {
flex: 0 1 auto;
margin: 0;
}
body.cdg-playing--active .cdg-play-stage .cdg-quiz__choices,
body.cdg-playing--active .cdg-play-stage #cdg-daily-choices,
body.cdg-playing--active .cdg-play-stage #cdg-cultural-choices {
margin: 0;
gap: 0.6rem;
}
body.cdg-playing--active .cdg-play-stage .cdg-game-status {
margin-bottom: 0.45rem;
}
body.cdg-playing--active .cdg-play-stage .cdg-game-audio-bar {
margin-bottom: 0.45rem;
}
body.cdg-playing--active .cdg-play-stage .cdg-quiz__progress,
body.cdg-playing--active .cdg-play-stage #cdg-daily-progress,
body.cdg-playing--active .cdg-play-stage #cdg-cultural-progress {
margin: 0 0 0.5rem;
}
body.cdg-playing--active .cdg-play-stage .cdg-quiz-timer[hidden],
body.cdg-playing--active .cdg-play-stage [hidden] {
display: none !important;
}
@media (max-width: 390px) {
body.cdg-playing--active .cdg-play-stage.cdg-play-live,
body.cdg-playing--active.cdg-play-portaled .cdg-play-stage {
width: calc(100% - 1rem) !important;
max-height: calc(100dvh - 0.75rem) !important;
padding: 0.85rem 0.9rem 1rem !important;
}
.cdg-play-stack {
gap: 1rem;
}
body.cdg-playing--active .cdg-play-stage .cdg-quiz__choices {
gap: 0.5rem;
}
} .cdg-audio-dock__status--warn {
color: #b45309 !important;
background: rgba(251, 191, 36, 0.18);
border-radius: 6px;
padding: 0.15rem 0.45rem;
}
.cdg-audio-dock__status--error {
color: #b91c1c !important;
background: rgba(254, 202, 202, 0.35);
border-radius: 6px;
padding: 0.15rem 0.45rem;
}