/*==============================================================
*
*   product
*
*==============================================================*/
.product {}

.product-title h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.product-inner {
    display: flex;
    justify-content: space-between;
    flex-flow: row-reverse;
}

.product-inner .product-detail {
    width: 68%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 2px;
}

.product .image {
    max-width: 30%;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.product .image img{
    box-shadow: 0 5px 15px -3px #0000008c;
    border-radius: 2px;
}
@media screen and (max-width:1260px){

}
@media screen and (max-width:968px){
    .product-inner{
        display: block;
    }
    .product-title h1{
        font-size: 1.2rem;
    }
    .product-inner .product-detail{
        width: 100%;
    }
}
@media screen and (max-width:768px){
    .product .image {
        max-width: 50%;
        margin: 0 auto 10px;
        display: flex;
        justify-content: space-between;
        max-width: 100%;
    }
    .product .image img{
        width: 40%;
    }
    .product .image .page-btn{
        width: 55%;
    }
    .product .image .page-btn li{
        margin: 8px auto;
    }
    .product .image .page-btn li a{
        font-size: .75rem;
        padding: 8px 8px;
        background: var(--cover-color);
        color: #fff;
        border-radius: 2px;
        display: block;
        text-align: center;
    }
}
@media screen and (max-width:620px){
    .product-inner .product-detail{
        display: block;
        padding: 10px;
    }
}
/*========================================
*   detail
*=========================================*/
.product .detail {
    width: 68%;
}

.product .detail p {
    font-size: .8rem;
}


.product .detail .detail-inner a {
    color: #333;
}

.product .detail .detail-inner a:hover {
    opacity: .7;
}

.product .detail .detail-inner .detail-inner-col {
    display: flex;
    align-items: center;
    font-size: .75rem;
    margin: 15px auto;
}

.product .detail .detail-inner .detail-inner-col:first-child {
    margin-top: 0;
}

.product .detail .detail-inner .detail-inner-col .detail-title {
    font-weight: bold;
    width: 120px;
    min-width: 120px;
}

.product .detail .detail-inner .detail-inner-col .detail-inner-list {
    overflow-x: scroll;
    width: calc(100% - 120px);
    position: relative;
    top: 5px;
    padding-bottom: 5px;
}

.product .detail .detail-inner .detail-inner-list::-webkit-scrollbar {
    height: 2px;
    left: 0;
}

.product .detail .detail-inner .detail-inner-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.product .detail .detail-inner .detail-inner-list::-webkit-scrollbar-thumb {
    background: #8d99a1;
    border-radius: 4px;
}

.product .detail .detail-inner .detail-inner-list::-webkit-scrollbar-thumb:hover {
    background: #8d99a1;
}

.product .detail .detail-inner .detail-inner-col ol {
    display: flex;
    justify-content: flex-start;
    width: max-content;
}

.product .detail .detail-inner .detail-inner-col li {
    line-height: 1;
    margin-right: 10px;
    font-size: .8rem;
    position: relative;
}

.product .detail .detail-inner .detail-inner-col li a {
    color: var(--rime);
}
.product .detail .detail-inner .detail-inner-col.platforms li,
.product .detail .detail-inner .detail-inner-col.release ol li {
    line-height: 1;
    font-size: .8rem;
    margin-right: 0;
    position: relative;
}
.product .detail .detail-inner .detail-inner-col.platforms li::after,
.product .detail .detail-inner .detail-inner-col.release ol li::after{
    content: '/';
    margin: 0 5px;
}
.product .detail .detail-inner .detail-inner-col.platforms li:last-child::after,
.product .detail .detail-inner .detail-inner-col.release ol li:last-child::after{
    content: none;
}

.product .detail .detail-inner .detail-inner-col.store li {
    padding: 0;
    background: none;
}

.product .detail .detail-inner .detail-inner-col.store li a{
    padding: 0;
    background: none;
    border: none;
}

.product .detail .detail-inner .detail-inner-col.recommended {
    display: block;
    margin-top: 20px;
}

.product .detail .detail-inner .detail-inner-col.recommended .detail-title {
    width: 100%;
}

.product .detail .detail-inner .detail-inner-col.recommended .detail-inner-list {
    width: 100%;
    min-height: 127px;
    overflow-y: hidden;
}

.product .detail .detail-inner .detail-inner-col.recommended li {
    background: none;
    margin-right: 10px;
    transition: ease all .4s;
}

.product .detail .detail-inner .detail-inner-col.recommended li a {
    position: relative;
    padding: 0;
    border: none;
}

.product .detail .detail-inner .detail-inner-col.recommended li a .image {
    max-width: 100%;
}

.product .detail .detail-inner .detail-inner-col.recommended li a .image img {
    height: 80px;
    transition: ease all .4s;
}

.product .detail .detail-inner .detail-inner-col.recommended li a:hover .image img {
    height: 120px;
}

.product .full-detail-btn {
    background: var(--cover-color);
    padding: 10px 20px;
    font-size: .8rem;
    font-weight: 400;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    border-radius: 2px;
}

.product .full-detail-btn:hover {
    cursor: pointer;
}

.product .full-detail {
    width: 100%;
    padding-top: 20px;
    display: none;
}

.product .full-detail .full-detail-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product .full-detail .trailers {
    width: 50%;
}

.product .full-detail .full-detail-wrapper .full-detail-inner {
    width: 48%;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col {
    display: flex;
    align-items: center;
    font-size: .75rem;
    margin: 10px 0;
    width: 100%;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col .detail-title {
    font-weight: bold;
    width: 90px;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col a {
    color: #fff;
}
.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col a:hover{
    opacity: .7;
    text-decoration: underline;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col ol {
    display: flex;
    justify-content: flex-start;
    width: max-content;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-list{
    overflow-x: scroll;
    width: calc(100% - 90px);
    position: relative;
    top: 5px;
    padding-bottom: 5px;
}
.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-list::-webkit-scrollbar {
    height: 2px;
    left: 0;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-list::-webkit-scrollbar-thumb {
    background: #8d99a1;
    border-radius: 4px;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-list::-webkit-scrollbar-thumb:hover {
    background: #8d99a1;
}

.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col .detail-inner-list ol li {
    position: relative;
}
.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col .detail-inner-list ol li::after {
    content: '/';
    margin: 0 5px;
}
.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col .detail-inner-list ol li:last-child::after{
    content: none;
}
.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col.sns .detail-inner-list ol li{
    margin-right: 10px;
}
.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col.sns .detail-inner-list ol li:last-child{
    margin-right: 0;
}
.product .full-detail .full-detail-wrapper .full-detail-inner .detail-inner-col.sns .detail-inner-list ol li::after{
    content: none;
}
@media screen and (max-width:768px){
    .product .full-detail .full-detail-wrapper{
        display: block;
    }
    .product .full-detail .full-detail-wrapper .full-detail-inner{
        width: 100%;
    }
    .product .full-detail .full-detail-wrapper .trailers{
        width: 100%;
    }
    .product .detail .detail-inner .detail-inner-col.recommended .detail-inner-list{
        min-height: 80px;
        padding: 0;
    }
    .product .detail .detail-inner .detail-inner-col.recommended li a .image{
        margin: 0 auto;
    }
    .product .detail .detail-inner .detail-inner-col.recommended li a .image img{
        width: auto;
    }
    .product .detail .detail-inner .detail-inner-col li,
    .product .detail .detail-inner .detail-inner-col li span{
        white-space: nowrap;
    }
}
@media screen and (max-width:620px){
    .product .detail{
        width: 100%;
    }
}

.product .detail-actions{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}
.product .detail-actions.no-auth{
    justify-content: flex-end;
}
.playlist-btn{
    color: #fff;
    display: inline-block;
    font-size: .7rem;
    transition: ease all .4s;
    cursor: pointer;
}
.content-text .report{
    text-align: right;
    margin-top: 10px;
}
.review-report-btn,
.review-report-btn:visited {
    color: var(--gray);
    font-size: 0.7rem;
    transition: ease all .4s;
    cursor: pointer;
    text-decoration: underline;
}

.review-report-btn:hover {
    color: #fff;
}

.product .detail-contact {
    text-align: right;
}
.product .detail-contact a {
    color: #fff;
    display: inline-block;
    font-size: .7rem;
}

/*========================================
*   score
*=========================================*/
.product .score {
    width: 30%;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgb(255 255 255 / 8%) 100%), #171a21;
    height: 100%;
    border-radius: 2px;
    /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); */
}

.product .score .score-inner {
    margin: 0 auto;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-weight: bold;
    border-bottom: 1px solid #ffffff0d;
}

.product .score .score-inner .score-point {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.product .score .score-inner .score-point span {
    font-size: .8rem;
    font-weight: 500;
    line-height: 1;
    position: relative;
    top: 4px;
    color: #fff;
    width: 30px;
    text-align: right;
}

.product .score .review-post-btn,
.product .score .notify-release-btn{
    background: var(--rime);
    color: #111;
    font-weight: 500;
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    font-size: .8rem;
    border-radius: 2px;
    transition: ease all .4s;
}

.product .score .review-post-btn:hover,
.product .score .notify-release-btn:hover {
    cursor: pointer;
    opacity: .7;
}

.product .score .notify-release-btn.success {
    background: rgba(255, 255, 255, 0.08);
    color: #a5b1c2;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.product .score .notify-release-btn.success:hover {
    background: #eb4d4b;
    color: #fff;
    border-color: #ff7675;
    opacity: 1;
}

.star-rating {
    pointer-events: none;
    position: relative;
    display: inline-block;
    width: 150px;
    height: 30px;
    margin-right: 10px;
}

.star-rating-back,
.star-rating-front {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
}

.star-rating-back {
    z-index: 1;
}

.star-rating-front {
    z-index: 2;
}

.star-rating .star-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.product .score .unreleased-text .main{
    text-align: center;
    margin-bottom: 20px;
    color: var(--rime);
    font-size: 1.1rem;
    font-weight: 600;
}
.product .score .unreleased-text p{
    font-size: .8rem;
    line-height: 1.8;
}
.product .score .unreleased-text p span{
    font-size: .7rem;
    padding-top: 10px;
    display: block;
    opacity: .8;
}
@media screen and (max-width:1260px){
    .product .score .score-inner{
        font-size: .8rem;
    }
    .star-rating{
        width: 100px;
        height: 20px;
        margin-right: 0;
    }
    .star-rating .star-icon {
        width: 20px;
        height: 20px;
    }
}
@media screen and (max-width:968px){
    .product .score{
        width: 100%;
        margin: 20px auto;
    }
}
@media screen and (max-width:620px){
    .product .score{
        padding: 10px;
    }
}

/*========================================
*   custom review
*=========================================*/
.custom-reviews-list {
    margin-top: 20px;
}

.custom-reviews-list h2 {
    font-size: 1rem;
}

.custom-reviews-list-inner {
    margin-top: 10px;
    overflow-x: scroll;
    padding-top: 40px;
    margin-top: -30px;
}

.custom-reviews-list-inner::-webkit-scrollbar {
    height: 2px;
    left: 0;
}

.custom-reviews-list-inner::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.custom-reviews-list-inner::-webkit-scrollbar-thumb {
    background: #8d99a1;
    border-radius: 4px;
}

.custom-reviews-list-inner::-webkit-scrollbar-thumb:hover {
    background: #8d99a1;
}

.custom-reviews-list ol {
    display: flex;
    justify-content: flex-start;
    width: max-content;
}

.custom-reviews-list ol li {
    position: relative;
    margin-right: 10px;
}

.custom-reviews-list ol li:last-child {
    margin-right: 0;
}

.custom-reviews-list ol li a {
    padding: 8px 10px;
    display: block;
    background: #ffffff08;
    color: #fff;
    width: 130px;
}

.custom-reviews-list ol li a .custom-review-stat-item-title {
    font-size: .8rem;
    font-weight: 600;
    display: flex;
}

.custom-reviews-list ol li a .custom-review-stat-item-title .title {
    width: 83%;
    overflow-x: scroll;
    display: block;
    position: relative;
}

.custom-reviews-list ol li a .custom-review-stat-item-title .title::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.custom-reviews-list ol li a .custom-review-stat-item-title .title::-webkit-scrollbar-track {
    background: transparent;
}

.custom-reviews-list ol li a .custom-review-stat-item-title .title::-webkit-scrollbar-thumb {
    background: transparent;
}

.custom-reviews-list ol li a .custom-review-stat-item-title .title::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

.custom-reviews-list ol li a .custom-review-stat-item-title .title .title-inner {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
}

.custom-reviews-list ol li a .custom-review-stat-item-title .title.slide .title-inner {}

@keyframes custom-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-78%);
    }
}

.custom-reviews-list ol li a .custom-review-stat-item-title .count {
    font-size: .7rem;
    color: var(--gray);
    margin-left: 3px;
    position: relative;
    top: 2px;
}

.custom-reviews-list ol li a:hover .custom-review-stat-item-title {
    text-overflow: clip;
}

.custom-reviews-list ol li a .star-rating {
    position: relative;
    width: 70px;
    /* Fixed width to match 5 stars (14px * 5) */
    height: 14px;
    display: block;
    margin-top: 5px;
    /* Add some spacing */
}

.custom-reviews-list ol li a .star-rating-back,
.custom-reviews-list ol li a .star-rating-front {
    height: auto;
}

.custom-reviews-list ol li a .star-rating-back img {
    width: 14px;
    height: 14px;
}

.custom-reviews-list ol li a .star-rating-front img {
    width: 14px;
    height: 14px;
}

.custom-reviews-list ol li a .review-scroll {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rime);
    color: #111;
    padding: 4px 6px;
    font-size: .6rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: ease all .3s;
    z-index: 10;
}

.custom-reviews-list ol li a .review-scroll::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 4px solid var(--rime);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.custom-reviews-list ol li a:hover .review-scroll {
    opacity: 1;
    top: -30px;
}

/*========================================
*   review tab
*=========================================*/
.review-tab-menu {
    background: var(--frame-color-sub);
}

.review-tab-menu ol {
    display: flex;
}

.review-tab-menu ol li {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: none;
    margin-bottom: -1px;
    font-size: 0.9rem;
    transition: ease all .4s;
}
.review-tab-menu ol li a{
    color: #fff;
    transition: ease all .4s;
}

.review-tab-menu ol li:hover {
    background: var(--cover-color);
}

.review-tab-menu ol li.active {
    font-weight: bold;
    background: var(--cover-color);
}
@media screen and (max-width:1260px){
    .review-tab-menu ol li {
        font-size: .75rem;
        padding: 10px;
    }
}
@media screen and (max-width:620px){
    .review-tab-menu ol {
        width: max-content;
    }
}

/*========================================
*   summary
*=========================================*/
.product .summay {
    margin-top: 20px;
    width: 100%;
    font-size: .8rem;
}

/*==============================================================
*
*   container
*
*==============================================================*/
.product-container {
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width:968px){
    .product-container{
        display: block;
    }
}
@media screen and (max-width:620px){
    .product-container{
        margin: 0;
    }

}
/*========================================
*   right
*=========================================*/
.tutorial-trigger-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #666;
    color: #fff;
    font-size: 12px;
    margin-left: 10px;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    top: -2px;
    padding-top: 2px;
    transition: all 0.3s;
}

.tutorial-trigger-icon:hover {
    background-color: var(--rime);
}

.tutorial-trigger-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    margin-bottom: 5px;
}

.tutorial-trigger-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

.tutorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: transparent; /* Box shadow handles the dimming */
    pointer-events: auto; /* Block interactions behind */
}

