html, body {
    height: 100%;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    height: 100vh;
}

table {
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 14px;
    color: #333;
}

table th,
table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

blockquote {
    border-left: 4px solid gray;
    margin: 1em 0;
    padding: 10px 20px;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.contextmenu {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.contextmenu.iconbox {
    padding: 10px 0 10px 10px;
    line-height: 0;
}

.contextmenu.iconbox > * {
    padding: 3px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.contextmenu.iconbox > *:hover {
    background-color: #cce5ff;
}

div.vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

div.vertical > * {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

div.centering {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

img.small-icon {
    display: inline;
    width: 20px;
    height: 20px;
}

img.assistant-icon {
    display: inline;
    height: 2rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    vertical-align: middle;
}

@keyframes gaming-color-transition {
    0% { border-color: #7FFF7F; }
    25% { border-color: #FF00FF; }
    50% { border-color: #00FFFF; }
    75% { border-color: #FFFF00; }
    100% { border-color: #7FFF7F; }
}

img.assistant-icon.streaming {
    border: 3px solid;
    animation: gaming-color-transition 1s infinite linear;
}
