/* "View in 3D" on board photo panels (scripts/board_3d.js).
   uoft_physics_perc_sw.css is shared with phyduino_pico and stays unchanged. */

.board-img-panel[data-model]  { position: relative; }
.board-img-panel model-viewer { width: 100%; height: 100%; --poster-color: transparent;
                                background-color: #E6E6E6; }
.board-img-panel model-viewer[hidden] { display: none; }

.view-3d-btn                  { position: absolute; right: 12px; bottom: 12px;
                                font-family: var(--mono); font-size: 11.5px; color: #005F7A;
                                background: var(--accent-bg); border: 1px solid #A8D8E8;
                                border-radius: 4px; padding: 4px 10px; cursor: pointer; }
.view-3d-btn:hover            { background: #D2ECF4; }
.view-3d-btn:disabled         { cursor: default; opacity: 0.8; }