.tutorial-highlight-box {
    position: absolute;
    z-index: 9999;
    border-radius: 4px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.85); /* Darken everything else */
    pointer-events: none; /* Allow seeing through */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid var(--rime); /* Highlight border */
}

.tutorial-modal {
    position: absolute;
    z-index: 10000;
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: auto;
}

.tutorial-modal.visible {
    opacity: 1;
    transform: translateY(0);
}

.tutorial-modal::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Arrow positioning classes */
.tutorial-modal.arrow-top::before {
    top: -10px;
    left: 20px;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #fff transparent;
}
.tutorial-modal.arrow-bottom::before {
    bottom: -10px;
    left: 20px;
    border-width: 10px 10px 0 10px;
    border-color: #fff transparent transparent transparent;
}
.tutorial-modal.arrow-left::before {
    left: -10px;
    top: 20px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}
.tutorial-modal.arrow-right::before {
    right: -10px;
    top: 20px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}


.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tutorial-title-area {
    display: flex;
    flex-direction: column;
}

.tutorial-step-major {
    font-size: 0.75rem;
    color: var(--rime);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.tutorial-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.tutorial-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;
    line-height: 1;
    padding: 5px;
}

.tutorial-close:hover {
    color: #333;
}

.tutorial-body {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    min-height: 60px;
}

