*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:GameArial,Arial,Helvetica,sans-serif;color:#231508}body{--stage:#ffe900;--stage-dark:#b4a200;background:#ffbc28 url('assets/background.webp') center/cover fixed}.screen{display:none;min-height:100dvh;width:100%;padding:20px 32px;border:8px solid var(--stage);box-shadow:inset 0 0 0 3px #fff9}.screen.on{display:flex;flex-direction:column}button{font:inherit;cursor:pointer}button:disabled{cursor:default}.btn{background:#fff;border:3px solid #231508;border-radius:16px;font-size:clamp(17px,1.6vw,25px);padding:12px 22px;font-weight:900;box-shadow:0 5px 0 #754609;transition:transform .15s}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #754609}.btn:disabled{opacity:.42}.btn:focus-visible,button:focus-visible{outline:5px solid #071e99;outline-offset:5px}.hidden{display:none!important}h1,h2,p{margin:0}h1{font-size:clamp(30px,3.8vw,64px);line-height:1.1;font-weight:900}h2{font-size:clamp(23px,2vw,34px)}.intro{align-items:center;text-align:center;justify-content:center;gap:12px;border-color:#ffe500;position:relative;padding-bottom:70px}.intro h1{font-size:clamp(30px,3.5vw,56px)}.opening-brand{width:min(1100px,90vw);display:flex;align-items:center;justify-content:center;gap:4vw;min-height:42vh}.logo{width:56%;max-height:44vh;object-fit:contain;filter:drop-shadow(0 8px 10px #9b4f0055)}.box{width:28%;max-height:40vh;object-fit:contain;mix-blend-mode:multiply;transform:rotate(-4deg)}.version{font-size:26px;font-weight:900}.start{background:#fff324;padding:16px 40px;font-size:clamp(23px,2vw,32px)}footer{position:absolute;bottom:20px;right:70px;left:70px;font-size:clamp(14px,1.2vw,19px);font-weight:700}.top{display:grid;grid-template-columns:1fr 1.5fr 1fr;align-items:center;min-height:120px;gap:16px;text-align:center}.brand{width:min(230px,17vw);max-height:100px;object-fit:contain}.stage-label{font-size:clamp(22px,2vw,32px);font-weight:900;margin-top:9px;color:var(--stage-dark)}.scores{display:flex;gap:12px;justify-content:center}.team{background:#258df8;color:white;border:4px solid #fff;border-radius:19px;box-shadow:0 5px 10px #80460033;padding:8px 15px;min-width:130px;font-weight:900;text-align:center}.team.b{background:#9d31e5}.team.active{outline:5px solid #231508;outline-offset:2px}.team-name{font-size:clamp(18px,1.7vw,28px)}.score{font-size:clamp(27px,3vw,48px)}.tiles{flex:1;display:grid;grid-template-columns:repeat(5,1fr);gap:20px 30px;align-content:center;justify-items:center;padding:12px 2vw}.tile{width:clamp(110px,11vw,180px);height:clamp(105px,17vh,155px);position:relative;background:var(--stage);border:9px solid;border-color:#fff8 #0005 #0006 #fff7;box-shadow:0 7px 0 var(--stage-dark),0 12px 14px #924e0040;color:#111;font-size:clamp(44px,5vw,78px);font-weight:1000;border-radius:4px;transition:transform .15s}.tile:hover:not(:disabled){transform:scale(1.07) rotate(-2deg)}.tile.used{border:4px solid var(--stage);border-radius:16px;box-shadow:none;background:#fff9;width:clamp(110px,11vw,180px);font-size:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#352208}.tile.used img{height:calc(100% - 34px);width:90%;object-fit:contain;border-radius:9px}.bottom{min-height:82px;display:flex;justify-content:space-between;align-items:center;gap:20px}.legend{text-align:center;font-weight:900;font-size:clamp(18px,1.6vw,26px);background:#fff9;padding:12px 24px;border:3px solid var(--stage);border-radius:14px}.reveal{position:relative;align-items:center;justify-content:center;gap:25px}.reveal-image{width:min(34vw,470px);height:42vh;object-fit:cover;border-radius:50%;border:7px solid white;box-shadow:0 0 26px #fff,0 15px 25px #70390066;animation:pop .6s ease}.reveal h1{font-size:clamp(54px,7vw,110px);color:#fff;paint-order:stroke fill;-webkit-text-stroke:5px #572800;text-shadow:0 5px 8px #4c230060}.bonus-sticker{position:absolute;top:30px;left:30px;width:min(25vw,350px);max-height:32vh;object-fit:contain;animation:pop .55s ease}.bonus-text{position:absolute;top:40px;left:30px;background:#fff324;border:7px solid var(--stage);padding:24px;font-size:clamp(28px,3vw,50px);font-weight:1000;border-radius:28px;transform:rotate(-10deg)}@keyframes pop{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}.photo-area{flex:1;display:flex;align-items:center;justify-content:center;gap:30px;position:relative;padding:12px 120px 4px 40px;min-height:0}.real-image{height:calc(100dvh - 205px);max-height:72vh;max-width:66vw;object-fit:contain;border:6px solid white;border-radius:12px;background:white;box-shadow:0 12px 26px #6b330050}.original-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;background:#fff9;padding:10px;border-radius:14px;align-self:center}.original-image{max-width:15vw;max-height:31vh;object-fit:contain}.original-wrap span{font-size:clamp(16px,1.4vw,23px);font-weight:900}.timer{position:absolute;right:0;top:30px;width:100px;height:100px;border-radius:50%;border:7px solid var(--stage);background:white;font-size:46px;font-weight:1000;display:grid;place-items:center;box-shadow:0 7px 12px #89410044}.timer.urgent{color:#d71322;animation:tick .9s infinite}@keyframes tick{50%{transform:scale(1.09)}}.photo-bottom{height:60px;display:flex;align-items:center;justify-content:center}.question-layout{flex:1;display:grid;grid-template-columns:2.1fr 1fr;gap:25px;margin-top:14px;min-height:0}.question-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,minmax(230px,1fr));gap:18px}.question{border:6px solid var(--qcolor);border-radius:22px;background:var(--qcolor);font-size:clamp(45px,5vw,80px);font-weight:1000;line-height:1.23;color:#17110d;padding:20px;box-shadow:0 6px 0 #5930004d;min-width:0;overflow-wrap:anywhere}.question.dim{opacity:.4}.question.selected{outline:5px solid white;outline-offset:2px;box-shadow:0 0 25px #fff,0 6px 0 #5930004d;transform:scale(1.015)}.question.open{background:#fffdf1;font-size:clamp(24px,2.1vw,39px);font-weight:900}.question.answer{font-size:clamp(33px,3vw,58px);color:#542707}.selector{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:20px;background:#fff9;border:4px solid var(--stage);border-radius:26px}.die{height:120px;width:120px;border-radius:23px;background:white;border:5px solid #3d2105;box-shadow:0 7px 0 #9c6b25;font-size:90px;font-weight:900;line-height:1;display:grid;place-items:center}.die.rolling{animation:spin .17s linear infinite}@keyframes spin{25%{transform:rotate(14deg) scale(1.05)}75%{transform:rotate(-14deg) scale(.95)}}.roll-result{font-size:clamp(18px,1.6vw,27px);font-weight:900;min-height:32px}.judges{display:flex;gap:12px;width:100%}.judges .btn{padding:14px 10px;flex:1;font-size:clamp(17px,1.5vw,24px)}.correct{background:#00984e;color:white}.wrong{background:#e6243b;color:white}.possible-points{font-size:clamp(16px,1.3vw,23px);font-weight:700;line-height:1.4}.message{font-size:clamp(19px,1.65vw,28px);font-weight:900;min-height:60px;line-height:1.3}.after-judge{display:flex;flex-direction:column;gap:12px;width:95%}.finish{background:#fff324}.bonus-tag{background:#fff324;border:3px solid var(--stage-dark);border-radius:12px;padding:8px 20px;font-size:25px;font-weight:900}.intro-scores{align-items:center;justify-content:center;gap:16px}.score-table{width:min(950px,90vw)}.table-head,.score-row{display:grid;grid-template-columns:1fr 1.2fr 1.2fr;gap:20px;text-align:center;align-items:center}.table-head{margin:12px 0}.table-head span{background:#17100a;color:white;border-radius:30px;padding:12px;font-size:clamp(19px,2vw,30px);font-weight:900}.score-row{margin:10px 0;visibility:hidden}.score-row.visible{visibility:visible;animation:pop .35s ease}.score-row span{background:var(--row);border:3px solid #fff;border-radius:30px;font-size:clamp(23px,2.3vw,36px);font-weight:900;padding:10px}.score-note{text-align:center;font-size:clamp(18px,1.5vw,25px);line-height:1.5;font-weight:700}.winner{align-items:center;justify-content:center;gap:30px;text-align:center}.winner h1{font-size:clamp(45px,5vw,85px)}#winnerTeam{font-size:clamp(55px,8vw,130px);font-weight:1000;color:#fff;paint-order:stroke fill;-webkit-text-stroke:5px #542707;animation:pop .7s ease}#winnerScore{font-size:clamp(30px,4vw,66px);font-weight:900}.utilities{position:fixed;bottom:10px;left:12px;display:flex;gap:8px;z-index:20}.utilities button{border:2px solid #8c5004;border-radius:9px;background:#ffffffdb;color:#452000;font-size:16px;font-weight:900;padding:7px 10px}.utilities button:first-child{font-size:24px;line-height:1}.solo-a,.solo-b{justify-content:center}
@media(min-width:900px){.screen{height:100dvh;min-height:650px}.tiles{min-height:0}.question-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.question-layout{margin-bottom:38px}.intro-scores .score-row span{padding:8px}.selector{gap:12px}.selector h2{font-size:28px}}
@media(max-width:900px){.screen{padding:16px 16px 70px;border-width:5px}.top{grid-template-columns:1fr 1fr;gap:15px}.brand{width:160px;justify-self:center}.top>div:nth-child(2){grid-column:1/-1;grid-row:1}.top .scores{grid-column:2}.top .solo-a{grid-column:1}.top .solo-b{grid-column:2}.team{min-width:100px;padding:7px 10px}.tiles{gap:17px 10px;padding:24px 0;grid-template-columns:repeat(3,1fr)!important}.tile,.tile.used{width:100%;max-width:150px;height:115px}.bottom{flex-wrap:wrap;justify-content:center}.legend{order:-1;width:100%}.question-layout{grid-template-columns:1fr}.question-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,minmax(180px,1fr))}.selector{margin-top:10px}.photo-area{padding:90px 0 10px;gap:15px;flex-direction:column}.real-image{height:auto;max-height:60vh;max-width:100%;width:auto}.original-wrap{flex-direction:row}.original-image{max-width:150px;max-height:140px}.timer{top:8px;width:75px;height:75px;font-size:34px}.opening-brand{min-height:35vh;gap:15px}.box{width:32%}.logo{width:62%}.reveal-image{width:65vw;height:35vh}.bonus-sticker{width:30vw;top:20px;left:20px}.bonus-text{font-size:25px;padding:15px}.table-head,.score-row{gap:8px}.table-head span{font-size:17px;padding:8px}.score-row span{font-size:21px;padding:8px}.intro-scores{gap:14px}footer{font-size:13px;left:40px;right:40px}.version{font-size:22px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* הקובייה התלת־ממדית מגראבולו */
.die{background:transparent;border:0;box-shadow:none;width:145px;height:150px;perspective:700px;display:flex;align-items:center;justify-content:center;padding:0}.cube{position:relative;display:block;width:90px;height:90px;transform-style:preserve-3d;transform:rotateX(-15deg) rotateY(-20deg);filter:drop-shadow(9px 13px 6px #63350066)}.cube .face{position:absolute;inset:0;width:100%;height:100%;border:3px solid #ffffffbb;border-radius:12px;box-shadow:inset 0 0 20px #0003,0 0 12px #fff5;backface-visibility:hidden;background:#fff;color:#17233c;font-size:58px;font-weight:900;text-shadow:none;display:grid;place-items:center;line-height:1}.cube .face:nth-child(1){transform:translateZ(45px)}.cube .face:nth-child(2){transform:rotateY(90deg) translateZ(45px)}.cube .face:nth-child(3){transform:rotateY(180deg) translateZ(45px)}.cube .face:nth-child(4){transform:rotateY(-90deg) translateZ(45px)}.cube .face:nth-child(5){transform:rotateX(90deg) translateZ(45px)}.cube .face:nth-child(6){transform:rotateX(-90deg) translateZ(45px)}
@font-face{font-family:Muskito;src:url('assets/MUSKITO.TTF') format('truetype');font-display:swap}.stage-label,.legend,.intro-scores h1,.table-head span,.score-row span{font-family:GameArial,Arial,Helvetica,sans-serif}.scores{direction:ltr}.team{direction:rtl}#questions .top{direction:ltr}#questions .top>div{direction:rtl}#questions .solo-a{grid-column:1}#questions .solo-b{grid-column:3}
@media(max-width:900px){#questions .solo-b{grid-column:2}}
.stage-label{color:var(--stage);-webkit-text-stroke:1.5px #4c2600;paint-order:stroke fill;text-shadow:0 2px 2px #71350055}
.message:empty{display:none}.selector.judged h2,.selector.judged .die,.selector.judged .roll-result,.selector.judged .judges,.selector.judged .possible-points{display:none}
@media(max-height:850px) and (min-width:900px){.top{min-height:100px}.brand{max-height:90px}.selector{gap:10px;padding:14px}.selector h2{font-size:25px}.die{height:115px}.possible-points{font-size:17px}.bonus-tag{font-size:21px;padding:6px 12px}.judges .btn{font-size:18px;padding:11px 7px}.question-layout{margin-top:8px}.roll-result{min-height:26px;font-size:21px}}
/* 8.1: supplied opening slide, click-to-reveal menu, original thumbnails. */
.intro{padding:0!important;border:0!important;box-shadow:none!important;background:#15100b;cursor:pointer;position:relative;min-height:100dvh;height:100dvh!important}.intro-art{display:block;width:100%;height:100%;object-fit:contain}.intro-scores{cursor:pointer}.score-row.visible{animation:scoreWipe .5s ease both}@keyframes scoreWipe{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0)}}
.header-brand{display:flex;align-items:center;justify-content:center;gap:9px;direction:rtl}.header-brand .brand{width:min(16vw,215px)}.header-box{width:min(6vw,90px);height:90px;object-fit:contain;mix-blend-mode:multiply}.team{background:#ed252d;color:#fff}.team.b{background:#ffeb00;color:#17110d}.team.active{outline-color:#17110d}.team-name,.score,.question,.question.open,.question.answer,.judges button,#photoName,#questionName,.tile-name,.btn{font-family:GameArial,Arial,Helvetica,sans-serif!important}
.tile{padding:0;isolation:isolate}.tile-back{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;pointer-events:none}.tile-back>img:not(.tile-bonus){height:calc(100% - 28px);width:100%;object-fit:contain;pointer-events:none}.tile-name{height:28px;line-height:28px;font-size:clamp(14px,1.15vw,21px);font-weight:900;white-space:nowrap}.tile-cover{position:absolute;inset:0;display:grid;place-items:center;background:var(--stage);z-index:2;pointer-events:none}.tile.revealed{border-width:5px;border-color:var(--stage);border-radius:6px;box-shadow:0 6px 10px #54240055}.tile.spent .tile-back{opacity:.4}.tile-x{position:absolute;inset:0;z-index:3;display:grid;place-items:center;pointer-events:none;font-size:clamp(65px,8vw,130px);color:#b7000a;text-shadow:0 0 3px white;font-weight:900}.tile-bonus{position:absolute;top:-19px;left:-25px;width:65px!important;height:65px!important;object-fit:contain;filter:drop-shadow(0 2px 2px #0008);pointer-events:none}.map-notice{text-align:center;font-family:Arial,sans-serif;font-weight:900;font-size:22px;position:absolute;bottom:95px;left:50%;transform:translateX(-50%);pointer-events:none}
/* Main image stays centered. The original is a small comparison at the left. */
#photoName,#questionName{font-weight:900;color:white;-webkit-text-stroke:clamp(2px,.26vw,5px) #ff8900;paint-order:stroke fill;text-shadow:0 3px 5px #632c0066}
.photo-area{display:block;position:relative;padding:0;margin:12px 0 0;min-height:0;flex:1}.real-image{position:absolute;inset:0;margin:auto;display:block;width:66%;height:100%;max-width:66%;max-height:100%;object-fit:contain;border:0;border-radius:0;background:transparent;box-shadow:none}.original-wrap{position:absolute;left:3%;right:auto;bottom:8%;display:block;padding:0;background:transparent;border:0;border-radius:0;width:15%;height:28%;}.original-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.timer{left:3%;right:auto;top:1%;}.photo-bonus{position:absolute;right:2%;top:2%;width:13%;height:24%;object-fit:contain;pointer-events:none}.photo-bottom{height:56px;flex:none}
/* Keep perspective on the viewer; filters on a cube flatten its six faces. */
.die{overflow:visible;perspective:700px;transform-style:preserve-3d;filter:none;flex:none}.cube-view{display:block;width:90px;height:90px;transform-style:preserve-3d;transform:rotateX(-18deg) rotateY(-25deg)}.cube{filter:none!important;transform-style:preserve-3d!important;transform:rotateX(0deg) rotateY(0deg)}.cube .face{background:#fff;border-color:#c6c6c6;color:#111;box-shadow:inset -8px -8px 12px #0002,inset 4px 4px 9px #fff8;}
@media(max-width:900px){.header-brand .brand{width:140px}.header-box{width:60px;height:65px}.photo-area{min-height:65vh;margin-top:14px}.real-image{width:74%;max-width:74%;height:100%;left:17%;right:auto}.original-wrap{width:16%;height:23%;left:0;bottom:3%}.original-image{max-width:100%;max-height:100%}.timer{left:0;top:0;width:65px;height:65px;font-size:30px}.photo-bonus{width:17%;height:18%;right:0;top:0}.tile-bonus{width:50px!important;height:50px!important;left:-12px;top:-10px}.tile-name{font-size:13px}.map-notice{position:static;transform:none;min-height:25px}.intro-scores{padding-bottom:70px}}
/* 8.2: bare original thumbnails and a separate, legible bonus area. */
.map-play-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,21vw);gap:20px;flex:1;min-height:0;direction:rtl}.map-play-area .tiles{width:100%;gap:18px 20px;padding:12px 0}.map-bonus-area{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0}.map-bonus-area img{width:100%;height:35vh;max-height:300px;object-fit:contain;filter:drop-shadow(0 6px 5px #72300055)}#mapBonusLabel{font-size:clamp(23px,2.1vw,36px);font-weight:700;text-align:center}.tile.revealed{background:transparent;border:0!important;box-shadow:none!important;border-radius:0}.tile.revealed .tile-back{background:transparent}.tile.revealed .tile-back>img{height:calc(100% - 34px);width:100%;object-fit:contain;border-radius:0}.tile-name{height:34px;line-height:34px;font-size:clamp(18px,1.45vw,25px);font-weight:700;color:#fff;-webkit-text-stroke:1.8px #ff8900;paint-order:stroke fill;text-shadow:0 2px 3px #341800}.tile-bonus{display:none!important}.tile.spent .tile-back{opacity:.4}.selector{border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}.photo-bonus{right:1%;width:18%;height:34%;}.real-image{width:62%;max-width:62%}.stage-label{-webkit-text-stroke:0;text-shadow:0 1px 2px #552800;color:var(--stage-dark);font-weight:700}
@media(max-width:900px){.map-play-area{grid-template-columns:minmax(0,1fr) 135px;gap:10px}.map-play-area .tiles{grid-template-columns:repeat(2,1fr)!important}.map-bonus-area img{height:180px}#mapBonusLabel{font-size:22px}.tile-name{font-size:16px}.photo-bonus{width:18%;height:23%}.real-image{width:70%;max-width:70%}}
@media(max-width:550px){.map-play-area{grid-template-columns:1fr}.map-bonus-area{flex-direction:row;min-height:70px}.map-bonus-area img{width:100px;height:90px}.map-play-area .tiles{grid-template-columns:repeat(3,1fr)!important}}

/* 8.3: consistent text and image-centered spent marks. */
html body,html body *{font-family:GameArial,Arial,Helvetica,sans-serif!important}
#photoName{font-family:GameArial,Arial,Helvetica,sans-serif!important;font-weight:700;color:#fff;-webkit-text-fill-color:#fff;-webkit-text-stroke:clamp(2px,.26vw,5px) #ff8900;paint-order:stroke fill;text-shadow:0 3px 5px #632c0066}
.table-head span,.score-row span{font-family:GameArial,Arial,Helvetica,sans-serif!important;font-weight:700}
.tile-picture{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:calc(100% - 34px);flex:none}
.tile-picture>img{display:block;width:100%;height:100%;object-fit:contain}
.tile-x{inset:0;display:flex;align-items:center;justify-content:center;line-height:1;font-size:clamp(60px,6vw,100px);font-family:GameArial,Arial,Helvetica,sans-serif!important}
.tile-name{flex:none}

.combined-brand{display:block;width:min(25vw,345px);max-width:100%;height:112px;object-fit:contain}.header-brand{gap:0}.intro-scores{gap:14px}@media(max-width:900px){.combined-brand{width:230px;height:95px}}@media(max-height:750px) and (min-width:900px){#scoreIntroTitle{font-size:80px!important;margin-bottom:8px}.intro-scores{gap:10px}}

/* 8.6: bonus at the left and selective lifting of dark photo details. */
.photo-bonus{left:2%;right:auto;top:30%;width:18%;height:28%}
.real-image.lift-shadows{filter:url(#shadow-lift)}.real-image.lift-shadows-soft{filter:url(#shadow-lift-soft)}
@media(max-width:900px){.photo-bonus{left:0;right:auto;top:27%;width:17%;height:24%}}

/* 8.7: legible score headings and stronger reading-photo shadow recovery. */
.real-image.reading-shadows{filter:url(#reading-shadow-lift)}
.table-head span{font-size:clamp(28px,2.9vw,44px)!important;line-height:1.15;padding:14px 10px;font-weight:700}
.score-table{width:min(1100px,90vw)}
@media(max-width:900px){.table-head span{font-size:26px!important;padding:12px 6px}}

/* 8.8: rounded finale in the winning team's color. */
html body #winner,html body #winner *{font-family:Muskito,Arial,sans-serif!important}
#winner{border-color:#fff9;box-shadow:none}
#winnerTitle,#winnerTeam,#winnerScore{font-weight:400;color:#fff;paint-order:stroke fill;-webkit-text-stroke:3px #542707;text-shadow:0 4px 5px #0004}
#winnerTitle{font-size:clamp(45px,5vw,85px)}#winnerTeam{font-size:clamp(70px,10vw,160px)}#winnerScore{font-size:clamp(38px,4.5vw,76px)}

.end-game{background:#fff;color:#452000}.after-judge{gap:10px}

/* Shared opening and kindergarten variant. */
.variant-choice{position:absolute;bottom:12%;left:0;right:0;display:flex;justify-content:center;gap:28px;padding:12px}.variant-choice .btn{font-size:clamp(24px,3vw,44px);padding:17px 40px;border:5px solid #fff;border-radius:26px;box-shadow:0 7px 0 #643502,0 4px 20px #0005}.garden-start{background:#04a975;color:white}.grade-start{background:#206bea;color:white}.intro{cursor:default}.color-wheel-panel{display:none}.garden-mode .table-head,.garden-mode .score-row{grid-template-columns:1fr 1fr}.garden-mode .map-bonus-area,.garden-mode .legend,.garden-mode .original-wrap,.garden-mode .photo-bonus{display:none!important}.garden-mode .color-wheel-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;min-width:0}.garden-mode .map-play-area{grid-template-columns:minmax(0,1fr) minmax(240px,26vw);gap:26px}.garden-mode .tile:not(.revealed),.garden-mode .tile-cover{background:var(--tile-color)}.garden-mode .tile:not(.revealed){box-shadow:0 7px 0 #6e3908,0 12px 14px #924e0040}.garden-mode .tile.revealed:not(.spent){outline:5px solid var(--tile-color);outline-offset:5px;border-radius:5px}.garden-mode .real-image{width:80%;max-width:80%;left:10%;right:0;filter:none!important}.wheel-frame{width:min(25vw,340px);aspect-ratio:1;position:relative;margin:15px 0}.color-wheel{position:absolute;inset:0;border:7px solid #fff;border-radius:50%;box-shadow:0 6px 0 #633407,0 10px 20px #783a0055;overflow:hidden;direction:ltr}.wheel-divider{position:absolute;top:0;left:calc(50% - 1px);width:2px;height:50%;background:#0006;transform-origin:50% 100%}.wheel-pointer{position:absolute;top:-19px;left:calc(50% - 16px);width:0;height:0;border-left:16px solid transparent;border-right:16px solid transparent;border-top:39px solid #482707;z-index:3;filter:drop-shadow(0 2px 0 white)}.wheel-hub{position:absolute;inset:40%;border-radius:50%;background:white;border:3px solid #5c3105;display:grid;place-items:center;font-size:32px;color:#ff8b00;pointer-events:none}.spin-colors{background:#fff228;width:100%;font-size:clamp(20px,2vw,29px);padding:12px 8px}.color-result{font-size:clamp(22px,2.1vw,32px);font-weight:700;min-height:80px;line-height:1.25}.garden-mode .color-wheel-panel h2{font-size:clamp(25px,2.5vw,38px)}
@media(max-width:900px){.variant-choice{bottom:13%;gap:14px}.variant-choice .btn{font-size:24px;padding:14px 20px}.garden-mode .map-play-area{grid-template-columns:minmax(0,1fr) 200px;gap:12px}.wheel-frame{width:185px}.color-result{font-size:22px}.garden-mode .real-image{left:12%;width:85%;max-width:85%}}
@media(max-width:550px){.garden-mode .map-play-area{grid-template-columns:1fr}.garden-mode .color-wheel-panel{order:-1;gap:8px}.wheel-frame{width:180px}.spin-colors{width:auto}.color-result{min-height:28px}.variant-choice{gap:10px}.variant-choice .btn{font-size:20px;padding:12px}.garden-mode .tiles{padding-top:25px}}

/* 9.1: compact choices positioned relative to the opening artwork. */
.intro-slide{position:relative;width:min(100vw,177.7778dvh);height:min(100dvh,56.25vw);flex:none;max-width:100%;max-height:100%}.intro-slide .intro-art{width:100%;height:100%;object-fit:contain}
.variant-choice{top:82%;bottom:auto;left:41%;right:7%;gap:12px;padding:0;align-items:center}.variant-choice .btn{font-size:clamp(13px,1.45vw,21px);line-height:1.2;padding:8px 18px;border:2px solid #9b5406;border-radius:10px;box-shadow:0 2px 0 #8d4b06;color:#4c2804;font-weight:700;white-space:nowrap}.variant-choice .garden-start{background:#ffe334}.variant-choice .grade-start{background:#ffac32}
/* Every viewing image shares the title's horizontal center. */
body .real-image,body.garden-mode .real-image{left:0;right:0;margin:auto;object-position:center center}
/* The wheel itself is the control; keep the stage controls in their own row. */
.color-wheel{padding:0;display:block;width:100%;height:100%;color:inherit;touch-action:manipulation}.color-wheel:disabled{cursor:default}.color-wheel:focus-visible{outline:5px solid #542707;outline-offset:6px}.wheel-frame{width:min(25vw,32dvh,300px);margin:16px 0 8px;flex:none}.garden-mode .color-wheel-panel{gap:10px;min-height:0}.garden-mode .color-wheel-panel h2{font-size:clamp(22px,2.1vw,32px)}.color-result{font-size:clamp(20px,1.8vw,28px);min-height:48px;line-height:1.25}.garden-mode #map .bottom{position:relative;z-index:4;flex:none}.wheel-pointer{pointer-events:none}
@media(min-width:901px) and (max-height:750px){.garden-mode #map{min-height:0}.garden-mode .map-play-area .tiles{gap:12px 16px}.garden-mode .tile{height:clamp(80px,14dvh,105px)}.garden-mode #map .bottom{min-height:65px}.garden-mode #map .top{min-height:95px}.garden-mode #map .combined-brand{height:95px}.wheel-frame{width:min(25vw,30dvh,250px)}.color-result{font-size:21px;min-height:42px}}
@media(max-width:900px){.variant-choice{gap:8px}.variant-choice .btn{padding:6px 12px;font-size:clamp(12px,1.8vw,17px)}.wheel-frame{width:min(185px,28dvh)}}
@media(max-width:550px){.variant-choice{gap:5px}.variant-choice .btn{padding:4px 7px;font-size:clamp(9px,2.3vw,13px);border-width:1px;border-radius:6px}.wheel-frame{width:180px}.color-result{min-height:28px}}

/* 9.3: short score rows centered under the stage heading. */
#introScores .score-table{width:min(900px,90vw);margin-inline:auto;flex:none}
body.garden-mode #introScores .score-table{width:min(640px,86vw)}
#introScores .table-head,#introScores .score-row{gap:16px}
@media(max-width:550px){#introScores .table-head,#introScores .score-row{gap:8px}}
