
#detail {
    height: 100%;
    padding-top: 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 0;
}


#detail-head {
    display: inline-flex;
    align-items: center;
    border: 3px solid #F99C35;
    border-radius: 8px;
    padding: 6px 6px;
    background-color: #ffffff00;
    max-width: 80vw;
    min-width: 490px;
    /*min-width: fit-content;*/
    gap: 4px;
    font-size: 16px;
}


#detail-head strong {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    word-break: break-all;
}

#detail-image {
    height: 92px;
    vertical-align: middle;
}

#detail-other {
    max-width: 60vw;
    display: flex;
    align-items: center;
    gap: 4px
}

#detail-other span {
    color: #FFAF55;
    font-weight: bold;
}

span#detail-other-date {
    background-color: #ffffff00;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

span#detail-other-desc {
    background-color: #ffffff00;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

#detail-qualities {
    flex: 1;
    align-items: center;
    border: 3px solid #F99C35;
    border-top-width: 0;
    border-radius: 8px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 6px 6px;
    background-color: #ffffff00;
    /*max-width: 80%;*/
    /*max-width: 80vw;*/
    /*min-width: fit-content;*/
    gap: 8px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-quality-item {
    min-width: 470px;
}

.detail-quality-item > div:first-of-type {
    display: flex;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
}

.detail-quality-item:has(+ div) > div.underline {
    width: 100%;
    height: 2px;
    margin-top: 4px;
    background-color: #FFAF55;
}


.detail-quality-item button {
    background-color: #ffffff00;
    color: #FFAF55;
    border: 2px solid #F99C35;
    border-radius: 8px;
    padding: 8px 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.1s, color 0.1s;
}

.detail-quality-item button:hover {
    background-color: #F99C35;
    color: #fff;
}

.detail-quality-item button:active {
    background-color: #D1812C;
    color: #fff;
}

.detail-quality-item span, .detail-quality-item i {
    font-weight: bold;
    color: #ffffff;
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
}

.detail-quality-item span:last-of-type {
    flex: 1;
}
