.s2-game{--s2-ink:#244b3b;--s2-paper:#f5f2e7;background:var(--s2-paper);color:var(--s2-ink);overflow-y:auto;touch-action:pan-y;color-scheme:light}.s2-game .kz-spiel{width:100%;max-width:520px;margin:0 auto;padding-bottom:14px}.s2-title{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 18px;background:#346704;color:#fff;font-size:clamp(20px,5vw,25px)}.s2-title button,.s2-mark{font:inherit;font-size:15px;border:1px solid #346704;border-radius:9px;padding:10px;min-height:44px;background:#fffdf4;color:#244b3b}.s2-title button:disabled{opacity:1;color:#50604a}.s2-title strong{line-height:1.15}.s2-game .kz-kopf{width:100%;padding:9px 60px 9px 14px;flex-shrink:0;font-variant-numeric:tabular-nums;background:#fffdf4}.s2-game .kz-lbl{color:#40564a}.s2-game .kz-x{color:#244b3b;min-height:44px;min-width:44px}.s2-game #kzBoard{border:0;border-radius:10px;touch-action:none;flex-shrink:0}.s2-game .kz-tasten{margin:8px 12px 0;padding-bottom:4px;width:calc(100% - 24px);grid-template-columns:repeat(6,1fr)}.s2-game .kz-tasten button{background:#244b3b;color:#fffdf4;min-height:48px;font-size:22px;border-radius:9px}.s2-game .kz-tasten button:not(.kz-breit){grid-column:span 2}.s2-game .kz-tasten .kz-breit{grid-column:span 3}.s2-game .kz-tasten button:last-child:first-child{grid-column:1/-1}.s2-game .kz-vorher h2{color:#244b3b}.s2-game .kz-steuer-info>span{background:#e5eadc}.s2-game .kz-zurueck{color:#244b3b}#s2Level{margin:5px 12px 9px;padding:8px 10px;color:#244b3b;font-size:14px;line-height:1.35;width:calc(100% - 24px);overflow-wrap:anywhere;min-height:36px}.s2-rule{font-size:14px;line-height:1.45;margin:8px 16px 0;align-self:stretch}.s2-rule summary{min-height:44px;padding:12px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.s2-rule p{margin:0 0 12px}.s2-levels{margin:12px 0;line-height:1.5}#s2GridWrap{width:calc(100% - 24px);max-width:480px;overflow:auto;padding:4px}#s2Cards{display:grid;gap:7px;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}#s2Cards button{min-height:44px;min-width:44px;padding:4px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #829274;border-radius:9px;background:#fffdf4;color:#244b3b;touch-action:manipulation;font:inherit}#s2Cards svg{width:100%;height:100%;min-height:0}#s2Cards small{font-size:10px;line-height:1.05;overflow-wrap:anywhere;flex-shrink:0}#s2Cards button.back{background:#346704;padding:4px}#s2Cards button:disabled{opacity:1}#s2Cards .found{background:#e5eadc}#s2Cards .found svg{opacity:.75}.s2-found{position:absolute;right:3px;top:1px;color:#244b3b;background:#fffdf4;border-radius:50%;font-weight:bold}#s2Cards.s2-paare{grid-template-rows:repeat(5,minmax(0,1fr))}#s2Cards.s2-minen{grid-template-columns:repeat(7,44px);width:max-content;gap:3px;margin-top:8px}#s2Cards.s2-minen button{height:44px;border-radius:5px;font-size:20px;font-weight:700}#s2Cards.s2-minen .closed{background:#c7d4b9}#s2Cards.s2-minen .open{background:#fffdf4}#s2Cards.s2-maulwurf{grid-template-columns:repeat(3,minmax(0,1fr))}#s2Cards.s2-maulwurf button{aspect-ratio:1;background:#e5eadc;overflow:hidden}#s2Cards.s2-maulwurf svg{width:80%;height:80%;stroke-width:2}#s2Cards .s2-hole{width:70%;height:22%;border-radius:50%;background:#9cae8a;margin-top:50%}#s2Cards .hit{background:#cadbb6}#s2Cards .bombe{color:#864737}#s2Cards .s2-gold{position:absolute;right:2px;top:2px;width:27px;height:27px;color:#815e12}#s2Cards.s2-farben,#s2Cards.s2-rechnen{grid-template-columns:repeat(2,minmax(0,1fr))}#s2Cards.s2-farben button{aspect-ratio:1;min-height:100px}#s2Cards.s2-farben svg{height:50%;max-width:70px}#s2Cards.s2-farben strong{font-size:23px}#s2Cards .symbol-0{background:#d9e5cb}#s2Cards .symbol-1{background:#e9dac3}#s2Cards .symbol-2{background:#d1e1e7}#s2Cards .symbol-3{background:#e5d6e6}#s2Cards .lit{outline:4px solid #244b3b;outline-offset:-5px;background:#fff!important}#s2Cards .wrong{outline:3px dashed #8c3e2e;outline-offset:-4px}#s2Cards .correct{outline:3px solid #346704;outline-offset:-4px}#s2Question{text-align:center;font-size:clamp(26px,8vw,40px);font-weight:700;padding:25px 8px}#s2Cards.s2-rechnen button{min-height:90px;font-size:30px;font-weight:700}.s2-game button:focus-visible{outline:3px solid #9b5d23;outline-offset:2px}.s2-game button:not(:disabled):hover{filter:brightness(.94)}.s2-game ::selection{background:#d9c88f;color:#173b2b}.s2-game{scrollbar-color:#839478 #e5eadc}.s2-game .s2-mark[aria-pressed=true]{background:#244b3b;color:white}@media(prefers-reduced-motion:reduce){.s2-game *{animation:none!important;transition:none!important}}

.s2-game[data-game=kloetzchen] .kz-tasten .kz-breit{grid-column:1/-1}

.s2-game .kz-tasten.kz-kreuz{grid-template-columns:repeat(4,1fr)}.s2-game .kz-tasten.kz-kreuz button{grid-column:auto}

/* Die äußere Grenze ist bei Snake ebenfalls ein Hindernis. */
.s2-game[data-game=snake] #kzBoard{outline:3px solid #244b3b;outline-offset:-3px}