.tutorial-steps-indicator {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.tutorial-steps-dot {
    height: 4px;
    flex: 1;
    background: #eee;
    border-radius: 2px;
    transition: background 0.3s;
}

.tutorial-steps-dot.active {
    background: var(--rime);
}

.tutorial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutorial-progress-container {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    width: 60px;
    overflow: hidden;
}

.tutorial-progress-bar {
    height: 100%;
    background: var(--rime);
    width: 0%;
    transition: width linear;
}

.tutorial-controls {
    display: flex;
    gap: 10px;
}

.tutorial-btn {
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
}

.tutorial-btn:hover {
    background: #f9f9f9;
    color: #333;
}

.tutorial-btn.primary {
    background: var(--rime);
    color: #111;
    border-color: var(--rime);
}

.tutorial-btn.primary:hover {
    background: #a5c200;
}

.tutorial-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (max-width: 768px) {
    .tutorial-modal {
        width: 90vw !important;
        max-width: 90vw;
    }
    
    .tutorial-modal.arrow-left::before,
    .tutorial-modal.arrow-right::before,
    .tutorial-modal.arrow-top::before,
    .tutorial-modal.arrow-bottom::before {
        display: none; /* Hide arrows on mobile as positioning is centered */
    }
}
.product-container-wrapper {
    width: 68%;
    transition: ease all .3s;
}

.product-container-btn {}

.product-container-btn ol {
    display: table;
    border-collapse: collapse;
    width: 100%;
    background: var(--frame-color-sub);
}

.product-container-btn ol li {
    width: 25%;
    display: table-cell;
    padding: 10px;
    text-align: center;
    transition: ease all .4s;
}

.product-container-btn ol li:hover {
    cursor: pointer;
    background: var(--cover-color);
}

.product-container-btn ol li.active {
    background: var(--cover-color);
}

.product-container-inner {
    display: none;
    transition: ease all .4s;
}

.product-container-inner.active {
    display: block;
}

.product-container-inner h2 {
    margin: 40px auto;
}
.product-container-inner h2 .review-count{
    font-size: 0.8rem;
    margin-left: 10px;
    font-weight: 500;
}
@media screen and (max-width:968px){
    .product-container-wrapper{
        width: 100%;
    }
}
@media screen and (max-width:620px){
    .product-container-btn{
        overflow-x: scroll;
        overflow-y: hidden;
    }
    .product-container-btn ol{
        width: max-content;
        width: 100%;
    }
    .product-container-btn ol li{
        width: auto;
        width: 50%;
        padding: 10px 20px;
    }
    .review-tab-menu {
        overflow-x: scroll;
        overflow-y: hidden;
    }
}

/*========================================
*   review-list
*=========================================*/
.review-list {}

.review-list .user-review {
    margin: 20px auto;
    padding: 20px;
    padding-bottom: 0;
    font-size: .8rem;
    background: var(--frame-color-sub);
    position: relative;
    border-radius: 2px;
}

.review-list .user-review .user-review-top{

}

.review-list .user-review .user-detail {
    font-weight: 600;
    font-size: .9rem;
    display: flex;
    align-items: center;
}

.review-list .user-review .user-detail .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    background: #333;
}

.review-list .user-review .user-detail .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-list .user-review .user-review-top .platform{
    font-size: .7rem;
    color: #999;
    display: block;
    font-weight: 500;
    margin-top: 10px;
}
.review-list .user-review .user-review-top .platform span{
    display: block;
    color: #fff;
    font-weight: 600;
}

.review-list .user-review .updated,
.review-list .user-review .created {
    font-size: .7rem;
    color: #fff;
    display: block;
    opacity: .4;
}

.review-list .user-review .updated{
    margin-bottom: 3px;
}

.review-list .user-review .pc-specs{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px;
    margin: 0 auto 20px;
    background: #0000001c;
    border-radius: 3px;
}
.review-list .user-review .pc-specs .pc-specs-title{
    font-weight: 600;
    font-size: .8rem;
    display: block;
    width: 100%;
    line-height: 1;
    margin-bottom: 3px;
}
.review-list .user-review .pc-specs ol{
    display: flex;
    flex-wrap: wrap;
}
.review-list .user-review .pc-specs ol li{
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: .75rem;
    font-weight: 300;
    color: #999;
}
.review-list .user-review .pc-specs ol li span{
    font-weight: 500;
    margin-right: 5px;
}

