body.game-theme #app .crossword126 .scanword-magazine {
 --journal-ink:#3d2b36;
 --journal-paper:#f3e5c8;
 --journal-gold:#d6b47d;
 top:max(var(--play-top,110px),62px);
 bottom:var(--play-bottom,18px);
 max-width:750px;
 max-height:625px;
 margin:auto;
 display:grid;
 grid-template-rows:auto minmax(0,1fr) auto;
 gap:clamp(7px,1.3vh,13px);
 padding:clamp(9px,1.4vw,18px);
 background:#2d2232;
 border:1px solid var(--journal-gold);
 box-shadow:0 12px 38px #10091491,inset 0 0 0 3px #3f2e3d;
 color:#f8efd9;
}
body.game-theme #app .crossword126 .scanword-magazine > header {
 display:flex!important;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
body.game-theme #app .crossword126 .scanword-magazine h2 {
 margin:0!important;
 color:#fff3dc!important;
 font:700 clamp(18px,2.3vw,29px)/1.1 Georgia,serif!important;
}
.crossword126 .journal-progress126 {
 flex:none;
 min-width:70px;
 padding:4px 8px;
 border:1px solid #d6b47d77;
 background:#483548;
 text-align:center;
}
.crossword126 .journal-progress126 b {display:block;font:700 16px/1.15 Georgia,serif;color:#ffebc0}
.crossword126 .journal-progress126 span {display:block;font:11px/1.2 Arial,sans-serif;color:#e4c998}
body.game-theme #app .crossword126 .scanword-pages {
 display:grid!important;
 grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
 grid-template-rows:auto minmax(min-content,1fr);
 grid-template-areas:"grid clue" "grid questions";
 align-content:start;
 gap:0!important;
 min-width:0;
 min-height:0;
 overflow:auto;
 overscroll-behavior:contain;
 border:1px solid #b99762;
 background:radial-gradient(ellipse at 17% 0,#fff8dfaa,transparent 80%),var(--journal-paper);
 box-shadow:0 3px 0 #a78657,0 5px 0 #755738;
 scrollbar-color:#a88a68 #eedcc0;
}
body.game-theme #app .crossword126 .journal-grid-page126 {
 grid-area:grid;
 display:grid;
 place-items:center;
 min-width:0;
 padding:12px!important;
 border-right:1px solid #c5a77a;
}
body.game-theme #app .crossword126 .crossword-clue73 {
 grid-area:clue;
 min-width:0;
 margin:clamp(9px,2.1vw,23px) clamp(9px,2.1vw,23px) 0;
 padding:9px 11px;
 border-left:3px solid #8a536a;
 background:#d8b98836;
}
body.game-theme #app .crossword126 .crossword-clue73 h3 {
 margin:4px 0 0!important;
 color:var(--journal-ink)!important;
 text-shadow:none!important;
 font:700 clamp(15px,1.4vw,20px)/1.24 Georgia,serif!important;
}
body.game-theme #app .crossword126 .crossword-clue73 p {
 margin:0!important;
 color:#774855!important;
 text-shadow:none!important;
 font:700 11px/1.2 Arial,sans-serif!important;
}
body.game-theme #app .crossword126 .scanword-question {
 grid-area:questions;
 order:0;
 display:grid!important;
 align-content:start;
 align-self:stretch;
 gap:8px;
 min-width:0;
 border:0!important;
 padding:clamp(8px,1.8vw,18px) clamp(9px,2.1vw,23px)!important;
}
body.game-theme #app .crossword126 .scanword-grid {
 display:grid;
 grid-template-columns:repeat(7,minmax(0,1fr));
 grid-template-rows:repeat(9,minmax(0,1fr));
 width:min(100%,280px,max(140px,calc((100dvh - var(--play-top,110px) - var(--play-bottom,18px) - 125px)*.7778)))!important;
 height:auto!important;
 max-height:none;
 aspect-ratio:7/9!important;
 gap:2px;
 margin:0;
}
body.game-theme #app .crossword126 .scanword-cell {border-color:#a3865d;background:#fff7e4;box-shadow:inset 0 0 0 1px #fffcf2}
body.game-theme #app .crossword126 .scanword-cell.active {border-color:#a07048;background:#f2d696;outline:none}
body.game-theme #app .crossword126 .scanword-cell.wrong {background:#f4cfd0;outline:1px solid #a5565c;outline-offset:-1px}
body.game-theme #app .crossword126 .scanword-cell:focus-within {outline:2px solid #77435d;outline-offset:-1px;z-index:1}
body.game-theme #app .crossword126 .scanword-cell small {font-size:8px;color:#694b38}
body.game-theme #app .crossword126 .scanword-cell input {
 background:transparent!important;
 color:var(--journal-ink)!important;
 box-shadow:none!important;
 font:700 clamp(16px,2.7vh,22px)/1 Georgia,serif!important;
 user-select:text;
}
body.game-theme #app .crossword126 .crossword-questions73 {
 display:grid;
 grid-template-columns:1fr;
 gap:4px;
}
body.game-theme #app .crossword126 .crossword-questions73 button {
 display:grid;
 grid-template-columns:22px minmax(0,1fr) 12px;
 justify-items:start;
 align-items:center;
 gap:6px;
 align-self:auto;
 width:100%;
 min-height:33px!important;
 padding:3px 8px!important;
 background:#ead6b0!important;
 color:#4e3240!important;
 border:1px solid #b99a72!important;
 box-shadow:none!important;
 font:700 12px/1.2 Arial,sans-serif!important;
 white-space:normal!important;
 text-align:left;
}
body.game-theme #app .crossword126 .crossword-questions73 button:is(.active,:hover) {
 background:#684554!important;
 color:#fff3df!important;
 border-color:#684554!important;
}
body.game-theme #app .crossword126 .crossword-questions73 button :is(b,i) {color:inherit!important}
.crossword126 .crossword-questions73 button b {justify-self:center}
.crossword126 .crossword-questions73 button i {font-style:normal}
.crossword126 .crossword-questions73 button i[hidden] {visibility:hidden}
body.game-theme #app .crossword126 .scanword-question [role=status] {min-height:0;color:#70484c;font:12px/1.28 Arial,sans-serif!important}
body.game-theme #app .crossword126 .scanword-question [role=status]:empty {display:none}
body.game-theme #app .crossword126 .scanword-magazine footer {
 flex-wrap:nowrap!important;
 justify-content:flex-start!important;
 gap:5px!important;
}
body.game-theme #app .crossword126 .scanword-magazine footer button {
 background:#382a3c!important;
 border-color:#937893!important;
 color:#f6ead7!important;
 min-height:40px!important;
 line-height:1.12!important;
}
body.game-theme #app .crossword126 .scanword-magazine footer button[data-library=check] {
 background:#654353!important;border-color:var(--journal-gold)!important;color:#ffefcd!important;
}
body.game-theme #app .crossword126 .scanword-magazine button:focus-visible {outline:2px solid #af6b51;outline-offset:-3px}
@media (max-width:760px) and (orientation:portrait) {
 body.game-theme #app .crossword126 .scanword-pages {
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto;
  grid-template-areas:"questions" "clue" "grid";
 }
 body.game-theme #app .crossword126 .crossword-clue73 {margin:0 8px;padding:5px 8px}
 body.game-theme #app .crossword126 .journal-grid-page126 {border:0;padding:7px!important}
 body.game-theme #app .crossword126 .scanword-grid {width:min(72vw,222px,max(171px,calc((100dvh - var(--play-top,80px) - var(--play-bottom,18px) - 207px)*.7778)))!important}
 body.game-theme #app .crossword126 .scanword-question {padding:6px 7px!important;gap:4px}
 body.game-theme #app .crossword126 .crossword-questions73 {grid-template-columns:repeat(6,minmax(0,1fr))}
 body.game-theme #app .crossword126 .crossword-questions73 button {
  min-height:36px!important;
  grid-template-columns:1fr;
  grid-template-rows:1fr;
  justify-items:center;
  padding:2px!important;
 }
 .crossword126 .crossword-questions73 button > span {display:none}
 .crossword126 .crossword-questions73 button > b {grid-area:1/1}
 .crossword126 .crossword-questions73 button > i {grid-area:1/1;align-self:start;justify-self:end;font-size:9px}
 body.game-theme #app .crossword126 .scanword-magazine footer button {
  flex:1 1 0;min-width:0!important;min-height:38px!important;padding:4px!important;font-size:11px!important;
 }
}
@media (orientation:landscape) and (max-height:550px) {
 body.game-theme #app .crossword126 .scanword-grid {width:clamp(105px,37vh,190px)!important}
 body.game-theme #app .crossword126 .scanword-magazine {padding:7px;gap:5px}
 body.game-theme #app .crossword126 .crossword-clue73 {margin:6px 7px 0;padding:5px 7px}
 body.game-theme #app .crossword126 .journal-grid-page126,body.game-theme #app .crossword126 .scanword-question {padding:6px!important}
 body.game-theme #app .crossword126 .crossword-questions73 {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.game-theme #app .crossword126 .crossword-questions73 button {min-height:28px!important;font-size:10px!important}
 body.game-theme #app .crossword126 .scanword-magazine footer button {min-height:34px!important}
}
body.game-theme #app .crossword126 .crossword-questions73 button,
body.game-theme #app .crossword126 .crossword-questions73 button :is(b,span,i) {
 text-shadow:none!important;
}
