/* ОРИНЭ Play v24 — единые стили для 26 новых самостоятельных игр */
.ox-game{max-width:1060px;margin:auto;color:#432556;font-size:15px;min-width:0}
.ox-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:3px 0 12px}
.ox-new{background:#339901;color:#fff;border:0;border-radius:11px;padding:11px 18px;font-size:14px;font-weight:800;cursor:pointer}
.ox-score{font-size:14px;font-weight:850;color:#480477;background:#f3ecf8;border-radius:11px;padding:10px 12px}
.ox-status{margin:10px 0 12px;min-height:24px;font-weight:680;color:#624c70;font-size:14px;line-height:1.5}
.ox-board{max-width:940px;min-height:275px;margin:0 auto;position:relative;border:1px solid #e5d9ea;border-radius:18px;padding:clamp(9px,2vw,22px);background:linear-gradient(155deg,#fbf7fe,#f1f6ed)}
.ox-board button{cursor:pointer;font:inherit;touch-action:manipulation}
.ox-board button:focus-visible{outline:3px solid #339901;outline-offset:2px;z-index:2}
.ox-grid{display:grid;grid-template-columns:repeat(var(--cols,5),minmax(0,1fr));gap:clamp(3px,.7vw,8px);width:min(100%,560px);margin:12px auto}
.ox-grid>button,.ox-grid>span{display:grid;place-items:center;aspect-ratio:1/1;min-width:0;min-height:0;width:100%;border:1px solid #ddcce8;border-radius:clamp(3px,.7vw,10px);color:#480477;background:#fff;font-weight:900;font-size:clamp(17px,4.5vw,43px);line-height:1;padding:0}
.ox-grid>.ox-cell:hover:not(:disabled){background:#f5eafa;border-color:#8a59a8}
.ox-grid .given{background:#e8f0e4;color:#339901;cursor:default}.ox-grid .ox-picked{background:#fbdc68;color:#480477;box-shadow:0 0 0 3px #efaa14}.ox-grid .light{background:#fff}.ox-grid .dark{background:#dfcce9}
.ox-actions,.ox-palette,.ox-pickers{display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:center;margin:16px auto;max-width:900px}
.ox-action,.ox-palette button{background:#480477;color:white;border:0;border-radius:11px;padding:12px 18px;font-weight:800;font-size:15px;min-height:43px}
.ox-action.secondary{background:#fff;color:#480477;border:1px solid #bda3cd}.ox-action:disabled{opacity:.45;cursor:default}
.ox-palette button{min-width:42px;min-height:42px;padding:8px 12px;border:2px solid #ddcce8;color:#fff;text-shadow:0 1px 2px #0006}
.ox-palette button.selected{border:3px solid #480477;background:#e7d5f2;color:#480477}
.ox-form{display:flex;align-items:center;justify-content:center;gap:11px;flex-wrap:wrap;margin:28px auto}
.ox-form input{min-width:150px;max-width:290px;width:min(100%,290px);border-radius:12px;padding:13px 16px;background:#fff;color:#480477;border:2px solid #d7c4e5;font-size:20px;font-weight:740}
.ox-log{max-width:470px;margin:15px auto;max-height:460px;overflow:auto;font-size:16px}.ox-log>div{padding:7px 12px;border-bottom:1px solid #e8dcea;color:#480477}
.ox-hanoi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end;max-width:730px;margin:20px auto}.ox-rod{position:relative;display:block;height:225px;border:0;border-bottom:14px solid #754392;border-radius:12px;background:#e8e0ee66;min-width:0}.ox-rod.sel{outline:4px solid #339901}.ox-axis{display:block;width:13px;background:#9c77ac;height:190px;position:absolute;left:calc(50% - 7px);bottom:0;border-radius:12px}.ox-disk{position:absolute;left:50%;transform:translateX(-50%);width:calc((var(--size) * 12% + 26%));height:27px;border-radius:12px;color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:0 3px 7px #0003}
.ox-tubes{display:flex;flex-wrap:wrap;gap:clamp(12px,2vw,24px);justify-content:center;align-items:flex-end;margin:30px auto}.ox-tube{width:clamp(37px,10vw,87px);height:230px;display:flex;align-items:end;justify-content:center;border:3px solid #b0a1ba;border-top:0;border-radius:0 0 25px 25px;background:#fff8;padding:3px;box-shadow:0 8px 12px #48047712}.ox-tube.sel{outline:4px solid #339901}.ox-tube-base{display:flex;flex-direction:column-reverse;width:100%;height:100%;justify-content:flex-start;overflow:hidden;border-radius:0 0 20px 20px}.ox-tube-base span{display:block;width:100%;height:24%;border-top:1px solid #ffffff66}
.ox-flood{max-width:520px;gap:3px}.ox-flood span{border:0;border-radius:3px}.ox-magic{max-width:365px}.ox-latin{max-width:500px}.ox-binary{max-width:490px}.ox-chess{max-width:545px}.ox-chess .ox-knight{background:#d4efc5;color:#339901}.ox-path{max-width:410px}.ox-path .lit{background:#339901;color:white}.ox-map4{max-width:560px}.ox-map4 button{font-size:18px;border:1px solid #a69daf;color:#221437}
.ox-pickers .ox-large{font-size:48px;min-width:75px;min-height:85px;background:#fff;border:2px solid #dfc8eb;border-radius:14px}
.ox-morse{text-align:center;font-weight:850;color:#480477;font-family:monospace;font-size:clamp(18px,4vw,32px);letter-spacing:.04em;margin:30px auto;overflow-wrap:anywhere}
.ox-number{text-align:center;font-weight:900;color:#480477;font-size:clamp(48px,10vw,84px);padding:23px}.ox-number small{font-size:20px;color:#806d91}
.ox-dice{font-size:110px;color:#480477;text-align:center}.ox-duel{font-size:18px;font-weight:720;text-align:center}.ox-sum-panel{max-width:680px;margin:auto;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:15px}.ox-sum-clues{line-height:2;font-weight:750}
.ox-hex{max-width:560px;margin:14px auto;overflow:hidden}.ox-hex-row{display:flex;gap:3px}.ox-hex-row button{width:calc((100% - 80px) / 7);min-width:0;aspect-ratio:1;border:0;background:#fff;color:#afa1b6;border-radius:15px;font-size:clamp(18px,4vw,39px);line-height:1}.ox-hex-row .p1{background:#dae4ff;color:#3768c1}.ox-hex-row .p2{background:#ffe3eb;color:#cc3c62}
.ox-mancala{display:flex;align-items:center;justify-content:center;gap:7px;max-width:690px;margin:35px auto;border-radius:35px;background:linear-gradient(135deg,#7a4c99,#480477);padding:15px}.ox-store{background:#fff;color:#480477;font-size:32px;font-weight:900;width:55px;height:175px;display:grid;place-items:center;border-radius:26px}.ox-mancala-center{flex:1;min-width:0}.ox-pits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:5px}.ox-pits button{min-width:0;aspect-ratio:1;border:0;border-radius:50%;font-weight:900;font-size:clamp(13px,2vw,22px);background:#f5ecfa;color:#480477;padding:0}.ox-pits .opp{background:#ddd3e9}.ox-pits .you{background:#e1f6d8}
.ox-snakes{max-width:590px;gap:2px}.ox-snakes span{font-size:clamp(10px,2.1vw,21px);position:relative;background:#f2eaf7}.ox-snakes span:nth-child(2n){background:#e7f3de}.ox-snakes span.jump{background:#ffe1c4}.ox-snakes span small{position:absolute;top:3px;left:4px;font-size:clamp(9px,1.2vw,13px);font-weight:700;color:#7a6883}
.ox-equation{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;color:#480477;font-weight:900;font-size:30px;margin:38px auto}.ox-equation button{min-width:65px}.ox-set{max-width:680px}.ox-set button{font-size:clamp(20px,3vw,39px);letter-spacing:-.03em}.ox-escape .wall{background:#64477e;color:#fff}.ox-escape .exit{background:#d5f0bf;color:#339901}.ox-escape .p1{background:#480477;color:#fff}
.ox-coin-board .ox-cell{font-size:clamp(26px,5vw,46px);color:#9880ad}.ox-coin-board .ox-cell.light{background:#eefbdc;color:#339901}.ox-coin-board .ox-cell.right{background:#f4d9eb;color:#b12f7c}
.ox-game details{margin:15px 0 0;border:1px solid #e6dce9;border-radius:13px;padding:12px 16px;color:#624f6b;font-size:14px;line-height:1.6;background:#fff}
.ox-game details summary{font-weight:850;color:#480477;cursor:pointer}
@media(max-width:600px){.ox-board{padding:8px;min-height:215px}.ox-grid{gap:3px}.ox-hanoi{gap:3px}.ox-rod{height:165px}.ox-axis{height:140px}.ox-disk{height:21px;bottom:calc(var(--size) * 0px)}.ox-tube{height:176px}.ox-action{padding:10px 12px}.ox-hex-row{gap:2px}.ox-hex-row button{border-radius:7px}.ox-store{width:35px;height:140px;font-size:24px}.ox-mancala{padding:7px;border-radius:15px}}