.review-list .user-review .user-review-inner {
    border-bottom: 1px solid #ffffff0a;
    padding: 20px 0 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.review-list .user-review .user-review-inner.active {
    border-bottom: none;
}

.review-list .user-review .user-review-inner:last-child {
    border-bottom: none;
}

.review-list .user-review .user-review-inner .user-review-inner-head {
    width: 120px;
    padding-bottom: 20px;
}

.review-list .user-review .user-review-inner .title {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    display: block;
    margin-bottom: 5px;
}

.review-list .user-review .user-review-inner .custom-review-btn {
    font-size: 0.65rem;
    padding: 5px;
    background: var(--cover-color);
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 2px;
    font-weight: 400;
    display: block;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.review-list .user-review .user-review-inner .custom-review-btn:hover {
    opacity: 0.7;
}

.product-container-inner.reviews:not([data-current-tab="all"]) .review-tab-content .title {
    display: none;
}

.product-container-inner.reviews:not([data-current-tab="all"]) .review-tab-content.custom .title {
    display: block;
    position: relative;
    padding-right: 150px;
}

.review-list .user-review .user-review-inner .user-review-body{
    width: calc(100% - 130px);
}

.review-list .user-review .user-review-inner .score {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.review-list .user-review .user-review-inner .score img {
    width: 20px;
    height: 20px;
}

.review-list .user-review .user-review-inner .contents{
    max-height: 120px;
    overflow: hidden;
    position: relative;
    letter-spacing: .4px;
    line-height: 1.6;
    padding-bottom: 20px;
    color: #ffffffb0;
    transition: ease all .4s;
}

.review-list .user-review .user-review-inner .contents .contents-hide{
    margin-top: 20px;
    background: var(--cover-color);
}

.review-list .user-review .user-review-inner .contents .contents-hide span{
    display: block;
    padding: 10px;
    cursor: pointer;
    position: relative;
}

.review-list .user-review .user-review-inner .contents .contents-hide span::before{
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-top: 8px solid var(--rime);
    right: 10px;
    top: calc(50% + 2px);
    transform: translateY(-50%);
    transition: ease all .4s;
}

.review-list .user-review .user-review-inner .contents .contents-hide span.remove{
    display: none;
}

.review-list .user-review .user-review-inner .contents .contents-hide .contents-hide-inner{
    display: none;
    padding: 10px;
}

.review-list .user-review .user-review-inner .contents .contents-hide .contents-hide-inner.active{
    display: block;
}

.review-list .user-review .user-review-inner .contents.active{
    max-height: none;
}
.review-list .user-review .user-review-inner .contents.truncated::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    text-align: center;
    background: linear-gradient(to top, #191c22, #191c22e3, transparent);
}
.review-list .user-review.myreview .user-review-inner .contents.truncated::before{
    background: linear-gradient(to top, #212731, #212731e8, transparent);
}

.review-list .user-review .user-review-inner .readmore{
    position: absolute;
    bottom: 20px;
    right: 0;
    cursor: pointer;
    color: #fff;
    font-size: .7rem;
    white-space: nowrap;
    transition: ease all .3s;
    opacity: 0;
    pointer-events: none;
}
.review-list .user-review .user-review-inner .readmore.truncated{
    opacity: 1;
    pointer-events: all;
}

.review-list .user-review.myreview {
    margin: 20px auto;
    padding: 20px;
    padding-bottom: 0;
    background: #242c38a3;
    border-radius: 2px;
}

/* レビューなし時の表示 */
.review-none {
    text-align: center;
    margin: 40px auto;
}

.review-none .review-post-btn {
    display: block;
    padding: 10px 20px;
    background: var(--frame-color);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.4s;
    max-width: 240px;
    margin: 20px auto;
}

.review-none .review-post-btn:hover {
    opacity: 0.7;
}
@media screen and (max-width:620px){
    .review-list .user-review .user-detail{
        width: 100%;
    }
    .review-list .user-review .user-review-top{
        display: block;
    }
    .review-list .user-review .user-review-top .date {
        max-width: 100%;
        width: 100%;
        margin: 10px 0;
    }
    .review-list .user-review .updated,
    .review-list .user-review .created{
        text-align: left;
    }
    .review-controls{
        padding-right: 10px;
    }
    .review-controls .control-item{
        margin: 5px 0;
    }
    .review-list .user-review,
    .review-list .user-review.myreview{
        padding: 10px;
    }
    .review-list .user-review .user-detail .avatar{
        width: 30px;
        height: 30px;
    }
}
@media screen and (max-width:568px){
    .review-list .user-review .user-review-inner{
        display: block;
        padding-top: 10px;
    }
    .review-list .user-review .user-review-inner .user-review-inner-head{
        width: 100%;
        padding-bottom: 10px;
    }
    .review-list .user-review .user-review-inner .user-review-body{
        width: 100%;
    }
    .review-list .user-review .user-review-inner .contents{
        line-height: 1.8;
    }
}
/*========================================
*   review-post
*=========================================*/
.review-post {
    transition: ease all 0.3s;
    border: 2px solid transparent;
    position: relative;
    width: 30%;
    padding: 20px;
    height: 100%;
    border-radius: 2px;
}

.review-post-ratio {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    backdrop-filter: blur(4px);
}

.review-post-ratio:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
    border-color: var(--rime);
}

.review-post-ratio::before {
    content: '⇄';
    font-size: 20px;
    color: #fff;
    line-height: 1;
}

/* swapped 状態 */
.product-container.swapped .review-post {
    width: 68%;
}

.product-container.swapped .product-container-wrapper {
    width: 30%;
}

@media screen and (max-width: 968px) {
    .review-post-ratio {
        display: none;
    }
}

.review-post a.review-form-login {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f1218a8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.review-post:hover a.review-form-login{
    cursor: pointer;
    opacity: 1;
    pointer-events: all;
}

.review-post a.review-form-login span {
    width: calc(100% - 40px);
    max-width: 320px;
    display: block;
    background: var(--rime);
    color: #111;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 10px;
}

.review-post h2 {
    font-size: 1.2rem;
}

.review-post .review-field {
    padding: 20px 0;
    border-bottom: 1px solid #ffffff0a;
    position: relative;
}

.review-post .review-field .review-hide{
    margin: 10px auto 0;
    background: var(--cover-color);
    padding: 10px;
}

.review-post .review-field .review-hide .review-hide-btn{
    display: block;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}
.review-post .review-field .review-hide .review-hide-btn::before{
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-top: 8px solid var(--rime);
    right: 10px;
    top: calc(50% + 2px);
    transform: translateY(-50%);
    transition: ease all .4s;
}
.review-post .review-field .review-hide .review-hide-btn.active::before {
    border-top: 8px solid transparent;
    border-bottom: 8px solid var(--rime);
    top: calc(50% - 4px);
}
.review-post .review-field .review-hide .content{
    display: none;
}

.review-post .review-field:nth-of-type(5){
    border-bottom: none;
}
.review-post .review-field.custom {
    background: var(--cover-color);
    border-bottom: none;
    margin: 20px auto;
    padding: 0;
}

.review-post .review-field.custom h3 {
    padding: 10px;
    position: relative;
}

.review-post .review-field.custom h3:hover {
    cursor: pointer;
}

.review-post .review-field.custom h3::before {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-top: 8px solid var(--rime);
    right: 40px;
    top: calc(50% + 3px);
    transform: translateY(-50%);
    transition: ease all .4s;
}

.review-post .review-field.custom h3.active::before {
    border-top: 8px solid transparent;
    border-bottom: 8px solid var(--rime);
    top: calc(50% - 4px);
}

.review-post .review-field.custom .custom-inner {
    display: none;
    padding: 10px;
    padding-top: 0;
}

.review-post .platform-select-btn {
    background: var(--cover-color);
    padding: 10px;
    text-align: center;
    font-size: .75rem;
    border-radius: 2px;
    transition: ease all .4s;
    cursor: pointer;
}
.review-post .platform-select-btn:hover {
    opacity: .7;
}

.selected-platforms {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.selected-platforms span {
    background: #242c38a3;
    padding: 3px 8px;
    border-radius: 2px;
    color: #fff;
}

.review-post .review-field.custom .custom-inner.active {
    display: block;
}

.review-post .review-field .text {
    margin: 8px auto;
    font-size: .8rem;
    color: #999;
}

.review-post .review-field .score {
    margin: 10px auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.review-post .review-field .score span {
    margin-left: 10px;
    font-size: .7rem;
    position: relative;
    top: 2px;
    border: 1px solid var(--rime);
    color: var(--rime);
    border-radius: 2px;
    padding: 2px 4px;
    opacity: 0;
    pointer-events: none;
}

.review-post .review-field .score span.active {
    opacity: 1;
    pointer-events: all;
}

.review-post .review-field .score span:hover {
    cursor: pointer;
    opacity: .7;
}

.review-post .review-field .score>div {
    display: flex;
    justify-content: flex-start;
}

.review-post .review-field .score>div>div {
    height: 24px;
    transition: transform 0.2s;
    cursor: pointer;
}

.review-post .review-field .score>div>div:hover {
    transform: scale(1.1);
}

.review-post .review-field .score>div>div label {
    position: relative;
    font-size: 0;
}

.review-post .review-field .score>div>div label input {
    display: none;
}

.review-post .review-field .score>div>div label::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url("../images/star-g.66fe1c36f619.svg")no-repeat center;
    background-size: 100%;
}

.review-post .review-field .score>div>div.active label::before {
    background: url("../images/star.713dbb3c31ea.svg")no-repeat center;
    background-size: 100%;
}

.review-post .review-field .score>div.error-message {
    display: block;
    width: 100%;
    font-size: .7rem;
    font-weight: bold;
    color: #d70c0c;
    margin-top: 10px;
}

.review-post .review-field #id_played_platforms{
    background: var(--cover-color);
    padding: 0 10px;
    margin-top: 10px;
}

.review-post .review-field #id_played_platforms > div label{
    border-bottom: 1px solid #ffffff0a;
    padding: 10px 0;
    display: block;
}

.review-post .review-field #id_played_platforms > div:last-child label{
    border-bottom: none;
}

.review-post .review-field .spec-help{
    font-size: .75rem;
    line-height: 1.5;
    display: block;
    color: #999;
}
.review-post .review-field .spec-help a{
    display: inline-block;
    margin-top: 5px;
    color: #fff;
}
/*========================================
*   modal field
*=========================================*/
.review-field-modal {
    position: absolute;
    top: 27px;
    right: 0;
    width: 22px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}
.custom .review-field-modal{
    top: 17px;
    right: 10px;
}

.review-field-modal::after {
    content: '⤢';
    font-size: 1rem;
    color: #fff;
    line-height: 1;
    margin-top: -2px;
    transition: ease all .4s;
    opacity: .2;
}
.review-field-modal:hover::after {
    opacity: 1;
}

/*========================================
*   review edit modal
*=========================================*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.review-edit-modal-content {
    width: 90%;
    max-width: 900px;
    background: #1c1f25;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    /* animation: modal-slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
}

@keyframes modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-edit-modal-content .modal-header {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-edit-modal-content .modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

.review-edit-modal-content .modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    border-radius: 50%;
}

.review-edit-modal-content .modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

.review-edit-modal-content .modal-body {
    padding: 25px;
    max-height: 75vh;
    overflow-y: auto;
}

.review-edit-modal-content .modal-body::-webkit-scrollbar {
    width: 6px;
}

.review-edit-modal-content .modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.review-edit-modal-content .modal-spoiler-field {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.review-edit-modal-content .modal-spoiler-field label {
    display: block;
    font-size: 0.8rem;
    color: #ff6b6b;
    margin-bottom: 8px;
    font-weight: 500;
}

.review-edit-modal-content .modal-title-field {
    margin-bottom: 20px;
}

.review-edit-modal-content .modal-title-field label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    font-weight: 500;
}

.review-edit-modal-content .modal-title-field input {
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 8px;
    resize: vertical;
    font-size: .85rem;
    transition: ease box-shadow .4s;
    border-radius: 2px;
}

.review-edit-modal-content .modal-title-field input:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}

.review-edit-modal-content .modal-score-field {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.review-edit-modal-content .modal-score-field label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    font-weight: 500;
}

.modal-score-stars .score{
    display: flex;
    align-items: center;
}

.modal-star-container {
    display: flex;
    align-items: center;
}

.modal-star-item {
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: url("../images/star-g.66fe1c36f619.svg") no-repeat center;
    background-size: contain;
    transition: transform 0.2s;
}

.modal-star-item.active {
    background-image: url("../images/star.713dbb3c31ea.svg");
}

.modal-star-item:hover {
    transform: scale(1.1);
}

.modal-score-remove {
    margin-left: 20px;
    font-size: 0.7rem;
    background: #3498db;
    color: #fff;
    padding: 4px 10px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    font-weight: bold;
}

.modal-score-remove.active {
    opacity: 1;
    pointer-events: all;
}

.modal-score-remove:hover {
    background: #e74c3c; /* 削除は赤系にしてもいいかもですが、元の仕様（青）に合わせるならそのまま */
}

.review-edit-modal-content .modal-body textarea {
    width: 100%;
    height: 50vh;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 10px;
    resize: vertical;
    font-size: .85rem;
    transition: ease box-shadow .4s;
    min-height: 99px;
    border-radius: 2px;
    resize: none;
}

.review-edit-modal-content .modal-body textarea:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}

