/* =========================================================
   ICSCV GAMES THEME — Jeopardy + Picture Reveal
========================================================= */
:root{--game-green:#063f2b;--game-green2:#0b5c3a;--game-green3:#0d6f47;--game-blue:#071735;--game-blue2:#0b2c66;--game-gold:#c9a227;--game-gold2:#e7c85b;--game-cream:#fff8df;--game-paper:#fffdf6;--game-bg:#f4ecd8;--game-red:#8f2c22;--game-shadow:0 22px 60px rgba(6,63,43,.2);--game-shadow-dark:0 22px 60px rgba(0,0,0,.25)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--game-bg);color:var(--game-green)}body{overflow-x:clip}button,input{font:inherit}[hidden]{display:none!important}
.pj-page,.pr-page{min-height:100vh;padding:18px;color:var(--game-green);background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%)}

/* =========================================================
   TOP BAR + BUTTONS
========================================================= */
.pj-topbar,.pr-topbar{max-width:1600px;margin:0 auto 14px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--game-cream);border:1px solid rgba(201,162,39,.38);border-radius:26px;background:linear-gradient(135deg,rgba(6,63,43,.96),rgba(11,92,58,.94));box-shadow:var(--game-shadow)}
.pj-brand,.pr-brand{display:flex;align-items:center;gap:16px}.pj-mark,.pr-mark{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;color:var(--game-gold2);border:2px solid rgba(231,200,91,.75);background:radial-gradient(circle,rgba(255,248,223,.14),rgba(255,248,223,.02));font-size:34px;box-shadow:0 0 0 6px rgba(201,162,39,.12)}
.pj-kicker,.pr-kicker{margin:0 0 4px;color:var(--game-gold2);text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:900}.pj-topbar h1,.pr-topbar h1{margin:0;font-size:clamp(30px,4vw,58px);line-height:.95;letter-spacing:-.04em}.pj-topbar p:last-child,.pr-topbar p:last-child{margin:7px 0 0;color:rgba(255,248,223,.84);font-weight:700}
.pj-top-actions,.pr-top-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pj-btn,.pr-btn{border:0;border-radius:999px;padding:12px 16px;cursor:pointer;font-weight:900;letter-spacing:.01em;color:var(--game-green);background:#fff;box-shadow:0 10px 24px rgba(0,0,0,.13);transition:transform .15s ease,filter .15s ease,opacity .15s ease}.pj-btn:hover,.pr-btn:hover{transform:translateY(-1px);filter:saturate(1.05)}.pj-btn:disabled,.pr-btn:disabled{cursor:not-allowed;opacity:.45;transform:none}.pj-btn-soft,.pr-btn-soft,.pj-change-game,.pr-change-game{background:#fff8df;color:var(--game-green)}.pj-btn-gold,.pr-btn-gold{color:#442f05;background:linear-gradient(180deg,var(--game-gold2),var(--game-gold))}.pj-btn-danger,.pr-btn-danger{color:var(--game-red);background:#fff1ee}.pj-btn-small,.pr-btn-small{padding:8px 11px;font-size:13px}.pr-wide{width:100%}

/* =========================================================
   GAME PICKER
========================================================= */
.pj-game-picker,.pr-game-picker{max-width:1100px;margin:38px auto;display:grid;place-items:center}.pj-picker-card,.pr-picker-card{width:100%;border-radius:34px;padding:34px;text-align:center;border:2px solid rgba(231,200,91,.56);box-shadow:0 30px 90px rgba(6,63,43,.24)}
.pr-picker-card{color:var(--game-cream);background:radial-gradient(circle at 50% 0%,rgba(231,200,91,.22),transparent 42%),linear-gradient(135deg,#052d20,#0b5c3a 62%,#063f2b)}.pj-picker-card{color:var(--game-green);background:radial-gradient(circle at 50% 0%,rgba(201,162,39,.16),transparent 38%),linear-gradient(180deg,#fffaf0 0%,#f6edd7 100%);border-color:rgba(201,162,39,.58);box-shadow:0 30px 90px rgba(6,63,43,.18)}
.pj-picker-card h2,.pr-picker-card h2{margin:6px 0 8px;font-size:clamp(34px,5vw,64px);line-height:.95;letter-spacing:-.04em}.pj-picker-card>p:last-of-type,.pr-picker-card>p:last-of-type{margin:0 auto 24px;max-width:620px;font-weight:700;line-height:1.6}.pr-picker-card>p:last-of-type{color:rgba(255,248,223,.84)}.pj-picker-card>p:last-of-type{color:rgba(6,63,43,.78)}
.pj-game-options,.pr-game-options{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:14px;margin-top:24px}.pj-game-option,.pr-game-option{position:relative;text-align:left;border-radius:24px;padding:20px;cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}.pr-game-option{border:1px solid rgba(231,200,91,.46);background:rgba(255,248,223,.1);color:var(--game-cream);box-shadow:0 16px 34px rgba(0,0,0,.16)}.pj-game-option{border:1px solid rgba(201,162,39,.52);background:linear-gradient(180deg,#fffdf6 0%,#f4ecd8 100%);color:var(--game-green);box-shadow:0 16px 34px rgba(0,0,0,.1)}
.pj-game-option:hover,.pr-game-option:hover{transform:translateY(-3px)}.pr-game-option:hover{background:rgba(255,248,223,.18);border-color:rgba(231,200,91,.9)}.pj-game-option:hover{background:linear-gradient(180deg,#fffef9 0%,#f8f0dc 100%);border-color:rgba(201,162,39,.9);box-shadow:0 18px 36px rgba(0,0,0,.14)}
.pj-game-option strong,.pr-game-option strong{display:block;font-size:22px;line-height:1.1}.pr-game-option strong{color:var(--game-gold2)}.pj-game-option strong{color:var(--game-green)}.pj-game-option span,.pr-game-option span{display:block;margin-top:8px;line-height:1.45;font-weight:650}.pr-game-option span{color:rgba(255,248,223,.82)}.pj-game-option span{color:rgba(6,63,43,.78)}.pj-game-option em,.pr-game-option em{display:inline-block;margin-top:10px;font-style:normal;font-weight:800;font-size:13px}.pr-game-option em{color:rgba(255,248,223,.72)}.pj-game-option em{color:rgba(6,63,43,.62)}
.pj-game-option.locked,.pr-game-option.locked{opacity:.94}.pj-game-option.locked::after,.pr-game-option.locked::after{content:"LOCKED";position:absolute;top:14px;right:14px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:1000;letter-spacing:.12em}.pr-game-option.locked::after{background:rgba(231,200,91,.18);border:1px solid rgba(231,200,91,.58);color:var(--game-gold2)}.pj-game-option.locked::after{background:rgba(201,162,39,.16);border:1px solid rgba(201,162,39,.58);color:#7a5a10}

/* =========================================================
   JEOPARDY SCOREBOARD
========================================================= */
.pj-score-panel{max-width:1600px;margin:0 auto 14px;display:flex;gap:14px;align-items:stretch}.pj-score-head{width:220px;flex:0 0 220px;border-radius:22px;padding:16px;background:rgba(255,253,246,.78);border:1px solid rgba(6,63,43,.12);box-shadow:0 12px 28px rgba(6,63,43,.08)}.pj-score-head strong{display:block;font-size:18px}.pj-score-head span{display:block;margin-top:5px;color:rgba(6,63,43,.68);font-size:13px;line-height:1.35}
.pj-teams{flex:1;display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px}.pj-team,.pj-team-card{text-align:center}.pj-team{border-radius:22px;padding:14px;background:rgba(255,253,246,.9);border:1px solid rgba(201,162,39,.32);box-shadow:0 12px 28px rgba(6,63,43,.08)}.pj-team.active{outline:2px solid rgba(218,177,83,.95);box-shadow:0 0 0 4px rgba(218,177,83,.18),0 18px 38px rgba(0,0,0,.18)}
.pj-team-name,.pj-team-title,.pj-team h3{width:100%;border:0;border-bottom:1px dashed rgba(6,63,43,.24);background:transparent;color:var(--game-green);outline:none;padding:0 0 5px;font-size:clamp(24px,3.2vw,46px);line-height:.95;font-weight:1000;letter-spacing:-.045em;text-align:center;overflow-wrap:anywhere}.pj-team-name[contenteditable="true"],.pj-team-title[contenteditable="true"]{min-height:1.1em}
.pj-team-score,.pj-score{display:flex;align-items:center;justify-content:center;text-align:center;width:fit-content;min-width:120px;margin:8px auto 10px;color:var(--game-green);font-size:34px;line-height:1;font-weight:1000}.pj-team-actions{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}.pj-team-actions .pj-btn{min-width:78px;text-align:center}.pj-turn-btn{width:100%;margin:8px 0 10px}

/* =========================================================
   JEOPARDY BOARD + ENVELOPE
========================================================= */
.pj-board-wrap{max-width:1600px;margin:0 auto;overflow-x:auto;padding:18px;border-radius:30px;border:1px solid rgba(201,162,39,.42);background:radial-gradient(circle at 50% 0%,rgba(231,200,91,.18),transparent 38%),linear-gradient(180deg,rgba(255,253,246,.88),rgba(244,236,216,.78));box-shadow:0 24px 60px rgba(6,63,43,.16),inset 0 0 0 1px rgba(255,255,255,.46)}
.pj-board{position:relative;min-width:1320px;display:grid;grid-auto-flow:row;grid-template-columns:repeat(var(--pj-columns,6),minmax(132px,1fr));grid-auto-columns:initial;gap:10px;padding:14px;border-radius:24px;border:1px solid rgba(6,63,43,.14);background:linear-gradient(135deg,rgba(6,63,43,.08),rgba(201,162,39,.08)),rgba(255,248,223,.48);box-shadow:inset 0 0 34px rgba(6,63,43,.08)}.pj-board::before{content:"";position:absolute;inset:6px;pointer-events:none;border-radius:20px;border:1px dashed rgba(201,162,39,.24);z-index:0}
.pj-category{position:relative;z-index:1;display:grid;grid-template-rows:142px repeat(5,104px);gap:10px}.pj-cat-title{height:100%;min-height:0;border-radius:18px;display:flex;align-items:center;justify-content:center;text-align:center;text-transform:uppercase;padding:18px 10px;color:var(--game-cream);background:linear-gradient(135deg,var(--game-green),var(--game-green2));font-size:clamp(1rem,1.25vw,1.45rem);line-height:1.12;letter-spacing:.055em;font-weight:900;border:1px solid rgba(231,200,91,.58);box-shadow:0 12px 24px rgba(6,63,43,.18),inset 0 0 0 1px rgba(255,248,223,.08);opacity:1;transform:none;filter:none;animation:none}
.pj-page.pj-category-reveal-pending .pj-cat-title{color:transparent;text-shadow:none;animation:pjCategoryTextReveal .75s ease 2.5s forwards}@keyframes pjCategoryTextReveal{from{color:transparent;text-shadow:none}to{color:var(--game-cream);text-shadow:0 2px 8px rgba(0,0,0,.18)}}
.pj-cell{border:0;border-radius:18px;background:radial-gradient(circle at 50% 10%,rgba(231,200,91,.3),transparent 38%),linear-gradient(180deg,#fff9e7,#f0dfab);color:#7b570a;font-weight:1000;font-size:clamp(24px,3vw,44px);cursor:pointer;box-shadow:0 14px 28px rgba(6,63,43,.12),inset 0 0 0 1px rgba(201,162,39,.45);transition:transform .15s ease,filter .15s ease,opacity .15s ease}.pj-cell:hover{transform:translateY(-2px);filter:saturate(1.05)}.pj-cell.played{opacity:.22;filter:grayscale(.85)}.pj-cell.played::after{content:"✓";font-size:40px;color:var(--game-green)}
.pj-leader-banner{position:relative;z-index:1;grid-column:1/-1;min-height:86px;margin-top:4px;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;text-align:center;padding:16px 18px;color:var(--game-cream);background:linear-gradient(135deg,var(--game-green),var(--game-green2));border:1px solid rgba(231,200,91,.58);box-shadow:0 12px 24px rgba(6,63,43,.18),inset 0 0 0 1px rgba(255,248,223,.08)}.pj-leader-label{color:var(--game-gold2);text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:1000}.pj-leader-name{font-size:clamp(24px,3vw,44px);line-height:1;font-weight:1000;letter-spacing:-.035em}.pj-leader-score{min-width:74px;border-radius:999px;padding:8px 14px;color:#442f05;background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));font-style:normal;font-size:clamp(20px,2.5vw,34px);line-height:1;font-weight:1000}

/* =========================================================
   MODAL / QUESTION SCREEN
========================================================= */
.pj-modal{position:fixed;inset:0;display:none;place-items:center;z-index:9999;padding:24px;background:rgba(4,24,17,.78);backdrop-filter:blur(6px)}.pj-modal.open,.pj-modal.active{display:grid}.pj-modal-card{width:min(1180px,96vw);min-height:min(680px,88vh);position:relative;display:flex;flex-direction:column;justify-content:center;gap:14px;border-radius:34px;padding:44px;text-align:center;color:var(--game-cream);background:radial-gradient(circle at 50% 0%,rgba(231,200,91,.24),transparent 42%),linear-gradient(135deg,#052d20,#0b5c3a 62%,#063f2b);border:2px solid rgba(231,200,91,.62);box-shadow:0 40px 120px rgba(0,0,0,.48)}
.pj-close{position:absolute;right:18px;top:14px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,248,223,.28);background:rgba(255,255,255,.08);color:#fff8df;cursor:pointer;font-size:32px;line-height:1}.pj-question-meta{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;color:var(--game-gold2);font-weight:1000;text-transform:uppercase;letter-spacing:.1em}.pj-question-meta strong{color:#442f05;background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));padding:5px 12px;border-radius:999px;letter-spacing:0}.pj-clue{font-size:clamp(34px,5vw,72px);font-weight:950;line-height:1.12;text-wrap:balance}.pj-answer{width:min(920px,100%);margin:0 auto;border-radius:22px;padding:18px 22px;color:#17352d;background:#fff8df;border:1px solid rgba(231,200,91,.7);font-size:clamp(24px,3vw,44px);font-weight:1000;line-height:1.18}.pj-modal-actions,.pj-modal-score,.pj-modal-score-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.pj-modal-score .pj-btn{min-width:120px}.pj-modal-score-actions .pj-btn{flex:1 1 150px}
.pj-question-image-wrap{width:min(300px,70%);margin:0 auto;border:0;border-radius:0;overflow:visible;background:transparent;box-shadow:none}.pj-question-image-wrap img{width:100%;max-height:170px;object-fit:contain;display:block;background:transparent;filter:drop-shadow(0 12px 22px rgba(0,0,0,.22))}.pj-question-image-wrap[hidden]{display:none!important}.pj-modal-card:has(.pj-question-image-wrap:not([hidden])) .pj-clue{font-size:clamp(26px,4vw,52px)}
.pj-active-turn-box{display:grid;gap:12px;width:100%;margin-top:14px;padding:14px;border:1px solid rgba(218,177,83,.35);border-radius:18px;background:rgba(255,255,255,.06)}.pj-active-turn-label{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;opacity:.78}.pj-turn-select{width:100%;border:1px solid rgba(218,177,83,.4);border-radius:12px;padding:10px 12px;font:inherit}.pj-active-team-line{font-size:.98rem}

/* =========================================================
   LOG / HELP
========================================================= */
.pj-log-wrap,.pj-help{max-width:1600px;margin:12px auto 0;border-radius:18px;padding:13px 16px;background:rgba(255,253,246,.78);border:1px solid rgba(6,63,43,.1);color:rgba(6,63,43,.8)}.pj-log-wrap summary{cursor:pointer;font-weight:900}#pjRoundLog{margin:10px 0 0;padding-left:22px;line-height:1.65}

/* =========================================================
   JEOPARDY WINNER SPLASH + CONFETTI
========================================================= */
.pj-winner-splash{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:24px;pointer-events:none;opacity:0;transition:opacity .24s ease}
.pj-winner-splash.open{opacity:1;pointer-events:auto}
.pj-winner-backdrop{position:absolute;inset:0;background:rgba(4,24,17,.72);backdrop-filter:blur(4px)}
.pj-winner-card{position:relative;isolation:isolate;width:min(780px,94vw);overflow:hidden;border-radius:34px;padding:42px 28px 34px;text-align:center;color:var(--game-cream,#fff8df);border:2px solid rgba(231,200,91,.56);background:radial-gradient(circle at 50% 0%,rgba(231,200,91,.24),transparent 42%),linear-gradient(135deg,#052d20,#0b5c3a 62%,#063f2b);box-shadow:0 34px 90px rgba(0,0,0,.34)}
.pj-winner-kicker{position:relative;z-index:2;color:var(--game-gold2,#e7c85b);font-size:13px;font-weight:1000;letter-spacing:.18em;text-transform:uppercase}
.pj-winner-label{position:relative;z-index:2;margin-top:16px;color:rgba(255,248,223,.84);font-size:clamp(18px,2vw,26px);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.pj-winner-name{position:relative;z-index:2;margin:12px 0 10px;font-size:clamp(42px,7vw,88px);line-height:.92;letter-spacing:-.06em;color:#fff;text-wrap:balance}
.pj-winner-score{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-width:190px;padding:12px 20px;border-radius:999px;color:#4a3305;background:linear-gradient(180deg,var(--game-gold2,#e7c85b),var(--game-gold,#c9a227));font-size:clamp(18px,2vw,28px);font-weight:1000;box-shadow:0 14px 28px rgba(0,0,0,.22)}
.pj-winner-actions{position:relative;z-index:2;margin-top:24px;display:flex;justify-content:center}.pj-winner-actions .pj-btn{min-width:180px}
.pj-confetti{position:absolute;inset:-10% 0 0;overflow:hidden;pointer-events:none;z-index:1}
.pj-confetti-piece{position:absolute;top:-10%;width:var(--pj-confetti-size,12px);height:calc(var(--pj-confetti-size,12px)*1.4);background:var(--pj-confetti-color,#e7c85b);opacity:.96;border-radius:2px;box-shadow:0 2px 0 rgba(255,255,255,.28) inset;animation:pjConfettiFall var(--pj-confetti-duration,5s) linear var(--pj-confetti-delay,0s) forwards}
.pj-confetti-piece:nth-child(3n){border-radius:50%}
.pj-confetti-piece:nth-child(4n){height:calc(var(--pj-confetti-size,12px)*.7)}
@keyframes pjConfettiFall{0%{transform:translate3d(0,-12vh,0) rotate(0deg);opacity:0}8%{opacity:1}100%{transform:translate3d(var(--pj-confetti-x,0),108vh,0) rotate(var(--pj-confetti-rotate,360deg));opacity:1}}
@media(max-width:700px){.pj-winner-card{padding:34px 18px 28px;border-radius:26px}.pj-winner-actions .pj-btn{min-width:150px}}



/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:980px){.pj-teams{grid-template-columns:repeat(3,minmax(150px,1fr))}}
@media(max-width:900px){.pj-topbar,.pr-topbar{align-items:flex-start;flex-direction:column}.pj-top-actions,.pr-top-actions{justify-content:flex-start}.pj-score-panel{flex-direction:column}.pj-score-head{width:100%;flex:auto}.pj-board-wrap{padding:12px;border-radius:22px}.pj-board{padding:10px;border-radius:18px}.pj-category{grid-template-rows:76px repeat(5,104px)}.pj-cat-title{font-size:clamp(.88rem,2.3vw,1.12rem);letter-spacing:.035em;padding:14px 8px}.pj-team-actions .pj-btn{min-width:72px}.pj-leader-banner{min-height:76px;gap:9px;padding:14px 12px}.pj-leader-label{width:100%;font-size:11px}.pj-leader-name{font-size:clamp(20px,6vw,32px)}}
@media(max-width:760px){.pj-teams{grid-template-columns:1fr}.pj-team-name,.pj-team-title,.pj-team h3{font-size:clamp(26px,8vw,42px)}.pj-team-score,.pj-score{min-width:110px}.pj-game-options,.pr-game-options{grid-template-columns:1fr}}
@media(max-width:560px){.pj-page,.pr-page{padding:10px}.pj-modal{padding:12px}.pj-modal-card{padding:34px 18px;border-radius:26px}}


/* =========================================================Picture Reveal picker ========================================================================= */
.pr-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.pr-start-card{  width:100%;  padding:34px;  text-align:center;  border-radius:34px;  color:var(--game-cream);  border:2px solid rgba(231,200,91,.52);  background:radial-gradient(circle at 50% 0%,rgba(231,200,91,.18),transparent 44%),linear-gradient(135deg,#052d20,#09244d 65%,#06101e);  box-shadow:0 30px 90px rgba(0,0,0,.34);}
.pr-start-card h2{  margin:6px 0 8px;  font-size:clamp(36px,5vw,68px);  line-height:.95;  letter-spacing:-.05em;}
.pr-start-card>p:last-of-type{  max-width:680px;  margin:0 auto 24px;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.6;}
.pr-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.pr-round-option{  min-height:170px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:18px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:linear-gradient(180deg,rgba(255,248,223,.1),rgba(255,248,223,.04)),var(--round-bg,rgba(5,45,32,.8));  background-size:cover;  background-position:center;  box-shadow:0 16px 36px rgba(0,0,0,.22);  overflow:hidden;  position:relative;}
.pr-round-option::before{  content:"";  position:absolute;  inset:0;  background:linear-gradient(180deg,rgba(2,8,17,.18),rgba(2,8,17,.78));}
.pr-round-option strong,.pr-round-option span{  position:relative;  z-index:1;  display:block;}
.pr-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.pr-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.pr-round-option em{  position:relative;  z-index:1;  display:inline-block;  margin-top:12px;  padding:5px 9px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:12px;  font-style:normal;  font-weight:1000;}
/* Picture Reveal gameplay */
.pr-game{  max-width:1680px;  margin:0 auto;  display:block;}
.pr-play-layout{  display:grid;  grid-template-columns:minmax(330px,420px) 1fr;  gap:16px;  align-items:start;}
.pr-side{  display:grid;  gap:14px;}
.pr-panel{  border-radius:24px;  padding:16px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.82),rgba(7,23,53,.88));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.pr-panel-head{  display:flex;  justify-content:space-between;  align-items:flex-start;  gap:10px;  margin-bottom:13px;}
.pr-panel-head strong{  color:var(--game-gold2);  font-size:17px;}
.pr-panel-head span{  color:rgba(255,248,223,.7);  font-size:13px;  font-weight:700;  text-align:right;}
.pr-teams{  display:grid;  gap:10px;}
.pr-team{  border-radius:18px;  padding:12px;  border:1px solid rgba(231,200,91,.24);  background:rgba(255,248,223,.08);}
.pr-team-name{  width:100%;  border:0;  border-bottom:1px dashed rgba(231,200,91,.4);  background:transparent;  color:var(--game-cream);  outline:none;  font-weight:900;  padding:0 0 5px;}
.pr-team-score{  margin:8px 0 10px;  color:var(--game-gold2);  font-size:30px;  line-height:1;  font-weight:1000;}
.pr-team-actions{  display:flex;  flex-wrap:wrap;  gap:7px;}
.pr-team.active{  border-color:rgba(231,200,91,.95);  background:rgba(231,200,91,.16);  box-shadow:0 0 0 3px rgba(231,200,91,.12),0 16px 36px rgba(0,0,0,.18);}
.pr-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
.pr-question-card{  border-radius:20px;  padding:16px;  color:var(--game-green);  background:#fff8df;}
.pr-question-meta{  display:flex;  justify-content:space-between;  gap:12px;  align-items:center;  color:rgba(6,63,43,.72);  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;  font-size:12px;}
.pr-question-meta strong{  padding:5px 11px;  border-radius:999px;  color:#3d2a05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  letter-spacing:0;}
.pr-clue{  margin:16px 0;  font-size:clamp(22px,2vw,34px);  font-weight:950;  line-height:1.18;  color:var(--game-green);}
.pr-answer{  margin:0 0 14px;  padding:12px 14px;  border-radius:16px;  color:var(--game-cream);  background:linear-gradient(135deg,var(--game-green),var(--game-green2));  font-size:20px;  font-weight:950;}
.pr-actions,.pr-question-score{  display:flex;  flex-wrap:wrap;  gap:8px;}
.pr-question-score{  margin-top:12px;}
.pr-guess-box{  display:grid;  gap:10px;}
.pr-image-answer{  padding:13px 14px;  border-radius:16px;  color:var(--game-green);  background:#fff8df;  font-size:22px;  font-weight:1000;  text-align:center;}
.pr-reveal-stage{  min-height:calc(100vh - 132px);  display:grid;  place-items:center;  border-radius:30px;  padding:18px;  border:1px solid rgba(231,200,91,.24);  background:radial-gradient(circle at 60% 0%,rgba(231,200,91,.14),transparent 32%),linear-gradient(135deg,rgba(7,23,53,.7),rgba(2,8,17,.5));  box-shadow:0 24px 70px rgba(0,0,0,.25);}
.pr-image-wrap{  width:100%;  max-width:100%;  aspect-ratio:1/1;  position:relative;  border-radius:30px;  overflow:hidden;  border:2px solid rgba(231,200,91,.6);  background:#06101e;  box-shadow:0 30px 90px rgba(0,0,0,.36);}
.pr-image-wrap img{  width:100%;  height:100%;  object-fit:cover;  display:block;}
.pj-log-wrap,
.pj-help {display: none !important;}

/* Picture Reveal scoreboard standardized to Jeopardy layout */
.pr-score-panel{  max-width:1600px;  margin:0 auto 14px;  display:flex;  gap:14px;  align-items:stretch;  padding:0;  color:var(--game-green);  border:0;  background:transparent;  box-shadow:none;}
.pr-score-panel .pr-panel-head{  width:220px;  flex:0 0 220px;  display:block;  margin:0;  border-radius:22px;  padding:16px;  background:rgba(255,253,246,.78);  border:1px solid rgba(6,63,43,.12);  box-shadow:0 12px 28px rgba(6,63,43,.08);}
.pr-score-panel .pr-panel-head strong{  display:block;  color:var(--game-green);  font-size:18px;}
.pr-score-panel .pr-panel-head span{  display:block;  margin-top:5px;  color:rgba(6,63,43,.68);  font-size:13px;  line-height:1.35;  text-align:left;}
.pr-score-panel .pr-teams{  flex:1;  display:grid;  grid-template-columns:repeat(4,minmax(150px,1fr));  gap:10px;}
.pr-score-panel .pr-team{  border-radius:22px;  padding:14px;  background:rgba(255,253,246,.9);  border:1px solid rgba(201,162,39,.32);  box-shadow:0 12px 28px rgba(6,63,43,.08);}
.pr-score-panel .pr-team-name{  width:100%;  border:0;  border-bottom:1px dashed rgba(6,63,43,.24);  background:transparent;  color:var(--game-green);  font-weight:900;  font-size:15px;  padding:0 0 5px;  outline:none;}
.pr-score-panel .pr-team-score{  margin:8px 0 10px;  color:var(--game-green);  font-size:34px;  line-height:1;  font-weight:1000;}
.pr-score-panel .pr-team-actions{  display:flex;  gap:7px;  flex-wrap:wrap;}
.pr-score-panel .pr-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.pr-score-panel .pr-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
/* Picture Reveal board labels */
.pr-board-frame{  width:min(100%,1080px);  display:grid;  gap:8px;}
.pr-col-labels{  display:grid;  gap:6px;}
.pr-board-main{  display:grid;  grid-template-columns:42px 1fr;  gap:6px;  align-items:stretch;}
.pr-row-labels{  display:grid;  gap:6px;}
.pr-board-label{  min-height:38px;  display:grid;  place-items:center;  border-radius:12px;  color:var(--game-gold2);  background:linear-gradient(135deg,var(--game-green),var(--game-green2));  border:1px solid rgba(231,200,91,.38);  box-shadow:0 8px 18px rgba(0,0,0,.16);  font-weight:1000;  line-height:1;}
.pr-corner-label{  opacity:0;}
/* Picture Reveal decorative tiles - one tile color per board, no center badge */
.pr-tile-grid{  position:absolute;  inset:0;  display:grid;  grid-template-columns:repeat(var(--cols,5),1fr);  grid-template-rows:repeat(var(--rows,5),1fr);}
.pr-tile{  display:block;  overflow:hidden;  position:relative;  border:1px solid rgba(231,200,91,.42);  cursor:pointer;  font-size:0;  color:transparent;  background-size:cover;  background-position:center;  background-repeat:no-repeat;  transition:opacity .22s ease,transform .22s ease,filter .22s ease;}
.pr-tile::before{  content:none;}
.pr-tile::after{  content:"";  position:absolute;  inset:0;  z-index:1;  opacity:.14;  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(0,0,0,.18));  pointer-events:none;}
.pr-tile:hover{  filter:brightness(1.08) saturate(1.04);}
.pr-tile.revealed{  opacity:0;  transform:scale(.94);  pointer-events:none;}
.pr-theme-1 .pr-tile,.pr-theme-1 .pr-tile[class*="pr-tile-v"]{  background-image:url("/images/games/tile_green.png")!important;}
.pr-theme-2 .pr-tile,.pr-theme-2 .pr-tile[class*="pr-tile-v"]{  background-image:url("/images/games/tile_blue.png")!important;}
.pr-theme-3 .pr-tile,.pr-theme-3 .pr-tile[class*="pr-tile-v"]{  background-image:url("/images/games/tile_red.png")!important;}
.pr-theme-4 .pr-tile,.pr-theme-4 .pr-tile[class*="pr-tile-v"]{  background-image:url("/images/games/tile_teal.png")!important;}
.pr-theme-5 .pr-tile,.pr-theme-5 .pr-tile[class*="pr-tile-v"]{  background-image:url("/images/games/tile_purple.png")!important;}
.pr-theme-6 .pr-tile,.pr-theme-6 .pr-tile[class*="pr-tile-v"]{  background-image:url("/images/games/tile_black.png")!important;}
/* Picture Reveal modal tweaks */
.pr-modal .pj-modal-card{  min-height:min(620px,88vh);}
.pr-modal .pj-question-meta span{  padding:5px 10px;  border-radius:999px;  border:1px solid rgba(231,200,91,.28);  background:rgba(255,248,223,.08);}
.pr-modal .pj-btn{  min-width:170px;}
#prQuestionScore{  color:rgba(6,63,43,.78);  font-weight:900;  line-height:1.45;}
/* Visibility helpers */
.pj-game-area[hidden],.pj-game-picker[hidden],.pr-game-picker[hidden],.pr-start-screen[hidden],.pr-game[hidden]{  display:none!important;}
/* Responsive */
@media (max-width:1080px){
  .pr-play-layout{  grid-template-columns:1fr;}
  .pr-side{  grid-template-columns:1fr 1fr;}
  .pr-reveal-stage{  min-height:auto;}
}
@media (max-width:980px){
  .pj-topbar,.pr-topbar,.pj-score-panel,.pr-score-panel{  display:block;}
  .pj-top-actions,.pr-top-actions{  justify-content:flex-start;  margin-top:14px;}
  .pj-score-head,.pr-score-panel .pr-panel-head{  width:auto;  margin-bottom:10px;}
  .pj-teams,.pr-score-panel .pr-teams{  grid-template-columns:repeat(2,1fr);}
  .pj-board{  min-width:1120px;}
}
@media (max-width:760px){
  .pj-page,.pr-page{  padding:10px;}
  .pj-topbar,.pr-topbar{  display:block;  border-radius:20px;  padding:14px;}
  .pj-top-actions,.pr-top-actions{  justify-content:flex-start;  margin-top:14px;}
  .pj-mark,.pr-mark{  display:none;}
  .pj-game-options,.pr-game-options,.pr-round-options,.pr-side{  grid-template-columns:1fr;}
  .pj-picker-card,.pr-picker-card,.pr-start-card{  padding:24px 18px;  border-radius:26px;}
  .pr-image-wrap{  border-radius:20px;}
  .pr-board-main{  grid-template-columns:34px 1fr;  gap:4px;}
  .pr-col-labels,.pr-row-labels{  gap:4px;}
  .pr-col-labels{  grid-template-columns:34px repeat(var(--cols,5),1fr)!important;}
  .pr-board-label{  min-height:30px;  border-radius:9px;  font-size:12px;}
  .pr-tile::before{  width:min(74%,40px);  font-size:clamp(10px,2.8vw,16px);}
}
@media (max-width:640px){
  .pj-teams,.pr-score-panel .pr-teams{  grid-template-columns:1fr;}
  .pj-modal{  padding:10px;}
  .pj-modal-card{  padding:34px 18px;  border-radius:24px;  min-height:86vh;}
  .pj-clue{  font-size:34px;}
  .pj-question-image-wrap{  width:min(260px,80%);}
  .pj-question-image-wrap img{  max-height:145px;}
}

/* =========================================================MATCHING TILES========================================================= */
.mt-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
.mt-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.mt-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.mt-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.mt-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.mt-round-option strong,.mt-round-option span,.mt-round-option em{  display:block;}
.mt-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.mt-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.mt-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
.mt-game{  max-width:1680px;  margin:0 auto;}
.mt-score-panel .pj-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.mt-score-panel .pj-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
.mt-board-shell{  display:grid;  grid-template-columns:minmax(280px,360px) 1fr;  gap:16px;  align-items:start;}
.mt-info-panel{  border-radius:24px;  padding:18px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.86),rgba(7,23,53,.9));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.mt-info-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.mt-info-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.mt-stats{  display:grid;  grid-template-columns:repeat(3,1fr);  gap:9px;  margin:18px 0;}
.mt-stats div{  border-radius:16px;  padding:12px 8px;  text-align:center;  background:rgba(255,248,223,.1);  border:1px solid rgba(231,200,91,.26);}
.mt-stats strong{  display:block;  color:var(--game-gold2);  font-size:30px;  line-height:1;  font-weight:1000;}
.mt-stats span{  display:block;  margin-top:6px;  color:rgba(255,248,223,.78);  font-size:12px;  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;}
.mt-actions{  display:grid;  gap:9px;}
.mt-board-wrap{  min-height:calc(100vh - 245px);  display:grid;  place-items:center;  border-radius:30px;  padding:18px;  border:1px solid rgba(231,200,91,.24);  background:radial-gradient(circle at 60% 0%,rgba(231,200,91,.14),transparent 32%),linear-gradient(135deg,rgba(7,23,53,.7),rgba(2,8,17,.5));  box-shadow:0 24px 70px rgba(0,0,0,.25);}
.mt-board{  width:min(100%,1080px);  display:grid;  grid-template-columns:repeat(var(--cols,6),1fr);  grid-template-rows:repeat(var(--rows,4),1fr);  gap:10px;  perspective:1200px;}
.mt-tile{  min-height:128px;  border:0;  background:transparent;  cursor:pointer;  padding:0;  perspective:1000px;}
.mt-tile-inner{  position:relative;  width:100%;  height:100%;  min-height:128px;  border-radius:18px;  transform-style:preserve-3d;  transition:transform .42s ease,filter .2s ease,opacity .2s ease;  box-shadow:0 14px 28px rgba(0,0,0,.2);}
.mt-tile:hover .mt-tile-inner{  filter:brightness(1.08) saturate(1.05);}
.mt-tile.open .mt-tile-inner,.mt-tile.matched .mt-tile-inner{  transform:rotateY(180deg);}
.mt-tile.matched .mt-tile-inner{  box-shadow:0 0 0 3px rgba(231,200,91,.55),0 18px 34px rgba(0,0,0,.18);}
.mt-tile-face{  position:absolute;  inset:0;  border-radius:18px;  overflow:hidden;  backface-visibility:hidden;  border:1px solid rgba(231,200,91,.48);}
.mt-tile-back{  background-size:cover;  background-position:center;  background-repeat:no-repeat;}
.mt-tile-back::after{  content:"";  position:absolute;  inset:0;  opacity:.12;  background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(0,0,0,.22));  pointer-events:none;}
.mt-tile-front{  transform:rotateY(180deg);  display:grid;  place-items:center;  align-content:center;  gap:8px;  padding:14px;  text-align:center;  color:var(--game-green);  background:radial-gradient(circle at 50% 0%,rgba(231,200,91,.16),transparent 38%),linear-gradient(180deg,#fffdf6,#fff2c8);}
.mt-tile-front strong{  display:block;  font-size:clamp(17px,1.7vw,28px);  line-height:1.05;  font-weight:1000;}
.mt-arabic{  display:block;  direction:rtl;  color:var(--game-green);  font-family:"Amiri","Scheherazade New",serif;  font-size:clamp(22px,2.2vw,38px);  line-height:1.05;  font-weight:800;}
.mt-tile-front em{  display:block;  color:rgba(6,63,43,.72);  font-size:clamp(12px,1vw,16px);  line-height:1.22;  font-style:normal;  font-weight:800;}
.mt-theme-1 .mt-tile-back{  background-image:url("/images/games/tile_green.png");}
.mt-theme-2 .mt-tile-back{  background-image:url("/images/games/tile_blue.png");}
.mt-theme-3 .mt-tile-back{  background-image:url("/images/games/tile_red.png");}
.mt-theme-4 .mt-tile-back{  background-image:url("/images/games/tile_teal.png");}
.mt-theme-5 .mt-tile-back{  background-image:url("/images/games/tile_purple.png");}
.mt-theme-6 .mt-tile-back{  background-image:url("/images/games/tile_black.png");}
.mt-modal .pj-modal-card{  min-height:min(560px,86vh);}
@media (max-width:1080px){.mt-board-shell{  grid-template-columns:1fr;}.mt-board-wrap{  min-height:auto;}}@media (max-width:900px){
  .mt-board{  gap:7px;}
  .mt-tile,.mt-tile-inner{  min-height:105px;}
  .mt-round-options{  grid-template-columns:1fr;}
}
@media (max-width:640px){
  .mt-stats{  grid-template-columns:1fr;}
  .mt-board{  grid-template-columns:repeat(4,1fr)!important;}
  .mt-tile,.mt-tile-inner{  min-height:88px;}
  .mt-tile-front{  padding:8px;}
  .mt-tile-front strong{  font-size:14px;}
  .mt-arabic{  font-size:20px;}
  .mt-tile-front em{  display:none;}
}

/* =========================================================TIMELINE CHALLENGE========================================================= */
.tc-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
.tc-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.tc-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.tc-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.tc-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.tc-round-option strong,.tc-round-option span,.tc-round-option em{  display:block;}
.tc-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.tc-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.tc-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
.tc-game{  max-width:1680px;  margin:0 auto;}
.tc-score-panel .pj-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.tc-score-panel .pj-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
.tc-board-shell{  display:grid;  grid-template-columns:minmax(300px,390px) 1fr;  gap:16px;  align-items:start;}
.tc-info-panel{  border-radius:24px;  padding:18px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.86),rgba(7,23,53,.9));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.tc-info-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.tc-info-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.tc-stats{  display:grid;  grid-template-columns:repeat(3,1fr);  gap:9px;  margin:18px 0;}
.tc-stats div{  border-radius:16px;  padding:12px 8px;  text-align:center;  background:rgba(255,248,223,.1);  border:1px solid rgba(231,200,91,.26);}
.tc-stats strong{  display:block;  color:var(--game-gold2);  font-size:30px;  line-height:1;  font-weight:1000;}
.tc-stats span{  display:block;  margin-top:6px;  color:rgba(255,248,223,.78);  font-size:12px;  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;}
.tc-actions{  display:grid;  gap:9px;}
.tc-help{  margin-top:13px;  padding:12px;  border-radius:16px;  color:rgba(255,248,223,.8);  background:rgba(255,248,223,.08);  border:1px solid rgba(231,200,91,.22);  font-size:13px;  font-weight:750;  line-height:1.45;}
.tc-timeline-wrap{  min-height:calc(100vh - 245px);  border-radius:30px;  padding:18px;  border:1px solid rgba(231,200,91,.24);  background:radial-gradient(circle at 60% 0%,rgba(231,200,91,.14),transparent 32%),linear-gradient(135deg,rgba(7,23,53,.7),rgba(2,8,17,.5));  box-shadow:0 24px 70px rgba(0,0,0,.25);}
.tc-timeline-head{  display:grid;  grid-template-columns:1fr auto 1fr;  gap:12px;  align-items:center;  margin-bottom:14px;  color:var(--game-gold2);  font-weight:1000;  text-transform:uppercase;  letter-spacing:.12em;}
.tc-timeline-head span:first-child{  text-align:left;}
.tc-timeline-head span:last-child{  text-align:right;}
.tc-timeline-head strong{  color:var(--game-cream);  letter-spacing:0;  text-transform:none;  font-size:clamp(20px,2vw,32px);}
.tc-timeline-list{  display:grid;  gap:10px;  position:relative;}
.tc-timeline-list::before{  content:"";  position:absolute;  left:27px;  top:20px;  bottom:20px;  width:3px;  border-radius:999px;  background:linear-gradient(180deg,var(--game-gold2),rgba(231,200,91,.22));  opacity:.75;}
.tc-card{  position:relative;  z-index:1;  display:grid;  grid-template-columns:56px 1fr auto;  gap:12px;  align-items:center;  border-radius:22px;  padding:12px;  background:rgba(255,253,246,.94);  border:1px solid rgba(201,162,39,.34);  box-shadow:0 12px 28px rgba(0,0,0,.14);  cursor:grab;  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;}
.tc-card:hover{  transform:translateY(-2px);  box-shadow:0 16px 34px rgba(0,0,0,.18);}
.tc-card.dragging{  opacity:.55;  filter:saturate(.7);  cursor:grabbing;}
.tc-card-order{  width:44px;  height:44px;  border-radius:50%;  display:grid;  place-items:center;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-weight:1000;  box-shadow:0 8px 18px rgba(0,0,0,.16);}
.tc-card-body strong{  display:block;  color:var(--game-green);  font-size:clamp(18px,1.9vw,30px);  line-height:1.05;  font-weight:1000;}
.tc-card-body span{  display:block;  margin-top:5px;  color:rgba(6,63,43,.75);  font-weight:800;  line-height:1.3;}
.tc-card-body em{  display:inline-block;  margin-top:8px;  padding:5px 9px;  border-radius:999px;  color:#442f05;  background:rgba(201,162,39,.2);  font-style:normal;  font-weight:1000;  font-size:12px;}
.tc-card-body p{  margin:8px 0 0;  color:rgba(6,63,43,.72);  font-weight:700;  line-height:1.35;}
.tc-card-actions{  display:flex;  gap:6px;  flex-wrap:wrap;  justify-content:flex-end;}
.tc-card.correct{  border-color:rgba(13,111,71,.75);  box-shadow:0 0 0 3px rgba(13,111,71,.14),0 12px 28px rgba(0,0,0,.12);}
.tc-card.correct .tc-card-order{  color:#fff;  background:linear-gradient(135deg,var(--game-green),var(--game-green2));}
.tc-card.wrong{  border-color:rgba(143,44,34,.55);  background:#fff5ee;}
.tc-card.wrong .tc-card-order{  color:#fff;  background:linear-gradient(135deg,#8f2c22,#b44a3f);}
.tc-modal .pj-modal-card{  min-height:min(560px,86vh);}
@media (max-width:1080px){.tc-board-shell{  grid-template-columns:1fr;}.tc-timeline-wrap{  min-height:auto;}}
@media (max-width:900px){
  .tc-round-options{  grid-template-columns:1fr;}
  .tc-timeline-head{  grid-template-columns:1fr;  text-align:center;}
  .tc-timeline-head span:first-child,.tc-timeline-head span:last-child{  text-align:center;}
  .tc-card{  grid-template-columns:46px 1fr;}
  .tc-card-actions{  grid-column:1/-1;  justify-content:center;}
  .tc-timeline-list::before{  left:22px;}
}
@media (max-width:640px){
  .tc-stats{  grid-template-columns:1fr;}
  .tc-card{  padding:10px;  border-radius:18px;}
  .tc-card-body strong{  font-size:18px;}
  .tc-card-body span{  font-size:13px;}
}

/* =========================================================MAP CHALLENGE========================================================= */
.mc-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
.mc-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.mc-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.mc-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.mc-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.mc-round-option strong,.mc-round-option span,.mc-round-option em{  display:block;}
.mc-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.mc-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.mc-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
.mc-game{  max-width:1680px;  margin:0 auto;}
.mc-score-panel .pj-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.mc-score-panel .pj-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}

/* =========================================================MAP CHALLENGE — GLOBE RESET========================================================= */
.mc-board-shell{  display:grid;  grid-template-columns:minmax(290px,420px) 1fr;  gap:18px;  align-items:stretch;  width:min(1500px,100%);  margin:18px auto;}
.mc-info-panel,.mc-map-wrap{  border:1px solid rgba(218,177,83,.35);  border-radius:24px;  background:rgba(6,35,25,.72);  box-shadow:0 18px 40px rgba(0,0,0,.18);  overflow:hidden;}
.mc-info-panel{  padding:20px;  color:var(--game-cream);}
.mc-info-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.mc-info-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.mc-map-head{  display:flex;  justify-content:space-between;  gap:12px;  padding:12px 18px;  background:rgba(0,0,0,.22);  color:var(--game-gold2);  letter-spacing:.08em;  text-transform:uppercase;  font-size:.78rem;  font-weight:1000;}
.mc-map-head strong{  color:var(--game-cream);  letter-spacing:0;  text-transform:none;  font-size:clamp(20px,2vw,32px);}
.mc-map-board{  position:relative;  min-height:min(72vh,760px);  height:680px;  cursor:grab;  overflow:hidden;  background:radial-gradient(circle at center,rgba(218,177,83,.12),transparent 44%),linear-gradient(180deg,#051623 0%,#031018 100%);}
.mc-map-board:active{  cursor:grabbing;}
.mc-map-grid,.mc-map-mark{  display:none!important;}
.mc-clue-card{  margin:18px 0;  padding:18px;  border-radius:20px;  background:rgba(0,0,0,.22);  border:1px solid rgba(255,255,255,.08);}
.mc-clue-meta{  display:flex;  align-items:center;  justify-content:space-between;  gap:12px;  margin-bottom:12px;}
.mc-clue-meta strong{  padding:5px 11px;  border-radius:999px;  color:#3d2a05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  letter-spacing:0;}
.mc-clue{  font-weight:800;  font-size:clamp(1.15rem,1.8vw,1.65rem);  line-height:1.25;  color:var(--game-cream);}
.mc-hint{  margin-top:12px;  padding:12px;  border-radius:14px;  background:rgba(218,177,83,.13);}
.mc-stats{  display:grid;  grid-template-columns:repeat(3,1fr);  gap:10px;  margin:16px 0;}
.mc-stats>div{  padding:12px 8px;  border-radius:16px;  background:rgba(255,255,255,.06);  text-align:center;}
.mc-stats strong{  display:block;  color:var(--game-gold2);  font-size:1.35rem;  line-height:1;  font-weight:1000;}
.mc-stats span{  display:block;  margin-top:6px;  color:rgba(255,248,223,.78);  opacity:.78;  font-size:.82rem;  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;}
.mc-actions{  display:grid;  gap:10px;}
.mc-team.active,.mc-team.is-active{  outline:3px solid rgba(240,194,92,.78);  box-shadow:0 0 24px rgba(240,194,92,.22);}
.mc-modal[hidden]{  display:none!important;}

/* =========================================================ICSCV GLOBE MEDALLION MARKER========================================================= */
.mc-globe-medallion-marker{  width:72px;  height:72px;  transform:translate(-50%,-50%);  border-radius:999px;  display:grid;  place-items:center;  pointer-events:none;  filter:drop-shadow(0 8px 14px rgba(0,0,0,.42)) drop-shadow(0 0 12px rgba(240,194,92,.35));  transition:opacity .18s ease,transform .18s ease;}
.mc-globe-medallion-marker img{  width:100%;  height:100%;  display:block;  object-fit:contain;}
.mc-globe-medallion-marker.is-fallback{  width:64px;  height:64px;  border:2px solid rgba(240,194,92,.95);  background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.26),transparent 28%),linear-gradient(180deg,#0d7049,#05351f);  color:#f0c25c;  font-weight:900;  font-size:.78rem;  letter-spacing:.06em;  box-shadow:inset 0 0 0 3px rgba(255,255,255,.08),0 0 18px rgba(240,194,92,.35);}
@media (max-width:1080px){.mc-board-shell{  grid-template-columns:1fr;}.mc-map-wrap{  min-height:auto;}}
@media (max-width:980px){.mc-map-board{  height:520px;}}
@media (max-width:900px){.mc-round-options{  grid-template-columns:1fr;}.mc-map-head{  display:grid;  grid-template-columns:1fr;  text-align:center;}.mc-map-head span:first-child,.mc-map-head span:last-child{  text-align:center;}}
@media (max-width:760px){.mc-globe-medallion-marker{  width:56px;  height:56px;}}
@media (max-width:640px){.mc-stats{  grid-template-columns:1fr;}.mc-board-shell{  gap:10px;}.mc-map-wrap,.mc-info-panel{  border-radius:20px;  padding:12px;}}

/* =========================================================WHEEL CHALLENGE========================================================= */
.wc-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
.wc-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.wc-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.wc-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.wc-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.wc-round-option strong,.wc-round-option span,.wc-round-option em{  display:block;}
.wc-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.wc-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.wc-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
.wc-game{  max-width:1680px;  margin:0 auto;}
.wc-score-panel .pj-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.wc-score-panel .pj-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
.wc-board-shell{  display:grid;  grid-template-columns:minmax(320px,430px) 1fr;  gap:16px;  align-items:start;}
.wc-info-panel{  border-radius:24px;  padding:18px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.86),rgba(7,23,53,.9));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.wc-info-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.wc-info-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.wc-category-card{  margin-top:16px;  border-radius:20px;  padding:14px;  color:var(--game-green);  background:#fff8df;}
.wc-category-card span{  display:block;  color:rgba(6,63,43,.65);  font-size:12px;  font-weight:1000;  letter-spacing:.12em;  text-transform:uppercase;}
.wc-category-card strong{  display:block;  margin-top:5px;  font-size:24px;  line-height:1.1;}
.wc-wheel-box{  position:relative;  display:grid;  place-items:center;  margin:20px auto 16px;  width:min(260px,100%);  aspect-ratio:1/1;}
.wc-wheel-pointer{  position:absolute;  top:-3px;  left:50%;  z-index:3;  transform:translateX(-50%);  width:0;  height:0;  border-left:17px solid transparent;  border-right:17px solid transparent;  border-top:32px solid var(--game-gold2);  filter:drop-shadow(0 4px 6px rgba(0,0,0,.25));}
.wc-wheel{  width:100%;  height:100%;  border-radius:50%;  display:grid;  place-items:center;  border:8px solid rgba(231,200,91,.75);  background:conic-gradient(#063f2b 0 30deg,#c9a227 30deg 60deg,#071735 60deg 90deg,#8f2c22 90deg 120deg,#0b5c3a 120deg 150deg,#e7c85b 150deg 180deg,#063f2b 180deg 210deg,#c9a227 210deg 240deg,#071735 240deg 270deg,#8f2c22 270deg 300deg,#0b5c3a 300deg 330deg,#e7c85b 330deg 360deg);  box-shadow:0 18px 45px rgba(0,0,0,.32),inset 0 0 0 16px rgba(255,248,223,.12);  transition:transform .45s ease;}
.wc-wheel span{  width:46%;  aspect-ratio:1/1;  border-radius:50%;  display:grid;  place-items:center;  text-align:center;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  border:4px solid rgba(255,248,223,.72);  font-size:clamp(18px,2vw,30px);  font-weight:1000;  line-height:1;}
.wc-stats{  display:grid;  grid-template-columns:repeat(3,1fr);  gap:9px;  margin:18px 0;}
.wc-stats div{  border-radius:16px;  padding:12px 8px;  text-align:center;  background:rgba(255,248,223,.1);  border:1px solid rgba(231,200,91,.26);}
.wc-stats strong{  display:block;  color:var(--game-gold2);  font-size:30px;  line-height:1;  font-weight:1000;}
.wc-stats span{  display:block;  margin-top:6px;  color:rgba(255,248,223,.78);  font-size:12px;  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;}
.wc-actions{  display:grid;  gap:9px;}
.wc-puzzle-wrap{  min-height:calc(100vh - 245px);  border-radius:30px;  padding:18px;  border:1px solid rgba(231,200,91,.24);  background:radial-gradient(circle at 60% 0%,rgba(231,200,91,.14),transparent 32%),linear-gradient(135deg,rgba(7,23,53,.7),rgba(2,8,17,.5));  box-shadow:0 24px 70px rgba(0,0,0,.25);}
.wc-puzzle-head{  display:flex;  justify-content:space-between;  gap:12px;  align-items:center;  margin-bottom:14px;  color:var(--game-gold2);  font-weight:1000;}
.wc-puzzle-head span{  padding:6px 10px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));}
.wc-puzzle-head strong{  color:var(--game-cream);  font-size:clamp(18px,2vw,28px);}
.wc-puzzle-board{  min-height:300px;  display:flex;  flex-wrap:wrap;  align-content:center;  justify-content:center;  gap:9px;  padding:22px;  border-radius:26px;  background:linear-gradient(135deg,rgba(6,63,43,.72),rgba(7,23,53,.82));  border:1px solid rgba(231,200,91,.3);  box-shadow:inset 0 0 0 1px rgba(255,248,223,.06);}
.wc-letter-tile,.wc-letter-punct{  width:clamp(38px,4.5vw,72px);  height:clamp(48px,5vw,82px);  border-radius:13px;  display:grid;  place-items:center;  border:2px solid rgba(231,200,91,.48);  background:#fffdf6;  color:var(--game-green);  font-size:clamp(24px,3vw,48px);  font-weight:1000;  box-shadow:0 12px 24px rgba(0,0,0,.18);}
.wc-letter-tile:not(.revealed){  background:linear-gradient(180deg,#fff8df,#e8d394);  color:transparent;}
.wc-letter-space{  flex-basis:34px;  height:1px;}
.wc-letter-punct{  background:transparent;  color:var(--game-gold2);  border-color:transparent;  box-shadow:none;}
.wc-letter-tile.revealed{  animation:wcReveal .28s ease both;}
@keyframes wcReveal{
  from{  transform:rotateY(90deg);  filter:brightness(1.4);}
  to{  transform:rotateY(0);}
}
.wc-letter-bank{  display:grid;  grid-template-columns:repeat(13,1fr);  gap:7px;  margin-top:14px;}
.wc-letter-btn{  border:0;  border-radius:12px;  padding:10px 4px;  cursor:pointer;  color:var(--game-green);  background:#fff8df;  font-size:18px;  font-weight:1000;  box-shadow:0 8px 18px rgba(0,0,0,.14);  transition:transform .15s ease,opacity .15s ease;}
.wc-letter-btn:hover:not(:disabled){  transform:translateY(-1px);}
.wc-letter-btn.vowel{  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  color:#442f05;}
.wc-letter-btn:disabled,.wc-letter-btn.used{  opacity:.32;  cursor:not-allowed;  transform:none;}
.wc-modal .pj-modal-card{  min-height:min(560px,86vh);}
@media (max-width:1080px){
  .wc-board-shell{  grid-template-columns:1fr;}
  .wc-puzzle-wrap{  min-height:auto;}
}
@media (max-width:900px){
  .wc-round-options{  grid-template-columns:1fr;}
  .wc-letter-bank{  grid-template-columns:repeat(7,1fr);}
  .wc-puzzle-head{  display:grid;  text-align:center;}
  .wc-board-shell{  gap:10px;}
}
@media (max-width:640px){
  .wc-stats{  grid-template-columns:1fr;}
  .wc-wheel-box{  width:min(220px,100%);}
  .wc-puzzle-board{  min-height:220px;  padding:12px;  gap:6px;}
  .wc-letter-bank{  grid-template-columns:repeat(6,1fr);}
  .wc-letter-btn{  font-size:15px;  padding:8px 4px;}
}

/* =========================================================WHEEL CHALLENGE — PICTURE REVEAL TILE COVERS========================================================= */
.wc-letter-tile.hidden-letter,.wc-letter-tile:not(.revealed){  color:transparent!important;  font-size:0!important;  text-shadow:none!important;  overflow:hidden;  background-image:url("/images/games/tile_green.png")!important;  background-size:cover!important;  background-position:center!important;  background-repeat:no-repeat!important;  border:2px solid rgba(231,200,91,.58)!important;  box-shadow:0 12px 24px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,248,223,.12)!important;}
.wc-letter-tile.hidden-letter:nth-child(6n+2),.wc-letter-tile:not(.revealed):nth-child(6n+2){  background-image:url("/images/games/tile_blue.png")!important;}
.wc-letter-tile.hidden-letter:nth-child(6n+3),.wc-letter-tile:not(.revealed):nth-child(6n+3){  background-image:url("/images/games/tile_red.png")!important;}
.wc-letter-tile.hidden-letter:nth-child(6n+4),.wc-letter-tile:not(.revealed):nth-child(6n+4){  background-image:url("/images/games/tile_teal.png")!important;}
.wc-letter-tile.hidden-letter:nth-child(6n+5),.wc-letter-tile:not(.revealed):nth-child(6n+5){  background-image:url("/images/games/tile_purple.png")!important;}
.wc-letter-tile.hidden-letter:nth-child(6n),.wc-letter-tile:not(.revealed):nth-child(6n){  background-image:url("/images/games/tile_black.png")!important;}
.wc-letter-tile.hidden-letter::after,.wc-letter-tile:not(.revealed)::after{  content:"";  width:46%;  height:5px;  border-radius:999px;  background:rgba(255,248,223,.34);  box-shadow:0 1px 0 rgba(0,0,0,.22);}
.wc-letter-tile.revealed{  background:#fffdf6!important;  background-image:none!important;  color:var(--game-green)!important;  font-size:clamp(24px,3vw,48px)!important;}
.wc-letter-punct{  background:transparent!important;  color:var(--game-gold2)!important;  border-color:transparent!important;  box-shadow:none!important;}

/* =========================================================WHEEL CHALLENGE — BIG COLOR WHEEL v1.5========================================================= */
.wc-wheel-box{  position:relative;  width:min(100%,430px);  margin:18px auto 20px;  padding:18px;  display:grid;  place-items:center;}
.wc-wheel-pointer{  position:absolute;  top:2px;  left:50%;  z-index:5;  width:0;  height:0;  transform:translateX(-50%);  border-left:18px solid transparent;  border-right:18px solid transparent;  border-top:0;  border-bottom:34px solid var(--game-gold2);  filter:drop-shadow(0 6px 8px rgba(0,0,0,.32));}
.wc-wheel{  --wc-spin-ms:3200ms;  width:clamp(260px,32vw,390px);  aspect-ratio:1/1;  border-radius:50%;  position:relative;  display:grid;  place-items:center;  overflow:hidden;  color:#fff8df;  border:9px solid rgba(231,200,91,.95);  box-shadow:0 24px 56px rgba(0,0,0,.34),inset 0 0 0 8px rgba(255,248,223,.12),inset 0 0 32px rgba(0,0,0,.3);  background:conic-gradient(from -90deg,#0b5c3a 0deg 30deg,#e7c85b 30deg 60deg,#0b2c66 60deg 90deg,#c94f27 90deg 120deg,#6c2bbf 120deg 150deg,#0d6f47 150deg 180deg,#8f2c22 180deg 210deg,#0d8790 210deg 240deg,#c9a227 240deg 270deg,#071735 270deg 300deg,#b03535 300deg 330deg,#063f2b 330deg 360deg);  transition:transform var(--wc-spin-ms) cubic-bezier(.09,.76,.18,1);}
.wc-wheel::before{  content:"";  position:absolute;  inset:0;  border-radius:50%;  background:repeating-conic-gradient(from -90deg,rgba(255,255,255,.34) 0deg 1.5deg,transparent 1.5deg 30deg);  pointer-events:none;}
.wc-wheel::after{  content:"";  position:absolute;  inset:50%;  width:38%;  height:38%;  transform:translate(-50%,-50%);  border-radius:50%;  background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.35),transparent 28%),linear-gradient(180deg,var(--game-gold2),var(--game-gold));  border:6px solid rgba(255,248,223,.88);  box-shadow:0 12px 24px rgba(0,0,0,.28),inset 0 0 0 4px rgba(68,47,5,.16);  pointer-events:none;}
.wc-wheel span{  position:relative;  z-index:3;  width:34%;  aspect-ratio:1/1;  border-radius:50%;  display:grid;  place-items:center;  padding:10px;  text-align:center;  color:#442f05;  background:linear-gradient(180deg,#fff8df,#e7c85b);  border:3px solid rgba(68,47,5,.28);  font-weight:1000;  font-size:clamp(18px,2.1vw,34px);  line-height:1;  box-shadow:0 8px 18px rgba(0,0,0,.24);}
.wc-wheel.spinning span{  animation:wcWheelPulse .42s ease-in-out infinite alternate;}
@keyframes wcWheelPulse{  from{  transform:scale(1);}  to{  transform:scale(1.08);}}
@media(max-width:760px){  .wc-wheel-box{  width:100%;  padding:12px;}  .wc-wheel{  width:min(78vw,330px);}  .wc-wheel-pointer{  border-left-width:14px;  border-right-width:14px;  border-bottom-width:28px;}}

/* =========================================================WHEEL CHALLENGE — STOP SOUND BEFORE VALUE v1.8========================================================= */
.wc-wheel{  --wc-spin-ms:3600ms;}
.wc-wheel.spinning span{  letter-spacing:.04em;}

/* =========================================================MILLIONAIRE CHALLENGE========================================================= */
.ml-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
/* START / ROUND PICKER */
.ml-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.ml-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.ml-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.ml-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.ml-round-option strong,.ml-round-option span,.ml-round-option em{  display:block;}
.ml-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.ml-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.ml-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
/* MAIN GAME / LADDER BOARD */
.ml-game{  max-width:1680px;  margin:0 auto;}
.ml-board-shell{  display:grid;  grid-template-columns:minmax(320px,560px);  justify-content:center;  gap:16px;  align-items:start;}
.ml-ladder-panel{  border-radius:24px;  padding:18px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.86),rgba(7,23,53,.9));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.ml-ladder-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.ml-ladder-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.ml-ladder{  display:grid;  gap:6px;  margin:18px 0;}
.ml-ladder-step{  width:100%;  appearance:none;  -webkit-appearance:none;  display:flex;  align-items:center;  justify-content:space-between;  gap:10px;  border-radius:999px;  padding:7px 12px;  color:rgba(255,248,223,.82);  background:rgba(255,248,223,.08);  border:1px solid rgba(231,200,91,.16);  font-family:inherit;  font-weight:900;  cursor:default;  transition:transform .15s ease,filter .15s ease,border-color .15s ease,box-shadow .15s ease;}
.ml-ladder-step span{  width:28px;  height:28px;  border-radius:50%;  display:grid;  place-items:center;  background:rgba(255,248,223,.12);  color:var(--game-gold2);  font-size:12px;}
.ml-ladder-step strong{  font-size:17px;}
.ml-ladder-step.safe{  border-color:rgba(231,200,91,.45);}
.ml-ladder-step.safe strong::after{  content:" SAFE";  font-size:10px;  color:var(--game-gold2);  letter-spacing:.08em;}
.ml-ladder-step.active{  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  box-shadow:0 10px 26px rgba(0,0,0,.25);}
.ml-ladder-step.active span{  background:rgba(255,255,255,.35);  color:#442f05;}
.ml-ladder-step.clickable{  cursor:pointer;  border-color:rgba(231,200,91,.95);  box-shadow:0 0 0 2px rgba(231,200,91,.28),0 0 24px rgba(231,200,91,.22),0 10px 26px rgba(0,0,0,.25);}
.ml-ladder-step.clickable:hover{  filter:brightness(1.08);  transform:translateY(-1px);}
.ml-ladder-step.locked{  opacity:.42;  cursor:not-allowed;}
.ml-ladder-step.passed{  opacity:.62;}
.ml-actions{  display:grid;  gap:9px;}
.ml-board-shell{  display:grid;  grid-template-columns:minmax(320px,440px);  justify-content:center;  gap:16px;  align-items:start;}
.ml-ladder-panel{  position:relative;  max-width:420px;  margin:0 auto;  padding:22px 18px 24px;  color:#ffe9a3;  border:1px solid rgba(255,220,120,.72);  border-radius:34px 34px 22px 22px;  background:linear-gradient(180deg,rgba(255,206,69,.18),transparent 95px),linear-gradient(135deg,#0a0d14 0%,#111827 44%,#05070c 100%);  box-shadow:inset 0 0 0 2px rgba(255,230,160,.12),inset 0 0 38px rgba(255,190,50,.14),0 22px 60px rgba(0,0,0,.42),0 0 42px rgba(218,177,83,.18);  overflow:hidden;}
.ml-ladder-panel::before{  content:"";  position:absolute;  inset:0;  pointer-events:none;  background:radial-gradient(circle at 50% 0%,rgba(255,220,110,.34),transparent 115px),linear-gradient(90deg,rgba(255,220,120,.18),transparent 12%,transparent 88%,rgba(255,220,120,.18));}
.ml-ladder-panel::after{  content:"";  position:absolute;  left:18px;  right:18px;  top:0;  height:72px;  border-radius:0 0 50% 50%;  border-top:4px solid rgba(255,220,120,.88);  box-shadow:0 0 22px rgba(255,208,91,.44);  pointer-events:none;}
.ml-ladder-panel .pj-kicker{  position:relative;  z-index:1;  text-align:center;  display:block;  color:#ffe9a3;  letter-spacing:.18em;  text-shadow:0 2px 8px rgba(0,0,0,.8);}
.ml-ladder-panel h2{  position:relative;  z-index:1;  margin:10px 0 6px;  color:#ffd66b;  text-align:center;  font-size:clamp(24px,2.4vw,34px);  line-height:1;  text-transform:uppercase;  letter-spacing:.04em;  text-shadow:0 2px 0 #3b2600,0 0 16px rgba(255,210,90,.45);}
.ml-ladder-panel p{  position:relative;  z-index:1;  margin:0 auto 14px;  max-width:310px;  color:rgba(255,241,198,.82);  text-align:center;  font-weight:800;  line-height:1.35;}
.ml-ladder{  position:relative;  z-index:1;  display:grid;  gap:0;  margin:18px 0;  border-radius:18px;  overflow:hidden;  border:1px solid rgba(255,214,107,.52);  background:#05070c;  box-shadow:inset 0 0 24px rgba(0,0,0,.75),0 0 24px rgba(255,198,70,.12);}
.ml-ladder-step{  width:100%;  appearance:none;  -webkit-appearance:none;  display:grid;  grid-template-columns:58px 1fr;  align-items:center;  min-height:43px;  padding:0;  color:#ffd66b;  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(0,0,0,.18)),linear-gradient(90deg,#0d1930 0 58px,#090b10 58px 100%);  border:0;  border-bottom:1px solid rgba(255,214,107,.32);  font-family:inherit;  font-weight:1000;  cursor:default;  transition:transform .15s ease,filter .15s ease,box-shadow .15s ease,background .15s ease;}
.ml-ladder-step:last-child{  border-bottom:0;}
.ml-ladder-step span{  width:auto;  height:auto;  border-radius:0;  display:grid;  place-items:center;  background:transparent;  color:#ffe08a;  font-size:18px;  text-shadow:0 0 10px rgba(255,214,107,.35);}
.ml-ladder-step strong{  display:block;  padding:0 16px;  color:#ffd66b;  font-size:clamp(18px,2vw,25px);  text-align:center;  letter-spacing:.015em;  text-shadow:0 2px 0 rgba(0,0,0,.45),0 0 12px rgba(255,210,80,.35);}
.ml-ladder-step strong::after{  content:"";}
.ml-ladder-step.safe{  background:linear-gradient(180deg,rgba(255,221,113,.16),rgba(255,221,113,.04)),linear-gradient(90deg,#10264d 0 58px,#101014 58px 100%);}
.ml-ladder-step.safe span::before,.ml-ladder-step.safe span::after{  content:"✦";  color:#ffd66b;  font-size:10px;  margin:0 3px;}
.ml-ladder-step.safe strong::after{  content:"";}
.ml-ladder-step.active,.ml-ladder-step.clickable{  color:#1c1200;  background:linear-gradient(180deg,#ffe9a3,#c99a27);  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 0 20px rgba(255,211,89,.55);  cursor:pointer;  transform:scale(1.012);}
.ml-ladder-step.active span,.ml-ladder-step.clickable span,.ml-ladder-step.active strong,.ml-ladder-step.clickable strong{  color:#1c1200;  text-shadow:none;}
.ml-ladder-step.clickable:hover{  filter:brightness(1.08);  transform:scale(1.025);}
.ml-ladder-step.locked{  opacity:.58;  cursor:not-allowed;}
.ml-ladder-step.passed{  opacity:.78;  background:linear-gradient(180deg,rgba(39,199,111,.16),rgba(39,199,111,.05)),linear-gradient(90deg,#0c2f27 0 58px,#07110d 58px 100%);}
.ml-actions{  position:relative;  z-index:1;  display:grid;  gap:9px;}
.ml-board-shell{  display:grid;  grid-template-columns:minmax(340px,460px);  justify-content:center;  align-items:start;  min-height:calc(100vh - 190px);}
.ml-ladder-panel{  transform:scale(1.03);  transform-origin:top center;}
/* MODALS — SCOPED TO MILLIONAIRE ONLY */
.ml-page .pj-modal{  display:none;}
.ml-page .pj-modal.open{  position:fixed;  inset:0;  display:flex;  align-items:center;  justify-content:center;  padding:18px;  background:rgba(2,8,17,.76);  backdrop-filter:blur(8px);}
.ml-question-modal.open{  z-index:9000!important;}
.ml-final-answer-modal.open{  z-index:9100!important;}
#mlResultModal.open{  z-index:9200!important;}
.ml-question-modal .pj-modal-card,.ml-question-card{  width:min(1040px,calc(100vw - 32px));  max-height:calc(100vh - 36px);  overflow:auto;}
.ml-modal .pj-modal-card{  min-height:min(560px,86vh);}
/* QUESTION CARD */
.ml-question-card{  min-height:210px;  display:grid;  align-content:center;  gap:10px;  padding:24px;  border-radius:28px;  text-align:center;  background:linear-gradient(135deg,rgba(6,63,43,.9),rgba(7,23,53,.94));  border:1px solid rgba(231,200,91,.36);  box-shadow:inset 0 0 0 1px rgba(255,248,223,.06),0 18px 42px rgba(0,0,0,.22);}
.ml-question-card h2{  margin:0;  color:var(--game-cream);  font-size:clamp(28px,3.6vw,58px);  line-height:1.08;  font-weight:1000;}
.ml-question-card p:not(.pj-kicker){  margin:6px auto 0;  max-width:780px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  border-radius:18px;  padding:12px 16px;  font-weight:900;}
.ml-lifelines{  display:flex;  flex-wrap:wrap;  gap:10px;  justify-content:center;  margin-bottom:14px;}
.ml-lifeline:disabled{  opacity:.35;  cursor:not-allowed;}
.ml-lifeline.used,.ml-lifeline.is-used{  opacity:.58;  border-color:rgba(218,177,83,.75);  background:linear-gradient(180deg,rgba(218,177,83,.22),rgba(10,55,42,.55));  color:#f8df95;  cursor:not-allowed;}
.ml-lifeline.used::after,.ml-lifeline.is-used::after{  content:"";}
/* ANSWERS */
.ml-answers{  display:grid;  grid-template-columns:repeat(2,1fr);  gap:14px;  margin-top:16px;}
.ml-answer{  position:relative;  display:grid;  grid-template-columns:48px 1fr;  align-items:center;  gap:12px;  min-height:82px;  border:1px solid rgba(231,200,91,.42);  border-radius:22px;  padding:12px 16px;  text-align:left;  color:var(--game-cream);  background:linear-gradient(135deg,rgba(6,63,43,.88),rgba(7,23,53,.92));  box-shadow:0 14px 32px rgba(0,0,0,.2);  cursor:pointer;  transition:transform .15s ease,filter .15s ease,border-color .15s ease,box-shadow .15s ease;}
.ml-answer:hover:not(:disabled){  transform:translateY(-2px);  filter:brightness(1.08);  border-color:rgba(231,200,91,.82);}
.ml-answer span{  width:42px;  height:42px;  border-radius:50%;  display:grid;  place-items:center;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-weight:1000;}
.ml-answer strong{  font-size:clamp(17px,1.6vw,26px);  line-height:1.16;}
.ml-answer:disabled{  cursor:not-allowed;}
.ml-answer.removed{  opacity:.18;  filter:saturate(.2);  pointer-events:none;}
.ml-answer.selected{  border-color:rgba(218,177,83,.95)!important;  box-shadow:0 0 0 3px rgba(218,177,83,.65),0 0 26px rgba(218,177,83,.35);  transform:translateY(-2px);}
.ml-answer.correct,.ml-answer.correct:disabled{  border-color:rgba(39,199,111,.95)!important;  background:linear-gradient(180deg,rgba(39,199,111,.34),rgba(7,80,48,.92))!important;  color:#fff!important;  opacity:1!important;}
.ml-answer.wrong,.ml-answer.wrong:disabled{  border-color:rgba(220,53,69,.95)!important;  background:linear-gradient(180deg,rgba(220,53,69,.34),rgba(90,16,24,.94))!important;  color:#fff!important;  opacity:1!important;}
.ml-answer.user-choice{  box-shadow:0 0 0 3px rgba(218,177,83,.65),0 0 26px rgba(218,177,83,.35);}
.ml-answer.host-accepted{  box-shadow:0 0 0 3px rgba(218,177,83,.9),0 0 32px rgba(39,199,111,.45);}
/* FINAL ANSWER CONFIRMATION */
.ml-final-answer-modal .pj-modal-card,.ml-final-answer-card{  width:min(620px,calc(100vw - 32px));  min-height:auto!important;  text-align:center;}
.ml-final-answer-card h2{  margin:10px 0;  color:var(--game-cream);  font-size:clamp(28px,4vw,46px);}
.ml-final-answer-card .pj-answer{  margin:16px auto;  padding:16px 18px;  border-radius:18px;  color:#fff7d6;  background:linear-gradient(135deg,rgba(6,63,43,.9),rgba(7,23,53,.94));  border:1px solid rgba(231,200,91,.45);  font-size:clamp(1.1rem,2vw,1.45rem);  font-weight:900;}
/* RETURN TO BOARD */
.ml-question-actions{  display:flex;  justify-content:center;  margin-top:18px;}
#mlReturnBoardBtn{  min-width:220px;  font-size:1rem;}

/* =========================================================MILLIONAIRE ANSWERS — SHAPE ONLY========================================================= */
.ml-answer{  position:relative;  overflow:hidden;  border-radius:0;  clip-path:polygon(24px 0,calc(100% - 24px) 0,100% 50%,calc(100% - 24px) 100%,24px 100%,0 50%);}
/* Make hover/selected/correct/wrong keep same shape */
.ml-answer:hover,.ml-answer.selected,.ml-answer.user-choice,.ml-answer.correct,.ml-answer.wrong,.ml-answer.removed{  clip-path:polygon(24px 0,calc(100% - 24px) 0,100% 50%,calc(100% - 24px) 100%,24px 100%,0 50%);}
/* Optional: give answer text a little more room */
.ml-answer{  min-height:58px;  padding-left:58px;  padding-right:24px;}
/* Keep the A/B/C/D letter positioned nicely */
.ml-answer span:first-child{  min-width:28px;  text-align:center;}
/* Mobile: slightly smaller angle */
@media (max-width: 760px){
  .ml-answer,.ml-answer:hover,.ml-answer.selected,.ml-answer.user-choice,.ml-answer.correct,.ml-answer.wrong,.ml-answer.removed{  clip-path:polygon(18px 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,18px 100%,0 50%);}
}
/* RESPONSIVE */
@media (max-width:1080px){
  .ml-board-shell{  grid-template-columns:minmax(280px,560px);}
}
@media (max-width:900px){
  .ml-round-options{  grid-template-columns:1fr;}
  .ml-answers{  grid-template-columns:1fr;}
  .ml-board-shell{  gap:10px;}
}
@media (max-width:640px){
  .ml-question-card{  min-height:170px;  padding:16px;}
  .ml-answer{  grid-template-columns:40px 1fr;  min-height:70px;}
  .ml-answer span{  width:34px;  height:34px;}
  .ml-answer strong{  font-size:16px;}
  #mlReturnBoardBtn{  width:100%;}
}

/* =========================================================MILLIONAIRE LIFELINE ICONS========================================================= */
.ml-lifeline-icons{  display:flex;  flex-wrap:wrap;  justify-content:center;  gap:clamp(10px,1.4vw,18px);  margin:0 auto 18px;}
.ml-lifeline-icon{  position:relative;  width:clamp(76px,8vw,118px);  border:0;  padding:0;  background:transparent;  cursor:pointer;  display:grid;  justify-items:center;  gap:6px;  font-family:inherit;  color:#f8df95;  transition:transform .16s ease,filter .16s ease,opacity .16s ease;}
.ml-lifeline-icon img{  width:100%;  aspect-ratio:1 / 1;  object-fit:contain;  display:block;  filter:drop-shadow(0 12px 22px rgba(0,0,0,.45));  transition:transform .16s ease,filter .16s ease;}
.ml-lifeline-icon span{  display:block;  color:#f8df95;  font-size:clamp(10px,1vw,13px);  font-weight:1000;  letter-spacing:.06em;  text-transform:uppercase;  text-shadow:0 2px 8px rgba(0,0,0,.65);}
.ml-lifeline-icon:hover:not(:disabled){  transform:translateY(-3px);}
.ml-lifeline-icon:hover:not(:disabled) img{  filter:drop-shadow(0 14px 26px rgba(0,0,0,.55))drop-shadow(0 0 16px rgba(218,177,83,.42));}
.ml-lifeline-icon:disabled,.ml-lifeline-icon.used,.ml-lifeline-icon.is-used{  opacity:.38;  cursor:not-allowed;  filter:grayscale(.45);}
.ml-lifeline-icon.used::after,.ml-lifeline-icon.is-used::after{  content:"USED";  position:absolute;  top:38%;  left:50%;  transform:translate(-50%,-50%) rotate(-14deg);  padding:5px 10px;  border-radius:999px;  color:#3b2600;  background:linear-gradient(180deg,#ffe9a3,#c99a27);  border:1px solid rgba(255,255,255,.45);  font-size:11px;  font-weight:1000;  letter-spacing:.12em;  box-shadow:0 8px 20px rgba(0,0,0,.35);}
@media (max-width:640px){
  .ml-lifeline-icon{  width:72px;}
  .ml-lifeline-icon span{  font-size:10px;}
}

/* =========================================================FAMILY FEUD========================================================= */
.ff-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
.ff-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.ff-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.ff-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.ff-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.ff-round-option strong,.ff-round-option span,.ff-round-option em{  display:block;}
.ff-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.ff-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.ff-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
.ff-game{  max-width:1680px;  margin:0 auto;}
.ff-score-panel .pj-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.ff-score-panel .pj-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
.ff-board-shell{  display:grid;  grid-template-columns:minmax(320px,440px) 1fr;  gap:16px;  align-items:start;}
.ff-info-panel{  border-radius:24px;  padding:18px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.86),rgba(7,23,53,.9));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.ff-info-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.ff-info-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.ff-question-card{  margin-top:16px;  border-radius:20px;  padding:16px;  color:var(--game-green);  background:#fff8df;}
.ff-question-card span{  display:block;  color:rgba(6,63,43,.65);  font-size:12px;  font-weight:1000;  letter-spacing:.12em;  text-transform:uppercase;}
.ff-question-card strong{  display:block;  margin-top:8px;  font-size:clamp(20px,2vw,32px);  line-height:1.15;}
.ff-strikes{  display:flex;  justify-content:center;  gap:12px;  margin:16px 0;}
.ff-strikes span{  width:54px;  height:54px;  border-radius:18px;  display:grid;  place-items:center;  color:rgba(255,248,223,.18);  background:rgba(255,248,223,.08);  border:1px solid rgba(231,200,91,.22);  font-size:34px;  font-weight:1000;}
.ff-strikes span.active{  color:#fff;  background:linear-gradient(135deg,#8f2c22,#c44838);  border-color:rgba(255,248,223,.45);  box-shadow:0 12px 28px rgba(0,0,0,.22);}
.ff-stats{  display:grid;  grid-template-columns:repeat(3,1fr);  gap:9px;  margin:18px 0;}
.ff-stats div{  border-radius:16px;  padding:12px 8px;  text-align:center;  background:rgba(255,248,223,.1);  border:1px solid rgba(231,200,91,.26);}
.ff-stats strong{  display:block;  color:var(--game-gold2);  font-size:30px;  line-height:1;  font-weight:1000;}
.ff-stats span{  display:block;  margin-top:6px;  color:rgba(255,248,223,.78);  font-size:12px;  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;}
.ff-guess-row{  display:grid;  grid-template-columns:1fr auto;  gap:9px;  margin-bottom:12px;}
.ff-guess-row input{  width:100%;  border:1px solid rgba(231,200,91,.42);  border-radius:16px;  padding:12px 14px;  color:var(--game-green);  background:#fff8df;  font-weight:900;  outline:none;}
.ff-guess-row input:focus{  box-shadow:0 0 0 3px rgba(231,200,91,.2);}
.ff-actions{  display:grid;  gap:9px;}
.ff-survey-wrap{  min-height:calc(100vh - 245px);  border-radius:30px;  padding:18px;  border:1px solid rgba(231,200,91,.24);  background:radial-gradient(circle at 60% 0%,rgba(231,200,91,.14),transparent 32%),linear-gradient(135deg,rgba(7,23,53,.7),rgba(2,8,17,.5));  box-shadow:0 24px 70px rgba(0,0,0,.25);}
.ff-board-head{  display:grid;  grid-template-columns:1fr auto 1fr;  gap:12px;  align-items:center;  margin-bottom:14px;  color:var(--game-gold2);  font-weight:1000;  text-transform:uppercase;  letter-spacing:.12em;}
.ff-board-head span:first-child{  text-align:left;}
.ff-board-head span:last-child{  text-align:right;}
.ff-board-head strong{  color:var(--game-cream);  letter-spacing:0;  text-transform:none;  font-size:clamp(20px,2vw,32px);}
.ff-answer-board{  display:grid;  grid-template-columns:repeat(2,minmax(220px,1fr));  gap:12px;}
.ff-answer-row{  display:grid;  grid-template-columns:54px 1fr 80px;  align-items:center;  gap:12px;  min-height:84px;  border:1px solid rgba(231,200,91,.42);  border-radius:22px;  padding:12px;  color:var(--game-cream);  background:linear-gradient(135deg,rgba(6,63,43,.88),rgba(7,23,53,.92));  box-shadow:0 14px 32px rgba(0,0,0,.2);  cursor:pointer;  transition:transform .18s ease,filter .18s ease,border-color .18s ease;}
.ff-answer-row:hover{  transform:translateY(-2px);  filter:brightness(1.08);  border-color:rgba(231,200,91,.82);}
.ff-answer-number{  width:42px;  height:42px;  border-radius:50%;  display:grid;  place-items:center;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-weight:1000;}
.ff-answer-row strong{  min-height:1.2em;  font-size:clamp(18px,1.7vw,30px);  line-height:1.08;  text-transform:uppercase;  font-weight:1000;}
.ff-answer-row em{  justify-self:end;  min-width:58px;  text-align:center;  border-radius:999px;  padding:7px 9px;  color:#442f05;  background:rgba(231,200,91,.92);  font-style:normal;  font-weight:1000;}
.ff-answer-row:not(.revealed) strong::before{  content:"";  display:block;  height:18px;  border-radius:999px;  background:rgba(255,248,223,.16);}
.ff-answer-row:not(.revealed) em{  background:rgba(255,248,223,.12);  color:transparent;}
.ff-answer-row.revealed{  background:linear-gradient(135deg,#fffdf6,#fff2c8);  color:var(--game-green);  animation:ffReveal .25s ease both;}
@keyframes ffReveal{
  from{  transform:rotateX(75deg);  filter:brightness(1.3);}
  to{  transform:rotateX(0);}
}
.ff-modal .pj-modal-card{  min-height:min(560px,86vh);}
@media (max-width:1080px){
  .ff-board-shell{  grid-template-columns:1fr;}
  .ff-survey-wrap{  min-height:auto;}
}
@media (max-width:900px){
  .ff-round-options{  grid-template-columns:1fr;}
  .ff-answer-board{  grid-template-columns:1fr;}
  .ff-board-head{  grid-template-columns:1fr;  text-align:center;}
  .ff-board-head span:first-child,.ff-board-head span:last-child{  text-align:center;}
  .ff-board-shell{  gap:10px;}
}
@media (max-width:640px){
  .ff-stats{  grid-template-columns:1fr;}
  .ff-guess-row{  grid-template-columns:1fr;}
  .ff-answer-row{  grid-template-columns:44px 1fr 58px;  min-height:72px;}
  .ff-answer-number{  width:34px;  height:34px;}
  .ff-answer-row strong{  font-size:16px;}
  .ff-strikes span{  width:44px;  height:44px;  font-size:28px;}
}

/* =========================================================WHO AM I========================================================= */
.wai-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
.wai-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.wai-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.wai-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.wai-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.wai-round-option strong,.wai-round-option span,.wai-round-option em{  display:block;}
.wai-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.wai-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.wai-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
.wai-game{  max-width:1680px;  margin:0 auto;}
.wai-score-panel .pj-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.wai-score-panel .pj-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
.wai-board-shell{  display:grid;  grid-template-columns:minmax(320px,430px) 1fr;  gap:16px;  align-items:start;}
.wai-info-panel{  border-radius:24px;  padding:18px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.86),rgba(7,23,53,.9));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.wai-info-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.wai-info-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.wai-mystery-card{  margin-top:16px;  border-radius:20px;  padding:16px;  color:var(--game-green);  background:#fff8df;}
.wai-mystery-card span,.wai-mystery-card em{  display:block;  color:rgba(6,63,43,.65);  font-size:12px;  font-weight:1000;  letter-spacing:.12em;  text-transform:uppercase;  font-style:normal;}
.wai-mystery-card strong{  display:block;  margin:6px 0;  font-size:clamp(22px,2vw,34px);  line-height:1.1;}
.wai-stats{  display:grid;  grid-template-columns:repeat(3,1fr);  gap:9px;  margin:18px 0;}
.wai-stats div{  border-radius:16px;  padding:12px 8px;  text-align:center;  background:rgba(255,248,223,.1);  border:1px solid rgba(231,200,91,.26);}
.wai-stats strong{  display:block;  color:var(--game-gold2);  font-size:30px;  line-height:1;  font-weight:1000;}
.wai-stats span{  display:block;  margin-top:6px;  color:rgba(255,248,223,.78);  font-size:12px;  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;}
.wai-guess-row{  display:grid;  grid-template-columns:1fr auto;  gap:9px;  margin-bottom:12px;}
.wai-guess-row input{  width:100%;  border:1px solid rgba(231,200,91,.42);  border-radius:16px;  padding:12px 14px;  color:var(--game-green);  background:#fff8df;  font-weight:900;  outline:none;}
.wai-guess-row input:focus{  box-shadow:0 0 0 3px rgba(231,200,91,.2);}
.wai-actions{  display:grid;  gap:9px;}
.wai-clue-wrap{  min-height:calc(100vh - 245px);  border-radius:30px;  padding:18px;  border:1px solid rgba(231,200,91,.24);  background:radial-gradient(circle at 60% 0%,rgba(231,200,91,.14),transparent 32%),linear-gradient(135deg,rgba(7,23,53,.7),rgba(2,8,17,.5));  box-shadow:0 24px 70px rgba(0,0,0,.25);}
.wai-board-head{  display:grid;  grid-template-columns:1fr auto 1fr;  gap:12px;  align-items:center;  margin-bottom:14px;  color:var(--game-gold2);  font-weight:1000;  text-transform:uppercase;  letter-spacing:.12em;}
.wai-board-head span:first-child{  text-align:left;}
.wai-board-head span:last-child{  text-align:right;}
.wai-board-head strong{  color:var(--game-cream);  letter-spacing:0;  text-transform:none;  font-size:clamp(24px,3vw,48px);}
.wai-answer-seal{  display:grid;  place-items:center;  gap:8px;  min-height:160px;  margin-bottom:14px;  border-radius:28px;  text-align:center;  color:var(--game-cream);  background:linear-gradient(135deg,rgba(6,63,43,.9),rgba(7,23,53,.94));  border:1px solid rgba(231,200,91,.36);  box-shadow:inset 0 0 0 1px rgba(255,248,223,.06),0 18px 42px rgba(0,0,0,.22);}
.wai-answer-seal span{  width:66px;  height:66px;  border-radius:50%;  display:grid;  place-items:center;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:38px;  font-weight:1000;}
.wai-answer-seal strong{  font-size:clamp(28px,4vw,64px);  line-height:1;  font-weight:1000;}
.wai-answer-seal em{  direction:rtl;  color:var(--game-gold2);  font-family:"Amiri","Scheherazade New",serif;  font-size:clamp(26px,3vw,52px);  font-style:normal;}
.wai-answer-seal.revealed{  background:linear-gradient(135deg,#fffdf6,#fff2c8);  color:var(--game-green);}
.wai-clue-list{  display:grid;  gap:10px;}
.wai-clue-card{  display:grid;  gap:6px;  border-radius:22px;  padding:16px;  color:rgba(255,248,223,.75);  background:rgba(255,248,223,.08);  border:1px solid rgba(231,200,91,.18);  min-height:82px;}
.wai-clue-card span{  color:var(--game-gold2);  font-size:12px;  font-weight:1000;  text-transform:uppercase;  letter-spacing:.12em;}
.wai-clue-card strong{  font-size:clamp(18px,1.7vw,28px);  line-height:1.25;}
.wai-clue-card.revealed{  color:var(--game-green);  background:linear-gradient(135deg,#fffdf6,#fff2c8);  border-color:rgba(231,200,91,.45);  animation:waiReveal .25s ease both;}
@keyframes waiReveal{
  from{  transform:translateY(8px);  opacity:.4;}
  to{  transform:translateY(0);  opacity:1;}
}
.wai-modal .pj-modal-card{  min-height:min(560px,86vh);}
@media (max-width:1080px){
  .wai-board-shell{  grid-template-columns:1fr;}
  .wai-clue-wrap{  min-height:auto;}
}
@media (max-width:900px){
  .wai-round-options{  grid-template-columns:1fr;}
  .wai-board-head{  grid-template-columns:1fr;  text-align:center;}
  .wai-board-head span:first-child,.wai-board-head span:last-child{  text-align:center;}
  .wai-board-shell{  gap:10px;}
}
@media (max-width:640px){
  .wai-stats{  grid-template-columns:1fr;}
  .wai-guess-row{  grid-template-columns:1fr;}
  .wai-answer-seal{  min-height:130px;}
  .wai-answer-seal strong{  font-size:28px;}
  .wai-clue-card strong{  font-size:16px;}
}

/* =========================================================CATEGORY RACE========================================================= */

.cr-page{  background:radial-gradient(circle at 10% 0%,rgba(201,162,39,.22),transparent 32%),radial-gradient(circle at 92% 18%,rgba(6,63,43,.15),transparent 34%),linear-gradient(180deg,#fff8e6 0%,#efe2bf 100%);}
.cr-start-screen{  max-width:1180px;  margin:42px auto;  display:grid;  place-items:center;}
.cr-round-options{  display:grid;  grid-template-columns:repeat(3,minmax(220px,1fr));  gap:14px;  margin-top:24px;}
.cr-round-option{  position:relative;  min-height:150px;  border:1px solid rgba(231,200,91,.48);  border-radius:24px;  padding:20px;  cursor:pointer;  text-align:left;  color:var(--game-cream);  background:rgba(255,248,223,.1);  box-shadow:0 16px 36px rgba(0,0,0,.18);  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.cr-round-option:hover{  transform:translateY(-3px);  background:rgba(255,248,223,.18);  border-color:rgba(231,200,91,.9);}
.cr-round-option strong,.cr-round-option span,.cr-round-option em{  display:block;}
.cr-round-option strong{  color:var(--game-gold2);  font-size:22px;  line-height:1.12;}
.cr-round-option span{  margin-top:8px;  color:rgba(255,248,223,.84);  font-weight:700;  line-height:1.4;}
.cr-round-option em{  margin-top:12px;  color:rgba(255,248,223,.72);  font-style:normal;  font-weight:900;  font-size:13px;}
.cr-game{  max-width:1680px;  margin:0 auto;}
.cr-score-panel .pj-team.active{  border-color:rgba(201,162,39,.82);  background:rgba(255,253,246,.98);  box-shadow:0 0 0 3px rgba(201,162,39,.13),0 12px 28px rgba(6,63,43,.08);}
.cr-score-panel .pj-team.active::before{  content:"ACTIVE TURN";  display:inline-block;  margin-bottom:8px;  padding:4px 8px;  border-radius:999px;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-size:10px;  font-weight:1000;  letter-spacing:.12em;}
.cr-board-shell{  display:grid;  grid-template-columns:minmax(320px,440px) 1fr;  gap:16px;  align-items:start;}
.cr-info-panel{  border-radius:24px;  padding:18px;  color:var(--game-cream);  border:1px solid rgba(231,200,91,.3);  background:linear-gradient(135deg,rgba(6,63,43,.86),rgba(7,23,53,.9));  box-shadow:0 16px 40px rgba(0,0,0,.2);}
.cr-info-panel h2{  margin:6px 0 8px;  color:var(--game-cream);  font-size:clamp(26px,3vw,40px);  line-height:1;}
.cr-info-panel p{  margin:0;  color:rgba(255,248,223,.82);  font-weight:700;  line-height:1.45;}
.cr-category-card{  margin-top:16px;  border-radius:20px;  padding:16px;  color:var(--game-green);  background:#fff8df;}
.cr-category-card span,.cr-category-card em{  display:block;  color:rgba(6,63,43,.65);  font-size:12px;  font-weight:1000;  letter-spacing:.12em;  text-transform:uppercase;  font-style:normal;}
.cr-category-card strong{  display:block;  margin:8px 0;  font-size:clamp(22px,2vw,34px);  line-height:1.1;}
.cr-timer{  display:grid;  place-items:center;  margin:16px auto;  width:min(210px,100%);  aspect-ratio:1/1;  border-radius:50%;  color:#442f05;  background:radial-gradient(circle at 35% 28%,#fff8df,transparent 30%),linear-gradient(180deg,var(--game-gold2),var(--game-gold));  border:8px solid rgba(255,248,223,.35);  box-shadow:0 18px 45px rgba(0,0,0,.28);}
.cr-timer strong{  font-size:clamp(56px,6vw,92px);  line-height:.9;  font-weight:1000;}
.cr-timer span{  font-size:13px;  font-weight:1000;  text-transform:uppercase;  letter-spacing:.14em;}
.cr-timer.danger{  animation:crPulse .8s ease infinite;  background:linear-gradient(135deg,#8f2c22,#c44838);  color:#fff;}
@keyframes crPulse{
  50%{  transform:scale(1.035);  filter:brightness(1.1);}
}
.cr-stats{  display:grid;  grid-template-columns:repeat(3,1fr);  gap:9px;  margin:18px 0;}
.cr-stats div{  border-radius:16px;  padding:12px 8px;  text-align:center;  background:rgba(255,248,223,.1);  border:1px solid rgba(231,200,91,.26);}
.cr-stats strong{  display:block;  color:var(--game-gold2);  font-size:30px;  line-height:1;  font-weight:1000;}
.cr-stats span{  display:block;  margin-top:6px;  color:rgba(255,248,223,.78);  font-size:12px;  font-weight:900;  text-transform:uppercase;  letter-spacing:.08em;}
.cr-guess-row{  display:grid;  grid-template-columns:1fr auto;  gap:9px;  margin-bottom:12px;}
.cr-guess-row input{  width:100%;  border:1px solid rgba(231,200,91,.42);  border-radius:16px;  padding:12px 14px;  color:var(--game-green);  background:#fff8df;  font-weight:900;  outline:none;}
.cr-guess-row input:focus{  box-shadow:0 0 0 3px rgba(231,200,91,.2);}
.cr-actions{  display:grid;  gap:9px;}
.cr-race-wrap{  min-height:calc(100vh - 245px);  border-radius:30px;  padding:18px;  border:1px solid rgba(231,200,91,.24);  background:radial-gradient(circle at 60% 0%,rgba(231,200,91,.14),transparent 32%),linear-gradient(135deg,rgba(7,23,53,.7),rgba(2,8,17,.5));  box-shadow:0 24px 70px rgba(0,0,0,.25);}
.cr-board-head{  display:grid;  grid-template-columns:1fr auto 1fr;  gap:12px;  align-items:center;  margin-bottom:14px;  color:var(--game-gold2);  font-weight:1000;  text-transform:uppercase;  letter-spacing:.12em;}
.cr-board-head span:first-child{  text-align:left;}
.cr-board-head span:last-child{  text-align:right;}
.cr-board-head strong{  color:var(--game-cream);  letter-spacing:0;  text-transform:none;  font-size:clamp(24px,3vw,48px);}
.cr-answer-zone{  display:grid;  grid-template-columns:1fr 1fr;  gap:14px;}
.cr-answer-zone section{  border-radius:24px;  padding:16px;  background:linear-gradient(135deg,rgba(6,63,43,.76),rgba(7,23,53,.84));  border:1px solid rgba(231,200,91,.28);  min-height:420px;}
.cr-answer-zone h3{  margin:0 0 12px;  color:var(--game-gold2);  font-size:20px;  text-transform:uppercase;  letter-spacing:.1em;}
.cr-found-list,.cr-answer-bank{  display:grid;  gap:9px;}
.cr-empty{  padding:18px;  border-radius:16px;  color:rgba(255,248,223,.65);  background:rgba(255,248,223,.08);  font-weight:800;  text-align:center;}
.cr-found-pill{  border-radius:16px;  padding:12px 14px;  color:var(--game-green);  background:linear-gradient(135deg,#fffdf6,#fff2c8);  font-size:clamp(18px,1.6vw,26px);  font-weight:1000;  text-transform:uppercase;  box-shadow:0 12px 24px rgba(0,0,0,.14);  animation:crFound .2s ease both;}
@keyframes crFound{
  from{  transform:scale(.96);  opacity:.5;}
  to{  transform:scale(1);  opacity:1;}
}
.cr-bank-answer{  display:grid;  grid-template-columns:42px 1fr;  gap:10px;  align-items:center;  border:1px solid rgba(231,200,91,.28);  border-radius:16px;  padding:10px;  text-align:left;  color:rgba(255,248,223,.75);  background:rgba(255,248,223,.08);  cursor:pointer;}
.cr-bank-answer span{  width:32px;  height:32px;  border-radius:50%;  display:grid;  place-items:center;  color:#442f05;  background:linear-gradient(180deg,var(--game-gold2),var(--game-gold));  font-weight:1000;}
.cr-bank-answer strong{  font-size:16px;  text-transform:uppercase;}
.cr-bank-answer.found,.cr-bank-answer.revealed{  color:var(--game-green);  background:linear-gradient(135deg,#fffdf6,#fff2c8);  border-color:rgba(231,200,91,.45);}
.cr-bank-answer:not(.found):not(.revealed) strong{  color:rgba(255,248,223,.45);}
.cr-modal .pj-modal-card{  min-height:min(560px,86vh);}
@media (max-width:1080px){
  .cr-board-shell{  grid-template-columns:1fr;}
  .cr-race-wrap{  min-height:auto;}
}
@media (max-width:900px){
  .cr-round-options{  grid-template-columns:1fr;}
  .cr-answer-zone{  grid-template-columns:1fr;}
  .cr-board-head{  grid-template-columns:1fr;  text-align:center;}
  .cr-board-head span:first-child,.cr-board-head span:last-child{  text-align:center;}
  .cr-board-shell{  gap:10px;}
}
@media (max-width:640px){
  .cr-stats{  grid-template-columns:1fr;}
  .cr-guess-row{  grid-template-columns:1fr;}
  .cr-timer{  width:min(170px,100%);}
  .cr-answer-zone section{  min-height:auto;}
  .cr-found-pill{  font-size:16px;}
}
