/* Jade Tiles: the tile table and lessons (shared table UI lives in table.css) */
.jt-wrap { position: absolute; inset: 4px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(214,178,94,.28); touch-action: none; }
.jt-cloth, .jt-board { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jt-board { touch-action: none; }
.table-screen.jt .lt-mid b { color: var(--brass); }
.table-screen.jt .lt-pl .sc b { font-size: 1.2rem; }
.lesson-board { width: min(100%, 980px); height: min(52vh, 440px); margin: 8px auto 0; position: relative; }
.lesson-board .jt-wrap { inset: 0; }
.seg { display: inline-flex; flex-wrap: wrap; }
.modepick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.modepick .btn.sel { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass); }