.review-edit-modal-content .modal-body textarea::-webkit-scrollbar {
    width: 8px;
    left: 0;
}

.review-edit-modal-content .modal-body textarea::-webkit-scrollbar-thumb {
    background: #8d99a1;
    border-radius: 4px;
}
.review-edit-modal-content .modal-body textarea.spoiler-text{
    height: 30vh;
}
.review-edit-modal-content .modal-footer {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.review-edit-modal-content .modal-footer button {
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.review-edit-modal-content .modal-cancel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.review-edit-modal-content .modal-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.review-edit-modal-content .modal-confirm-btn {
    background: var(--rime);
    border: 1px solid transparent;
    color: #111;
    font-weight: 500;
    padding: 5px 40px;
    font-size: .8rem;
    transform: translateY(0);
    transition: ease all .4s;
    cursor: pointer;
}

.review-edit-modal-content .modal-confirm-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--blue-rgb), 0.3);
}

@media screen and (max-width:968px){
    .review-post {
        width: 100%;
        margin: 20px auto;
    }
}
@media screen and (max-width:620px){
    .review-post {
        margin: 20px auto;
        padding: 10px;
    }
    .review-field h3{
        font-size: 1rem;
    }
    .review-edit-modal-content .modal-header h3{
        font-size: 1rem;
    }
    .review-edit-modal-content .modal-body textarea {
        height: 300px;
    }
    .review-edit-modal-content .modal-body,
    .review-edit-modal-content .modal-header,
    .review-edit-modal-content .modal-footer {
        padding: 10px;
    }
    .review-edit-modal-content .modal-score-field {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}

/*========================================
*   review controls
*=========================================*/
.review-controls {
    border-bottom: 1px solid #ffffff0d;
    margin-bottom: 10px;
    background: var(--frame-color-sub);
}

.review-controls .review-controls-inner{
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 10px 20px;
}

.review-controls .control-item {
    margin-left: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.review-controls .control-item .label {
    margin-right: 8px;
    color: #999;
}

.review-controls select {
    background: #171a21;
    color: #fff;
    border: 1px solid #3c4454;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

.review-controls select:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--rime);
}

/* カスタムドロップダウン (項目スライド効果付き) */
.custom-dropdown {
    position: relative;
    width: 160px;
    height: 28px;
    background: #171a21;
    border: 1px solid #3c4454;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #fff;
}

.dropdown-display {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s;
}

.dropdown-display:hover {
    border-color: var(--rime);
}

.dropdown-display .selected-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 15px;
}

.dropdown-display .select-arrow {
    font-size: 0.6rem;
    color: #999;
    transition: transform 0.2s;
}

