html { 
    color-scheme: light dark;
}
body { 
    width: 35em; margin: 0 auto;
    font-family: Tahoma, Verdana, Arial, sans-serif;
}

#character-card {
    margin-bottom: 5px;
    background: linear-gradient(90deg,rgba(1, 29, 151, 1) 50%, rgba(0, 37, 169, 1) 100%);
}

#inner-container {
    width: 100%;
    min-height: 600px;
    background-image: url('/res/border.png');
    background-size: 100% 100%;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.random-image {
    max-width: 300px;
    max-height: 300px;
}

.series {
    width: 76px;
    height: 72px;
    margin: 5px;
    background-image: url('/res/series.png');
    background-repeat: no-repeat;
    display: none;
}

.elements {
    margin: 5px;
}

.element-sprite {
  width: 66px;
  height: 60px;
  background-repeat: no-repeat;
  display: inline-block;
}

.guess-box {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.guess-result {
    margin: 0;
}

.history-list {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    max-height: 600px;
    overflow: hidden auto;
}

.history-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin-bottom: 5px;
}

.history-image {
    width: 128px;
    height: 128px;
    background-size: cover;
    background-position: center;
}

.history-inner {
    display: flex;
    flex-direction: column;
}

.history-name {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 5px;
}

.history-elements {
    min-width: 340px;
}

.history-elements-sprite {
    width: 32px;
    height: 32px;
    background-size: cover;
    background-position: center;
    margin-left: 3px;
}