/*
Copyright 2023 Paul Guyot <pguyot@kallisys.net>
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
*/

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: sans-serif;
    font-size: 4svmin;
    overflow: hidden;
    position: fixed;
}

* {
    touch-action: manipulation;
}

div#root {
}

div#loader {
    margin: 35vh auto;
}

.loader-countdown {
    font-size: 16svh;
    text-align: center;
}

.loader-caption {
    text-align: center;
    color: grey;
}

.late-loader-caption {
    margin: 12svh auto;
    text-align: center;
    color: red;
}

table.sudoku-grid {
    border-collapse: collapse;
    margin: 8svmin auto;
}

table.sudoku-grid thead tr th {
    text-align: left;
}

table.sudoku-grid th button.help {
    height: 2em;
}

table.sudoku-grid caption {
    caption-side: bottom;
    text-align: right;
    color: grey;
    font-size: 60%;
}

table.sudoku-grid tr td {
    border: 1px solid grey;
    width: 8svmin;
    height: 8svmin;
    text-align: center;
}

table.sudoku-grid tr td.hint {
    font-weight: bold;
    cursor: default;
}

table.sudoku-grid tr td.input {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

table.sudoku-grid tr:nth-child(3 of tr) td {
    border-bottom: 2px solid grey;
}

table.sudoku-grid tr:nth-child(6 of tr) td {
    border-bottom: 2px solid grey;
}

table.sudoku-grid tr td:nth-child(3 of td) {
    border-right: 2px solid grey;
}

table.sudoku-grid tr td:nth-child(6 of td) {
    border-right: 2px solid grey;
}