.dropdown-display.open .select-arrow {
    transform: rotate(180deg);
}

.dropdown-list-container {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 220px; /* リストは少し広めに */
    background: #222935;
    border: 1px solid #3c4454;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 1001;
    max-height: 250px;
    overflow-y: auto;
}

@media screen and (max-width: 768px) {
    .dropdown-list-container {
        left: auto;
        right: 0;
        width: 200px;
    }
}

.dropdown-list {
    list-style: none;
    padding: 5px 0;
    margin: 0;
}

.dropdown-list li {
    padding: 10px 12px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background 0.2s;
    border-bottom: 1px solid #ffffff05;
}

.dropdown-list li:last-child {
    border-bottom: none;
}

.dropdown-list li:hover {
    background: #2c3544;
}

.dropdown-list li.active {
    color: var(--rime);
    background: #2c3544;
}

.dropdown-list li .sliding-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-size: 0.75rem;
    white-space: normal; /* 折り返しを許可 */
    color: #fff;
}

.advanced-filter-toggle {
    cursor: pointer;
    transition: color 0.3s;
}
.advanced-filter-toggle:hover {
    color: var(--rime);
}
.advanced-filter-toggle .icon {
    font-size: 0.35rem;
    transition: transform 0.3s;
    position: relative;
    top: -1px;
}
.advanced-filter-toggle.active .icon {
    transform: rotate(180deg);
}

.advanced-filter-content {
    padding: 10px 20px;
}

.advanced-filter-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-item .label {
    font-size: 0.75rem;
    color: #999;
}

.filter-item select, .filter-item input {
    background: #171a21;
    color: #fff;
    border: 1px solid #3c4454;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.filter-item.date-range .inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-item.date-range {
    position: relative;
    flex: 1 1 200px;
}

.custom-date-range-picker {
    position: relative;
    width: 240px;
}

.picker-display {
    background: #171a21;
    border: 1px solid #3c4454;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.8rem;
    color: #fff;
    transition: border-color 0.3s;
}

.picker-display:hover {
    border-color: var(--rime);
}

.range-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.picker-icon {
    font-size: 0.9rem;
    margin-left: 10px;
    opacity: 0.7;
}

.picker-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 280px;
    background: #222935;
    border: 1px solid #3c4454;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 25%);
    z-index: 1000;
    padding: 15px;
    user-select: none;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    margin-bottom: 10px;
}

.current-month-year {
    grid-column: span 3;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
}

.prev-year, .prev-month, .next-month, .next-year {
    cursor: pointer;
    color: #67c1f5;
    transition: color 0.2s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
}

.prev-month, .next-month {
    font-size: 0.6rem;
}

.prev-year, .next-year {
    font-size: 0.85rem;
}

.prev-year:hover, .prev-month:hover, .next-month:hover, .next-year:hover {
    color: #fff;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    color: #55677d;
    margin-bottom: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
}

.calendar-day:hover:not(.empty) {
    background: #25344c;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.selected {
    background: var(--rime);
    color: #111;
}

.calendar-day.in-range {
    background: #2a475e;
    border-radius: 0;
}

.calendar-day.today {
    border: 1px solid var(--rime);
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #3c4454;
}

.clear-selection, .apply-selection {
    padding: 6px 15px;
    font-size: 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-selection {
    color: #999;
    text-decoration: underline;
}

.clear-selection:hover {
    color: #fff;
}

.apply-selection {
    background: var(--rime);
    color: #111;
    font-weight: bold;
}

.apply-selection:hover {
    opacity: 0.9;
}

.advanced-filter-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ffffff0d;
    display: flex;
    justify-content: flex-end;
}

.clear-filter {
    font-size: 0.8rem;
    color: #999;
    cursor: pointer;
    text-decoration: underline;
}
.clear-filter:hover {
    color: #fff;
}

@media screen and (max-width: 620px) {
    .advanced-filter-content{
        padding-top: 0;
    }
}

.review-post .review-field .title input {
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 8px;
    resize: none;
    font-size: .8rem;
    transition: ease all .4s;
}

.review-post .review-field .title input:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}

.review-post .review-field .content {
    margin-top: 10px;
}

.review-post .review-field .content textarea {
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 8px;
    resize: vertical;
    font-size: .8rem;
    transition: ease box-shadow .4s;
    min-height: 99px;
    border-radius: 2px;
}

.review-post .review-field .content textarea::-webkit-scrollbar {
    width: 8px;
    left: 0;
}

.review-post .review-field .content textarea::-webkit-scrollbar-thumb {
    background: #8d99a1;
    border-radius: 4px;
}

.review-post .review-field .content textarea:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}

.review-post button {
    width: 100%;
    display: block;
    background: var(--rime);
    color: #111;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    padding: 10px;
    border-radius: 2px;
}

.review-post .review-field .recommended-game {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 10px auto;
    position: relative;
    background: var(--cover-color);
}

/* ハイライトアニメーション */
@keyframes pulse-rime {
    0% {
        box-shadow: 0 0 0 0 rgba(183, 214, 0, 0.7);
        border-color: var(--rime);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(183, 214, 0, 0);
        border-color: var(--rime);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(183, 214, 0, 0);
        border-color: transparent;
    }
}

.review-post.highlight {
    animation: pulse-rime 1.5s ease-in-out 3;
    /* 3回点滅 */
}

.highlight-input {
    animation: pulse-rime 1.5s ease-in-out 3;
}

.product-container-inner.reviews:not([data-current-tab="all"]) .review-list .user-review .user-review-inner {
    border-bottom: none;
}

.review-post .review-field .recommended-game figure {
    height: auto;
    width: 80px;
    padding: 10px;
    margin-right: 0;
}

.review-post .review-field .recommended-game span {
    line-height: 1.2;
    font-size: .75rem;
    width: calc(100% - 80px);
    padding: 10px
}

.review-post .review-field .recommended-game .edit {
    position: absolute;
    left: 0;
    top: 0;
    font-size: .9rem;
    font-weight: bold;
    z-index: 2;
    background: #05101cd1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: ease all .4s;
}

.review-post .review-field .recommended-game .edit:hover {
    cursor: pointer;
    opacity: 1;
}

.review-post .review-field .recommended-game .recommended-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.review-post .review-field .recommended-game .recommended-btn:hover {
    cursor: pointer;
}

.recommended-game-modal {
    width: 90%;
    max-width: 700px;
    height: 80%;
    max-height: 700px;
    background: #1c1f25;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: ease all .4s;
}

.recommended-game-modal.active {
    opacity: 1;
    pointer-events: all;
}
.recommended-game-modal-header{
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recommended-game-modal-header .title {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

.recommended-game-modal .close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    border-radius: 50%;
}
.recommended-game-modal .close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

.recommended-game-modal-inner {
    padding: 40px 20px;
    height: calc( 100% - 50px );
}

.recommended-game-modal-inner input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: .9rem;
    background: #fff;
    color: #111;
    border-radius: 3px;
}

.recommended-game-modal-inner #autocomplete-list {
    width: 100%;
    overflow-y: scroll;
    height: calc(100% - 63px);
    margin-top: 20px;
    box-sizing: border-box;
}

.recommended-game-modal-inner #autocomplete-list::-webkit-scrollbar {
    width: 4px;
    left: 0;
}

.recommended-game-modal-inner #autocomplete-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.recommended-game-modal-inner #autocomplete-list::-webkit-scrollbar-thumb {
    background: #8d99a1;
    border-radius: 4px;
}

