.result-box {
    position: relative;
    flex: 1;
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

#randomResult,
#wheelResult {
    word-break: break-word;
    overflow-wrap: break-word;
}

#randomResult {
    color: var(--purple);
    font-size: 24px;
    min-height: 50px;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#wheelResult {
    color: var(--purple);
    font-size: 20px;
    min-height: 30px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#groupResult {
    color: var(--purple);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 100px;
    text-align: center;
    font-size: 18px;
}

#groupResult.group-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
}

#groupResult.group-result > div {
    background: #D6B5FF;
    border-radius: 10px;
    min-width: 0;
    overflow: hidden;
}

#groupResult.group-result > div > div {
    word-break: break-word;
    padding: 10px;
}

#groupResult.group-result > div > header {
    box-shadow: 0 5px 10px 0 #8c70ae;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

