* {
    touch-action: manipulation;
    margin: 0px;
    padding: 0px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: normal;
    border: none;
    --pc: calc(min(100dvw, calc(100dvh / 16 * 9)) / 100);
    --outside-bg-color: #bfbfbf;
    --app-bg-color: white;
    --player-bg-color: #dfdfdf;
    --slider-color: #7f7f7f;
}
body {
    background-color: var(--outside-bg-color);
    height: 100dvh;
    display: flex;
    justify-content: center;
}
#app {
    width: calc(97 * var(--pc));
    background-color: var(--app-bg-color);
    display: flex;
    flex-direction: column;
    padding: calc(1.5 * var(--pc));
    overflow-y: auto;
}
input[type="checkbox"] {
    width: calc(10 * var(--pc));
    height: calc(10 * var(--pc));
    border-radius: calc(2 * var(--pc));
    border: calc(1 * var(--pc)) solid black;
    cursor: pointer;
}
input[type="checkbox"]:checked {
    background-color: black;
}
div.row-item {
    margin: calc(1.5 * var(--pc));
    background-color: var(--player-bg-color);
    display: flex;
    padding: calc(3 * var(--pc));
    border-radius: calc(4 * var(--pc));
    flex-direction: column;
}
div.row-item > :not(:last-child) {
    margin-bottom: calc(3 * var(--pc));
}
#template {
    display: none;
}
div.row-item > :first-child > .col:last-child {
    flex: 1;
}
input[type="range"] {
    flex: 1;
    min-width: 0px;
    height: calc(2 * var(--pc));
    padding: 0px calc(3 * var(--pc));
    background-color: var(--slider-color);
    background-clip: content-box;
    opacity: 1;
}
input[type="range"]::-webkit-slider-thumb {
    opacity: 1;
    appearance: none;
    -webkit-appearance: none;
    width: calc(7 * var(--pc));
    height: calc(7 * var(--pc));
    border-radius: 50%;
    background: black;
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    opacity: 1;
    appearance: none;
    -webkit-appearance: none;
    width: calc(7 * var(--pc));
    height: calc(7 * var(--pc));
    border-radius: 50%;
    background: black;
    cursor: pointer;
}
p, h1, h2, h3, h4, h5, h6 {
    color: black;
    font-family: Arial, sans-serif;
    font-weight: normal;
    text-wrap: nowrap;
    overflow: hidden;
    text-align: center;
}
#title {
    font-size: calc(6 * var(--pc));
    display: inline;
    font-weight: bold;
    flex: 1;
}
img.thumbnail {
    width: calc(23 * var(--pc));
    height: calc(23 * var(--pc));
    padding: 0px calc(4 * var(--pc));
    object-fit: cover;
}
img.icon {
    width: calc(10 * var(--pc));
    height: calc(10 * var(--pc));
    cursor: pointer;
}
div.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
div.col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
p.annotation, p.artist {
    font-size: calc(4 * var(--pc));
}
div.artist-scroll {
    margin: 0px calc(5 * var(--pc));
}
p.title, p.position {
    font-size: calc(5 * var(--pc));
    font-weight: bold;
}
div.text-scroll {
    flex: 1;
    overflow: hidden;
}
div.text-scroll > p {
    position: relative;
    overflow: visible;
}