/* English presentation layer; rules and server modes remain unchanged. */
.cd-language-badge{display:inline-flex;align-items:center;gap:6px;width:fit-content;max-width:100%;border:1px solid #dcd2f5;border-radius:7px;padding:4px 7px;background:#f4efff;color:#57348e;font:600 10px/1.35 system-ui,sans-serif;letter-spacing:0;text-transform:none;margin-bottom:9px}.cd-language-badge>span{font-size:9px;font-weight:800;letter-spacing:.35px;border-right:1px solid #d4c5ee;padding-right:6px;white-space:nowrap}
.cd-language-note{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;margin:16px 0;border:1px solid #ded3f3;border-radius:15px;background:#f8f4ff;color:#36264f;text-align:left}.cd-language-symbol{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#e9dff9;color:#673ca3;font:700 15px/1 Georgia,serif}.cd-language-note strong{display:block;font:700 13px/1.5 system-ui,sans-serif}.cd-language-note p{margin:3px 0 0!important;font:400 12px/1.65 system-ui,sans-serif!important;color:#665773!important}.cd-lobby-language{margin:0}.cd-lobby-language .cd-language-note{margin:12px 0}
.cd-edition{margin:16px 12px 10px;padding:13px 12px;border-top:1px solid var(--line,#e3daef);display:grid;gap:8px;font:500 11px/1.5 system-ui,sans-serif;color:var(--muted,#74657f)}.cd-edition span{display:flex;gap:7px;align-items:center}.cd-edition b{border:1px solid #d9ccef;border-radius:5px;padding:2px 5px;font-size:9px;color:#7346b5}.cd-edition a{color:inherit;text-decoration:none!important}.cd-edition a:hover{color:#8053d7}
.cd-language-badge:empty{display:none}.k-game-info>.cd-language-badge+.k-game-name{margin-top:0}.guide-card .cd-language-badge{margin-top:0;margin-bottom:9px}
html[data-theme=dark] .cd-language-badge{background:#302341;border-color:#5c4278;color:#e3caff}html[data-theme=dark] .cd-language-note{background:#231c30;border-color:#59416f;color:#f0e5fc}html[data-theme=dark] .cd-language-note p{color:#c0b0ce!important}html[data-theme=dark] .cd-language-symbol{background:#433054;color:#e7cdff}
:where(a,button,input,summary,[role=radio]):focus-visible{outline:3px solid #a675e5;outline-offset:3px}
@media(max-width:760px){.k-sidebar>.cd-edition{display:none}.cd-language-note{padding:12px;gap:9px;border-radius:12px}.cd-language-symbol{width:29px;height:29px}.cd-language-note p{font-size:11px!important}.cd-language-badge{font-size:9px;padding:4px 6px}.gh-start .cd-language-note{margin:12px 0}.cd-lobby-language .cd-language-note{margin:8px 0}}
@media(prefers-reduced-motion:reduce){.cd-language-note,.cd-language-badge{animation:none!important;transition:none!important}}

/* Long English scoring categories must remain readable on a phone. */
#kosciGame .ks-lab b{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.15;font-size:12px}
@media(max-width:600px){#sergeantGame .kg-title{white-space:nowrap;font-size:19px}#kosciGame .ks-lab{min-width:0}#kosciGame .ks-lab b{font-size:11px}}

/* Hide retired EN launch entries even before JavaScript decorates server-rendered cards. */
a.k-game[href="/gra/literaki"],a.k-game[href="/gra/kalambury"],a.guide-card[href="/poradniki/literaki"],a.guide-card[href="/poradniki/kalambury"],[data-mode="scrabble"],[data-mode="kalambury"]{display:none!important}
.cd-unavailable{margin:20px;max-width:900px}.cd-unavailable a{color:#7542bc;font-size:13px}
