/* WebOneWord / targeted game readability improvements; no global palette changes. */
.w27-game-page .game-island .notice:not(.error){background:#eaf3ff!important;color:#17334f!important;border:1px solid #a5c4e8!important;border-radius:8px!important;line-height:1.6!important}
.w27-game-page .game-island .notice.error{background:#fff0ee!important;color:#9a2621!important;border:1px solid #eb9e96!important}
.w27-game-page .signal-node.locked{color:#294a69!important}
.w27-game-page .signal-node.locked .button,
.w27-game-page .signal-node .button.ghost{background:#fff!important;color:#174f96!important;border:1px solid #84a9d1!important;font-weight:700!important;opacity:1!important}
.w27-game-page .signal-node .button:disabled{opacity:.7!important}
.w27-game-page .prose .tool-link-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px!important}
.w27-game-page .prose .tool-link-grid a{display:flex!important;align-items:center;justify-content:center;padding:13px 15px!important;min-height:48px;background:#e8f2ff!important;color:#134e91!important;border:1px solid #a7c7e7!important;border-radius:8px!important;text-decoration:none!important;font-weight:700!important;line-height:1.35!important;overflow-wrap:anywhere}
.w27-game-page .prose .tool-link-grid a:hover{background:#d8eafb!important;border-color:#4c86c9!important}
.w27-game-page .game-island .guess-form input{min-width:0}
.w27-game-page .game-island .guess-form input::placeholder{color:#647a92!important}
html[data-theme="dark"] .w27-game-page .game-island .notice:not(.error){background:#274b70!important;color:#fff!important;border-color:#719bcc!important}
html[data-theme="dark"] .w27-game-page .game-island .notice.error{background:#582d31!important;color:#ffe9e4!important;border-color:#c37981!important}
html[data-theme="dark"] .w27-game-page .signal-node.locked{background:#203b57!important;border-color:#6883a0!important;color:#dcecff!important}
html[data-theme="dark"] .w27-game-page .signal-node.locked .button,
html[data-theme="dark"] .w27-game-page .signal-node .button.ghost{background:#dbeaff!important;color:#133b67!important;border-color:#9ac0ee!important}
html[data-theme="dark"] .w27-game-page .prose .tool-link-grid a{background:#234769!important;border-color:#678db6!important;color:#f1f7ff!important}
html[data-theme="dark"] .w27-game-page .prose .tool-link-grid a:hover{background:#30587b!important}
html[data-theme="dark"] .w27-game-page .game-island .guess-form input{background:#112c47!important;color:#fff!important;border-color:#769bbf!important}
html[data-theme="dark"] .w27-game-page .game-island .guess-form input::placeholder{color:#bad0e5!important}
@media(max-width:450px){.w27-game-page .prose .tool-link-grid{grid-template-columns:1fr 1fr;gap:8px!important}.w27-game-page .prose .tool-link-grid a{font-size:13px;min-width:0;padding:11px 9px!important}.w27-game-page .signal-node .button{line-height:1.35}}
@media(max-width:320px){.w27-game-page .prose .tool-link-grid{grid-template-columns:1fr}}
