
*{box-sizing:border-box}body{margin:0;color:#35332f;background:#fcfbf8 url("../interface/textures/96de6ae10a97.webp") repeat;font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:19px}button,input{font:inherit;color:inherit}button{cursor:pointer;background:transparent;border:1.5px solid #777;border-radius:5px 9px 6px 8px}button:hover{background:#e7eccd}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #1769a7;outline-offset:3px}main{max-width:1440px;margin:auto;padding:32px 4vw;display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:35px 45px;align-items:start;min-height:90vh}.daily{grid-column:1;grid-row:1/3}.date{font-size:clamp(22px,2.5vw,36px);color:#195b9a;border-bottom:3px solid #e6bb44;display:inline-block;transform:rotate(-2deg);margin:0 0 15px}.daily p{margin:13px 0;line-height:1.45}.daily p:before{content:'• ';color:#709c30}.brand{grid-column:2;grid-row:1;text-align:center}.brand img{width:min(100%,340px);mix-blend-mode:multiply;display:block;margin:auto}.slogan{font-size:19px;color:#526a30;white-space:nowrap;position:relative;display:inline-block;margin:0}.slogan span{display:block;clip-path:inset(0 0 0 0);animation:write 1.8s steps(36,end)}.slogan b{position:absolute;top:-9px;left:100%;animation:pencil 1.8s linear forwards;opacity:0}@keyframes write{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}@keyframes pencil{0%{left:0;opacity:1}90%{opacity:1}100%{left:100%;opacity:0}}.clock{grid-column:3;grid-row:1;justify-self:end;width:155px}.search{grid-column:2;grid-row:2;display:flex;border:3px solid #367db7;border-radius:27px 23px 29px 24px;box-shadow:1px 4px 0 #bad1e1;overflow:hidden;min-height:58px;background:#fffdf5}.search input{min-width:0;width:100%;border:0;background:transparent;padding:10px 18px;font-size:25px}.search button{border:0;border-left:1px solid #86aa45;border-radius:0;background:#e1edba;padding:0 17px;font-size:27px}.game{grid-column:3;grid-row:2/4;justify-self:center;max-width:240px;width:100%;text-align:center;transform:rotate(2deg)}h2{font-size:21px;font-weight:normal;margin:0 0 12px}.game h2{display:flex;align-items:center;justify-content:center;gap:12px}.game svg{width:100px;height:100px}.letters{display:flex;flex-wrap:wrap;gap:3px;justify-content:center}.letters button{font-size:15px;min-width:24px;min-height:27px}.word{letter-spacing:5px;font-size:24px;margin:5px 0}.status{font-size:16px;min-height:25px}.post{grid-column:1;grid-row:3/5;max-width:260px;justify-self:center;background:repeating-linear-gradient(125deg,#f8e7a3 0px,#fdf0bb 2px,#f9edb0 4px);border:2px solid #d7a832;box-shadow:-5px 5px 0 #e9c3a2;transform:rotate(-5deg);padding:22px 18px;position:relative;margin-top:16px}.post:before{content:'';position:absolute;width:72px;height:22px;background:#e99888;top:-13px;left:35%;transform:rotate(3deg);opacity:.8}.post h2{border-bottom:2px solid #d27550;display:inline-block}.post :is(label,.bc-deal-task){display:flex;gap:8px;align-items:start;margin:10px 0;font-size:18px}.post input{accent-color:#689143;width:18px;height:18px;flex:none}.post a{color:#3d6127}.calculator{grid-column:2;grid-row:3/5;justify-self:center;width:220px;padding:16px;border:3px solid #3979aa;background:repeating-linear-gradient(135deg,#d3e6f5,#e7f1f9 3px,#cce2f2 5px);box-shadow:3px 4px 0 #96b7d0;border-radius:15px 20px 14px 18px;transform:rotate(7deg);margin-top:20px}.display{background:#e1efb1;border:2px solid #729b4d;border-radius:5px 8px;padding:8px;text-align:right;min-height:48px;overflow-wrap:anywhere;font-size:25px}.keys{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}.keys button{min-height:34px;background:#ffedb7;border-color:#b48a40}.keys button.op{background:#d9e8ac;border-color:#6f9c4c}.keys button.eq{background:#f2b4a5}.challenge{grid-column:3;grid-row:4;text-align:center;justify-self:center;width:100%;max-width:250px}.challenge h2{display:inline-block;border:2px solid #8db65d;border-radius:40% 35% 36% 29%;padding:10px 15px}.challenge form{display:flex;justify-content:center;gap:6px}.challenge input{width:90px;border:0;border-bottom:2px solid #6b9f45;background:transparent;text-align:center}.ttt{display:grid;grid-template-columns:repeat(3,46px);justify-content:center;margin:12px auto}.ttt button{height:46px;border:1px solid #777;border-radius:0;font-size:25px}.muted{font-size:14px;color:#666}footer{text-align:center;padding:15px;font-size:14px;color:#666}footer button{font-size:14px} @media(max-width:900px){main{gap:25px 20px;padding:24px 20px}.slogan{white-space:normal}.daily{font-size:17px}.calculator{width:190px}.clock{width:115px}}@media(max-width:650px){main{display:flex;flex-direction:column;align-items:center;gap:28px}.brand{order:0;width:100%}.search{order:1;width:100%}.daily{order:2;width:100%}.clock{order:3;align-self:center}.game{order:4}.post{order:5}.calculator{order:6}.challenge{order:7}.post,.calculator,.game{transform:none}.brand img{max-width:245px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}.slogan b{display:none}}

body{font-family:'Apple Chancery','Segoe Script','Bradley Hand',cursive;font-weight:400;font-size:18px}button,input{font-weight:400} .date{font-weight:400}.daily p{line-height:1.35}.daily p:nth-child(2):before{color:#ca5540}.daily p:nth-child(3):before{color:#dbac31}
.post,.calculator,.search,.keys button,.display,.search button{background-image:url("../interface/textures/c80f7e8b92a8.webp");background-blend-mode:multiply}.post{background-color:#fae8a0;border-radius:2px 5px 3px 6px;box-shadow:-3px 3px 0 #e9c3a2, inset 0 0 7px #e2bd58}.calculator{background-color:#d8e9f7;box-shadow:2px 3px 0 #96b7d0,inset 0 0 8px #a8c6de}.search{background-color:#fffdf5;box-shadow:1px 3px 0 #bad1e1,inset 0 0 4px #a8c6de}.keys button{background-image:url("../interface/textures/c80f7e8b92a8.webp");border-radius:4px 7px 5px 8px}.display{background-color:#e1efb1}.search button{background-color:#e1edba}.clock circle:first-child{filter:url(#rough)}.game svg g{filter:url(#rough)}.challenge h2{border-radius:45% 36% 42% 32%;font-weight:400}.game button:disabled{opacity:.4}.right{display:contents}.status{margin:4px 0}.word{white-space:nowrap}.letters button{padding:0 3px}.slogan{font-size:clamp(14px,1.4vw,18px)}
@media(min-width: 850px){
main{height:calc(100vh - 26px);height:calc(100dvh - 26px);min-height:0;max-width:1600px;padding:clamp(10px,2.6vh,25px) 4vw;grid-template-columns:1fr 1.4fr 1fr;grid-template-rows: minmax(0,34fr) minmax(0,12fr) minmax(0,54fr);gap:clamp(8px,2vh,20px) 3vw;align-items:center}.daily{grid-row:1/3;align-self:start}.date{font-size:clamp(20px,3.5vh,30px);margin-bottom:5px}.daily p{font-size:clamp(15px,2.85vh,21px);margin:clamp(5px,1.4vh,12px) 0}.brand{align-self:start}.brand img{height:clamp(92px,25vh,235px);width:auto;max-width:100%;object-fit:contain}.clock{width:clamp(70px,19vh,145px);align-self:start}.search{min-height:0;height:clamp(36px,7.2vh,60px)}.search input{font-size:clamp(18px,3.3vh,25px);padding:4px 14px}.search button{font-size:24px}.post,.calculator{grid-row:3;margin-top:0;align-self:center}.post{width:clamp(150px,30vh,255px);padding:clamp(8px,2vh,18px);max-width:100%}.post :is(label,.bc-deal-task){font-size:clamp(12px,2.35vh,17px);margin:clamp(3px,0.9vh,8px) 0;gap:5px}.post input{width:14px;height:14px;margin:3px 0}.post h2,.game h2,.challenge h2{font-size:clamp(14px,2.5vh,20px);margin-bottom:4px}.post small,.muted{font-size:clamp(10px,1.9vh,14px)}.post .muted{margin:5px 0}.calculator{width:clamp(130px,29vh,220px);padding:clamp(7px,1.6vh,14px)}.display{min-height:0;font-size:clamp(15px,3vh,23px);padding:3px 6px}.keys{gap:clamp(2px,.65vh,5px);margin-top:6px}.keys button{min-height:clamp(20px,4.1vh,32px);font-size:clamp(12px,2.3vh,18px);padding:0}.right{display:flex;flex-direction:column;justify-content:space-between;gap:clamp(10px,3vh,28px);grid-column:3;grid-row:2/4;align-self:stretch;min-height:0;align-items:center}.game,.challenge{flex:none;transform:none;max-width:230px}.game svg{width:clamp(40px,11vh,86px);height:clamp(40px,11vh,86px);display:block;margin:auto}.word{font-size:clamp(15px,2.7vh,22px);margin:2px 0;letter-spacing:3px}.letters{display:grid;grid-template-columns:repeat(9,1fr);gap:2px}.letters button{min-width:0;min-height:clamp(17px,3vh,23px);font-size:clamp(11px,2vh,15px)}.game #restart,.challenge button{font-size:clamp(11px,2vh,15px);padding:0 5px}.status{min-height:0;font-size:clamp(10px,1.8vh,14px);margin:2px 0}.status:empty{display:none}.challenge h2{padding:4px 8px}.challenge p{margin:4px 0 8px;font-size:clamp(13px,2.4vh,19px)}.challenge input{width:65px}.ttt{grid-template-columns:repeat(3,clamp(25px,5vh,42px));margin:4px auto}.ttt button{height:clamp(25px,5vh,42px)}footer{height:26px;padding:3px;font-size:11px}
}
@media(min-width:850px) and (max-height:480px){main{height:auto;min-height:540px}.right{gap:12px}}
@media(max-width:849px){.right{display:contents}}@media(min-width:651px) and (max-width:849px){.game{grid-row:2/4}.challenge{grid-row:4}}

.crayon-word{display:inline-block;white-space:nowrap;vertical-align:middle;line-height:1;letter-spacing:0}.crayon-word svg{display:block;overflow:visible;height:1.35em;max-width:none}.crayon-original{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.crayon-visual{display:inline;line-height:1.25}.crayon-entry{position:relative;min-width:0;overflow:hidden;flex:1;height:100%;min-height:30px}.crayon-entry input{position:absolute;inset:0;z-index:2;width:100%!important;height:100%;border:0!important;background:transparent;color:transparent;caret-color:transparent;font:inherit;padding:0 12px!important;text-align:left}.crayon-entry input::placeholder{color:transparent}.crayon-entry input::selection{background:transparent;color:transparent}.crayon-entry .ink{position:absolute;left:12px;right:12px;top:50%;transform:translateY(-50%);white-space:pre;overflow:hidden;pointer-events:none;z-index:1;font-size:clamp(18px,3.3vh,25px);line-height:1.35}.crayon-caret{position:absolute;top:22%;height:56%;width:2px;background:#275b9f;border-radius:1px;pointer-events:none;z-index:3;display:none}.crayon-entry:focus-within .crayon-caret.active{display:block;animation:bcblink 1.05s step-end infinite}.crayon-selection{position:absolute;top:19%;height:62%;background:#a6c8ec66;pointer-events:none;z-index:1;display:none}@keyframes bcblink{0%,48%{opacity:1}49%,100%{opacity:0}}.search:focus-within{outline:none}.search input:focus{outline:none}.search button:focus-visible{outline:2px solid #1769a7;outline-offset:-6px;border-radius:12px}.challenge .crayon-entry{height:32px;max-width:85px;border-bottom:2px solid #6b9f45;flex:1}.challenge .ink{font-size:17px;left:4px;right:4px}.daily p{line-height:1.35}.post :is(label,.bc-deal-task)>span{min-width:0}.post .crayon-word svg{height:1.25em}.date .crayon-word svg{height:1.3em}.slogan .crayon-visual{display:inline}.slogan .crayon-original{display:inline}.challenge h2 .crayon-word svg{height:1.2em}@media(max-width:650px){.search .crayon-entry{min-height:48px}}@media(prefers-reduced-motion:reduce){.crayon-caret{animation:none!important}}

/* v0.5 : artwork is used once, never tiled; data and controls remain real HTML. */
main{position:relative} .brand>img{height:auto;max-width:100%;width:min(100%,330px);mix-blend-mode:normal}.brand .slogan{width:min(100%,350px);height:auto;display:block;margin:5px auto 0;overflow:visible}.brand .slogan-art{display:block;width:100%;height:auto;max-width:none;animation:write 1.8s linear both;mix-blend-mode:normal}.brand .writing-pencil{position:absolute;width:clamp(24px,5vh,42px);height:auto;max-width:none;top:auto;bottom:3%;left:100%;animation:pencil 1.8s linear both;transform:translate(0,-4px);pointer-events:none}.slogan .crayon-original{display:block;position:absolute}.clock circle:first-child{filter:none}.clock{aspect-ratio:1;width:145px}.date{border:0;position:relative;padding-bottom:9px}.date:after{content:'';position:absolute;left:0;right:0;bottom:0;height:10px;background:url("../interface/textures/b4b25b6ddfa1.webp") center/100% 100% no-repeat}.daily p{position:relative;padding-left:19px}.daily p:before{content:'';position:absolute;left:0;top:.4em;width:13px;height:13px;background:url("../interface/textures/a75b4df4f52e.webp") center/contain no-repeat}.daily p:nth-child(2):before{background-image:url("../interface/textures/43fc21f5ce88.webp")}.daily p:nth-child(3):before{background-image:url("../interface/textures/cbf8b264eb91.webp")}.search{position:relative;display:flex;border:0!important;border-radius:0;box-shadow:none;background:transparent url("../interface/textures/64aa80533588.webp") center/100% 100% no-repeat;min-height:0;height:auto;aspect-ratio:576/104;overflow:visible;padding:2% 1.5% 3% 3%}.search .crayon-entry{min-height:0;flex:1;height:100%}.search button{width:16%;padding:0;border:0;flex:none;background:transparent;color:transparent;box-shadow:none}.search button:hover{background:#7eb72a15}.search .ink{left:8px;right:5px;font-size:clamp(17px,2.7vh,24px)}.post{background:transparent url("../interface/textures/fbf953ac6390.webp") center/100% 100% no-repeat;aspect-ratio:490/620;width:250px;padding:0;border:0;box-shadow:none;max-width:100%;transform:rotate(-6deg);position:relative}.post:before{display:none}.post h2{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;border:0;padding:0;margin:0}.post #tasks{position:absolute;left:10%;right:9%;top:34%;bottom:15%;display:flex;flex-direction:column;justify-content:space-evenly}.post :is(label,.bc-deal-task){margin:0;align-items:center;gap:5px;line-height:1.1;font-size:clamp(12px,2.25vh,17px)}.post :is(label,.bc-deal-task) input{flex:none;width:14px;height:14px;appearance:none;border:1.6px solid #655a43;border-radius:1px 3px 2px 1px;background:#fffae4;transform:rotate(-3deg);margin:0}.post :is(label,.bc-deal-task) input:checked:after{content:'✓';color:#528a31;font:bold 15px/12px sans-serif;display:block}.post .muted{margin:0;line-height:1.05;font-size:clamp(10px,1.6vh,13px)}.post small{display:none}.calculator{position:relative;aspect-ratio:462/543;width:240px;padding:0;border:0;box-shadow:none;background:transparent url("../interface/textures/843bacf07708.webp") center/100% 100% no-repeat;transform:none;border-radius:0}.calculator .display{position:absolute;left:24%;top:11%;width:61%;height:14%;padding:0 2%;border:0;background:none;box-shadow:none;min-height:0;display:flex;align-items:center;justify-content:flex-end;font-size:clamp(14px,3vh,23px);overflow:hidden;white-space:nowrap;transform:rotate(-2deg)}.calculator .keys{display:block;position:absolute;inset:0;margin:0}.calculator .keys button{position:absolute;width:16%;height:12%;min-height:0;transform:translate(-50%,-50%);background:transparent!important;border:0;color:transparent;padding:0;border-radius:18%}.calculator .keys button:hover,.calculator .keys button:active{background:#ffffff50!important;box-shadow:0 0 0 1px #5555}.calculator .keys .clear-key{color:#554b3b;background:#fdf7e4!important;border:1px solid #9d8554;left:91%;top:99%;width:12%;height:9%;font-size:13px}.game h2{gap:8px;margin:0 auto 3px;justify-content:center}.game #gameTitle{display:block}.game #gameTitle.pendu-title{background:url("../interface/textures/9706de1f61a2.webp") center/contain no-repeat;aspect-ratio:456/154;width:70%;color:transparent;font-size:0}.game #switch{flex:none;display:inline-grid;place-items:center;width:27px;height:30px;border:0;padding:0;border-radius:0;background:transparent;box-shadow:none;color:#29649d;line-height:1;font-size:19px;transform:rotate(-2deg)}
.game #switch .bc-switch-arrow{width:19px;height:19px;max-width:100%;margin:0;display:block;overflow:visible;pointer-events:none}
.game #switch:hover{opacity:1;background:transparent;transform:rotate(0deg)}
.game #switch:active{transform:scale(.95)}.game .hang-art{display:block;width:auto;max-width:100%;height:clamp(65px,15vh,120px);object-fit:contain;margin:auto}.game .letters button{border:1px solid #827b70;border-radius:4px 6px 4px 7px;background:#fffdf7;box-shadow:0 1px #b3ada4}.game .letters button:disabled{opacity:.4}.challenge h2{background:url("../interface/textures/33f058e76a74.webp") center/contain no-repeat;width:min(100%,155px);aspect-ratio:455/225;font-size:0;color:transparent;border:0;padding:0;margin:0}.challenge h2 .crayon-visual{display:none}.challenge .crayon-entry{border:0;background:url("../interface/textures/cb03081b661c.webp") bottom center/100% 6px no-repeat}.challenge p{margin:0 0 4px}.challenge .status{margin-top:3px}.season-doodle{position:absolute;object-fit:contain;width:clamp(48px,10vh,85px);height:clamp(48px,10vh,85px);pointer-events:none}.doodle-0{left:31%;bottom:1.2%}.doodle-1{right:26%;bottom:1.2%}.slogan .crayon-original{clip-path:inset(50%);overflow:hidden}.game .word{margin:2px 0}.game .status:not(:empty){min-height:14px}.game #restart{margin:3px auto 0}
@media(min-width:850px) and (min-height:481px){main{grid-template-rows:minmax(0,34fr) minmax(0,12fr) minmax(0,54fr);gap:clamp(6px,1.8vh,17px) 3vw;padding:clamp(10px,2.1vh,23px) 4vw}.brand>img{height:clamp(90px,23vh,210px);width:auto;object-fit:contain}.brand .slogan{width:min(100%,330px)}.clock{width:clamp(75px,19vh,150px)}.search{height:clamp(42px,9vh,70px);width:100%;padding:1.5% 1.5% 2.5% 3%}.post{width:clamp(160px,34vh,265px);align-self:center}.calculator{width:clamp(145px,31vh,245px);align-self:center}.right{gap:clamp(12px,3vh,25px);justify-content:space-between}.game,.challenge{max-width:255px}.game .hang-art{height:clamp(54px,13vh,103px)}.game #gameTitle.pendu-title{width:clamp(100px,21vh,150px)}.challenge h2{width:clamp(100px,20vh,145px)}.challenge form .crayon-entry{height:26px}.challenge p{font-size:clamp(13px,2.5vh,19px);margin:1px 0 3px}.challenge .status{font-size:12px}.post :is(label,.bc-deal-task){font-size:clamp(11px,2.15vh,16px)}.post .muted{font-size:clamp(9px,1.7vh,13px)}}
@media(max-width:849px){.brand>img{max-width:260px}.search{width:100%;min-height:45px}.post,.calculator{margin-top:0}.right{display:contents}.season-doodle{position:static;display:inline-block;margin:0 10px}#seasonDecor{text-align:center;grid-column:1/-1}.game,.challenge{max-width:270px}.post :is(label,.bc-deal-task){font-size:16px}.post .muted{font-size:13px}.game .hang-art{height:105px}}
@media(max-width:650px){main{display:flex;gap:25px;padding:20px}.post{transform:rotate(-4deg)}.brand .slogan{width:min(100%,320px)}.search{max-width:500px}#seasonDecor{order:8}.calculator .display{font-size:25px}.daily p{font-size:17px}.challenge h2{width:155px}.game .hang-art{height:115px}.letters button{min-height:32px;min-width:29px}.search .crayon-entry{min-height:30px}}
@media(prefers-reduced-motion:reduce){.brand .writing-pencil{display:none}.brand .slogan-art{animation:none}}
.date:after{height:9px}.brand .slogan-art{object-fit:contain}.game .letters button{font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive}.calculator .keys .clear-key{left:88%;top:96%;width:9%;height:7%;font-size:11px}.challenge button,.game #restart{font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive}.calculator .display{font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive}.post :is(label,.bc-deal-task) .crayon-visual{line-height:1.13}
@media(min-width:850px) and (min-height:481px){.search{width:min(100%,515px);justify-self:center;height:clamp(48px,9vh,76px)}.game #gameTitle.pendu-title{width:clamp(115px,22vh,165px)}.game .hang-art{height:clamp(52px,12.5vh,100px)}.challenge h2{width:clamp(98px,19vh,138px)}}


/* v0.5.1 refinements */
.letters button{
  border:2px solid rgba(66,66,66,.45)!important;border-radius:8px!important;
  box-shadow:1px 2px 0 rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.35)!important;
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.25),rgba(255,255,255,.25) 2px,transparent 2px,transparent 6px)!important;
  font-weight:700!important; transform:rotate(calc((var(--r,0))*1deg));
}
.letters button:nth-child(5n+1){background-color:#f5e39a!important;color:#915b12!important}
.letters button:nth-child(5n+2){background-color:#cfe8ff!important;color:#2a62a7!important}
.letters button:nth-child(5n+3){background-color:#e7d5ff!important;color:#6e4ba9!important}
.letters button:nth-child(5n+4){background-color:#ffd4d0!important;color:#b44a3f!important}
.letters button:nth-child(5n){background-color:#d9efb7!important;color:#5d8a2e!important}
.letters button:disabled{opacity:.52!important;filter:saturate(.65)}
.letters button:nth-child(odd){--r:-1}.letters button:nth-child(even){--r:1}

.ttt{gap:8px!important}
.ttt button{
  border:3px solid #7f7f7f!important; border-radius:10px!important;
  background:#fffdf7!important;
  background-image:repeating-linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,.32) 2px, transparent 2px, transparent 6px)!important;
  box-shadow:2px 3px 0 rgba(0,0,0,.15)!important;
  font-family:'Apple Chancery','Segoe Script','Bradley Hand',cursive!important;
  font-size:30px!important; font-weight:700!important; line-height:1!important;
}
.ttt button[data-v="X"]{color:#d0584a!important;border-color:#d58b7f!important}
.ttt button[data-v="O"]{color:#3f75b3!important;border-color:#8fb2de!important}
.ttt button:not([data-v]), .ttt button[data-v=""]{color:#7c7b75!important}
.ttt button:disabled{background:#fcfbf8!important;opacity:1}

.game h2, .challenge h2{position:relative}
.ink-heading{display:inline-block;vertical-align:middle}
.ink-heading .crayon-word svg{height:1.35em;width:auto}
.game h2 .ink-heading{margin-right:8px}
.challenge h2 .ink-heading{margin-right:2px}
#gameTitle{display:inline-flex;align-items:center;min-height:1.4em}
#gameTitle .ink-heading{display:inline-flex}
#feedback{display:flex;align-items:center;justify-content:center;gap:8px;min-height:29px}
#feedback .calc-mark{font-size:24px;font-weight:700;line-height:1}
#feedback .calc-mark.good{color:#4f8d32}
#feedback .calc-mark.bad{color:#c64a42}
#feedback.good{color:#456f2d}
#feedback.bad{color:#8d3d36}

#clock #hour{stroke:#2e5c9a!important;stroke-width:6!important;stroke-linecap:round;stroke-linejoin:round}
#clock #minute{stroke:#446a2a!important;stroke-width:4.5!important;stroke-linecap:round;stroke-linejoin:round}
#clock #second{stroke:#d7574c!important;stroke-width:3!important;stroke-linecap:round;stroke-linejoin:round;opacity:.92}

.bc-confetti{
  position:fixed;top:-20px;width:10px;height:16px;pointer-events:none;z-index:9999;
  opacity:.95;border-radius:2px;
  background:var(--c,#f6d878);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);
}
@keyframes bc-fall{
  0%{transform:translate3d(0,0,0) rotate(0deg)}
  100%{transform:translate3d(var(--dx,0px),110vh,0) rotate(var(--rot,360deg))}
}


/* v0.5.2 : no observers, compact textured graphics */
.game #gameTitle,.game #gameTitle.pendu-title{background:none;aspect-ratio:auto;width:auto;color:#45413b;font-size:clamp(14px,2.6vh,20px);min-height:0;display:inline-block;line-height:1.1}
.game #gameTitle .crayon-word svg{width:auto;height:1.25em;max-width:none;display:block}
.game #gameTitle .crayon-visual{display:inline}
.challenge h2{background:#f8faeaaa;border:1.5px solid #91b45e;border-radius:35% 28% 32% 25% / 28% 30% 28% 33%;aspect-ratio:auto;width:auto;max-width:100%;padding:4px 8px;color:#45413b;font-size:clamp(12px,2.35vh,18px);line-height:1.1}
.challenge h2 .crayon-visual{display:inline}.challenge h2 .crayon-word svg{height:1.2em}
#feedback{min-height:0;gap:5px}#feedback:empty{display:none}#feedback .calc-mark{width:1.15em;height:1.15em;flex:none;display:inline-block;overflow:visible}
.ttt{gap:3px!important}.ttt button{border-width:1.5px!important;box-shadow:none!important;padding:0;display:grid;place-items:center}.ttt button svg{width:70%;height:70%;overflow:visible}.game .letters button{border-width:1.5px!important;box-shadow:none!important;padding:0 2px}.game .letters button svg{height:1em;width:auto;display:inline-block;vertical-align:middle}
.bc-confetti{background-image:repeating-linear-gradient(128deg,#fff5 0px,#fff5 1px,transparent 1px,transparent 3px);width:8px;height:12px}


/* v0.5.3 — graphite keyboard, uppercase word and direct answer */
.game .letters button{border:0!important;border-radius:5px 7px 6px 5px!important;background-image:url("../interface/textures/fd38febd25bc.png"),url("../interface/textures/250f94084d71.png")!important;background-position:center,center!important;background-size:100% 100%,42px 42px!important;background-repeat:no-repeat,repeat!important;box-shadow:none!important;display:grid;place-items:center;padding:1px 2px!important}
.game .letters button svg{height:1.28em;width:auto;max-width:100%;display:block;overflow:visible}
.game .letters button:disabled{opacity:.48!important}
.game .word{display:flex;align-items:flex-end;justify-content:center;gap:3px;letter-spacing:0;min-height:1.45em;line-height:1;margin:2px 0;color:#36332e}
.game .word .word-cell{width:1.02em;height:1.43em;display:inline-flex;align-items:center;justify-content:center;flex:none;position:relative}
.game .word .word-cell svg{height:1.43em;width:100%;overflow:visible;display:block}
.game .word .word-cell .word-line{width:75%;height:2px;position:absolute;bottom:.14em;left:12%;background:#51483f;clip-path:polygon(0 26%,30% 7%,75% 30%,100% 0,100% 75%,62% 95%,24% 78%,0 100%);opacity:.82}
#feedback{display:flex!important;align-items:center;justify-content:center;min-height:1.55em;margin:3px 0 0!important;font-size:clamp(11px,1.9vh,15px)!important;line-height:1.2}
#feedback:empty{visibility:hidden}
#feedback .calc-mark{height:1.35em;width:1.35em;flex:none}
#answerForm button{position:relative;z-index:3;touch-action:manipulation}


/* v0.5.4 — crayon colors and compact result */
.game .word .word-cell{width:1.05em;height:1.55em}
.game .word .word-cell svg{height:1.55em;width:100%}
.game .word .word-cell svg g path:first-child,.game .letters button svg g path:first-child{stroke-width:3.1;opacity:1}
.game .word .word-cell svg g path:not(:first-child),.game .letters button svg g path:not(:first-child){stroke-width:1.15;opacity:.6}
.game .letters button svg{height:1.55em;width:auto;max-width:100%;max-height:100%;overflow:visible}
.game .letters button:disabled{opacity:.7!important;filter:none!important}
.game .letters button:nth-child(5n+1),.game .word-cell:nth-child(5n+1){color:#9a551b!important}
.game .letters button:nth-child(5n+2),.game .word-cell:nth-child(5n+2){color:#2162a8!important}
.game .letters button:nth-child(5n+3),.game .word-cell:nth-child(5n+3){color:#7a43aa!important}
.game .letters button:nth-child(5n+4),.game .word-cell:nth-child(5n+4){color:#b93236!important}
.game .letters button:nth-child(5n),.game .word-cell:nth-child(5n){color:#437b28!important}
#feedback{min-height:1.65em;justify-content:center!important}
#feedback.good{color:#438326!important}#feedback.bad{color:#c53935!important}
#feedback .calc-mark{width:1.6em;height:1.6em;display:block;overflow:visible}


/* v0.5.5 — morpion au crayon et correction à gauche */
.game .ttt{position:relative;display:grid;grid-template-columns:repeat(3,clamp(28px,5.7vh,45px));grid-template-rows:repeat(3,clamp(28px,5.7vh,45px));gap:0!important;width:max-content;margin:5px auto 6px;isolation:isolate}
.game .ttt .ttt-grid-art{position:absolute;inset:0;width:100%;height:100%;margin:0;pointer-events:none;z-index:0;overflow:visible}
.game .ttt button,.game .ttt button:disabled{position:relative;z-index:1;width:100%;height:100%;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0;opacity:1;display:grid;place-items:center}
.game .ttt button:not(:disabled):hover{background:#b5ac7c13!important}
.game .ttt button svg{width:75%;height:75%;margin:0;overflow:visible}
.game .ttt svg g{filter:none}
#gameStatus .tic-result{display:inline-block;line-height:1;white-space:nowrap;font-size:clamp(13px,2.4vh,19px)}
#gameStatus .tic-result.win{color:#438326}#gameStatus .tic-result.loss{color:#c53935}#gameStatus .tic-result.draw{color:#686663}
#gameStatus .tic-result svg{width:auto;height:1.4em;margin:0;overflow:visible}
#gameStatus .tic-result svg g{filter:none}#gameStatus .tic-result svg g path:first-child{stroke-width:2.8;opacity:1}
#answerForm{align-items:center;position:relative;gap:6px}
#answerForm #feedback{flex:0 0 1.7em;width:1.7em;height:1.7em;min-height:0;align-self:center;margin:0!important;justify-content:center!important;pointer-events:none;line-height:1}
#answerForm #feedback .calc-mark{width:1.6em;height:1.6em}
@media(max-width:650px){.game .ttt{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px)}}


/* v0.6.3 — pigment raster reveal, independently textured cloud frames */
.brand .slogan{position:relative;overflow:visible;aspect-ratio:565/53}
.brand .slogan-art{animation:none!important;clip-path:none!important;display:block;width:100%;height:auto}
.brand .slogan.is-writing .slogan-art{visibility:hidden}
.brand .slogan .crayon-original{animation:none!important;clip-path:inset(50%)!important}
.brand .slogan .slogan-trace{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible;pointer-events:none}
.brand .slogan .writing-pencil{animation:none!important;display:none!important}
.brand .slogan.is-writing .writing-pencil{display:block!important;position:absolute;top:0;left:0;bottom:auto;width:clamp(48px,9vh,70px);max-width:none;height:auto;transform:translate(0,-99%);pointer-events:none;z-index:3}
.game h2,.challenge h2{background:none!important;border:0!important;box-shadow:none!important;aspect-ratio:auto!important;position:relative;isolation:isolate;z-index:0;display:inline-flex;align-items:center;justify-content:center;padding:8px 15px!important;margin:0 auto 4px;max-width:100%}
.game h2{gap:7px}
.game #gameTitle,.game #gameTitle.pendu-title{background:none!important;border:0!important}
.game h2::before,.challenge h2::before{content:'';position:absolute;inset:-4px -6px;z-index:-1;pointer-events:none;background-position:center;background-repeat:no-repeat;background-size:100% 100%}
.game h2::before{background-image:url("../interface/textures/3a40836c9ffc.webp")}
.challenge h2::before{background-image:url("../interface/textures/65abb182f846.webp")}
@media(prefers-reduced-motion:reduce){.brand .slogan.is-writing .writing-pencil{display:none!important}}


/* SEO / accessibility: no changes to game layout */
footer a{color:inherit;text-decoration:underline;text-underline-offset:2px}footer a:focus-visible{outline:2px solid #1769a7} @media(max-width:650px){footer{height:auto;line-height:1.4}}

/* v0.7 — pigment du crayon, sans modification des formes des lettres */
.game .word .word-cell svg.bc-pencil-glyph g path:first-child,.game .letters button svg.bc-pencil-glyph g path:first-child{stroke-width:3.55;opacity:.95}
.game .word .word-cell svg.bc-pencil-glyph g path:nth-child(2),.game .letters button svg.bc-pencil-glyph g path:nth-child(2){stroke-width:4.3;opacity:.23}
.game .word .word-cell svg.bc-pencil-glyph g path:nth-child(3),.game .letters button svg.bc-pencil-glyph g path:nth-child(3){stroke-width:1.6;opacity:.62}
#restart .crayon-word svg,#answerForm button .crayon-word svg{height:1.12em;width:auto;display:block;overflow:visible}
#restart,#answerForm button{white-space:nowrap}
#display .crayon-word svg{height:1.2em;width:auto;max-width:none}
#display .crayon-visual{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;vertical-align:middle}
#gameStatus .crayon-word svg{height:1.25em;width:auto;display:block}

/* v0.7.1 — readability, initial slogan guard, integrated clear key */
html.bc-slogan-pending .brand .slogan-art{visibility:hidden!important}
.daily p .crayon-word svg{height:1.46em;width:auto}
.post :is(label,.bc-deal-task) .crayon-word svg{height:1.35em;width:auto}
.post small .crayon-word svg,.post .muted .crayon-word svg{height:1.44em;width:auto}
.game #gameTitle .crayon-word svg{height:1.35em;width:auto}
.challenge h2 .crayon-word svg{height:1.3em;width:auto}
#problem .crayon-word svg{height:1.46em;width:auto}
.crayon-entry .ink .crayon-word svg{height:1.46em;width:auto}
.date .crayon-word svg{height:1.4em;width:auto}
#restart .crayon-word svg,#answerForm button .crayon-word svg{height:1.21em;width:auto}
.calculator{aspect-ratio:462/587}
.calculator .display{top:10.2%;height:12.95%}
.calculator .keys .clear-key{left:79.98%;top:32.96%;width:16.88%;height:8.35%;background:transparent!important;border:0!important;border-radius:18%;color:#5d4640;font-size:clamp(13px,2.5vh,20px);display:grid;place-items:center;box-shadow:none;}
.calculator .keys .clear-key .crayon-word svg{width:auto;height:1.12em;display:block;overflow:visible}
.calculator .keys .clear-key:hover,.calculator .keys .clear-key:active{background:#ffffff50!important;box-shadow:0 0 0 1px #5555}
.calculator .keys button:not(.clear-key){height:11.1%}

/* v0.7.3 — crayon au premier plan, espace pour une future activité */
.brand{position:relative;isolation:isolate;z-index:2}
.brand>img{position:relative;z-index:0}
.brand .slogan{z-index:1;isolation:isolate}
.brand .slogan.is-writing .writing-pencil{mix-blend-mode:normal!important;opacity:1!important;z-index:4}
@media(min-width:850px) and (min-height:481px){
  .post{width:clamp(148px,31.3vh,244px);transform:translate(clamp(-24px,-1.5vw,-12px),clamp(-60px,-7.8vh,-26px)) rotate(-6deg)}
  .calculator{width:clamp(132px,27.5vh,218px)}
}
@media(max-width:849px){
  .calculator{width:min(220px,100%)}
}

/* v0.7.5 — seasonal artwork, independent of the functional layout. */
#seasonDecor{pointer-events:none}
.season-doodle{mix-blend-mode:multiply;object-fit:contain;pointer-events:none;display:block}
@media(min-width:850px){
 #seasonDecor{position:absolute;inset:0;z-index:0;grid-column:auto;grid-row:auto}
 #seasonDecor .season-doodle{position:absolute;margin:0}
}
@media(max-width:849px){
 #seasonDecor{display:flex;align-items:center;justify-content:center;gap:clamp(12px,3vw,30px);width:100%;min-height:64px;grid-column:1/-1}
 #seasonDecor .season-doodle{position:static;display:block;margin:0;width:clamp(55px,12vw,85px);height:clamp(55px,12vw,85px);flex:none}
}

/* v0.7.7 — petit labyrinthe quotidien, intégration sans cadre. */
.lower-activities{display:contents}
.maze{min-width:0;max-width:100%;width:100%;text-align:center;position:relative;align-self:center;justify-self:center;color:#55454f;z-index:1}
.maze h2{font-size:clamp(13px,2.4vh,19px);line-height:1.1;display:inline-flex;align-items:center;justify-content:center;position:relative;isolation:isolate;max-width:100%;padding:8px 13px;margin:0 auto 2px;font-weight:400;white-space:nowrap}
.maze h2::before{content:'';position:absolute;inset:-4px -6px;z-index:-1;pointer-events:none;background:url("../interface/textures/65abb182f846.webp") center/100% 100% no-repeat;filter:hue-rotate(65deg) saturate(1.05)}
.maze h2 .crayon-word svg{height:1.3em;width:auto}
.maze-play{position:relative;margin:0 auto;width:min(100%,260px);aspect-ratio:1;isolation:isolate}
.maze-play canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
#mazeBoard{touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}

.maze-result{min-height:2.15em;display:flex;align-items:center;justify-content:center;gap:7px;font-size:clamp(12px,1.9vh,15px);color:#567b44;line-height:1.15}
#mazeStatus{margin:0}#mazeRetry{font:inherit;color:#567b44;background:transparent;border:1px solid #87a57d;border-radius:40% 36% 39% 31%;padding:3px 8px;cursor:pointer}
#mazeRetry[hidden]{display:none!important}#mazeRetry:focus-visible{outline:2px solid #557c49;outline-offset:3px}
#mazeStatus .crayon-word svg,#mazeRetry .crayon-word svg{height:1.15em;width:auto}
@media(min-width:850px){
 .lower-activities{display:grid;grid-column:1/3;grid-row:3;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr) minmax(0,.92fr);gap:clamp(6px,1vw,18px);align-items:center;align-self:stretch;min-height:0;min-width:0}
 .lower-activities .post{grid-column:1;grid-row:1;width:min(100%,clamp(148px,31.3vh,244px));transform:translateY(clamp(-34px,-4vh,-15px)) rotate(-5deg)}
 .lower-activities .maze{grid-column:2;grid-row:1;width:100%;transform:translateY(9px)}
 .lower-activities .calculator{grid-column:3;grid-row:1;width:min(100%,clamp(132px,27.5vh,218px));margin:0}
 .maze-play{width:min(100%,clamp(145px,29vh,265px))}
}
@media(max-width:849px){.maze{order:6;width:min(100%,350px);margin:0 auto}.maze-play{width:min(100%,320px)}.maze h2{font-size:19px}.maze-result{font-size:15px}#seasonDecor{order:9}}

/* v0.8 — cinq éphémérides quotidiennes */
#ephemerides{min-width:0}#ephemerides p{overflow-wrap:anywhere;line-height:1.24;margin:6px 0;padding-left:17px}#ephemerides p:before{width:11px;height:11px;top:.4em}#ephemerides p:nth-child(3):before{background-image:url("../interface/textures/43fc21f5ce88.webp")}#ephemerides p:nth-child(4):before{background-image:url("../interface/textures/cbf8b264eb91.webp")}#ephemerides p:nth-child(5):before{background-image:url("../interface/textures/a75b4df4f52e.webp");filter:hue-rotate(95deg)}#ephemerides-status{font:12px/1.3 system-ui,sans-serif;color:#555}#ephemerides-link,#bc-open-sources{font:12px/1.35 system-ui,sans-serif;color:#425d32;text-decoration:underline;text-underline-offset:2px;display:inline-block;margin-top:3px}#bc-open-sources{border:0;padding:0;background:none}#bc-sources{max-width:min(620px,92vw);max-height:85vh;padding:20px;border:1px solid #bdb29b;border-radius:12px;background:#fcfbf8;color:#35332f;font:15px/1.5 system-ui,sans-serif}#bc-sources::backdrop{background:#0005}#bc-sources p{margin:6px 0}#bc-sources li{margin:10px 0}#bc-sources a{color:#245a93}@media(min-width:850px){#ephemerides p{font-size:clamp(13px,2.2vh,20px);line-height:1.19;margin:clamp(2px,.4vh,4px) 0}#ephemerides p .crayon-word svg{height:1.19em}#ephemerides-link,#bc-open-sources{font-size:11px}}@media(max-width:849px){#ephemerides p{font-size:16px}#ephemerides p .crayon-word svg{height:1.3em}}

/* Bonjour Crayon — fifth task, same lettering as the four ordinary tasks. */
.post .bc-deal-task a{color:inherit;text-decoration:none;min-width:0;font:inherit;line-height:inherit}
.post .bc-deal-task a[href]{cursor:pointer}
.post .bc-deal-task a[href]:hover{text-decoration:underline;text-underline-offset:2px}
.post .bc-deal-task a:focus-visible{outline:2px dashed #8f7c58;outline-offset:2px;border-radius:4px}
.post .bc-deal-task a[aria-disabled=true]{cursor:default}
footer .bc-deal-notice{display:inline;margin-left:.5em}

