/* Ophthalmology Crossword */
.cw-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px;max-width:520px;margin-left:auto;margin-right:auto}
.cw-hud .hs{min-width:0}
.cw-bar{max-width:520px;margin:0 auto 12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 16px;min-height:62px;font-size:16px;line-height:1.4}
.cw-bar:empty{display:none}
.cw-bar b{color:var(--blue);margin-right:6px}.cw-bar em{font-style:normal;color:var(--muted);font-weight:600}
.cw-wrap{position:relative;max-width:520px;margin:0 auto;border-radius:18px;overflow:hidden;border:2px solid var(--ink);background:var(--ink)}
.cw-wrap .game-ov{border-radius:0}
.cw-board{container-type:inline-size;display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:2px;background:var(--ink)}
.cw-c{aspect-ratio:1;border:0;background:#fff;position:relative;display:grid;place-items:center;font:inherit;cursor:pointer;padding:0;min-width:0}
.cw-c.b{background:var(--ink);cursor:default}
.cw-c sup{position:absolute;top:2px;left:4px;font-size:9px;font-size:2.6cqw;font-weight:800;color:var(--muted);line-height:1}
.cw-c span{font-weight:800;font-size:20px;font-size:6.4cqw;color:var(--blue);line-height:1}
.cw-c.hl{background:#dfe9f8}
.cw-c.sel{background:#fbe7a8;box-shadow:inset 0 0 0 3px var(--blue)}
.cw-c.hint span{color:var(--green-d)}
.cw-c.wr span{color:#c4475e}.cw-c.wr{background:#fde8ec}
.cw-kb{max-width:520px;margin:14px auto 0;display:flex;flex-direction:column;gap:6px}
.cw-kr{display:flex;gap:5px;justify-content:center}
.cw-kr button{flex:1;max-width:44px;border:0;border-radius:10px;background:var(--charcoal);color:#fff;font:inherit;font-weight:800;padding:11px 0;cursor:pointer;touch-action:manipulation;min-width:0}
.cw-kr button.wide{max-width:64px}
.cw-kr button:active{background:var(--green-d)}
.cw-kr.tools button{max-width:none;background:#fff;color:var(--ink);border:1px solid var(--line)}
.cw-clues{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:520px;margin:18px auto 0}
.cw-col h4{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.cw-col ol{list-style:none;display:flex;flex-direction:column;gap:2px}
.cw-col li{font-size:14px;line-height:1.35;padding:6px 8px;border-radius:10px;cursor:pointer}
.cw-col li b{color:var(--blue);margin-right:4px}.cw-col li em{font-style:normal;color:var(--muted)}
.cw-col li.cur{background:#dfe9f8}
.cw-col li.done{color:var(--muted);text-decoration:line-through}
@media (max-width:640px){.cw-hud{grid-template-columns:repeat(2,1fr)}.cw-clues{grid-template-columns:1fr}.cw-bar{font-size:15px}}
