@font-face {
    font-family: 'unifont';
    src: url('assets/unifont_jp-16.0.woff2');
}

html {
    overflow: hidden;
    position: fixed;
    width: 100%; height: 100%;
}

body {
    overflow: hidden;
    position: fixed;
    width: 100%; height: 100%;
    margin: 0;
    font-family: 'unifont';
    background-color: #808080;
}

#bg {
    position: fixed;
    z-index: -999;
    user-select: none;
    -webkit-user-select: none;
}

#alter {
    position: absolute;
    top: 0; left: 0;
    width: 100svw; height: 100svh;
    display: flex;
    pointer-events: none;
}

.nakami { /* tree, info 共通の値 */
    font-size: 1rem;
    overflow-y: auto;
    scrollbar-width: thin;
    border-radius: 2px;
    pointer-events: all;
}

#tree {
    margin: 8px; /* gacharu * 2 くらいがちょうど良い */
    position: fixed;
    bottom: 0; left: 0;
    max-width: 100svw;
    max-height: 50svh;
    letter-spacing: 2px;
    background-color: var(--shiro);
    z-index: 999;
    filter: drop-shadow(0 0 24rem);
    user-select: none;
    -webkit-user-select: none;
}

#info {
    margin: var(--yohaku);
    justify-self: center;
    align-self: center;
    top: 0; right: 0;
    width: 100%;
    max-height: 50%;
    line-height: 1.2;
}
#info img,
#info video {
    width: 100%;
    border-radius: 2px;
}
#info::selection {
    color: var(--shiro);
    background-color: var(--kuro);
}

#gacharu {
    margin: 4px;
    font-size: 2rem;
    color: var(--shiro);
    position: fixed;
    bottom: 0; right: 0;
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
}

p {
    margin: 0;
}
a:visited {
    color: #0000EE;
}
a:hover {
  color: #FF0000;
}

/* --- */

:root {
  --yohaku: 32px;
  --shiro: #fff;
  --kuro: #000;
}