/* Original-Design der IQ-Pfade-Online-Spiele (3×3 Plus, Zahlencode, Streichholz, SuchOdoku), auf die Akte begrenzt */
.kx-pz.drei-panel{overflow:hidden}
.kx-pz .drei-wrap{max-width:760px;margin:0 auto;text-align:center}
.kx-pz .drei-rule{margin-bottom:16px;text-align:left}
.kx-pz .drei-board{display:inline-block;background:#fff;border:2px solid #111;border-radius:14px;padding:18px;box-shadow:4px 4px 0 #111}
.kx-pz .levelbar{margin:10px 0 18px;font-weight:bold;text-align:center}
.kx-pz .levelbar select{padding:8px 10px;border:2px solid #111;border-radius:8px;background:#fff;font-weight:bold}
.kx-pz .drei-grid{border-collapse:collapse;margin:auto}
.kx-pz .drei-grid td{width:64px;height:64px;text-align:center;vertical-align:middle}
.kx-pz .drei-cell{border:2px solid #111;background:#fff}
.kx-pz .drei-fixed{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:30px;font-weight:bold;background:#e8e8e8}
.kx-pz .drei-input{width:100%;height:100%;border:0;text-align:center;font-size:30px;font-weight:bold;background:#fffbea}
.kx-pz .drei-input:focus{outline:3px solid #f2c94c;outline-offset:-3px}
.kx-pz .drei-solution{background:#fff4bf!important}
.kx-pz .drei-error{background:#ffd6d6!important}
.kx-pz .drei-eq{font-size:28px;font-weight:bold;width:34px}
.kx-pz .drei-sum{border:2px solid #111;background:#f2c94c;font-size:28px;font-weight:bold}
.kx-pz .drei-empty{border:0;background:transparent}
.kx-pz .drei-used{margin:16px auto 0;text-align:center;font-weight:bold}
.kx-pz .drei-used span{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border:2px solid #111;margin:4px;border-radius:8px;font-weight:bold}
.kx-pz .number-1{background:#e0e0e0!important}
.kx-pz .number-2{background:#c9a3e6!important}
.kx-pz .number-3{background:#a9df78!important}
.kx-pz .number-4{background:#bde7fb!important}
.kx-pz .number-5{background:#e8a3d2!important}
.kx-pz .number-6{background:#ffe44f!important}
.kx-pz .number-7{background:#b6e97d!important}
.kx-pz .number-8{background:#76d7d9!important}
.kx-pz .number-9{background:#ffc84d!important}
@media(max-width:620px){.kx-pz .drei-board{padding:10px}
.kx-pz .drei-grid td{width:44px;height:44px}
.kx-pz .drei-fixed,.kx-pz .drei-input{font-size:22px}
.kx-pz .drei-eq{width:22px;font-size:22px}
.kx-pz .drei-sum{font-size:22px}
}
.kx-pz{--ok:#0a7a36;--bad:#b00020}
.kx-pz .status{font-weight:bold;margin:14px 0}
.kx-pz .ok{color:var(--ok)}
.kx-pz .bad{color:var(--bad)}
.kx-pz .zc-help{display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
  margin:0 0 16px;}
.kx-pz .zc-help div{background:#fff8df;
  border:2px solid #111;
  border-radius:12px;
  padding:10px;}
.kx-pz .zc-board{max-width:650px;
  margin:auto;}
.kx-pz .zc-head,.kx-pz .code-row{display:grid;
  grid-template-columns:170px 1fr;
  gap:12px;
  align-items:center;}
.kx-pz .zc-head{font-weight:bold;margin-bottom:6px}
.kx-pz .code-row{border-bottom:1px solid #ddd;
  padding:10px 0;}
.kx-pz .marks{font-size:24px;
  letter-spacing:8px;
  white-space:nowrap;}
.kx-pz .guess,.kx-pz .zc-code-values{display:flex;
  align-items:center;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  min-width:0;}
.kx-pz .guess span,.kx-pz .zc-answer span,.kx-pz .zc-input{flex:0 0 auto!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:42px;
  line-height:42px;
  border:2px solid #111;
  margin-right:8px;
  text-align:center;
  font-size:22px;
  background:#fff;
  box-sizing:border-box;
  color:#000;
  -webkit-text-fill-color:#000;}
.kx-pz .zc-input{padding:0;
  font-weight:500;
  appearance:none;
  -webkit-appearance:none;
  border-radius:0;}
.kx-pz .zc-input:focus{outline:3px solid #f2c94c;
  outline-offset:-3px;}
.kx-pz .eq{display:grid;
  grid-template-columns:170px 1fr;
  gap:12px;
  align-items:center;
  margin:12px 0;
  font-size:23px;}
.kx-pz .number-1{background:#e0e0e0!important}
.kx-pz .number-2{background:#c9a3e6!important}
.kx-pz .number-3{background:#a9df78!important}
.kx-pz .number-4{background:#bde7fb!important}
.kx-pz .number-5{background:#e8a3d2!important}
.kx-pz .number-6{background:#ffe44f!important}
.kx-pz .number-7{background:#b6e97d!important}
.kx-pz .number-8{background:#76d7d9!important}
.kx-pz .number-9{background:#ffc84d!important}
@media(max-width:650px){.kx-pz .zc-board{max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;}
.kx-pz .zc-head,.kx-pz .code-row,.kx-pz .eq{grid-template-columns:105px max-content;
    gap:6px;}
.kx-pz .marks{font-size:17px;
    letter-spacing:2px;}
.kx-pz .guess span,.kx-pz .zc-answer span,.kx-pz .zc-input{width:32px!important;
    height:32px!important;
    line-height:32px!important;
    font-size:17px!important;
    margin-right:3px!important;}
.kx-pz .eq{font-size:17px;}
.kx-pz .zc-code-values{width:max-content!important;
    flex-wrap:nowrap!important;}
.kx-pz .toolbar{display:flex;
    flex-wrap:wrap;
    gap:8px;}
.kx-pz .toolbar button{min-height:44px;
    font-size:16px;}
}
@media(max-width:390px){.kx-pz .zc-head,.kx-pz .code-row,.kx-pz .eq{grid-template-columns:92px max-content;
    gap:4px;}
.kx-pz .marks{font-size:16px;
    letter-spacing:1px;}
.kx-pz .guess span,.kx-pz .zc-answer span,.kx-pz .zc-input{width:30px!important;
    height:30px!important;
    line-height:30px!important;
    font-size:16px!important;
    margin-right:2px!important;}
.kx-pz .eq{font-size:16px}
}
@media print{.kx-pz .toolbar,.kx-pz .btn{display:none!important}
.kx-pz .zc-help{display:none}
.kx-pz .panel{box-shadow:none!important;border:1px solid #000!important}
}
.kx-pz .zc-time{font-weight:800;margin:8px 0 12px}
.kx-pz .zc-tip-count{display:inline-block;padding:7px 12px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:14px;font-weight:800}
.kx-pz .zc-input.zc-hint{background:#ffeb3b!important;border:3px solid #c78300!important;box-shadow:0 0 0 4px #ffe45c80;animation:zcPulse .6s infinite alternate}
@keyframes zcPulse{from{box-shadow:0 0 0 1px #ffe45c60}to{box-shadow:0 0 0 7px #ffe45ca0}}
.kx-pz .zc-win{position:fixed;inset:0;z-index:99999;background:#0008;display:flex;align-items:center;justify-content:center;padding:18px}
.kx-pz .zc-win-card{width:min(92vw,420px);padding:30px 22px;background:#fff;border:2px solid #111;box-shadow:0 12px 40px #0004;text-align:center}
.kx-pz .zc-win-card h2{font:900 36px Arial,sans-serif;margin:0 0 20px}
.kx-pz .zc-win-card p{font:700 18px Arial,sans-serif;line-height:1.5}
.kx-pz .zc-win-card button{margin-top:16px;background:#111;color:#fff;border:0;padding:14px 25px;font:800 17px Arial,sans-serif;cursor:pointer}
@media print{.kx-pz .zc-win{display:none!important}
}
@media (min-width:651px) and (max-height:1100px){.kx-pz .zc-level-panel{margin-bottom:8px!important;padding:7px 10px!important}
.kx-pz .zc-level-panel select{padding-top:6px!important;padding-bottom:6px!important}
.kx-pz .zc-help{gap:7px;margin-bottom:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
.kx-pz .zc-help div{padding:6px 8px;font-size:12px;line-height:1.3;border-width:1px;border-radius:7px}
.kx-pz .zc-board{max-width:550px}
.kx-pz .zc-head,.kx-pz .code-row,.kx-pz .eq{grid-template-columns:140px 1fr;gap:8px}
.kx-pz .zc-head{margin-bottom:2px;font-size:13px}
.kx-pz .code-row{padding:4px 0}
.kx-pz .marks{font-size:19px;letter-spacing:5px}
.kx-pz .guess span,.kx-pz .zc-answer span,.kx-pz .zc-input{width:36px;height:32px;line-height:32px;margin-right:6px;font-size:18px}
.kx-pz .eq{margin:7px 0;font-size:19px}
.kx-pz .zc-time{margin:4px 0 6px}
.kx-pz .zc-strike-panel{margin:9px 0!important;padding:8px 10px!important}
.kx-pz .zc-strike-panel strong{font-size:15px!important}
.kx-pz .zc-strike-panel p{margin-bottom:6px!important;font-size:12px!important}
.kx-pz .zc-strike-numbers{gap:5px!important}
.kx-pz .zc-strike-number{min-height:34px!important;font-size:16px!important;padding:3px!important}
.kx-pz .toolbar{display:flex;flex-wrap:wrap;gap:6px}
.kx-pz .toolbar button{padding:7px 10px;font-size:13px}
.kx-pz .status{margin:7px 0}
}
.kx-pz .zc-level-panel{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:13px 14px;border:1px solid #d7dce3;border-radius:14px;background:#f8fafc}
.kx-pz .zc-level-panel label{font-size:17px}
.kx-pz .zc-level-panel select{min-width:180px;padding:10px 36px 10px 12px;border:2px solid #cbd5e1;border-radius:10px;background:#fff;color:#111827;font-size:16px;font-weight:700;cursor:pointer}
.kx-pz .zc-strike-panel{margin:18px 0;padding:14px;border:1px solid #d7dce3;border-radius:14px;background:#f8fafc}
.kx-pz .zc-strike-panel strong{display:block;font-size:18px;margin-bottom:3px}
.kx-pz .zc-strike-panel p{margin:0 0 12px;color:#4b5563;font-size:14px}
.kx-pz .zc-strike-numbers{display:grid;grid-template-columns:repeat(9,minmax(38px,1fr));gap:8px}
.kx-pz .zc-strike-number{position:relative;min-height:46px;padding:6px;border:2px solid #cbd5e1;border-radius:10px;background:#fff;color:#111827;font-size:20px;font-weight:800;cursor:pointer;touch-action:manipulation}
.kx-pz .zc-strike-number.is-struck{color:#7b8491;background:#eef1f4;border-color:#d5dae1}
.kx-pz .zc-strike-number.is-struck::after{content:"";position:absolute;left:14%;right:14%;top:50%;height:3px;border-radius:3px;background:#d71920;transform:rotate(-10deg)}
.kx-pz .zc-board .guess span{position:relative}
.kx-pz .zc-board .guess span.is-used{color:#1d4ed8!important;background:#dbeafe;border-radius:6px;opacity:.58}
.kx-pz .zc-board .guess span.is-struck{color:#8b929c!important;opacity:.72}
.kx-pz .zc-board .guess span.is-struck::after{content:"";position:absolute;left:8%;right:8%;top:50%;height:3px;border-radius:3px;background:#d71920;transform:rotate(-10deg);pointer-events:none}
.kx-pz .zc-strike-number:focus-visible{outline:3px solid #f2c94c;outline-offset:2px}
@media(max-width:650px){.kx-pz .zc-level-panel{align-items:stretch;flex-direction:column;gap:7px;padding:11px}
.kx-pz .zc-level-panel select{width:100%;min-width:0}
.kx-pz .zc-strike-panel{padding:12px 9px;margin:14px 0}
.kx-pz .zc-strike-panel p{font-size:13px}
.kx-pz .zc-strike-numbers{grid-template-columns:repeat(5,1fr);gap:7px}
.kx-pz .zc-strike-number{min-height:44px;font-size:18px}
}
@media (min-width:651px){.kx-pz .panel{padding:8px 12px!important}
.kx-pz .zc-level-panel{padding:4px 8px!important;margin:0 0 5px!important;gap:8px!important;border-radius:5px!important}
.kx-pz .zc-level-panel label{font-size:12px!important}
.kx-pz .zc-level-panel select{min-width:140px!important;font-size:12px!important;padding:3px 24px 3px 7px!important;border-width:1px!important;border-radius:4px!important}
.kx-pz .zc-board{max-width:390px!important;margin:0 auto!important}
.kx-pz .zc-head,.kx-pz .code-row,.kx-pz .eq{grid-template-columns:105px 1fr!important;gap:4px!important}
.kx-pz .zc-head{font-size:11px!important;margin-bottom:0!important}
.kx-pz .code-row{padding:1px 0!important;min-height:27px!important}
.kx-pz .marks{font-size:15px!important;letter-spacing:3px!important}
.kx-pz .guess span,.kx-pz .zc-answer span,.kx-pz .zc-input{width:27px!important;height:25px!important;line-height:25px!important;font-size:14px!important;margin-right:4px!important;border-width:1px!important}
.kx-pz .eq{font-size:14px!important;margin:4px 0!important}
.kx-pz .zc-help{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:0 0 5px!important}
.kx-pz .zc-help div{font-size:10px!important;line-height:1.15!important;padding:4px 6px!important;border:1px solid #111!important;border-radius:4px!important}
.kx-pz .zc-game-number,.kx-pz #zcErrorCount,.kx-pz .zc-tip-count{font-size:11px!important;padding:3px 7px!important;border-radius:4px!important}
.kx-pz #game>div:first-child{margin-bottom:4px!important;gap:5px!important}
.kx-pz .zc-strike-panel{margin:5px 0!important;padding:5px 8px!important;border-radius:5px!important}
.kx-pz .zc-strike-panel strong{font-size:12px!important;margin:0 0 2px!important}
.kx-pz .zc-strike-panel p{display:none!important}
.kx-pz .zc-strike-numbers{display:flex!important;justify-content:center!important;gap:5px!important}
.kx-pz .zc-strike-number{width:31px!important;min-height:27px!important;height:27px!important;font-size:13px!important;padding:1px!important;border-width:1px!important;border-radius:4px!important}
.kx-pz .toolbar{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;margin:4px 0!important}
.kx-pz .toolbar button{min-height:27px!important;font-size:11px!important;line-height:1.1!important;padding:5px 7px!important;border-radius:4px!important}
.kx-pz .zc-time,.kx-pz .status{font-size:12px!important;margin:3px 0!important}
}
.kx-pz.match-panel{background:#fff;overflow:hidden}
.kx-pz .match-head{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;flex-wrap:wrap}
.kx-pz .match-head h2{font-size:clamp(2rem,5vw,3.3rem);margin:.2rem 0}
.kx-pz .match-kicker{text-transform:uppercase;letter-spacing:.12em;color:#e30620;font-weight:900}
.kx-pz .match-level{display:grid;gap:.45rem;min-width:180px}
.kx-pz .match-level select{padding:.8rem;border:2px solid #111;border-radius:9px;background:#fff;font-weight:800}
.kx-pz .match-instruction,.kx-pz .match-move{max-width:840px;margin:1rem auto;padding:.85rem 1rem;border-radius:10px;background:#f3f4f6;color:#374151}
.kx-pz .match-move{text-align:center;font-weight:800;background:#fff7d6}
.kx-pz .match-meta{width:max-content;max-width:100%;margin:.5rem auto 0;padding:.45rem .8rem;border:1px solid #d1d5db;border-radius:999px;font-weight:800;color:#374151}
.kx-pz .match-game{display:flex;justify-content:center;align-items:center;gap:8px;padding:30px 10px 45px;min-height:190px;overflow-x:auto}
.kx-pz .match-char{position:relative;flex:0 0 70px;width:70px;height:126px}
.kx-pz .match-char.operator,.kx-pz .match-char.equal{flex-basis:55px;width:55px}
.kx-pz .match-stick{position:absolute;border:0;padding:0;margin:0;background:transparent;cursor:pointer;z-index:2;touch-action:manipulation}
.kx-pz .match-stick::before{content:"";position:absolute;inset:0;border-radius:999px;background:linear-gradient(90deg,#8b4513 0 78%,#d93025 79% 100%);box-shadow:0 1px 2px #0004}
.kx-pz .match-stick.off::before{display:block;opacity:1;background:#e5e7eb;box-shadow:inset 0 0 0 1px #cbd5e1}
.kx-pz .match-stick.on:hover::before,.kx-pz .match-stick.selected::before{outline:4px solid #ffcf33;outline-offset:2px}
.kx-pz .match-stick.off.target:hover::before,.kx-pz .match-stick.off.target:active::before{background:#bde7c4;outline:3px solid #198754}
.kx-pz .match-stick.h{width:52px;height:8px;left:9px}
.kx-pz .match-stick.v{width:8px;height:52px}
.kx-pz .match-stick.v::before{background:linear-gradient(180deg,#8b4513 0 78%,#d93025 79% 100%)}
.kx-pz .match-stick.v.off::before{background:#e5e7eb}
.kx-pz .seg-a{top:4px}
.kx-pz .seg-g{top:59px}
.kx-pz .seg-d{top:114px}
.kx-pz .seg-f{left:4px;top:10px}
.kx-pz .seg-b{right:4px;top:10px}
.kx-pz .seg-e{left:4px;top:66px}
.kx-pz .seg-c{right:4px;top:66px}
.kx-pz .operator .seg-g,.kx-pz .equal .seg-g,.kx-pz .equal .seg-d{left:2px;width:51px}
.kx-pz .operator .seg-v{left:24px;top:36px}
.kx-pz .equal .seg-g{top:46px}
.kx-pz .equal .seg-d{top:72px}
.kx-pz .operator .seg-g{top:59px}
.kx-pz .match-toolbar{justify-content:center}
.kx-pz.match-panel .status{min-height:48px;margin-top:1rem}
.kx-pz.match-panel .status.ok{background:#dff7e6;color:#126b31}
.kx-pz.match-panel .status.bad{background:#ffe1e1;color:#9b1c1c}
.kx-pz .match-stick.solution-removed::before{opacity:1!important;background:#ffb3b3!important;box-shadow:inset 0 0 0 3px #c62828!important}
.kx-pz .match-stick.solution-added::before{opacity:1!important;background:#2fb45a!important;box-shadow:0 0 0 4px #bce8c9!important}
@media(max-width:650px){.kx-pz.match-panel{width:100%;padding:12px 8px 20px!important;box-sizing:border-box}
.kx-pz.match-panel *{box-sizing:border-box}
.kx-pz .match-head{gap:8px}
.kx-pz .match-head h2{font-size:28px;line-height:1.08}
.kx-pz .match-head .lead{font-size:16px;line-height:1.35}
.kx-pz .match-level{width:100%;gap:5px}
.kx-pz .match-level select{width:100%;padding:10px 12px;font-size:16px}
.kx-pz .match-instruction,.kx-pz .match-move{width:100%;margin:8px 0;padding:9px 10px;font-size:14px;line-height:1.3}
.kx-pz .match-meta{margin:8px auto 2px;padding:6px 9px;font-size:12px;text-align:center}
.kx-pz .match-game{width:100%;height:124px;min-height:124px;gap:0;padding:8px 7px 14px;overflow:visible;box-sizing:border-box}
.kx-pz .match-char{flex:0 0 50px;width:50px;height:102px;transform:none;margin:0}
.kx-pz .match-char.operator,.kx-pz .match-char.equal{flex:0 0 38px;width:38px;height:102px}
.kx-pz .match-stick.h{width:40px;height:7px;left:6px}
.kx-pz .match-stick.v{width:7px;height:42px}
.kx-pz .seg-a{top:2px}
.kx-pz .seg-g{top:47px}
.kx-pz .seg-d{top:92px}
.kx-pz .seg-f{left:2px;top:7px}
.kx-pz .seg-b{right:2px;top:7px}
.kx-pz .seg-e{left:2px;top:52px}
.kx-pz .seg-c{right:2px;top:52px}
.kx-pz .operator .seg-g,.kx-pz .equal .seg-g,.kx-pz .equal .seg-d{left:2px;width:36px}
.kx-pz .operator .seg-v{left:16px;top:30px;width:7px;height:42px}
.kx-pz .operator .seg-g{top:47px}
.kx-pz .equal .seg-g{top:38px}
.kx-pz .equal .seg-d{top:59px}
.kx-pz .match-toolbar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important}
.kx-pz .match-toolbar button{width:100%!important;min-width:0!important;min-height:40px!important;margin:0!important;padding:7px 4px!important;font-size:13px!important;line-height:1.2!important}
.kx-pz .match-toolbar button:last-child{grid-column:1/-1}
.kx-pz.match-panel .status{min-height:0;margin-top:8px;font-size:14px;line-height:1.3;padding:10px}
.kx-pz.match-panel .status:empty{display:none}
.kx-pz .match-char strong{font-size:9px!important;padding:4px 5px!important;bottom:-25px!important}
}
@media(max-width:390px){.kx-pz .match-game{padding-left:8px;padding-right:8px}
.kx-pz .match-char{flex-basis:46px;width:46px}
.kx-pz .match-char.operator,.kx-pz .match-char.equal{flex-basis:34px;width:34px}
.kx-pz .match-stick.h{width:36px;left:5px}
.kx-pz .operator .seg-g,.kx-pz .equal .seg-g,.kx-pz .equal .seg-d{width:30px}
.kx-pz .operator .seg-v{left:13px}
}
@media(max-width:650px){.kx-pz .embedded-game{padding-left:8px!important;padding-right:8px!important}
.kx-pz.match-panel{width:100%!important;max-width:100%!important;padding:10px 8px 12px!important;box-sizing:border-box!important;overflow:hidden!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.kx-pz.match-panel *{box-sizing:border-box}
.kx-pz.match-panel .match-head{display:flex;gap:6px!important}
.kx-pz.match-panel .match-head h2{font-size:22px!important;line-height:1.15!important;margin:2px 0 4px!important}
.kx-pz.match-panel .match-kicker{font-size:11px!important}
.kx-pz.match-panel .match-head .lead{font-size:14px!important;line-height:1.3!important;margin:4px 0!important}
.kx-pz.match-panel .match-level{width:100%!important;min-width:0!important;gap:3px!important;font-size:13px!important}
.kx-pz.match-panel .match-level select{width:100%!important;font-size:16px!important;padding:7px 9px!important;min-height:40px!important}
.kx-pz.match-panel .match-instruction,.kx-pz.match-panel .match-move{width:100%!important;margin:6px 0!important;padding:7px 9px!important;font-size:13px!important;line-height:1.3!important}
.kx-pz.match-panel .match-meta{margin:4px auto!important;padding:4px 8px!important;font-size:12px!important}
.kx-pz.match-panel .match-game{--match-unit:min(52px,calc((100cqw - 8px)/var(--match-weight,6)));container-type:inline-size;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:0!important;height:auto!important;margin:6px 0!important;padding:6px 0!important;gap:0!important;overflow:visible!important}
.kx-pz.match-panel .match-char{flex:0 0 var(--match-unit)!important;width:var(--match-unit)!important;height:calc(var(--match-unit)*2.04)!important;transform:none!important;margin:0!important;position:relative!important}
.kx-pz.match-panel .match-char.operator,.kx-pz.match-panel .match-char.equal{flex-basis:calc(var(--match-unit)*.72)!important;width:calc(var(--match-unit)*.72)!important}
.kx-pz.match-panel .match-char .match-stick{min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;touch-action:manipulation}
.kx-pz.match-panel .match-char .match-stick.h{width:80%!important;height:6px!important;left:10%!important;right:auto!important}
.kx-pz.match-panel .match-char .match-stick.v{width:6px!important;height:41.2%!important}
.kx-pz.match-panel .match-char .seg-a{top:2%!important}
.kx-pz.match-panel .match-char .seg-g{top:46%!important}
.kx-pz.match-panel .match-char .seg-d{top:90%!important}
.kx-pz.match-panel .match-char .seg-f{left:4%!important;right:auto!important;top:7%!important}
.kx-pz.match-panel .match-char .seg-b{right:4%!important;left:auto!important;top:7%!important}
.kx-pz.match-panel .match-char .seg-e{left:4%!important;right:auto!important;top:51%!important}
.kx-pz.match-panel .match-char .seg-c{right:4%!important;left:auto!important;top:51%!important}
.kx-pz.match-panel .operator .match-stick.seg-g,.kx-pz.match-panel .equal .match-stick.seg-g,.kx-pz.match-panel .equal .match-stick.seg-d{left:8%!important;width:84%!important}
.kx-pz.match-panel .operator .match-stick.seg-v{left:calc(50% - 3px)!important;top:30%!important;height:38%!important;width:6px!important}
.kx-pz.match-panel .equal .match-stick.seg-g{top:37%!important}
.kx-pz.match-panel .equal .match-stick.seg-d{top:58%!important}
.kx-pz.match-panel .match-stick::after{content:'';position:absolute;inset:-4px;background:transparent}
.kx-pz.match-panel .match-time{font-size:15px!important;margin:5px 0!important;line-height:1.3!important}
.kx-pz.match-panel .match-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:6px 0 0!important;width:100%!important}
.kx-pz.match-panel .match-toolbar button{grid-column:auto!important;width:100%!important;min-width:0!important;min-height:42px!important;padding:7px 4px!important;margin:0!important;font-size:13px!important;line-height:1.2!important}
.kx-pz.match-panel .status{min-height:0!important;margin:6px 0 0!important;padding:6px!important;font-size:13px!important;line-height:1.3!important}
.kx-pz.match-panel .status:empty{display:none!important}
.kx-pz .match-win-card{max-height:85dvh;overflow:auto}
}
.kx-pz .match-time{text-align:center;font-weight:bold;font-size:17px;margin:8px}
.kx-pz .match-win-modal{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:20px}
.kx-pz .match-win-card{font-family:Arial,sans-serif;background:white;padding:24px;border-radius:12px;text-align:center;width:min(440px,100%);box-shadow:0 8px 32px #333}
.kx-pz .match-win-card h2{color:#16813d;margin-top:0}
.kx-pz .match-win-actions{display:flex;gap:10px;flex-direction:column}
.kx-pz .match-win-actions button,.kx-pz .match-win-actions a{padding:12px;border:1px solid #aaa;border-radius:6px;background:#eee;color:#111;text-decoration:none;font:inherit;cursor:pointer}
.kx-pz #match-win-new{background:#16813d;color:white;border-color:#16813d}
.kx-pz .match-stick.match-guide-from{background:#e32636!important;box-shadow:0 0 0 3px #e32636!important;color:white!important;font-size:12px;font-weight:bold;z-index:3}
.kx-pz .match-stick.match-guide-to{background:#24a148!important;opacity:1!important;box-shadow:0 0 0 3px #24a148!important;color:white!important;font-size:12px;font-weight:bold;z-index:3}
.kx-pz.kx-such-shell *,.kx-pz .such-modal *{box-sizing:border-box}
.kx-pz.kx-such-shell{margin:0;padding:8px;font-family:Arial,sans-serif;background:#fff;color:#171717}
.kx-pz.kx-such-shell{max-width:760px;margin:auto}
.kx-pz.kx-such-shell h1,.kx-pz .such-modal h1{font-size:24px;margin:6px 0}
.kx-pz.kx-such-shell .such-game,.kx-pz .such-modal .such-game{text-align:center}
.kx-pz.kx-such-shell .kicker,.kx-pz .such-modal .kicker{font-weight:bold;color:#555}
.kx-pz.kx-such-shell .such-options,.kx-pz .such-modal .such-options{display:flex;justify-content:center;gap:16px;margin:8px 0;flex-wrap:wrap}
.kx-pz.kx-such-shell .such-options label,.kx-pz .such-modal .such-options label{font-weight:bold}
.kx-pz.kx-such-shell .such-options select,.kx-pz .such-modal .such-options select{display:block;margin-top:5px;padding:9px;font-size:16px}
.kx-pz.kx-such-shell .such-board,.kx-pz .such-modal .such-board{display:grid;width:min(300px,100%);aspect-ratio:1;margin:10px auto;border:3px solid #111}
.kx-pz.kx-such-shell .such-cell,.kx-pz .such-modal .such-cell{padding:0;min-width:0;min-height:0;height:100%;line-height:1;overflow:hidden;border:1px solid rgba(255,255,255,.8);font-size:clamp(18px,4vw,32px);font-weight:900;display:grid;place-items:center;cursor:pointer;user-select:none;touch-action:manipulation}
.kx-pz.kx-such-shell .such-cell.auto-x,.kx-pz .such-modal .such-cell.auto-x{color:rgba(0,0,0,.38)}
.kx-pz.kx-such-shell .such-cell.o,.kx-pz .such-modal .such-cell.o{color:#e83b32}
.kx-pz.kx-such-shell .game-toolbar,.kx-pz .such-modal .game-toolbar{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.kx-pz.kx-such-shell .button,.kx-pz .such-modal .button{display:inline-block;padding:8px 12px;border:1px solid #ccc;border-radius:8px;background:#eee;color:#111;font:inherit;text-decoration:none;cursor:pointer}
.kx-pz.kx-such-shell .button.primary,.kx-pz .such-modal .button.primary{background:#d93030;color:#fff;border-color:#d93030}
.kx-pz.kx-such-shell .game-status,.kx-pz .such-modal .game-status{font-weight:bold;min-height:30px;margin:6px}
.kx-pz.kx-such-shell .solution-box,.kx-pz .such-modal .solution-box{padding:20px;background:#dcfae6;border-radius:12px;margin:20px auto;max-width:500px}
.kx-pz .such-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:grid;place-items:center;z-index:50}
.kx-pz .such-modal .such-modal-card{background:#fff;border-radius:16px;padding:26px;width:min(440px,calc(100% - 30px))}
@media(max-width:480px){.kx-pz.kx-such-shell{padding:10px}
.kx-pz.kx-such-shell .such-options,.kx-pz .such-modal .such-options{flex-direction:column}
.kx-pz.kx-such-shell h1,.kx-pz .such-modal h1{font-size:24px}
}
.kx-pz.kx-such-shell p,.kx-pz .such-modal p{margin:8px 0;font-size:14px}
.kx-pz.kx-such-shell .such-options select,.kx-pz .such-modal .such-options select{padding:5px;font-size:14px}
.kx-pz.kx-such-shell .solution-box,.kx-pz .such-modal .solution-box{padding:8px;margin:8px auto}
