.mouseDialog{max-width:1080px;background:linear-gradient(105deg,#f3e7ca,#e8d7af);color:#342a1d;border:2px solid #c19a55;box-shadow:0 28px 90px #0009,inset 0 0 0 7px #765d2420}.mouseDialog .eyebrow{color:#816331}.mouseDialogGrid{display:grid;grid-template-columns:130px 1fr 150px;gap:28px;align-items:center}.mouseCatPortrait{width:130px;height:150px;object-fit:cover;border:2px solid #a58247;border-radius:70px 70px 12px 12px}.mousePortrait{width:150px;height:130px;border:2px solid #a58247;border-radius:70px 70px 12px 12px}.mouseDialog h2{font-size:32px}.mouseDialog p{font-size:18px;line-height:1.55}.mouseDialog .answers button{text-align:left}.mouseAside{font-style:italic;opacity:.82}.chessPanel{max-width:1000px;width:min(96vw,1000px);padding:25px 30px;background:linear-gradient(125deg,#f6eacd,#e6d2a5);color:#342a1d;border:2px solid #b88b42}.chessHeader{display:flex;align-items:center;justify-content:space-between;gap:20px}.chessHeader h2{font-size:30px;margin:5px 0 16px}.chessHeader .eyebrow{color:#806132}.moveCounter{display:flex;gap:8px}.moveCounter span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ae8a51;border-radius:50%;background:#d7c294;color:#77623c}.moveCounter .used{background:#1d3c50;color:#f5d7a2}.chessLayout{display:grid;grid-template-columns:minmax(280px,520px) 1fr;gap:30px;align-items:center}.chessFrame{padding:22px;background:linear-gradient(130deg,#9a622c,#482b16);border:3px double #cda25e;box-shadow:0 8px 15px #45311a44;border-radius:4px}.chessBoard{position:relative;display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;border:2px solid #38220d}.chessCell{position:relative;display:block;width:100%;aspect-ratio:1;padding:0;border:0;border-radius:0;transition:none;box-shadow:none!important;min-width:0}.chessCell.light{background:repeating-linear-gradient(96deg,#edc58a 0,#efd19f 4px,#eac18c 7px,#edca96 12px)}.chessCell.dark{background:repeating-linear-gradient(96deg,#6b4426 0,#754c2c 5px,#674025 10px,#72492a 14px)}.chessCell:hover{filter:brightness(1.16);transform:none}.chessCell.hinted:before{content:'●';position:absolute;inset:0;display:grid;place-items:center;color:#1d6590;font-size:24px;text-shadow:0 0 3px #fff;z-index:1}.chessCell:focus-visible{z-index:5;outline:3px solid #1871aa;outline-offset:-4px}.rankLabel,.fileLabel{position:absolute;color:#f3d39a;font:bold 12px Georgia;pointer-events:none}.rankLabel{left:-18px;top:38%}.fileLabel{bottom:-19px;left:43%;text-transform:lowercase}.chessPiece{position:absolute;width:10.5%;height:14%;object-fit:contain;z-index:4;pointer-events:none;filter:drop-shadow(0 3px 1px #3e220b33)}.chessPieceShadow{position:absolute;width:9%;height:3.7%;border-radius:50%;background:#24180e;filter:blur(2px);transform:translate(-50%,-15%);pointer-events:none;z-index:2}.cheeseTarget{position:absolute;inset:25%;border:2px solid #b47b22;border-radius:5px 4px 2px 2px;transform:rotate(-8deg);background:#e9b844;color:transparent;box-shadow:0 2px 2px #0003}.cheeseTarget i{position:absolute;width:4px;height:4px;border-radius:50%;background:#a16d1d;left:20%;top:20%}.cheeseTarget i:nth-child(2){left:60%;top:50%}.cheeseTarget i:nth-child(3){left:18%;top:65%}.chessInstructions{align-self:center}.chessInstructions .mousePortrait{display:block;margin:auto}.chessInstructions p{font-size:17px;line-height:1.5}.chessInstructions small{font-size:13px;line-height:1.45;display:block}.knightDiagram{font:22px monospace;color:#8c632d;line-height:1.1;padding-left:16px}.knightDiagram i{font-style:normal;padding-left:45px}.chessMessage{font-size:16px!important;min-height:44px;margin:15px 0 5px!important;line-height:1.45}.chessActions{margin-top:8px!important;gap:8px!important}.chessActions button{padding:10px 14px;font-size:15px}.mouseWin{text-align:center}.mouseRewardSeal{margin:15px auto;width:140px;height:140px;display:grid;place-items:center;border:3px double #d7af65;background:radial-gradient(circle,#ac8544,#2f3022 75%);border-radius:50%;box-shadow:0 5px 25px #0004}.mouseRewardSeal img{width:105px;height:105px;object-fit:contain;animation:mouseReward .65s ease both}.diaryMouseStamp{display:inline-block;border:3px double #91703c;border-radius:5px 18px 5px 18px;padding:9px 15px;font-size:14px;transform:rotate(-4deg);color:#806134}.pawnSketch{font-size:70px;color:#b48e50;float:right}.mouseSecret{max-width:650px}#mouseEntry{scroll-margin-top:15px}.gameCalm .mouseRewardSeal img{animation:none}.gameCalm .achievementEnter,.gameCalm .achievementExit{animation-duration:.05s!important}@keyframes mouseReward{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@media(max-height:800px) and (min-width:761px){.chessPanel{padding:16px 25px;max-width:900px}.chessLayout{grid-template-columns:minmax(260px,400px) 1fr;gap:24px}.chessHeader h2{font-size:25px;margin-bottom:9px}.chessInstructions p{font-size:16px}.chessInstructions .mousePortrait{width:115px;height:99px}.chessMessage{min-height:32px}.chessActions button{padding:8px 12px}}@media(max-width:760px){.mouseDialogGrid{grid-template-columns:65px 1fr;gap:12px}.mouseDialogGrid>.mousePortrait{display:none}.mouseCatPortrait{width:65px;height:85px}.mouseDialog h2{font-size:25px}.mouseDialog p{font-size:16px}.chessPanel{padding:16px 19px}.chessHeader h2{font-size:24px}.chessLayout{grid-template-columns:1fr;gap:10px}.chessFrame{padding:20px;max-width:450px;width:100%;margin:auto}.chessInstructions{display:block}.chessInstructions .mousePortrait,.knightDiagram{display:none}.chessInstructions p{font-size:14px;display:inline;margin:0}.chessInstructions small{font-size:12px;margin-top:6px}.chessActions{flex-wrap:wrap}.chessActions button{font-size:13px;padding:9px}.chessMessage{font-size:14px!important}.rankLabel,.fileLabel{font-size:10px}.rankLabel{left:-16px}.moveCounter span{width:27px;height:27px}.mouseResult h2{font-size:28px}}
.chessPanel button.secondary,.mouseDialog button.secondary{background:#1c354b;color:#f6e8cd;border-color:#94713d}.chessPanel button.secondary:hover,.mouseDialog button.secondary:hover{background:#31536c}.chessPanel small,.mouseDialog small{color:#70583b}.chessPanel button:disabled{background:#d8c8a7;color:#877557;opacity:.8}.chessCell.light{background:repeating-linear-gradient(96deg,#ebc997 0,#efd2a4 4px,#eac896 7px,#edcea1 12px)}.chessCell.dark{background:repeating-linear-gradient(96deg,#704a2b 0,#795131 5px,#6c472a 10px,#75502e 14px)}

/* A folded invitation, rather than a wide formal panel. */
.mouseDialog{max-width:820px;border:1px solid #a17b3c;border-radius:3px 20px 5px 14px;background:linear-gradient(105deg,#f6ecd4 0%,#f0e1bc 65%,#e6ce9e 100%);box-shadow:0 22px 70px #0008,inset 9px 0 #c9a25b55;padding:34px}.mouseDialogGrid{grid-template-columns:70px 1fr 105px;gap:22px}.mouseCatPortrait{width:70px;height:85px;border-radius:50%}.mouseDialog .mousePortrait{width:105px;height:110px;border-radius:60px 60px 15px 15px}.mouseDialog h2{font-size:34px;font-style:italic}.mouseDialog .eyebrow{font-size:10px;letter-spacing:.22em}.mouseDialog p{font-size:19px}.mouseDialog .answers button{background:transparent;color:#3e3020;border:0;border-bottom:1px solid #aa8b5370;border-radius:0;padding:13px 12px;box-shadow:none}.mouseDialog .answers button:hover{background:#d0af6b44;transform:translateX(4px)}.mouseDialog .answers button::before{content:'✦ ';color:#967239}.mouseDialog .actions{border-top:1px solid #ab8a5355;padding-top:18px}.mouseDialog .actions button{font-size:15px}.mouseDialog .actions button:first-child{background:#294838;color:#f5e6be}.mouseDialog .actions button.secondary{background:transparent;border:0;color:#6a5432;text-decoration:underline}@media(max-width:850px){.mouseDialogGrid{grid-template-columns:1fr}.mouseCatPortrait{display:none}.mouseDialog .mousePortrait{display:none}.mouseDialog{padding:22px}.mouseDialog h2{font-size:28px}}
