/* v129 games and local daily-practice panel, using the OfficeCalculator theme. */
.oc-v129[hidden],.oc-v129 [hidden],.oc-v129-practice [hidden]{display:none!important}
.oc-v129 .oc-game-stage{min-height:260px;text-align:center}
.oc-v129 .oc-game-question{font-size:clamp(1.4rem,3.6vw,2.2rem);line-height:1.3;max-width:760px;margin:auto}
.oc-v129 .oc-game-answer{background:#fff;color:#153a62;max-width:100%;width:100%}
.oc-v129 .oc-game-inputline{width:100%;margin:0 auto}
.oc-v129 .oc-game-private{white-space:normal}
.oc-v129 .oc-game-stage:focus,.oc-v129-board:focus{outline:3px solid #84b3ed;outline-offset:3px}
.oc-v129 .oc-game-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.oc-v129-explanation{padding:14px 16px;border:1px solid #b4d7c5;border-left:4px solid #188855;border-radius:12px;text-align:left;line-height:1.6;background:#f0fbf4;color:#164c35}
.oc-v129-board{padding:16px;border:1px solid #cad9ea;background:#f3f8ff;border-radius:16px}
.oc-v129-slots,.oc-v129-tiles{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;min-height:62px;margin:10px 0}
.oc-v129-tile,.oc-v129-empty{min-width:48px;min-height:52px;padding:8px 13px;display:inline-flex;align-items:center;justify-content:center;border:2px solid #bdcfe3;border-radius:12px;background:#fff;color:#173f67;font-family:inherit;font-size:1.3rem;font-weight:800;line-height:1.2;touch-action:manipulation}
.oc-v129-tile{cursor:pointer;font-size:1.35rem;font-weight:800;box-shadow:0 3px 0 #d8e4f2}
.oc-v129-tile:hover:not(:disabled){background:#eaf2ff;border-color:#3876c9}
.oc-v129-tile:focus-visible{outline:3px solid #5595ed;outline-offset:3px}
.oc-v129-tile:disabled{opacity:.32;box-shadow:none;cursor:default}
.oc-v129-tile.placed{background:#1f65e8;color:#fff;border-color:#1f65e8;box-shadow:0 3px 0 #153f90}
.oc-v129-tile.placed:disabled{opacity:.8}
.oc-v129-empty{border-style:dashed;background:#eaf1f9;color:#879bb2;box-shadow:none}
.oc-v129-board output{display:block;overflow-wrap:anywhere;font-size:1.08rem;font-weight:800;color:#173f67;min-height:1.4em}
.oc-v129-review{margin-top:15px;border-top:1px solid #c9dbea;padding-top:12px}
.oc-v129-review summary{cursor:pointer;font-weight:800;min-height:38px}
.oc-v129-review li{padding:10px 0;border-bottom:1px solid #dae5f0;line-height:1.5}
.oc-v129-review li p{margin:6px 0}
.oc-v129-review small{color:#5d728a}
.oc-v129-practice{margin:16px 0;padding:20px;border:1px solid #bcd3ee;border-radius:20px;background:linear-gradient(130deg,#f1f7ff,#fff);scroll-margin-top:85px}
.oc-v129-practice-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}
.oc-v129-practice h2{margin:3px 0 7px;font-size:clamp(1.3rem,3vw,1.7rem);color:#173f67}
.oc-v129-practice p{color:#526b83;line-height:1.5;margin:5px 0 12px}
.oc-v129-streak{flex-shrink:0;text-align:center;background:#fff4dc;color:#765200;border:1px solid #ecd295;border-radius:12px;padding:10px}
.oc-v129-streak small,.oc-v129-streak strong{display:block}
.oc-v129-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.oc-v129-step{display:flex;align-items:center;gap:9px;text-decoration:none;color:#173f67;padding:13px;border:1px solid #cddceb;background:#fff;border-radius:13px;min-width:0;min-height:90px}
.oc-v129-step strong,.oc-v129-step small{display:block}
.oc-v129-step strong{line-height:1.3;font-size:.95rem}
.oc-v129-step small{margin-top:5px;font-size:.8rem;color:#63788e;line-height:1.3}
.oc-v129-step>span:last-child{margin-left:auto}
.oc-v129-step-number{display:grid;place-items:center;background:#e8f1ff;border-radius:50%;color:#245c9b;width:30px;height:30px;flex-shrink:0;font-weight:900}
.oc-v129-step.complete{border-color:#8bbda3;background:#f0fbf5}
.oc-v129-step.complete .oc-v129-step-number{background:#1b8051;color:#fff}
.oc-v129-practice .oc-game-actions{justify-content:flex-start}
.oc-v129-practice .oc-game-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.oc-v129-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;max-width:600px;margin:8px 0 10px}
.oc-v129-day{display:grid;gap:4px;justify-items:center;border:1px solid #d2deeb;background:#fff;color:#536d88;padding:9px 3px;border-radius:10px}
.oc-v129-day strong{font-size:1rem}.oc-v129-day small{font-size:.75rem}
.oc-v129-day.played{background:#e8f8ef;border-color:#72ae8f;color:#155b37}
.oc-v129-day.today{outline:2px solid #4c8ada;outline-offset:1px}
.oc-v129-practice details{margin-top:16px}.oc-v129-practice summary{cursor:pointer;color:#315c86;font-weight:700;min-height:34px}
.oc-v129-plan-return{display:inline-flex;align-items:center;text-decoration:none;margin-top:14px;max-width:100%}
.oc-v129-course-result{display:block;margin-top:12px;font-weight:800;color:#1e5daa}
.oc-v129-course{margin:18px 0;padding:18px;border:1px solid #bdcee2;border-radius:16px;background:#f5f9ff;color:#173f67}
.oc-v129-course h2{font-size:1.2rem;margin:0 0 8px}.oc-v129-course p{line-height:1.6;margin:6px 0 12px}
.oc-v129-course a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:800}
.oc-v129-quickguide{margin:14px 0;border:1px solid #d2deeb;border-radius:12px;padding:12px 14px;background:#f8fbff;color:#294e73}
.oc-v129-quickguide summary{cursor:pointer;font-weight:800;min-height:28px}
.oc-v129-home-links{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin:12px 0 16px}
.oc-v129-home-links a{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;background:#edf4ff;color:#174e91;border:1px solid #c6d8ee;border-radius:10px;text-decoration:none;font-weight:800}
.oc-v129-home-feature{margin:18px 0;padding:20px;border:1px solid #cbdcec;border-radius:20px;background:#f3f8ff}
.oc-v129-home-feature h2{color:#173f67;margin:0 0 7px}
.oc-v129-home-feature p{color:#536b82}
.oc-v129-home-feature .oc-game-hub-grid{margin-top:14px}
.oc-v129-course-note{font-size:.85rem;color:#5b7088}
body.oc-dark .oc-v129-practice,body.oc-dark .oc-v129-home-feature,body.oc-dark .oc-v129-course,body.oc-dark .oc-v129-quickguide{background:#15283e;color:#e7f0fb;border-color:#38536f}
body.oc-dark .oc-v129-practice h2,body.oc-dark .oc-v129-practice strong,body.oc-dark .oc-v129-home-feature h2,body.oc-dark .oc-v129-course h2{color:#ecf4ff}
body.oc-dark .oc-v129-practice p,body.oc-dark .oc-v129-step small,body.oc-dark .oc-v129-home-feature p,body.oc-dark .oc-v129-course-note{color:#bccddd}
body.oc-dark .oc-v129-step,body.oc-dark .oc-v129-day,body.oc-dark .oc-v129-board{background:#1b3149;color:#e2edf8;border-color:#446280}
body.oc-dark .oc-v129-day.played,body.oc-dark .oc-v129-step.complete{background:#1b3c32;border-color:#5a9577}
body.oc-dark .oc-v129-practice summary,body.oc-dark .oc-v129-course a,body.oc-dark .oc-v129-board output{color:#a9d0ff}
body.oc-dark .oc-v129 .oc-game-panel,body.oc-dark .oc-v129 .oc-game-stage{background:#13263c;border-color:#3e5875;color:#e7f0fb}
body.oc-dark .oc-v129 .oc-game-field label,body.oc-dark .oc-v129 .oc-game-kicker,body.oc-dark .oc-v129-review small,body.oc-dark .oc-v129 .oc-game-note{color:#c2d4e5}
body.oc-dark .oc-v129 .oc-game-message{color:#bdd8f4}body.oc-dark .oc-v129 .oc-game-message.good{color:#8bddb1}body.oc-dark .oc-v129 .oc-game-message.bad{color:#ffb7ad}
body.oc-dark .oc-v129-explanation{background:#183c2c;border-color:#54846b;color:#cdf0dc}
@media(max-width:850px){.oc-v129-steps{grid-template-columns:1fr}.oc-v129-step{min-height:72px}.oc-v129-practice{padding:15px}.oc-v129-home-feature{padding:16px}}
@media(max-width:480px){.oc-v129-practice-heading{display:block}.oc-v129-streak{display:inline-flex;gap:8px;align-items:center;margin:6px 0}.oc-v129-tile,.oc-v129-empty{min-width:42px;min-height:48px;padding:7px 9px}.oc-v129-slots,.oc-v129-tiles{gap:6px}.oc-v129-board{padding:10px}.oc-v129-calendar{gap:4px}.oc-v129-practice .oc-game-actions{display:grid;grid-template-columns:1fr}.oc-v129 .oc-game-toolbar .oc-game-field{min-width:120px}}
