.clock-icon{display:inline-block;width:41px;height:41px;background-image:url(./images/icons.png?v=1);background-position:-182px -10px;margin:0;vertical-align:middle}.clock-icon.small{width:33px;height:33px;background-position:-107px -4px;background-size:177px}.clue-root{background-color:#f0f0f0;border:1px solid #ccc;border-radius:4px;font-size:.9rem;display:inline-flex;gap:0}.clue-root>span{padding:4px 8px}.clue-root .clue-word{border-right:1px solid #ccc;text-transform:uppercase;font-weight:400}.clue-number{background-color:#e0e0e0;font-weight:700}.inline-character{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:4px;margin:0 4px;padding:0 8px 0 2px;align-items:center;vertical-align:middle;background:#e3e3e3;border:2px solid #c3c3c3;border-radius:25px;font-weight:700}.inline-character__icon{display:inline-block;background-image:url(./images/history-icons.png);background-repeat:no-repeat;width:32px;height:32px;background-size:96px 32px}.inline-character--G .inline-character__icon{background-position:center}.inline-character--B .inline-character__icon{background-position:left}.inline-character--N .inline-character__icon{background-position:right}.prison{display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr);gap:12px;margin:48px;justify-items:center;align-items:center;background-color:#020202;padding:32px;border-radius:8px;box-sizing:border-box}@media screen and (max-width:1080px){.prison{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:0;width:100%;padding:8px;margin:8px;border-radius:0}}@keyframes revealCard{0%{scale:0}to{scale:1}}.revealation-card{width:300px;height:250px;background-image:url(./images/revealed-cards.png);background-repeat:no-repeat;z-index:1}.revealation-card.animated{position:absolute;scale:0;animation:revealCard 333ms ease-in-out forwards}.revealation-card.animated.player-1{translate:-32px 0}.revealation-card.animated.player-2{translate:32px 0}.revealation-card.G{background-position:bottom;view-transition-name:reveal-card-g}.revealation-card.N{background-position:top;view-transition-name:reveal-card-n}.revealation-card.B{background-position:center;view-transition-name:reveal-card-b}.prison-cell{width:192px;height:192px;background-image:url(./images/cell-door_c-c.png),url(./images/cell-background.png);background-repeat:no-repeat;background-position:32px 64px,bottom center;background-color:#020202;display:flex;align-items:flex-start;justify-content:center;position:relative;transition:opacity 333ms ease-in-out}.prison-cell.in-shadows{opacity:.1}.prison-cell.open-by-player-1{background-image:url(./images/cell-door_o-c.png),url(./images/cell-background.png)}.prison-cell.open-by-player-2{background-image:url(./images/cell-door_c-o.png),url(./images/cell-background.png)}.prison-cell.open-by-both-players{background-image:url(./images/cell-door_o-o.png),url(./images/cell-background.png)}.prison-cell .word{--bgColor: #fff;font-size:18px;font-weight:700;text-transform:uppercase;padding:4px 8px;color:#000;background-color:var(--bgColor);border-radius:8px;border:2px solid currentColor;position:relative;top:8px;transform-origin:top left;pointer-events:none;-webkit-user-select:none;user-select:none;white-space:nowrap}.prison-cell.this-player-type-G .word{--bgColor: #50ff98}.prison-cell.this-player-type-B .word{--bgColor: #000000;color:#fff}.prison-cell.this-player-type-N .word{--bgColor: #ffc059}.prison-cell .word:after{content:"";display:block;position:absolute;border:2px solid #000;border-top-color:transparent;border-left-color:transparent;width:12px;height:12px;left:calc(50% + 21px);bottom:-8px;background-color:var(--bgColor);transform:rotate(45deg)}.prison-cell.this-player-type-B .word:after{border-right-color:#fff;border-bottom-color:#fff}.prison-icon-container{display:inline-flex;vertical-align:middle;margin-right:6px;background:#e3e3e3;border:1px solid #c3c3c3;border-radius:50%;width:30px;height:30px;justify-content:center;align-items:center}.prison-icon{display:inline-block;background-image:url(./images/history-icons.png);background-repeat:no-repeat;width:21px;height:24px;background-size:64px 22px}.prison-icon--G{background-position:center}.prison-icon--N{background-position:left}.prison-icon--N{background-position:right}@media screen and (max-width:1080px){.prison-cell{height:48px;width:auto;background-image:none!important;padding:0 2px;box-sizing:border-box}.prison-cell .word{display:flex;align-items:center;justify-content:flex-start}.prison-cell .word:after{display:none}.prison-icon-container{margin-right:3px;width:20px;height:20px}.prison-icon{width:16px;height:16px;background-size:48px 16px}}.tutorial-step-title{font-weight:700;font-size:1.2em;margin-bottom:.5em;text-align:center}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;display:flex;flex-direction:column;justify-content:center;gap:24px;min-width:320px;min-height:100vh;background-color:#111;background-image:url(./images/dirt.webp)}body.outside-castle{overflow:hidden}body.inside-castle{background-image:url(./images/main-background.png);justify-content:flex-start}body.disable-pointer-events{pointer-events:none;overflow:hidden;padding-right:var(--paddingRight, 0)}p{margin:0;padding:0}.a11y{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media screen and (max-width:1080px){body{gap:0}}.credits{display:flex;flex-direction:column;justify-content:center;align-items:center;flex-wrap:wrap;border-top:1px solid #767676;color:#bebebe;width:fit-content;margin:48px auto 12px;padding-top:8px;z-index:0}.credits menu{list-style:none;display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:0;padding:0}.social-logo,.social-logo:visited{background-color:#000;color:#bebebe;text-decoration:none;padding:0 4px;border-radius:5px;position:relative;display:inline-block}.social-logo:before{content:"";background-image:url(./images/logo-x.svg);background-repeat:no-repeat;background-size:contain;display:inline-block;width:16px;height:16px;vertical-align:middle;margin-right:4px;border-right:1px solid #bebebe;padding-right:4px;position:relative;bottom:1px}.social-logo.bluesky:before{background-image:url(./images/logo-bluesky.svg)}.social-logo:hover,.social-logo:focus-visible{box-shadow:1px 1px 0 1.5px #bebebe,-1px -1px 0 1.5px #bebebe}.credits p{margin:0 0 4px;padding:0;text-shadow:0 0 6px black}.button-base,.button-base:visited{--base-color: #8c8c8c;--light-color: #f3f3f3;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-transform:uppercase;cursor:pointer;color:#340c04;font-weight:700;padding:12px 24px;text-decoration:none;border:5px solid #340c04;border-bottom-width:8px;border-top-width:3px;border-radius:24px;background-color:var(--base-color);background-image:linear-gradient(0,var(--base-color) 5%,var(--light-color) 30%,var(--light-color) 80%,var(--base-color) 110%);box-shadow:0 5px 5px #000000b3;position:relative;white-space:nowrap}.button-base:hover,.button-base:focus-visible{box-shadow:0 3px 5px #000000b3;top:1px}.button-base svg{width:32px;height:32px;position:relative;left:-8px}.button-base--mini{scale:.8}@media screen and (max-width:1080px){.button-base{padding:8px}}.box{--color: #340c04cc;overflow:auto;overflow-x:hidden;scrollbar-width:thin;border-radius:27px;text-align:left;box-sizing:border-box;box-shadow:0 0 16px #000;background-image:url(./images/dirt.webp);background-color:#fff}.box-title{margin:0;background-color:var(--color);padding:16px 16px 28px;text-align:center;font-weight:700;color:#fff;background-image:linear-gradient(0,var(--color, transparent),var(--color, transparent)),url(./images/dots.jpg);background-repeat:repeat;background-position:center,center;position:sticky;top:0;z-index:2;-webkit-mask:linear-gradient(#fff calc(100% - 16px),transparent 0),url(./images/triangle.png?v1);mask:linear-gradient(#fff calc(100% - 16px),transparent 0),url(./images/triangle.png?v1);-webkit-mask-position:0 0,bottom;mask-position:0 0,bottom;-webkit-mask-repeat:no-repeat,repeat-x;mask-repeat:no-repeat,repeat-x;-webkit-mask-composite:source-over;mask-composite:add;mask-mode:luminance}.box:after{content:"";display:block;height:24px;background-color:var(--color);background-image:linear-gradient(0,var(--color, transparent),var(--color, transparent)),url(./images/dots.jpg);background-repeat:repeat;background-position:center;position:sticky;bottom:0;z-index:2}.box-content{padding:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}.box-content form{align-self:stretch}.modal-overlay{position:fixed;display:flex;justify-content:center;align-items:center;gap:8px;inset:0;padding:48px;background-color:#fffc;z-index:50000;opacity:0;animation:opacityFadeIn .3s cubic-bezier(.175,.885,.32,1.275) forwards}.modal-overlay.no-overlay{background-color:transparent}.modal-overlay.drawer{justify-content:flex-end;padding:0;align-items:stretch}.modal-overlay.modal-closed{display:none}@keyframes opacityFadeIn{0%{opacity:0}to{opacity:1}}.modal-box{animation:slideModalY .3s cubic-bezier(.175,.885,.32,1.275) forwards;opacity:0;transform:translateY(-100%)}.modal-box .box{max-height:95vh;min-width:350px}.modal-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;align-self:flex-end}.drawer .modal-box{border-radius:0;animation:slideModalX .3s ease-in forwards;width:50%;max-height:100vh}@media screen and (max-width:600px){.drawer .modal-box{width:100%}}.modal-box .modal-title{font-size:2rem;margin-bottom:0}@keyframes slideModalY{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideModalX{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.black-screen{position:fixed;inset:0;background:#000;z-index:9999}.black-screen--transition{-webkit-mask-image:linear-gradient(#fff 0 0),url(./images/bowser-mask.svg);mask-image:linear-gradient(#fff 0 0),url(./images/bowser-mask.svg);-webkit-mask-position:0 0,center;mask-position:0 0,center;-webkit-mask-repeat:no-repeat,no-repeat;mask-repeat:no-repeat,no-repeat;-webkit-mask-size:100%,0%;mask-size:100%,0%;-webkit-mask-composite:xor;mask-composite:exclude;transition:mask-size 1s cubic-bezier(1,.17,.83,.67);transition-delay:.5s}.black-screen--transition.black-screen--transition-complete{-webkit-mask-size:100%,600%;mask-size:100%,600%}.screen{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px}@media screen and (max-width:1080px){.screen{gap:8px}}.radio-button{display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none}.radio-button__input{position:absolute;opacity:0;width:0;height:0}.radio-button__label{--bp-x: left;--bp-y: bottom;display:block;width:64px;height:64px;background-image:url(./images/radio-button.png);background-size:128px 128px;background-position:var(--bp-x) var(--bp-y);background-repeat:no-repeat}.radio-button__input+.radio-button__label:hover,.radio-button__input:focus+.radio-button__label{--bp-y: top}.radio-button__input:checked+.radio-button__label{--bp-x: right;--bp-y: top;cursor:default}.number-radio-button .radio-button__value{--bp-x: 5px;--bp-y: 10px;display:block;color:transparent;width:45px;height:64px;background-image:url(./images/numbers.png);background-size:207px 42px;background-position:var(--bp-x) var(--bp-y);background-repeat:no-repeat;position:relative}.number-radio-button .radio-button__value--1{--bp-x: 5px;left:5px}.number-radio-button .radio-button__value--2{--bp-x: -37px;left:6px}.number-radio-button .radio-button__value--3{--bp-x: -81px;left:9px}.number-radio-button .radio-button__value--4{--bp-x: -122px;left:7px}.number-radio-button .radio-button__value--5{--bp-x: -164px;left:8px;top:2px}.number-radio-button .radio-button__label:hover .radio-button__value,.number-radio-button .radio-button__input:focus+.radio-button__label .radio-button__value,.number-radio-button .radio-button__input:checked+.radio-button__label .radio-button__value{--bp-y: 11px}.clue-field{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;margin:8px 0}.clue-field-word{text-transform:uppercase;border:3px solid #340c04;color:#340c04;font-weight:700;font-size:1.2rem;padding:16px 8px;border-top-left-radius:12px;border-top-right-radius:12px;text-align:center}.clue-number-container{position:relative;top:-11px;border:3px solid #340c04;background-color:#340c04cc;padding:4px 12px;border-radius:12px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px}.door-field{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}.door-field-label{display:none}.door-field-select{text-transform:uppercase;border:3px solid #340c04;color:#340c04;font-weight:700;font-size:1.2rem;padding:16px 8px;border-radius:12px;text-align:center;cursor:pointer}.form-buttons-container{display:flex;gap:24px;padding-top:24px;flex-direction:row;flex-wrap:wrap;justify-content:flex-end}@media screen and (max-width:1080px){.form-buttons-container{gap:4px}}.game-actions{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;position:sticky;top:0;bottom:32px;z-index:1}.game-actions.is-processing{display:none}.game-action{background-color:#fff;background-image:linear-gradient(0,#e3e3e3,#fff);border:3px solid currentColor;color:#222;border-radius:8px;cursor:pointer;font-weight:700;display:inline-flex;flex-direction:column;align-items:center;gap:4px;position:relative;box-shadow:0 4px 8px #00000080}.game-action:disabled{opacity:.5;cursor:not-allowed}.game-action:before{content:"";display:block;width:58px;height:59px;background-image:url(./images/icons.png?v=1)}.game-action.ask-clue:before{background-position:-58px 0}.game-action.give-clue:before{background-position:0 0}.game-action.open-door:before{background-position:-116px 0}.game-action.see-clues:before{background-position:-232px 0}.game-action:not(:disabled):hover,.game-action:not(:disabled):focus-visible{outline:3px solid #fff;bottom:1px}.game-actions-toadsworth-dialog{transition:transform 333ms ease-in-out;transform-origin:center bottom;position:sticky;top:0;border-radius:4px;bottom:32px;background-color:#fff;border:3px solid currentColor;display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-direction:row;width:720px;max-width:100%}.game-actions-toadsworth-dialog img{border:3px solid currentColor}.game-actions-toadsworth-dialog p{margin:0;padding:8px}.game-actions-clues-label{width:100%;text-align:left;font-weight:700}.game-actions-clues-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}@media screen and (max-width:1080px){.game-actions{gap:8px}.game-action{font-size:.6rem}.game-action:before{width:29px;height:30px;background-size:145px 59px}.game-action.ask-clue:before{background-position:-29px 0}.game-action.give-clue:before{background-position:0 0}.game-action.open-door:before{background-position:-58px 0}.game-action.see-clues:before{background-position:-116px 0}}.game-history{margin:0 0 0 32px;padding:0 0 0 28px;border-left:3px solid #000;list-style:none}.game-history-icon-container{display:inline-flex;vertical-align:middle;margin-right:8px;background:#e3e3e3;border:2px solid #c3c3c3;border-radius:50%;width:40px;height:40px;justify-content:center;align-items:center}.game-history-reveal-icon{display:inline-block;background-image:url(./images/history-icons.png);background-repeat:no-repeat;width:32px;height:32px;background-size:96px 32px}.game-history-reveal-icon--G{background-position:center}.game-history-reveal-icon--B{background-position:left}.game-history-reveal-icon--N{background-position:right}.game-history-action-icon{display:inline-block;background-image:url(./images/icons.png?v=1);background-repeat:no-repeat;width:29px;height:29px;background-size:145px 59px}.game-history-action-icon--user{background-position:0 -30px}.game-history-action-icon--ai{background-position:-29px -30px}.game-history-action-icon--open-door-user{background-position:-58px 0}.game-history-action-icon--open-door-ai{background-position:-58px -30px}.game-history>.game-history-row-action{position:relative;margin-top:24px;border:2px solid #000;padding:4px 8px;border-top-left-radius:8px;border-top-right-radius:8px;font-weight:700}.game-history>li{padding:8px;border-left:2px solid #000;border-right:2px solid #000;background-color:#fff}.game-history>.game-history-open-door-results{padding-left:32px}.game-history>.game-history-clue-container{text-align:center;padding:12px 0}.game-history>.game-history-thinking-label{font-style:italic;padding:0 24px}.game-history>.game-history-thinking-container{margin:0;padding:8px 12px 12px 24px}.game-history>.game-history-thinking-container blockquote{background-color:#f0f0f0;border-left:4px solid #c3c3c3;padding:16px 8px;margin:0}.game-history>.game-history-last-row{border-bottom:2px solid #000;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.game-history>.game-history-final-row{background-image:url(./images/dirt.webp)}.game-history>.game-history-final-row.WON{background-color:#50ff98}.game-history>.game-history-final-row.LOST-BAD-WORD{background-color:#000;color:#fff}.game-history>.game-history-final-row.LOST-TIMEOUT{background-color:#ffc059}.game-history-row-action:before{content:var(--index);position:absolute;color:#fff;left:-48px;top:14px;transform:translateY(-50%);width:32px;height:32px;background-color:#000;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;z-index:1}.game-history-row-action.game-history-final-row:before{top:19px}.game-history-row-action:after{content:"";width:32px;height:2px;background:#000;position:absolute;left:-32px;top:13px;z-index:0}.game-history-row-action.game-history-final-row:after{top:18px}@media screen and (max-width:1080px){.game-history{margin-left:0}}.end-game-modal{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:16px}.end-game-modal__history{flex:1;width:500px}.end-game-modal__actions{display:flex;flex-direction:column;gap:8px;align-items:center;position:sticky;top:116px;max-width:400px}.end-game-modal-history-actions{margin-top:16px;display:none;gap:8px;justify-content:flex-end}@media screen and (max-width:1080px){.end-game-modal{flex-direction:column}.end-game-modal__actions{position:static}.end-game-modal__history{flex:initial;width:auto}.end-game-modal-history-actions{display:flex}}.toads-counter,.toads-counter-toad{width:41px;height:24px;background-image:url(./images/toads.png);position:relative}.toads-counter-red{background-position:top left}.toads-counter-blue{background-position:top center}.toads-counter-red-blue{background-position:top right}.toads-counter-toad{position:absolute;left:0;right:0}.toads-counter-toad-1{background-position:bottom left;z-index:1}.toads-counter-toad-2{background-position:bottom center;z-index:2}.toads-counter-toad-3{background-position:bottom right;z-index:3}.toads-counters-container{display:flex;gap:8px;position:sticky;top:8px;z-index:1}.remaining-time{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;position:sticky;top:48px;z-index:1}.remaining-time-clock{transition:filter .3s ease}.remaining-time-spent-clock{filter:grayscale(1) brightness(.3)}@media screen and (max-width:1080px){.remaining-time{gap:0}.remaining-time-clock .clock-icon{width:33px;height:33px;background-position:-107px -4px;background-size:177px}}.lang-radio-button .radio-button__value{--bp-x: 0px;--bp-y: 10px;display:block;color:transparent;width:62px;height:64px;background-image:url(./images/langs.png);background-size:125px 40px;background-position:var(--bp-x) var(--bp-y);background-repeat:no-repeat;position:relative;transform:scale(.8);transform-origin:center}.lang-radio-button .radio-button__value--en{--bp-x: 0px}.lang-radio-button .radio-button__value--fr{--bp-x: -63px;left:1px}.lang-radio-button .radio-button__label:hover .radio-button__value,.lang-radio-button .radio-button__input:focus+.radio-button__label .radio-button__value,.lang-radio-button .radio-button__input:checked+.radio-button__label .radio-button__value{--bp-y: 12px}.difficulty-radio-button .radio-button__value{--bp-x: 0px;--bp-y: 0px;display:block;color:transparent;width:62px;height:64px;background-image:url(./images/radio-clocks.png);background-position:var(--bp-x) var(--bp-y);background-repeat:no-repeat;position:relative}.difficulty-radio-button .radio-button__value--easy{--bp-x: 0px}.difficulty-radio-button .radio-button__value--medium{--bp-x: -64px}.difficulty-radio-button .radio-button__value--hard{--bp-x: -128px}.difficulty-radio-button .radio-button__label:hover .radio-button__value,.difficulty-radio-button .radio-button__input:focus+.radio-button__label .radio-button__value,.difficulty-radio-button .radio-button__input:checked+.radio-button__label .radio-button__value{--bp-y: 1px}.logo{position:relative;z-index:10;display:flex;justify-content:center;align-items:center;transform-origin:center 63%;transition:transform 1s ease-in-out;transition-delay:333ms}.logo--open{transform:scale(30)}.logo>img{width:50vw;max-width:500px;min-width:200px;filter:drop-shadow(0px 4px 20px black)}.logo>.logo-castle-open-door{filter:none}.logo-text{position:absolute;top:25%;left:0;opacity:0;transform:translateY(100%);animation:slideFromTop .5s ease-in forwards;animation-delay:.5s;transition:opacity .3s ease-in}.logo-castle-open-door{position:absolute;left:0;top:0;display:none}.logo--open .logo-castle-open-door{display:inline}.logo--open .logo-text{opacity:0;transform:translateY(0);animation:none}@keyframes slideFromTop{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}.tutorial-content{width:50vw}.tutorial-content img{max-width:100%;max-height:400px;display:block;margin:auto}@media screen and (max-width:1080px){.tutorial-content{width:80vw}}
