/* Ludo-inspired Excel learning board (solo; no wagering or opponent accounts). */
.fq-ludo{background:linear-gradient(135deg,#f6faff,#fff);border:1px solid #dceaf0;border-radius:20px;margin:18px 0 24px;padding:20px;box-shadow:0 12px 34px #1842590a}
.fq-ludo-header{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:18px}
.fq-ludo-header h2{font-size:22px;color:#173954;margin:7px 0 8px}
.fq-ludo-header p{font-size:13px;line-height:1.7;color:#55758a;margin:0}
.fq-ludo-progress{padding:12px 17px;border-radius:14px;background:#ecf7f6;display:flex;flex-direction:column;align-items:center;flex:none}
.fq-ludo-progress b{font-size:24px;color:#087c74}.fq-ludo-progress small{font-size:10px;color:#627d83;white-space:nowrap}
.fq-ludo-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:start;gap:17px}
.fq-ludo-board-wrap{max-width:560px;width:100%;margin:0 auto}
.fq-ludo-board{width:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-template-rows:repeat(15,minmax(0,1fr));border:4px solid #264d5c;border-radius:15px;overflow:hidden;box-shadow:0 11px 28px #102e4b24;background:white;direction:ltr;position:relative}
.fq-ludo-cell{border:1px solid #d0dce2;position:relative;display:grid;place-items:center;background:#fff;min-height:0;min-width:0}
.fq-ludo-home.fq-ludo-red{background:#f35261;border-color:#ff7b80}
.fq-ludo-home.fq-ludo-green{background:#29b580;border-color:#5bcba1}
.fq-ludo-home.fq-ludo-blue{background:#468fe6;border-color:#78b5ef}
.fq-ludo-home.fq-ludo-yellow{background:#f5c64c;border-color:#ffdd74}
.fq-ludo-center{background:#f5e9a2;border-color:#f2cf6c}
.fq-ludo-center::after{content:'★';color:#db9a26;font-size:clamp(9px,1.4vw,20px);opacity:.4}
.fq-ludo-route{background:#fff!important;border-color:#cbd5d8!important;box-shadow:inset 0 0 0 1px #ffffff94}
.fq-ludo-route:nth-child(3n){background:#f5fafb!important}
.fq-ludo-start{background:#bee9fa!important}
.fq-ludo-start::before{content:'▶';font-size:clamp(7px,1.05vw,13px);color:#177da1;opacity:.6}
.fq-ludo-goal-red{background:#ffd6dc}
.fq-ludo-goal-green{background:#d9f9e5}
.fq-ludo-goal-yellow{background:#fff0c6}
.fq-ludo-goal-blue{background:#d8ecfb}
.fq-ludo-center.fq-ludo-goal-blue{background:#bde1fa}
.fq-ludo-token{width:90%;height:90%;max-width:31px;max-height:31px;display:grid;place-items:center;border-radius:50%;font-size:clamp(10px,1.4vw,19px);color:white;background:radial-gradient(circle at 28% 25%,#d9eeff,#347ec9 46%,#1f4586 100%);border:2px solid white;box-shadow:0 3px 9px #132d4b99;z-index:5;animation:fq-ludo-bounce .3s ease-out}
.fq-ludo-home-circle{width:55%;height:55%;border-radius:50%;background:#ffffffc0;border:1px solid #ffffffdd;box-shadow:0 2px 7px #10203b32}
.fq-ludo-home-token{width:70%;height:70%;border-radius:50%;background:#1269c7;border:2px solid white;color:#fff;display:grid;place-items:center;box-shadow:0 3px 8px #1532566b;font-size:clamp(8px,1.1vw,14px)}
.fq-ludo-board-note{display:block;font-size:11px;line-height:1.45;color:#728793;text-align:center;margin-top:10px}
.fq-ludo-dice-zone{border-radius:18px;border:1px solid #d9eaf0;background:#fff;padding:20px 16px;display:flex;flex-direction:column;align-items:center;gap:14px;box-shadow:0 8px 22px #2f596e0b;text-align:center}
.fq-ludo-dice{width:100px;height:100px;border-radius:22px;background:linear-gradient(135deg,#fff,#e7fbef);border:3px solid #6ebca3;box-shadow:0 9px 24px #248b6b24;display:grid;place-items:center;transform:rotate(-6deg);font-weight:900;color:#136e62}
.fq-ludo-dice span{font-size:clamp(44px,5vw,58px);line-height:1}
.fq-ludo-instruction{font-size:13px;color:#527486;line-height:1.6;margin:0;min-height:41px}
.fq-ludo-roll{width:100%;min-height:47px;white-space:normal}
.fq-ludo-fazaa{display:flex;align-items:center;gap:8px;text-align:start;background:#f4f3ff;border:1px solid #e0dcfa;border-radius:11px;padding:9px;width:100%}
.fq-ludo-fazaa span{font-size:28px;flex:none}
.fq-ludo-fazaa p{font-size:11px;color:#625c92;margin:0;line-height:1.45}
.fq-ludo-rule{font-size:11px;color:#758996;line-height:1.5}
.fq-ludo-steps{width:100%;display:flex;justify-content:space-between;align-items:center;color:#557b80;border-top:1px solid #e4edf0;padding-top:13px;font-size:12px}
.fq-ludo-steps b{color:#126d67}
.fq-ludo-legal{font-size:11px;color:#7a8c94;margin:15px 0 0;line-height:1.6}
@keyframes fq-ludo-bounce{0%{transform:scale(.8)}65%{transform:scale(1.13)}100%{transform:scale(1)}}
@media(max-width:1050px){.fq-ludo-layout{grid-template-columns:1fr}.fq-ludo-dice-zone{display:grid;grid-template-columns:95px minmax(0,1fr);text-align:start;align-items:center}.fq-ludo-dice{width:90px;height:90px;grid-row:span 3}.fq-ludo-fazaa{grid-column:1/-1}.fq-ludo-steps{grid-column:1/-1}.fq-ludo-rule{grid-column:1/-1}}
@media(max-width:680px){.fq-ludo{padding:13px}.fq-ludo-header{flex-direction:column}.fq-ludo-progress{flex-direction:row;gap:11px}.fq-ludo-header h2{font-size:20px}.fq-ludo-layout{gap:12px}.fq-ludo-dice-zone{padding:12px;gap:10px;grid-template-columns:75px 1fr}.fq-ludo-dice{width:73px;height:73px;border-radius:14px;grid-row:span 2}.fq-ludo-dice span{font-size:36px}.fq-ludo-instruction{font-size:12px;min-height:0}.fq-ludo-board{border-width:3px}.fq-ludo-token{border-width:1px}.fq-ludo-board-note{font-size:10px}.fq-ludo-roll{padding:8px}.fq-ludo-fazaa{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.fq-ludo-token{animation:none}}
