.lp-game{color:#edf3ff;max-width:860px;margin:auto;padding:22px;background:radial-gradient(ellipse at top,#183249,#101721 65%);border-radius:18px;position:relative;font:15px/1.5 system-ui,sans-serif}.lp-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.lp-heading h1{font-size:26px;margin:0 0 14px}.lp-heading small{color:#82b7cf;letter-spacing:2px}.lp-game button,.lp-game select,.lp-game input{color:inherit;font:inherit;border:1px solid #415266;border-radius:8px;background:#263447;padding:9px 15px;cursor:pointer;touch-action:manipulation}.lp-game button:hover{filter:brightness(1.18)}.lp-game button:focus-visible,.lp-game [tabindex]:focus-visible{outline:3px solid #ffdb6e;outline-offset:2px}.lp-game button:disabled{opacity:.4;cursor:default}.lp-game button.primary,.lp-game button.selected{background:#b5e472;color:#192b12;border-color:#d6ffa0}.lp-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.lp-metrics span{background:#0b1422a6;border:1px solid #2c4155;border-radius:10px;text-align:center;padding:8px;color:#94adbf;font-size:12px}.lp-metrics b{display:block;font-size:21px;color:#effcff;font-variant-numeric:tabular-nums}.lp-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.lp-toolbar button{font-size:13px;padding:7px 12px}.lp-toolbar select{padding:5px;max-width:160px}.lp-stage{position:relative;background:#09131e;border-radius:14px;min-height:400px;padding:18px 24px 15px}.lp-context{color:#b1c5d7;text-align:center;min-height:38px;margin-bottom:14px}.lp-context b{color:#f5d990;font-size:1.25em}.lp-board{position:relative;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:6px;max-width:560px;margin:0 auto;touch-action:pan-y}.lp-cell{position:relative;aspect-ratio:1;background:var(--tile,#283e54)!important;color:var(--ink,#e9f4ff)!important;border:1px solid #46627a!important;padding:0!important;font-size:clamp(16px,3vw,30px)!important;font-weight:650!important;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:visible;border-radius:8px!important;min-width:0;user-select:none}.lp-cell small{display:block;font-size:12px;font-weight:400}.lp-cell.fixed{box-shadow:inset 0 0 0 3px #07111b66}.lp-cell.selected{outline:3px solid #ffdd69;z-index:2}.lp-cell.empty{background:transparent!important;box-shadow:none;opacity:.18}.lp-cell.path{background:#72874b!important;box-shadow:inset 0 0 0 2px #e2ff9a}.lp-cell.removed{text-decoration:line-through;background:#111b28!important;color:#637080!important}.lp-cell.sea{background:#163251!important;color:#88a9c4!important}.lp-cell.beam{background:#4b4325!important}.lp-cell.lit{color:#fff56a!important}.lp-cell.wall{background:#050a11!important;border-color:#050a11!important}.lp-cell.actor{background:var(--tile,#43b4c4)!important;color:#082630!important;box-shadow:inset 0 0 0 3px #d6ffff77}.lp-cell.actor.pink{--tile:#f6a3ce}.lp-cell.danger{background:#a24551!important}.lp-cell.hit{background:#763d3f!important}.lp-cell.red{color:#ff9caa!important}.lp-cell.chessdark{background:#172b40!important}.lp-queens .lp-cell,.lp-mirrorpaint .lp-cell,.lp-rotblock .lp-cell,.lp-wuxingdoku .lp-cell{color:#1a3040!important}.lp-pancake{max-width:360px;gap:8px}.lp-pancake .lp-cell{aspect-ratio:auto;min-height:38px;width:var(--size);justify-self:center;color:#32200c!important;border-radius:30% 30% 8px 8px!important;box-shadow:0 5px 0 #8d491c}.lp-jugs{gap:20px}.lp-jugs .lp-cell{background:linear-gradient(to top,#278eb8 var(--fill),#1b2e43 var(--fill))!important;aspect-ratio:.65;border:3px solid #6aa4be!important;border-top:0!important;border-radius:4px 4px 20px 20px!important;font-size:18px!important}.lp-torchbridge .lp-cell,.lp-liarlogic .lp-cell{aspect-ratio:auto;min-height:145px;padding:10px!important;font-size:16px!important}.lp-liarlogic{grid-template-columns:repeat(2,1fr)}.lp-leverbal{gap:3px;border-bottom:7px solid #c99955;padding-bottom:7px}.lp-leverbal .lp-cell{font-size:14px!important;aspect-ratio:.7}.lp-inputs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:18px auto 0}.lp-inputs p{width:100%;text-align:center;margin:2px}.lp-inputs small{color:#89a7bf}.lp-keypad{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;max-width:560px}.lp-keypad button{min-width:40px;padding:7px}.lp-inputs form{display:flex;gap:10px;align-items:center}.lp-inputs input{width:100px}.lp-note{color:#f4cc84;min-height:23px;text-align:center;margin:14px 0 0}.lp-overlay{position:absolute;inset:0;background:#0a1428f2;z-index:5;border:1px solid #476078;border-radius:14px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:25px;text-align:center;backdrop-filter:blur(7px)}.lp-overlay[hidden]{display:none}.lp-overlay h2{font-size:27px;color:#f1e3a5}.lp-overlay p{max-width:480px;color:#b6c4d6}.lp-overlay .primary{padding:12px 35px;margin-top:16px}.lp-rules{color:#a7bad0;margin:20px 0 0}.lp-rules summary{cursor:pointer}.lp-rules p{margin:8px 0}.lp-target{display:grid;grid-template-columns:repeat(4,1fr);width:85px;gap:2px;margin:6px auto}.lp-target i{height:15px;border-radius:2px}.lp-sums{display:grid;grid-template-columns:0 repeat(var(--cols),minmax(0,1fr));gap:6px;max-width:560px;margin:12px auto -10px}.lp-sums b{font-size:14px}.lp-rowtarget{position:absolute;right:calc(100% + 7px);font-size:14px;color:#f5d990;font-style:normal}.lp-soloship{gap:3px}.lp-soloship .lp-cell{font-size:16px!important;border-radius:4px!important}.lp-beam-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;opacity:.6}.lp-beam-svg polyline{fill:none;stroke:#f8e255;stroke-width:.065;stroke-linecap:round;stroke-linejoin:round}.lp-dpad{display:grid;grid-template-columns:repeat(3,55px);gap:6px}.lp-dpad button:first-child{grid-column:2}.lp-dpad button:nth-child(2){grid-column:1}.lp-dpad button:nth-child(5){grid-column:2}.lp-twin{display:flex;gap:14px;grid-column:1/-1}.lp-mini{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;width:50%}.lp-mini .lp-cell{font-size:19px!important;border-radius:4px!important}.lp-graph{width:100%;max-height:430px}.lp-graph line{stroke:#59738f;stroke-width:4}.lp-graph line.used{stroke:#dff391;stroke-width:7}.lp-graph circle{fill:#2e526f;stroke:#a7cada;stroke-width:2}.lp-graph circle.head{fill:#7c9d48;stroke:#f4ffad;stroke-width:3}.lp-graph text{fill:#fff;text-anchor:middle;font:18px system-ui;pointer-events:none}.lp-graph g{cursor:pointer}.lp-huochai{display:flex;justify-content:center;gap:8px;align-items:center}.lp-seven{width:25%;max-width:150px}.lp-seven rect{fill:#1e3547;stroke:#3f5969;stroke-width:1;cursor:pointer}.lp-seven rect.lit{fill:#edc36d;stroke:#fff3bb}.lp-seven rect.picked{fill:#fff8b0;stroke:#ff9453;stroke-width:3}.lp-mathsymbol{font-size:30px;color:#c1d1dc}.lp-equation{display:block;font-size:30px!important;letter-spacing:7px}.lp-nextcard{display:inline-block;padding:7px 10px;background:#f0ece3;color:#283647!important;border-radius:5px}.lp-cryptarith .lp-cell{aspect-ratio:.8}.lp-cryptarith .lp-cell small{font-size:24px}.lp-numpyramid .lp-cell.empty{visibility:hidden}.lp-ringalign{gap:10px}.lp-ringalign .lp-cell{color:#233244!important}.lp-twentyfour .lp-cell,.lp-countdown .lp-cell{font-size:25px!important}
@media(max-width:600px){.lp-game{padding:13px 8px;border-radius:10px}.lp-heading{padding:0 8px}.lp-heading h1{font-size:21px}.lp-heading small{font-size:10px;letter-spacing:1px}.lp-stage{padding:16px 21px 14px;min-height:360px}.lp-toolbar{gap:5px}.lp-toolbar button{padding:6px 8px;font-size:12px}.lp-metrics{gap:4px}.lp-metrics b{font-size:17px}.lp-cell{border-radius:5px!important;font-size:21px!important}.lp-board{gap:4px}.lp-liarlogic .lp-cell{font-size:14px!important;min-height:130px}.lp-torchbridge{grid-template-columns:repeat(2,1fr)}.lp-torchbridge .lp-cell{min-height:80px}.lp-game .lp-inputs button{padding:8px 11px}.lp-context{font-size:13px}.lp-soloship .lp-cell{font-size:12px!important}.lp-soloship{gap:2px}.lp-fakecoin .lp-cell small{font-size:10px}.lp-leverbal .lp-cell{font-size:11px!important;min-height:60px}.lp-cryptarith .lp-cell{font-size:20px!important}.lp-equation{font-size:23px!important;letter-spacing:2px}.lp-metrics span{font-size:10px}.lp-twin{gap:10px}.lp-mini .lp-cell{font-size:16px!important}.lp-inputs input{width:75px}}
