.gwm-crossword { max-width:760px; }
.gwm-crossword__board { display:grid; width:min(100%,405px); margin:8px auto 18px; gap:2px; padding:3px; background:#d9e1d9; border-radius:10px; }
.gwm-crossword__cell,.gwm-crossword__blank { position:relative; display:grid; place-items:center; aspect-ratio:1; min-width:0; padding:0; margin:0; border:0; border-radius:3px; font:inherit; font-weight:800; font-size:clamp(1rem,3.8vw,1.45rem); line-height:1; }
.gwm-crossword__cell { color:#172b3a; background:#fffefa; }
.gwm-crossword__cell small { position:absolute; top:2px; left:3px; font-size:.56rem; font-weight:700; }
.gwm-crossword__cell span { padding-top:5px; }
.gwm-crossword__blank { background:#254348; }
.gwm-crossword__cell.is-active { background:#e1f0ae; box-shadow:inset 0 0 0 1px #71944c; }
.gwm-crossword__cell.is-error { background:#ffe3d9; color:#932e20; }
.gwm-crossword__cell.is-error::after { content:"!"; position:absolute; top:2px; right:3px; font-size:.62rem; }
.gwm-crossword__form { background:#f4f6eb; border-radius:15px; padding:16px; }
.gwm-crossword__form label { display:block; font-size:1rem; font-weight:750; line-height:1.5; }
.gwm-crossword__pattern { letter-spacing:.1em; font:700 1.25rem/1.5 ui-monospace,monospace; margin:10px 0; overflow-wrap:anywhere; }
.gwm-crossword__input-row { display:flex; gap:8px; }
.gwm-crossword__input-row input { width:100%; min-width:0; min-height:48px; border:1px solid #9dac9d; border-radius:10px; padding:10px 12px; background:white; color:#172b3a; font-family:inherit; font-size:16px; font-weight:700; line-height:1.4; text-transform:uppercase; }
.gwm-crossword__polish { display:flex; flex-wrap:wrap; gap:5px; }
.gwm-crossword__polish button { min-width:36px; min-height:44px; border:1px solid #c2cfb6; border-radius:8px; background:#fffefa; color:#254348; font:700 .9rem/1.2 sans-serif; }
.gwm-crossword__clues { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:24px 0; }
.gwm-crossword .gwm-crossword__clues h3 { font-size:1.05rem; margin:0 0 10px; }
.gwm-crossword__clue { display:block; width:100%; min-height:48px; padding:12px; margin:0 0 7px; border:1px solid #d7dfd6; border-radius:10px; color:#203e40; background:#fffefa; font:inherit; font-size:.86rem; line-height:1.5; text-align:left; overflow-wrap:anywhere; }
.gwm-crossword__clue[aria-pressed="true"] { border-color:#087e79; background:#edf4d9; box-shadow:inset 3px 0 #087e79; }
.gwm-crossword__more { border-top:1px solid #d7dfd6; padding-top:10px; }
.gwm-crossword__more summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:700; }
.gwm-crossword-card__tiles { display:flex; gap:4px; margin-bottom:20px; }
.gwm-crossword-card__tiles span { display:grid; place-items:center; width:40px; height:40px; border-radius:7px; background:#fffefa; border:1px solid #d8bf9f; color:#254348; font-weight:800; }
.gwm-crossword-home__art { width:100%; aspect-ratio:5 / 2; overflow:hidden; border-radius:15px; margin-bottom:17px; background:#f4eee8; }
.gwm-crossword-home__art img { display:block; width:100%; height:100%; object-fit:contain; }
.gwm-crossword-home .game-card__top { min-height:22px; }
.gwm-crossword-home h3 { margin-top:12px; }
@media(max-width:560px) { .gwm-crossword__clues { grid-template-columns:1fr; gap:12px; } }
@media(max-width:360px) { .gwm-crossword__input-row { flex-direction:column; } .gwm-crossword__form { padding:12px; } .gwm-crossword__cell small { font-size:.5rem; left:2px; } }