.recommended-game-modal-inner #autocomplete-list::-webkit-scrollbar-thumb:hover {
    background: #8d99a1;
}

.recommended-game-modal-inner #autocomplete-list li {
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #ffffff0a;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: var(--cover-color);
    min-height: 75px;
    transition: ease all .4s;
}

.recommended-game-modal-inner #autocomplete-list li:last-child {
    border-bottom: none;
}

.recommended-game-modal-inner #autocomplete-list li:hover {
    background: #2529318f;
    cursor: pointer;
}

.recommended-game-modal-inner #autocomplete-list li figure {
    width: 40px;
    margin-right: 10px;
}

.recommended-game-modal .close:hover {
    cursor: pointer;
}
@media screen and (max-width:620px){
    .recommended-game-modal-header{
        padding: 10px;
    }
    .recommended-game-modal-inner {
        padding: 10px;
        height: calc(100% - 55px);
    }
}




/*==============================================================
*
*   youtube-modal
*
*==============================================================*/
.trailer-item .youtube-embed-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 アスペクト比 */
}

.trailer-item .youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Helpful Button */
.helpful-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 3px 5px;
    background: var(--frame-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: .7rem;
    color: #ccc;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.helpful-btn.active {
    background: #3161797d;
    color: #fff;
}
.helpful-disabled {
    display: flex;
    align-items: center;
    margin-top: 10px;
    border-radius: 4px;
    font-size: .7rem;
    color: #cccccc9c;
    transition: all 0.3s ease;
}

.helpful-btn .icon {
    font-size: .8rem;
}

.helpful-btn .count {
    font-size: .6rem;
    position: relative;
    top: 1px;
    margin: 0 2px;
}
/*========================================
*   bug-report
*=========================================*/
.bug-report-form-section {
    background: var(--frame-color);
    margin-bottom: 30px;
}

.bug-report-form-section h3 {
    font-size: 1.1rem;
    padding: 20px;
    position: relative;
    cursor: pointer;
}

.bug-report-form-section h3.active{
    cursor: default;
}

.bug-report-form-section h3::before {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-top: 8px solid var(--rime);
    right: 20px;
    top: calc(50% + 2px);
    transform: translateY(-50%);
    transition: ease all .4s;
}

.bug-report-form-section h3.active::before {
    opacity: 0;
    pointer-events: none;
}

.bug-form{
    padding: 20px;
    padding-top: 0;
    display: none;
}

.bug-form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bug-form-group {
    width: 48%;
}

.bug-form-group.title{
    width: 68%;
}
.bug-form-group.platform{
    width: 28%;
}

.bug-form-group:only-child {
    width: 100%;
}

.bug-form-group.image{
    width: 100%;
    margin-bottom: 20px;
    font-size: .75rem;
}
.bug-form-group.content {
    width: 100%;
    margin-bottom: 20px;
}

.bug-form-group input[type='text']{
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 8px;
    resize: vertical;
    font-size: .8rem;
    transition: ease box-shadow .4s;
}

.bug-form-group select{
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 9px;
    resize: vertical;
    font-size: .8rem;
    transition: ease box-shadow .4s;
}

.bug-form-group textarea {
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 8px;
    resize: vertical;
    font-size: .8rem;
    min-height: 99px;
    transition: ease box-shadow .4s;
}

.bug-form-group input[type='text']:focus,
.bug-form-group select:focus,
.bug-form-group textarea:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}

.bug-form-group > label{
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.bug-form-group.radio-group > label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    margin-right:0;
    display: block;
    font-weight: bold;
}

.bug-form-group.radio-group > div{
    display: flex;
    justify-content: flex-start;
}
.bug-form-group.radio-group > div div{
    margin-right: 20px;
}
.bug-form-group.radio-group > div div:last-child{
    margin-right: 0;
}


.bug-submit-btn,
.comment-submit-btn {
    background: var(--rime);
    color: #111;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s;
    border-radius: 2px;
}

.bug-submit-btn:hover,
.comment-submit-btn:hover {
    opacity: 0.8;
}

a.view-all-bugs-btn{
    display: block;
    padding: 10px;
    text-align: center;
    background: var(--rime);
    border-radius: 4px;
    font-weight: bold;
    transition: ease all .4s;
    margin: 20px auto;
    color: #111;
    font-size: 1rem;
    max-width: 320px;
}

.view-all-bugs-btn:hover{
    opacity: 0.8;
}

/* Thread List */
.bug-thread {
    background: var(--frame-color-sub);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.bug-thread-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.bug-thread-header::before {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-top: 8px solid var(--rime);
    right: 0;
    bottom: 0;
    transition: ease all .4s;
}

.bug-thread-header.active::before {
    border-top: 8px solid transparent;
    border-bottom: 8px solid var(--rime);
    bottom: 4px;
}

.bug-thread-header .bug-thread-header-inner{
    width: calc(100% - 90px);
}


.bug-thread-header .thread-title {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.bug-thread-header .user-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--rime);
    font-weight: bold;
    margin-bottom: 10px;
}

