html,body{margin:0;background:#102949;color:#174A7E;font-family:Fredoka,sans-serif}#activity-root{height:100dvh;min-height:100dvh}.gh-board{min-width:0}.gh-surface{width:min(100%,850px);height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;margin:auto}.gh-actor-header{display:flex;align-items:center;gap:14px;flex:none}.gh-actor{width:130px;height:110px;object-fit:contain}.gh-task{font-size:clamp(19px,2.5vmin,26px);line-height:1.2;margin:0;color:#fff7da;text-shadow:0 1px 3px #102949;max-width:30ch;text-wrap:balance}.gh-content{min-width:0;width:100%;position:relative}.gh-feedback{font-size:17px;line-height:1.25;margin:7px 0 0;text-align:center;color:#fff7da;background:#132f50e8;border-radius:10px;padding:5px 10px}.gh-feedback:empty{display:none}.gh-storage,.gh-production-note{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.gh-tutorial-hand{position:fixed;z-index:200;width:65px;pointer-events:none;transform:translate(-18%,-8%);transition:left .5s linear,top .5s linear}.gh-tutorial-hand[hidden]{display:none}.diwali-board{padding:12px 18px;background:#17324df5;border-radius:20px;box-sizing:border-box;position:relative}.diwali-work{display:flex;flex-direction:column;align-items:center;gap:12px}.diwali-board button,.sweet-plate{font:500 18px Fredoka,sans-serif;color:#174A7E;cursor:pointer;min-height:56px;min-width:56px;touch-action:none;border:0;background:transparent;border-radius:12px;padding:4px;box-sizing:border-box}.diwali-board button:hover{background-color:#f3d6a0}.diwali-board button:focus-visible,.sweet-plate:focus-visible,.sweet-supply:focus-visible{outline:3px solid #174A7E;outline-offset:3px}.diwali-board [aria-pressed=true]{outline:4px solid #b47727;outline-offset:1px}.diwali-board img{object-fit:contain;pointer-events:none;user-select:none}.diwali-caption{text-align:center;font-size:17px;margin:9px 0 0;color:#fff7da;line-height:1.2;text-shadow:0 1px 3px #102949}.diwali-board .diwali-undo{font-size:16px;min-height:48px;padding:7px 19px;background:#f2d4a0}.rangoli-model,.garland-unit{display:flex;gap:10px;align-items:center;justify-content:center}.rangoli-model>span,.garland-unit>span{font-size:18px;margin-right:8px;color:#fff7da;text-shadow:0 1px 3px #102949}.rangoli-model img{width:42px;height:42px}.rangoli-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:12px}.rangoli-tiles:has(.turn-tile:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:450px}.rangoli-tiles:has(.turn-tile:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr));max-width:620px}.turn-tile{position:relative;aspect-ratio:1;max-height:180px;width:100%;background:#f8e5be!important}.petal-ghost,.petal-turn{position:absolute;width:78%;height:78%;left:11%;top:5%}.petal-ghost{opacity:.22;filter:grayscale(1)}.petal-turn{transition:transform .25s ease-out}.turn-mark{position:absolute;bottom:0;right:7px;font-size:28px;z-index:2}.turn-tile[data-mismatch=true]{outline:3px dashed #b47727}.path-grid{display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:5px;width:min(100%,480px);padding:0 30px;box-sizing:border-box}.path-tile{max-height:145px;border-radius:8px!important}.path-tile svg{position:absolute;inset:0;width:100%;height:100%}.path-start,.path-end{position:absolute;top:35%;font-size:14px;font-weight:600;background:#174A7E;color:white;border-radius:7px;padding:5px 6px;z-index:3}.path-start{left:-32px}.path-end{right:-30px}.sweet-supply{width:100%;min-height:80px;text-align:center;box-sizing:border-box;background:#f4dfb7;border-radius:12px;padding:5px}.sweet-supply>span{font-size:17px}.sweet-items{display:flex;justify-content:center;gap:2px;flex-wrap:wrap;min-height:54px;align-content:center}.sweet-items .sweet{width:56px;height:56px;padding:3px}.sweet img{width:100%;height:100%}.sweet-plates{display:grid;grid-template-columns:repeat(var(--plates),1fr);gap:10px;width:100%}.sweet-plate{background:#fffdf2;border:3px solid #d8b987;border-radius:50%;min-height:125px;padding:10px 7px 7px;position:relative}.plate-count{display:block;text-align:center;font-size:20px}.garland-unit img{width:42px;height:42px}.garland-row{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;width:100%;position:relative}.garland-row:has(.garland-flower:nth-child(9)){grid-template-columns:repeat(3,1fr);max-width:400px}.garland-flower{width:100%;height:84px;background:transparent!important}.garland-flower img{width:100%;height:100%}::selection{background:#f4d37e;color:#174A7E}[hidden]{display:none!important}
@media(max-width:700px){.gh-actor-header{gap:8px}.gh-actor{width:65px;height:65px}.gh-task{font-size:19px}.diwali-board{padding:10px}.diwali-work{gap:9px}.rangoli-tiles{grid-template-columns:repeat(2,1fr);gap:7px}.rangoli-tiles .turn-tile{max-height:125px}.rangoli-model{gap:5px;flex-wrap:wrap}.rangoli-model>span{width:100%;text-align:center;font-size:16px}.rangoli-model img{width:35px;height:35px}.diwali-caption{font-size:16px}.sweet-plates{grid-template-columns:repeat(2,1fr);gap:7px}.sweet-plate{min-height:92px;border-radius:24px;padding:4px}.sweet-items .sweet{width:48px;height:48px;min-width:48px;min-height:48px}.sweet-supply{min-height:72px}.sweet-items{min-height:48px}.plate-count{font-size:18px}.garland-row{grid-template-columns:repeat(3,1fr);gap:6px;max-width:360px}.garland-flower{height:69px;min-width:48px!important;min-height:48px!important}.garland-unit{gap:7px}.garland-unit img{width:35px;height:35px}.garland-unit>span{font-size:16px}.path-grid{max-width:360px}.path-tile{max-height:115px}.gh-feedback{font-size:15px}.gh-tutorial-hand{width:56px}}
@media(max-height:700px) and (orientation:landscape){.gh-actor{width:52px;height:52px}.gh-task{font-size:19px}.diwali-board{padding:8px 14px}.diwali-work{gap:5px}.rangoli-tiles .turn-tile{max-height:112px}.rangoli-model img{width:30px;height:30px}.diwali-caption{font-size:15px;margin-top:5px}.path-tile{max-height:83px}.path-grid{max-width:340px;gap:3px}.diwali-board .diwali-undo{min-height:48px}.sweet-plates{grid-template-columns:repeat(var(--plates),1fr)}.sweet-plate{min-height:87px;padding:3px;border-radius:30px}.sweet-items .sweet{width:48px;height:48px;min-width:48px;min-height:48px}.sweet-supply{min-height:69px}.sweet-items{min-height:48px}.garland-row:has(.garland-flower:nth-child(9)){grid-template-columns:repeat(9,1fr);max-width:none}.garland-flower{height:72px}.gh-feedback{font-size:15px;margin-top:4px}}
@media(max-height:450px) and (orientation:landscape){.gh-actor-header{display:none}.diwali-board{padding:4px 10px}.diwali-work{gap:3px}.diwali-caption{display:none}.rangoli-model>span{font-size:15px}.rangoli-tiles .turn-tile{max-height:85px}.path-tile{max-height:62px}.path-grid{max-width:260px}.sweet-plates{gap:5px}.sweet-plate{min-height:69px}.sweet-items .sweet{width:48px;height:48px}.sweet-supply>span{display:none}.plate-count{position:absolute;left:8px;top:5px;font-size:16px}.garland-unit img{width:27px;height:27px}.garland-flower{height:56px}.gh-feedback{font-size:14px}.diwali-board .diwali-undo{min-height:48px;padding:2px 15px}}
@media(prefers-reduced-motion:reduce){.gh-tutorial-hand,.petal-turn{transition:none}}

.path-start,.path-end{background:transparent;padding:0;width:42px;height:50px;top:25%}.path-start{left:-41px}.path-end{right:-40px}.path-start img,.path-end img{width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.garland-row{grid-template-columns:repeat(var(--unit),1fr)}}

.gh-content,.gh-feedback{flex:none}.sharing-sweets .diwali-caption{display:none}.sweet-supply.empty{min-height:48px;display:flex;align-items:center;justify-content:center}.sweet-supply.empty .sweet-items{display:none}@media(max-width:700px){.sweet-plate:has(.sweet-items:empty){min-height:60px}}

@media(max-width:700px) and (max-height:700px){.gh-actor{width:65px;height:65px}.gh-task{font-size:17px}.rangoli-tiles .turn-tile{max-height:90px}.rangoli-model img{width:29px;height:29px}.path-tile{max-height:84px}.gh-feedback{font-size:15px}.diwali-caption{font-size:15px}}

@media(max-width:700px) and (max-height:700px){.sharing-sweets{padding-left:8px;padding-right:8px}.sweet-plate{border-width:2px;padding:3px}.sweet-items{gap:0}}

.turn-mark svg{display:block;width:28px;height:28px}
