.word-arcade[data-theme=tangram]{--cream:#fff2d6;--coral:#fac676;--shade:#152331;--tg-panel:#29424a;--tg-edge:#96b4aa;background:#213a43}.word-arcade[data-theme=tangram]:before{background:radial-gradient(at 79% 22%,#54798b92,#0000 57%),radial-gradient(at 15% 86%,#b08a5f63,#0000 51%),repeating-linear-gradient(45deg,#cae0db27 0 1px,#0000 1px 61px),repeating-linear-gradient(-45deg,#cae0db21 0 1px,#0000 1px 61px),#213a43}[data-theme=tangram] h1{text-shadow:0 4px #7f9a95, 3px 7px var(--shade);font-size:clamp(42px,6.5vw,74px)}[data-theme=tangram] h1 span{text-shadow:0 4px #9d7b58, 3px 7px var(--shade);display:inline}.tg-emblem{aspect-ratio:1;width:clamp(83px,18vw,117px);box-shadow:4px 6px var(--shade);background:#203642;border:3px solid #c9c4a1;margin:0 auto 21px;display:block;position:relative;rotate:-7deg}.tg-emblem i{position:absolute;inset:2px}[data-theme=tangram] .mg-board{background:var(--tg-panel);border-color:var(--tg-edge);width:min(100%,570px);box-shadow:5px 6px var(--shade);padding:clamp(12px,2.8vw,23px)}[data-theme=tangram] .mg-task{margin-top:9px}[data-theme=tangram] .mg-task h2{color:#ffe1a9;font-size:clamp(19px,4.8vw,27px)}.tg-exercise{width:min(100%,412px);margin:4px auto 0}.tg-stock-count{color:#d5ebdf;margin:0 0 5px;font-size:14px;font-weight:700}.tg-board{width:min(100%,342px);height:auto;box-shadow:4px 5px var(--shade);background:#f8edda;outline:2px solid #a98a68;margin:0 auto;display:block}.tg-board[tabindex]{touch-action:none;cursor:crosshair}.tg-board[tabindex]:focus-visible{outline-color:#a6f1da}.tg-board-compact{width:min(100%,205px);margin-block:8px 11px}.tg-help{color:#d8e5d8;margin:7px auto 6px;font-size:12px;line-height:1.2}.tg-stock,.tg-actions{flex-wrap:wrap;justify-content:center;gap:5px;display:flex}.tg-stock button,.tg-actions button{min-width:44px;min-height:44px;color:var(--cream);box-shadow:0 3px var(--shade);background:#263943;border-color:#8caaa4;padding:4px 7px}.tg-stock button{touch-action:none;padding:0;position:relative}.tg-stock i{pointer-events:none;display:block}.tg-stock button[aria-pressed=true]{background:#4a544b;border-color:#ffdc96}.tg-stock button[data-placed=true] i{opacity:.56}.tg-stock button svg{color:#e3f4de;position:absolute;bottom:1px;right:1px}.tg-actions{margin-top:7px}.tg-actions button{gap:4px;font-size:15px}.tg-actions button:disabled{opacity:.49;cursor:default}.tg-actions button.bp-primary{padding-inline:10px}.tg-message{color:#ffd59a;margin:7px 0 0;font-weight:770;line-height:1.25}.tg-area>p{color:#fff0d1;margin:8px 0 6px;font-weight:770;line-height:1.24}.tg-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.tg-options button{border-color:var(--tg-edge);overflow-wrap:break-word;font-variant-numeric:tabular-nums;background:#37525a;min-width:0;min-height:44px;padding:5px 7px;font-size:15px;line-height:1.2}[data-theme=tangram] .mg-response p:empty{display:none}[data-theme=tangram] .mg-response strong,.tg-related a{color:var(--coral)}[data-theme=tangram] .worked-solution{text-align:left;border-inline-start:3px solid var(--coral);background:#39545a;margin:8px 0 12px;padding:9px 13px}[data-theme=tangram] .worked-solution h3{margin:0 0 5px;font-size:17px}[data-theme=tangram] .worked-solution ol{margin:0;padding-inline-start:1.2em}[data-theme=tangram] .worked-solution li+li{margin-top:3px}@media (max-width:400px){[data-theme=tangram] .tt-stage{padding:6px 4px 10px}[data-theme=tangram] .mg-board{padding:8px 9px}[data-theme=tangram] .tt-ticks{margin-block:6px}.tg-board{max-width:255px}.tg-board-compact{max-width:164px}.tg-stock,.tg-actions{gap:4px}.tg-actions button{padding-inline:5px;font-size:14px}.tg-actions button.bp-primary{padding-inline:6px}}@media (max-width:340px){.tg-board:not(.tg-board-compact){max-width:242px}}@media (pointer:coarse){.tg-key-help{display:none}}@media (max-height:480px) and (orientation:landscape){.tg-emblem{width:57px;margin-bottom:10px}}