.bug-thread-header .user-detail .avatar{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.bug-thread-header .user-detail .avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bug-thread-header .user-detail .name a{
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    position: relative;
    z-index: 2;
}

.bug-thread-header .thread-platform{
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 5px;
}

.bug-thread-header .thread-meta {
    font-size: 0.75rem;
    color: #aaa;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.bug-thread-header .thread-meta .thread-meta-inner{
    display: flex;
    align-items: center;
}
.bug-thread-header .thread-meta .thread-meta-inner span{
    font-size: 0.7rem;
    padding: 2px 6px;
    margin-left: 5px;
    background-color: #0b8b25;
    color: #fff;
    border-radius: 2px;
}
.bug-thread-header .thread-meta .thread-meta-inner span.middle{
    background-color: #ed9227;
}
.bug-thread-header .thread-meta .thread-meta-inner span.caution{
    background-color: #af0e0e;
}
.bug-thread-header .thread-meta .translation-toggle-btn{
    display: inline-block;
    cursor: pointer;
    font-size: 0.8rem;
    position: absolute;
    right: 0;
    top: 30%;
    margin: 0;
}

.bug-thread-header .thread-date{
    font-size: 0.75rem;
    color: #aaa;
    width: 80px;
    text-align: right;
}

.bug-thread-inner{
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    display: none;
}

.bug-thread-body {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.bug-content {
    white-space: pre-wrap;
    line-height: 1.6;
    font-size: 0.9rem;
    color: #ddd;
}

.bug-image {
    margin-top: 15px;
    display: inline-block;
}

.bug-image img {
    max-width: 100%;
    max-height: 300px;
    border: 1px solid #444;
    border-radius: 4px;
}

/* Comments */

.comment-number {
    color: var(--rime);
    font-weight: bold;
}

.comment-date {
    color: #666;
    font-size: 0.75rem;
}

.bug-comment-form {
    margin-top: 15px;
}

.bug-comment-form textarea {
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 8px;
    resize: vertical;
    font-size: .8rem;
    transition: ease box-shadow .4s;
    min-height: 99px;
    border-radius: 2px;
}
.bug-comment-form textarea:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}
.bug-comments .bug-comments-inner .bug-comment{
    position: relative;
    margin-bottom: 12px;
    font-size: 0.85rem;
    padding-left: 10px;
    border-left: 2px solid rgba(255,255,255,0.1);
}
.bug-comments .bug-comments-inner .bug-comment .bug-comment-header{
    display: flex;
    align-items: center;
    gap: 10px;
}
.bug-comments .bug-comments-inner .bug-comment .comment-user{
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.bug-comments .bug-comments-inner .bug-comment .comment-user .avatar{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
}
.bug-comments .bug-comments-inner .bug-comment .comment-user .avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bug-comments .bug-comments-inner .bug-comment .translation-toggle-btn{
    width: 100%;
    display: block;
    margin: 8px auto;
}
.bug-comments .bug-comments-inner .bug-comment .comment-content{
    padding: 10px;
}
/* Bug Report Reply Styles */
.comment-parent-ref {
    font-size: 0.8rem;
    color: var(--rime);
    display: block;
}
.comment-parent-ref:hover{
    cursor: pointer;
}

.comment-actions {
    text-align: right;
    margin-top: 5px;
}

.reply-indicator {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--rime);
    margin-bottom: 10px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cancel-reply {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.cancel-reply:hover {
    background: rgba(255,255,255,0.2);
    color: #fff !important;
}

.comment-notice {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}

.comment-notice a {
    color: var(--rime);
    text-decoration: none;
    font-weight: bold;
}

.comment-notice a:hover {
    text-decoration: underline;
}

.comment-submit-btn {
    background: var(--rime);
    color: #111;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
    position: relative;
    left: 100%;
    transform: translateX(-100%);
}

.comment-submit-btn:hover {
    background: #0077b3;
}

.comment-user a{
    font-weight: bold;
    color: #ccc;
}


.comment-popup {
    position: absolute;
    background: #2a3441;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    max-width: 300px;
    z-index: 1000;
    pointer-events: none;
    font-size: 0.8rem;
    color: #ddd;
}
.popup-header {
    margin-bottom: 5px;
    border-bottom: 1px solid #ffffff1a;
    padding-bottom: 3px;
    font-size: 0.75rem;
    color: #aaa;
}
.popup-user {
    font-weight: bold;
    margin-right: 5px;
}

@media screen and (max-width:768px){
    .bug-thread{
        padding: 10px;
    }
    .bug-content,
    .bug-comment{
        font-size: .8rem;
        line-height: 1.8;
    }
    .bug-report-header p{
        font-size: .8rem;
    }
    
}

/*========================================
*   platform-modal
*=========================================*/
#platform-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

#platform-modal .modal-content {
    background: #1c1f25;
    width: 90%;
    max-width: 640px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#platform-modal h3 {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

#platform-modal .platform-list {
    padding: 20px;
}

#platform-modal .platform-list div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#platform-modal .no-answer-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #bbb;
}
#platform-modal .no-answer-option input[type='checkbox'] {
    margin-right: 10px;
    transform: scale(1.2);
}

#platform-modal .modal-actions {
    padding: 20px;
    padding-top: 0;
}
#platform-modal .select-only-back-btn span,
#platform-modal .modal-actions button {
    padding: 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

#platform-modal .modal-actions #modal-back-btn {
    display: block;
    background: none;
    font-weight: normal;
    font-size: .75rem;
    padding: 0;
    margin-top: 10px;
    text-align: center;
}
#platform-modal .modal-actions #modal-back-btn span{
    cursor: pointer;
}
#platform-modal .modal-actions #modal-back-btn span:hover{
    text-decoration: underline;
}

#platform-modal .select-only-back-btn span,
#platform-modal .modal-actions #modal-submit-btn {
    background: var(--rime);
    color: #111;
    display: block;
}

#platform-modal .modal-actions button:hover {
    opacity: 0.8;
}


#platform-modal .platform-list > ul,
#platform-modal .platform-list > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}
#platform-modal .platform-list li {
    list-style: none;
}


.highlight-comment {
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.5s ease-out;
    border-radius: 4px;
}

#platform-modal .platform-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: var(--cover-color);
    border:1px solid var(--cover-color);
    transition: ease all 0.3s;
    width: auto;
    flex-grow: 1;
    border-radius: 2px;
}

#platform-modal .platform-list label:hover {
    background: #b7d6000f;
}

#platform-modal .platform-list input[type='checkbox'] {
    display: none;
}

#platform-modal .platform-list label.checked {
    border: 1px solid var(--rime);
    color: var(--rime);
    background: none;
    background: #b7d6000f;
}

#platform-modal .platform-list label.checked:hover {
    opacity: 0.8;
}
@media screen and (min-width:621px){
    #platform-modal h3 .sp{
        display: none;
    }
}
@media screen and (max-width:620px){
    #platform-modal h3{
        font-size: 1rem;
        padding: 10px;
    }
    #platform-modal .platform-list{
        padding: 20px 10px;
    }
    #platform-modal .modal-actions {
        padding: 20px 10px;
        padding-top: 0;
    }
}
/*========================================
*   pagination
*=========================================*/
.pagination {
    margin: 40px 0 20px;
    display: flex;
    justify-content: flex-end;
}

.pagination .step-links {
    display: inline-flex;
    align-items: center;
}

.pagination .step-links a {
    margin: 0 10px;
    font-size: 1.1rem;
    line-height: 1;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.pagination .step-links a:hover {
    opacity: 0.7;
}

.pagination .step-links .current {
    width: 30px;
    height: 30px;
    background: var(--rime);
    color: #111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    font-size: 1.1rem;
    line-height: 1;
}

.pagination .step-links span {
    margin: 0 5px;
    color: #fff;
}
@media screen and (max-width:768px){
    .pagination{
        margin: 20px auto;
    }
}
@media screen and (max-width: 620px) {
    .pagination .step-links a {
        margin: 0 5px;
        font-size: 1rem;
    }
    .pagination .step-links .current {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}

/*========================================
*   category review prompt
*=========================================*/
.category-review-prompt {
    margin: 20px 0 30px;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
}

.category-review-prompt .no-review-msg {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #ccc;
}

.category-review-btn {
    display: block;
    padding: 10px 20px;
    background: var(--frame-color);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.4s;
    max-width: 240px;
    margin: 20px auto;
    font-size: .8rem;
}

.category-review-btn:hover {
    opacity: 0.7;
}
/*========================================
*   loading overlay
*=========================================*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid transparent;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

@media screen and (max-width: 620px) {
    .review-controls .review-controls-inner{
        padding: 10px;
    }
    .advanced-filter-content{
        padding: 10px;
    }
    .advanced-filter-inner {
        display: block;
    }
    .filter-item{
        margin-bottom: 10px;
    }
    .filter-item.date-range .inputs {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .filter-item.date-range input {
        width: 100%;
    }
    .filter-item.date-range .tm {
        display: none;
    }
}
@charset " UTF-8\;

/* Translation Toggle Styles */
.review-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.translation-toggle-btn {
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
    user-select: none;
    margin-bottom: 8px;
    display: inline-block;
}

.translation-toggle-btn:hover {
    opacity: 1;
}

.content-text.original-content {
    font-style: italic;
    color: #ffffff7a;
}

/* コメントリファレンスホバー時のポップアップ */
.comment-popup {
    position: absolute;
    z-index: 1000;
    background-color: #242c38;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 10px;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    font-size: 0.8rem;
}

.comment-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.comment-popup .popup-user {
    font-weight: bold;
    color: var(--rime);
}

.comment-popup .popup-date {
    font-size: 0.7rem;
    color: #aaa;
}

.comment-popup .popup-content {
    line-height: 1.8;
    word-break: break-word;
}
@media screen and (max-width:768px){
    .comment-popup{
        left: 10px !important;
        right: auto;
        width: calc( 100% - 20px);
        box-sizing: border-box;
    }
}