/* EIN PUZZLE No.43-48: namespaced, does not affect prior pages. */
/* EIN PUZZLE No.35-42. New classes only; existing games not affected. */
/* EIN PUZZLE No.27-34: selectors are namespaced; no old assets modified */
.p7-board{display:flex;flex-direction:column;align-items:center;gap:14px;justify-content:center;min-height:190px;width:100%;margin:17px 0}.p7-extra{margin:10px auto;text-align:center;font-weight:750;color:#34694d;min-height:27px}.p7-grid{display:grid;width:min(100%,520px);aspect-ratio:1;gap:4px;padding:7px;border-radius:14px;background:#e0ece4}.p7-cell{min-width:0;min-height:0;aspect-ratio:1;display:grid;place-items:center;border:1px solid #aacaba;border-radius:7px;background:white;color:#245c43;font-weight:800;font-size:clamp(16px,4vw,25px);cursor:pointer;touch-action:manipulation}.p7-cell.active{background:#fbe5ad;box-shadow:inset 0 0 0 2px #edb05d}.p7-cell.done{background:#c8e9d5}.p7-cell.obstacle{background:#5c7669;color:white}.p7-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.p7-action{min-width:49px;min-height:46px;border-radius:10px;border:1px solid #a7c9b4;background:#eaf5ed;color:#2e654a;font-size:18px;font-weight:800;padding:9px 15px;cursor:pointer;touch-action:manipulation}.p7-action.primary{background:#3b9672;color:#fff}.p7-note{text-align:center;color:#557660;font-size:14px}.p7-big{font-size:clamp(20px,4vw,32px);font-weight:850;color:#25583e}.p7-target{border:2px solid #b5dcc3;background:#eaf6ed;border-radius:14px;padding:11px 17px;text-align:center;font-weight:800;color:#285e44}.p7-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center}.p7-input{width:65px;min-height:58px;text-align:center;border:2px solid #b9d6c7;border-radius:10px;font-size:25px;font-weight:850;color:#2d664b}.p7-chip{padding:9px 13px;background:white;border:1px solid #b1d2be;border-radius:9px;font-size:20px;font-weight:800}.p7-chip.sel{background:#ffe8ba;border-color:#d5a657}.p7-scheme{display:grid;gap:8px;width:min(100%,620px)}.p7-equation{background:#f0f8f2;border:1px solid #d3e5d7;border-radius:10px;padding:11px 16px;text-align:center;font-size:21px;font-weight:800}.p7-points{position:relative;width:min(100%,510px);aspect-ratio:1;border-radius:17px;background:#e8f2eb;touch-action:manipulation}.p7-points svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.p7-point{position:absolute;transform:translate(-50%,-50%);width:45px;height:45px;border:3px solid white;border-radius:50%;color:#fff;background:#379471;font-size:20px;font-weight:850;box-shadow:0 3px 9px #0002;cursor:pointer}.p7-point.sel{background:#e1a546}.p7-dicefaces{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.p7-die{background:#fff;border:2px solid #b7d4c3;border-radius:12px;padding:12px 18px;text-align:center;min-width:85px;color:#255a41}.p7-die strong{display:block;font-size:34px}.p7-coin{padding:12px 16px;min-width:77px;border-radius:50px;background:#f8e1a2;border:3px solid #ceac51;color:#674e17;font-size:21px;font-weight:850;cursor:pointer}.p7-coin:disabled{opacity:.4}.p7-coin small{display:block;font-size:11px}.p7-cipher{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;max-width:570px}.p7-symbol{width:43px;min-height:66px;border:2px solid #b5d5c1;border-radius:8px;background:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:2px;cursor:pointer;font-weight:850}.p7-symbol small{font-size:13px;color:#70887a}.p7-symbol.sel{border-color:#dd9f49;background:#fff1d0}.p7-symbol .p7-answer{font-size:24px;color:#236346}.p7-symbol.space{background:transparent;border:0;pointer-events:none;width:20px}.p7-blockboard{position:relative;aspect-ratio:1;width:min(100%,520px);border-radius:14px;background:#dcebe2;border:6px solid #bad3c4;overflow:hidden;touch-action:manipulation}.p7-car{position:absolute;border-radius:10px;border:3px solid #ffffff80;display:grid;place-items:center;font-weight:900;color:#fff;font-size:clamp(15px,4vw,24px);cursor:pointer;touch-action:manipulation}.p7-car.active{outline:4px solid #efa54a;outline-offset:-2px}.p7-laser{position:relative}.p7-laser::after{content:' ';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 3px #f4d77b}.p7-light{background:#fff7d0;border-color:#e7bd60}.p7-arrow-sky{font-size:clamp(15px,4vw,27px)}
.p7-action:focus-visible,.p7-cell:focus-visible,.p7-point:focus-visible,.p7-car:focus-visible,.p7-symbol:focus-visible,.p7-coin:focus-visible{outline:3px solid #e9a94f;outline-offset:3px}
@media(max-width:500px){.p7-grid{gap:2px;padding:4px}.p7-cell{border-radius:4px}.p7-blockboard{border-width:3px}.p7-coin{min-width:60px;padding:10px 8px;font-size:17px}.p7-point{width:37px;height:37px}}

.p7-tubes{display:flex;align-items:end;gap:12px;flex-wrap:wrap;justify-content:center;padding:16px 0;width:100%}.p7-tube{width:clamp(51px,12vw,82px);min-height:185px;display:flex;flex-direction:column-reverse;align-items:center;justify-content:flex-start;padding:9px 6px 6px;border:3px solid #93b9a3;border-top:0;border-radius:0 0 26px 26px;background:#f7fbf8;gap:3px;cursor:pointer}.p7-tube.selected{background:#fff4d9;border-color:#d7a14a}.p7-ball{width:clamp(35px,9vw,59px);height:35px;border-radius:50%;border:2px solid #fff6;box-shadow:inset -6px -6px 9px #0002,0 2px 3px #0001}.p7-bottlelabel{font-weight:700;font-size:13px;margin-top:5px;color:#497358}.p7-robot{width:min(100%,580px)}.p7-boardgrid{display:grid;gap:3px;width:min(100%,520px);aspect-ratio:1;background:#deece3;padding:7px;border-radius:14px}.p7-robotcell{display:grid;place-items:center;border-radius:5px;min-width:0;font-size:clamp(17px,5vw,30px);background:white}.p7-robotcell.wall{background:#799787}.p7-robotcell.exit{background:#ffebc5}.p7-robotcell.player{background:#c9eddb}.p7-controls{display:grid;grid-template-columns:repeat(3,60px);gap:5px;justify-content:center}.p7-controls button{height:51px}.p7-shadows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;width:min(100%,560px)}.p7-shadowcard{display:grid;place-items:center;min-height:140px;background:#fff;border:2px solid #bad4c3;border-radius:14px;padding:10px;cursor:pointer}.p7-shadowcard svg{width:110px;max-width:100%;height:100px}.p7-shadowsample{background:#e4f3e9;border-radius:14px;padding:12px;text-align:center}.p7-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;width:min(100%,560px)}.p7-weekdays button{min-height:55px;min-width:0;padding:6px 1px;font-size:clamp(13px,3vw,20px)}.p7-gearlist{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.p7-gear{width:clamp(55px,13vw,86px);height:clamp(55px,13vw,86px);border-radius:50%;border:5px dashed #abcbb7;background:#e9f6ee;font-size:35px;font-weight:900;color:#2c7051;cursor:pointer;display:grid;place-items:center}.p7-gear.correct{border-color:#4ba783;background:#d0f2de}.p7-ring{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(100%,490px)}.p7-ringbutton{height:70px;font-size:27px}.p7-ringbutton.chosen{background:#fff0ce;border-color:#daa958}.p7-rectgrid{display:grid;gap:3px;width:min(100%,520px);aspect-ratio:1;background:#dfebe1;padding:7px;border-radius:12px}.p7-rectcell{min-width:0;border-radius:5px;border:1px solid #b5d0bd;display:grid;place-items:center;font-size:clamp(10px,2.4vw,18px);font-weight:850;background:white}.p7-answerlist{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}.p7-answerlist button{min-width:66px}.p7-overlay-cell{border-radius:4px;border:1px solid #ffffff55;min-width:0}.p7-nice{font-size:clamp(22px,5vw,42px);color:#2b684b;font-weight:850}.p7-helper{font-size:14px;color:#637d6c;text-align:center;max-width:540px}.p7-shadowcard:focus-visible,.p7-tube:focus-visible,.p7-gear:focus-visible{outline:3px solid orange;outline-offset:3px}@media(max-width:480px){.p7-tubes{gap:7px}.p7-tube{min-height:160px;padding:6px 4px}.p7-ball{height:29px}.p7-shadows{gap:7px}.p7-shadowcard{min-height:100px}.p7-shadowcard svg{height:75px}.p7-ringbutton{height:58px}.p7-boardgrid,.p7-rectgrid{padding:4px;gap:2px}}

.p7-magic{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;width:min(98%,380px);margin:0 auto}.p7-magic button{aspect-ratio:1;min-width:0;border:2px solid #badcc8;background:white;color:#2a6a4e;font-size:clamp(22px,6vw,40px);font-weight:800;border-radius:12px}.p7-magic button.clue{background:#e9f2ed;border-color:#d4e5dc;color:#516e60}.p7-magic button.active{outline:3px solid #edb652;outline-offset:-3px}.p7-numberkeys{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;max-width:600px}.p7-numberkeys button{min-width:43px;height:46px}.p7-travel{display:grid;gap:5px;max-width:min(95%,480px);width:100%;margin:auto}.p7-travel button{aspect-ratio:1;border:1px solid #bcd8c8;border-radius:9px;min-width:0;font-weight:800;font-size:clamp(15px,3.7vw,24px);color:#2d5b43;background:#f6faf7}.p7-travel button.visited{background:#d2eadd}.p7-travel button.current{background:#2c9779;color:white}.p7-origami{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}.p7-mini{display:grid;gap:3px;width:min(170px,44vw)}.p7-mini div{aspect-ratio:1;background:#fff4d5;border:1px solid #cfb67b;border-radius:5px;display:grid;place-items:center;font-size:22px}.p7-paper{display:grid;gap:3px;width:min(92%,420px);margin:auto}.p7-paper button{aspect-ratio:1;border-radius:8px;border:1px solid #aecabb;background:#f0f8f3;min-width:0;font-size:clamp(12px,4vw,24px)}.p7-paper button.chosen{background:#f3d89c;border-color:#c28830}.p7-tiles{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:690px}.p7-tiles button{border:2px solid #bdd9c8;border-radius:12px;background:#edf6f0;color:#225d40;font-weight:850;font-size:clamp(20px,5vw,32px);width:clamp(68px,15vw,90px);height:78px}.p7-tiles button.left{background:#d3e7fa;border-color:#7eb3df}.p7-tiles button.right{background:#fae3cf;border-color:#dea874}.p7-tiles button small{display:block;font-size:12px;font-weight:650}.p7-sum{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.p7-sum div{background:#f4f9f5;border:1px solid #cee3d5;padding:10px 16px;border-radius:12px}.p7-stackfield{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:10px;max-width:540px;width:100%}.p7-stack{border-radius:10px;padding:6px 4px;background:#f5faf7;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:4px;min-height:120px;border:1px solid #cee3d5}.p7-cube{width:min(90%,42px);height:18px;border-radius:3px;background:linear-gradient(145deg,#4fa782,#25765b);border:1px solid #166547;box-shadow:3px -3px 0 #95ceb2;transform:skewY(-5deg)}.p7-clocks{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;align-items:center}.p7-clocksvg{width:min(230px,66vw);height:auto}.p7-clockopts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,360px)}.p7-clockopts button{font-size:23px;min-height:54px}.p7-note{font-weight:750;color:#386d50;text-align:center}.p7-submit{padding:11px 24px;font-size:18px}.p7-magic button:focus-visible,.p7-travel button:focus-visible,.p7-paper button:focus-visible,.p7-tiles button:focus-visible,.p7-numberkeys button:focus-visible{outline:3px solid #dd9c3f;outline-offset:2px}@media(max-width:480px){.p7-stackfield{gap:5px}.p7-stack{min-height:90px}.p7-cube{height:15px}.p7-origami{gap:10px}.p7-tiles button{height:71px}}
