
:root {
    --text-color: #2b2b2b;
    --primary-color: #000000;
    --primary-hover: #262626;
    --danger-red: #ff3b30;
    --pill-bg: #f0f3f8;
    --cancel-hover-bg: #fefcf5;
    --modal-gray-bg: #f8fafc;
    --modal-text-dark: #334155;
    --modal-border-gray: #e2e8f0;
    --modal-points-after: #e54d2e;
    --modal-arrow-color: #94a3b8;
    --modal-cancel-hover: #f1f5f9;
    --main-orange: var(--primary-color);
    --charge-orange: #eb6130;
    --bg-white: #ffffff;
    --bg-primary: hsl(240, 9%, 98%);
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-800: #1e293b;

    /* Royale Theme Design System Variables */
    --royale-gold-text: #fedfa1;
    --royale-gold-title: #deb870;
    --royale-gold-border: #a48245;
    --royale-gold-border-dark: #735d35;
    --royale-gold-accent: #d4af37;
    --royale-ruby-top: #b4214c;
    --royale-ruby-mid: #7c0d32;
    --royale-ruby-bottom: #4e011e;
    --royale-ruby-btn-border: #ff66af;
    --royale-ruby-btn-bg: linear-gradient(180deg, var(--royale-ruby-top) 0%, var(--royale-ruby-mid) 50%, var(--royale-ruby-bottom) 100%);
    --royale-bg-black: #000000;
}


/* Added root variables from Tsukino */
:root {
    --text-color: #2b2b2b;
    --primary-color: #000000;
    --primary-hover: #262626;
    --danger-red: #ff3b30;
    --pill-bg: #f0f3f8;
    --cancel-hover-bg: #fefcf5;
    --modal-gray-bg: #f8fafc;
    --modal-text-dark: #334155;
    --modal-border-gray: #e2e8f0;
    --modal-points-after: #e54d2e;
    --modal-arrow-color: #94a3b8;
    --modal-cancel-hover: #f1f5f9;
    --main-orange: var(--primary-color);
    --charge-orange: #eb6130;
    --bg-white: #ffffff;
    --bg-primary: hsl(240, 9%, 98%);
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-800: #1e293b;
}

.btn-submit {
    width: auto;
    background-color: #284ab9 !important;
    color: #fff;
    border: none;
}

.hearder-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    --bs-gutter-x: 1.5rem !important;
    background: black !important;
    padding: 0px 6px;
    width: 100%;
}

.menu-header-bar {
    /* display: flex; */
    position: sticky;
    top: 54px;
    z-index: 4;
    gap: 0.5rem;
    background: white;
    width: 100%;
    flex-direction: row;
    padding-top: 5px;
    -webkit-box-align: center;
    align-items: center;
    padding-bottom: 5px;
    font-weight: bold;
}

.btn-delete {
    width: auto;
    background-color: #b92828 !important;
    color: #fff;
    border: none;
}

.btn-delete-user:hover {
    color: #ffffff;
    transform: translate(0, -2px);
}

.mr-1 {
    margin-right: 10px;
}

body {
    padding-top: 54px !important;
    font-size: 1rem !important;
}

@media (max-width: 576px) {
    body {
        padding-top: 48px !important;
    }
}

@media (max-width: 768px) {
    .custom-width {
        width: 100%;
    }

    .css-list_dp-grid {
        display: grid;
        gap: 25px;
        grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
    }
}

@media (min-width: 550px) and (max-width: 767px) {
    .css-sold_out-txt {
        font-size: 25px !important;
    }
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: black !important;
    /* border-radius: 20px; */
}

.nav-link {
    color: #000;
}

a {
    cursor: pointer;
}

.list-special {
    background: linear-gradient(180deg, 
        rgba(255, 0, 0, 1), 
        rgba(255, 51, 0, 1) 10%, 
        rgba(255, 102, 0, 1) 20%, 
        rgba(255, 153, 0, 1) 30%, 
        rgba(255, 204, 0, 1) 40%, 
        rgba(255, 255, 0, 1) 50%, 
        rgba(204, 255, 0, 1) 60%, 
        rgba(153, 255, 0, 1) 70%, 
        rgba(102, 255, 51, 1) 80%, 
        rgba(51, 255, 102, 1) 90%, 
        rgba(0, 255, 153, 1));
    border-radius: 8px;
    overflow: hidden;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.text-special {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.main .main-menu .nav-item .nav-link {
    height: 100%;
}

@media screen and (max-width: 500px) {
    .text-special {
        font-size: 15px;
    }   
}

.list-gacha .card {
    position: relative;
    height: 100%;
}

.list-gacha .card button.detail,
.gacha-content-container .gacha-btn-container-sticky  button.detail{
    position: absolute;
    right: 7px;
    top: 7px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-width: -0;
    padding: 10px;
    z-index: 1;
    background:#f3f3f3;
    /* background: linear-gradient(-45deg, #ff0000, #fedc1a, #fdf439); */
}

.container-img-nav-link-0 {
    width: 30px;
    height:30px;
    padding: 4px;
}
@media screen and (max-width: 767.98px) {
    .container-img-nav-link-0 {
        margin: auto !important;
    }
}
.slider img {
    width: 100%;
}
.card-quantity{
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    color:black;
    margin: 0 !important;
    position: absolute;
    width: 100%;
    height: 30px;
    left: 0; right: 0;
    /* max-width: 765px;; */
}
.tab-content-0{
    max-width: 100% !important; padding: 0; background: transparent !important;
}
.list-gacha .slider .slick-prev:before {
    /* background: #ffb202; */
    padding: 10px;
    border-radius: 50%;
    color: #ffb202;
    opacity: 1 !important;
}

.slider .slick-prev:before {
    /* background: #ffb202; */
    padding: 10px;
    border-radius: 50%;
    color: #ffb202;
    opacity: 1 !important;
}
.btn-buy-container{
    flex-direction: column; width:100%
}
.list-gacha .slider .slick-prev {
    left: -18px !important;
    z-index: 3;
    transform: translateY(-15px);
}
.slider .slick-prev {
    left: -18px !important;
    z-index: 3;
    transform: translateY(-15px);
}
.icon_p_img{
    /* margin-left: 4px; */
}
.icon_p_detail {
    width: 30px;
    height: auto;
}
.list-gacha .slider .slick-next:before {
    /* background: #ffb202; */
    padding: 10px;
    border-radius: 50%;
    color: #ffb202;
    opacity: 1 !important;
    /* display: abso; */
}

.slider .slick-next:before {
    /* background: #ffb202; */
    padding: 10px;
    border-radius: 50%;
    color: #ffb202;
    opacity: 1 !important;
    /* display: abso; */
}

.list-gacha .slider .slick-next {
    right: 33px;
    z-index: 3;
    margin-right: 18px;
    transform: translateY(-15px);
}

.slider .slick-next {
    right: 33px;
    z-index: 3;
    margin-right: 18px;
    transform: translateY(-15px);
}


.buy-1 {
    background: transparent;
    border-radius: 6px;
    margin-top: 5px;
    width: 100%;
    color: #222222;
    font-weight: bold;
    border: none;
    outline: none;
    padding: 20px;
    box-shadow: inset 0 0 0 2px #F8C215;
    text-align: center;
    justify-content: center;
    font-size: 23px;
    min-height: 50px;
}

.buy-10 {
    background: linear-gradient(91deg, #FFE357 0%, #FFD71F 100%);
    border-radius: 6px;
    margin-top: 5px;
    width: 100%;
    color: #000;
    font-weight: bold;
    border: none;
    outline: none;
    padding: 20px;
    box-shadow: inset 1px 1px 10px 1px #fff;
    text-align: center;
    justify-content: center;
    font-size: 23px;
    min-height: 50px;
}

.btn-buy-100 {
    background: rgb(234, 69, 60);
    border-radius: 6px;
    margin-top: 5px;
    /* margin-right: 5px; */
    width: 100%;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none;
    padding: 20px;
    box-shadow: inset 1px 1px 10px 1px #fff;
    text-align: center;
    justify-content: center;
    font-size: 23px;
    min-height: 50px;
}
.gacha-price{
    font-size: 19px;
    font-weight:700;
    display: flex;
    align-items: center;
    margin:auto;
}
.gacha-quantity{
    /* background:#fcc62e; */
    /* background: linear-gradient(-45deg, #ff0000, #fedc1a, #fdf439); */
    border-radius: 6px;
    text-align: center;
    width: 100%;
    min-height: 169px;
}

.gacha-price-quantity {
    display: flex;
    gap:1rem;
    align-items: center;
    justify-content: center;
    /* margin-top: 5px; */
}

.gacha-price-quantity-list {
    margin-top: 5px !important;
}

.gacha-text-quantity{
    font-size:15px;
    margin:auto;
    line-height: 1.5;
    font-weight: 600;
    white-space: nowrap;
}

.main .main-menu .nav-item {
    /* width: 33.33%; */
    font-weight: 600;
    font-size: large;
    /* padding-top: 0 !important; */
    text-align: center;
}

@media screen and (min-width: 768px) {
    .main .main-menu .nav-item .nav-link {
        display: flex;
        justify-content: center;
        align-items: center;

    }
}

@media screen and (max-width: 768px) {
    .main .main-menu .nav-item {
        width: 33.33333%;
    }
}


@media screen and (max-width: 768px) {
    .main .main-menu .nav-item .nav-link {
        padding: 4px !important;
    }
}

.main-menu{
    padding-top: 0 !important;
}
.site-background{
    /* background: #ffee11; */
}
.info .point a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: #fff;
    border-radius: 9999px;
    cursor: pointer;
    padding: 2px 6px 2px 2px;
    font-size: 14px;
    outline: none;
    text-decoration: none;
}

.info .point a p {
    margin: 0;
}

.info .point a svg {
    width: 30px;
    height: 30px;
    color: red;
    margin-right: 5px;
}

.info .dp {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: #fff;
    border-radius: 9999px;
    cursor: pointer;
    padding: 2px 7px 2px 7px;
    font-size: 14px;
    outline: none;
    text-decoration: none;
    white-space: nowrap;
}

.hight-light {
    margin-top: 30px;
    margin-bottom: 30px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(249, 192, 1, 1) 0%,
            rgba(254, 2, 2, 1) 100%);
    /* background: #000000; */
}
.hight-light-gray {
    height: 1px;
    background: #dfdbdb;
}

.footer {
    padding-bottom: 100px;
}

.side-bar {
    background: #00000045;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 999;
}

.side-bar .content-bar {
    width: 432px;
    display: block;
    background: #fff;
    position: fixed;
    top: 0;
}

/* .side-bar .content-bar img {
    width: 100%;
} */

@media only screen and (max-width: 713px) {
    .side-bar .content-bar {
        width: 100%;
    }

    .css-list_dp-grid {
        display: grid;
        gap: 25px;
        grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
    }
}

@media only screen and (max-width: 1000px) {
    .side-bar .content-bar {
        width: 100%;
    }

    .css-list_dp-grid {
        display: grid;
        gap: 25px;
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
    .css-card-favorite-rep{
        width: 100% !important;
    }
}

.info-bar {
    background: #ffffff;
}

.scroll-bar {
    height: 100vh;
    overflow-y: scroll;
}

.b-bar-point {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: #ffffff;
    border-radius: 9999px;
    cursor: pointer;
    padding: 4px 6px 4px 5px;
    font-size: 14px;
    outline: none;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.bar-add-point {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: red;
    border-radius: 9999px;
    cursor: pointer;
    padding: 2px 2px 2px 2px;
    font-size: 14px !important;
    outline: none;
    text-decoration: none;
    /* width: 100px; */
    color: #fff;
    font-weight: bold;
}

.bar-add-point svg {
    width: 27px;
    height: 27px;
    color: red;
}

.number-point {
    color: #000;
}

.number-point h5 {
    margin: 0;
    margin-right: 3px;
    font-size: 18px;
}

.bar-reff {
    background: #fff;
    border-radius: 10px;
    margin-top: 22px;
}

.bar-reff .chakra-text-title-ref {
    color: red;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.card-title{
    margin: 0 auto;
    text-align: center;
}
.referral-code {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 8px;
    background-color: black;
    border: 1px solid black;
    border-radius: 10px 10px 0 0;
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;
    color: white;
    margin-bottom: 1px;
}

.referral-image {
    position: absolute;
    top: -53px;
    right: 0px;
    height: 53px;
    object-fit: cover;
    width: 13% !important;
}

.referral-text {
    font-size: 40px;
    line-height: 48px;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 8px;
}

.copy-code-button {
    background: red;
    color: #fff;
    border-radius: 17px;
    width: 148px;
    margin-bottom: 6px;
    border: none;
    overflow-y: none;
    padding: 9px;
    position: absolute;
    top: 98px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.number_referral {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid black;
    gap: 12px;
    background: #fdb23d;
    color: white;
    border-radius: 0 0 10px 10px;
    padding-bottom: 5px;
}

.number_referral button {
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    color: rgb(60, 60, 60);
    background-color: rgb(217, 217, 217);
    outline: transparent solid 2px;
    border-radius: var(--chakra-radii-md);
    border: none;
    outline: none;
    border-radius: 99999px;
    padding-left: 6px;
    padding-right: 6px;
}

.number_referral p {
    line-height: 24px;
    font-weight: 500;
    color: white;
}

.text-de {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: rgb(109 109 109);
    padding: 10px;
    border-bottom: 1px solid #afafaf;
    margin-top: 16px;
    border-radius: 10px;
}

.stack-ref-point {
    display: flex;
    flex-direction: column;
    background-color: var(--chakra-colors-white);
    border-top: 1px solid rgb(242, 242, 242);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 8px 1px 12px;
    -webkit-box-align: start;
    align-items: start;
    gap: 10px;
    font-size: 14px;
}

.stack-ref-point svg {
    height: 1em;
    display: inline;
    line-height: 1em;
    flex-shrink: 0;
    color: currentcolor;
    margin-inline-end: var(--chakra-space-2);
    vertical-align: text-bottom;
    width: 9px;
    margin-right: 10px;
}

.stack-ref-point ul {
    list-style-type: none;
    font-size: var(--chakra-fontSizes-sm);
    line-height: 20px;
    color: rgb(60, 60, 60);
    padding: 0;
}

.stack-ref-point ul .ref-title {
    font-weight: 700;
}

ul.list-in {
    list-style-type: disc;
    padding-left: 19px;
}

.button-twitter {
    width: 100%;
    height: 33px;
    background-color: rgba(0, 0, 0, 0.06);
    font-size: 14px;
    line-height: 20px;
    color: rgb(60, 60, 60);
    outline: transparent solid 2px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.32);
    border-image: initial;
    border-radius: 17px;
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space-collapse: collapse;
    text-wrap: nowrap;
    vertical-align: middle;
    outline-offset: 2px;
    font-weight: 600;
    text-decoration: none;
}

.button-line {
    width: 100%;
    height: 33px;
    background-color: rgba(15, 197, 66, 0.06);
    font-size: var(--chakra-fontSizes-sm);
    line-height: 20px;
    color: rgb(14, 201, 90);
    outline: transparent solid 2px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(15, 197, 66, 0.32);
    border-image: initial;
    border-radius: 17px;
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space-collapse: collapse;
    text-wrap: nowrap;
    vertical-align: middle;
    outline-offset: 2px;
    font-weight: 600;
    text-decoration: none;
}

ul.i-text {
    list-style-type: initial;
    margin-inline-start: 1em;
    font-size: 12px;
    line-height: 18px;
    color: rgb(133, 133, 133);
    margin-left: 20px;
}

.menu-bar {
    display: flex;
    flex-direction: column;
    /* padding-inline: 20px; */
    font-size: 14px;
    margin-top: 45px;
    padding-bottom: 133px;
}
.progress{
    --bs-progress-bg: rgb(213, 213, 213);
    border-radius: 50px;

}
.progress-bar{
    /* border-radius: 50px; */
    background: linear-gradient(360deg, rgb(255 54 54) 0%, rgb(255 103 31) 20%,
            rgb(255 147 32) 40%, rgb(255 195 99) 60%, rgb(255 231 104) 80%);
}
.menu-bar a {
    transition-property: background-color, border-color, color, fill, stroke,
        opacity, box-shadow, transform;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    outline: transparent solid 2px;
    outline-offset: 2px;
    width: fit-content;
    color: #000;
}

.menu-bar hr {
    opacity: 0.3;
    border-width: 0px 0px 1px;
    border-image: initial;
    border-style: solid;
    width: 100%;
    border-color: #7a602c;
}

.side-bar-hidden {
    visibility: hidden;
}

.side-bar-display {
    visibility: initial;
}

.content-bar-hidden {
    right: -100%;
}

.content-bar-display{
    right: 0;
}

.side-bar .content-bar {
    -webkit-transition: right 0.2s;
    transition: right 0.2s;
}

div.faq {
    width: 100%;
    margin: 0 auto;
    padding-right: 5vh;
}

.notation {
    width: 100%;
    margin: 0 auto;
}

.privacy {
    width: 100%;
    margin: 0 auto;
}

.terms {
    width: 100%;
    margin: 0 auto;
}

.btn-bfl {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    width: fit-content;
    background: white;
    border: none;
    padding: 20px 0;
    text-decoration: none;
    font-weight: bold;
    align-items: center;
}

.txt-bfl {
    margin: auto;
}

.svg-bfl {
    width: 10px;
}

.icon-faq-q {
    min-width: 25px;
    width: 25px;
    height: 25px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 16px;
    margin-right: 15px;
}

.icon-faq-a {
    width: 25px;
    height: 25px;
    background-color: red;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 16px;
    margin-right: 10px;
    margin-top: 7px;
}

.faq-item {
    display: flex;
    align-items: center;
}

.faq-item-a {
    display: -webkit-inline-box;
}
@media (min-width:1000px){
    .css-list_dp-grid {
        display: grid;
        gap: 30px;
        grid-template-columns: repeat(4, minmax(0px, 1fr));
    }
    .form-address{
        width: 60% !important;
    }
    .margin-lr-15vw{
        margin: 0 5vw !important;
    }
}
.form-address{
    width: 100%;
    /* padding: 30px; */
}
.css-a-list_dp {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    cursor: pointer;
    /* padding-inline-start: 10px;
    padding-inline-end: 10px; */
    position: relative;
    display: flex;
    width: -webkit-fill-available;
    -webkit-box-align: center;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    /* padding-block-end: 10px; */
    text-decoration: none;
    margin-block-start: auto;
}

.css-div-list_dp {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
    position: relative;
    display: flex;
    width: -webkit-fill-available;
    -webkit-box-align: center;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    padding-block-end: 10px;
    text-decoration: none;
    margin-block-start: auto;
}

.gacha-detail-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    align-items: center;
}

img[alt="dp_image"] {
    padding-top: 10px;
    overflow: hidden;
    inset: 0px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

img[alt="dp_detail_image"] {
    overflow: hidden;
    inset: 0px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 100%;
    margin-bottom: auto;
}

.css-txt-list_dp-card_name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: -webkit-fill-available;
    text-decoration: none;
    color: #000;
    font-weight: bold !important;
    margin-bottom: 0;
}
.fontsize-18{
    white-space: nowrap;
    font-size: 18px !important;
}
.css-btn-transfer-point {
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    transition-property: all;
    transition-duration: 0.5s;
    height: 40px;
    border: 1px solid currentcolor;
    color: red;
    background: white;
    border-radius: 20px 20px 20px 20px;
    min-width: 90%;
    width: auto;
    margin-block-start: auto;
    font-weight: 600;
    text-wrap: balance;
    font-size: 18px ;
}
.css-btn-transfer-point:hover{
    background: red;
    color: white;
}
.css-txt-list_dp-card_id {
    text-decoration: none;
    color: #000;
    padding: 0 !important;
    font-weight: bold !important;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.css-list_dp-quantity {
    text-decoration: none;
    color: red;
    font-size: x-large;
}

.css-sold_out {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: -webkit-fill-available;
    border-radius: 10px;
    z-index: 2;
}

.css-1w43cxl {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 10px;
    border-radius: 10px;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
    position: relative;
    padding-block-end: 10px;
    text-decoration: none;
}

.css-sold_out-txt {
    color: white;
    /* font-size: xx-large;
    font-weight: bolder; */
    transform: rotate(45deg);
    text-align: center;
    position: absolute;
    font-size: 45px;
}

.css-svg-list_dp-btn-transfer {
    width: 1em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    flex-shrink: 0;
    color: currentcolor;
    vertical-align: middle;
    font-size: medium;
    margin: 5px;
}

.card-img-top {
    /* height: 334px; */
    /* width: fit-content; */
    margin: auto;
    /* padding-inline-start: 10px;
    padding-inline-end: 10px; */
    overflow: auto;
    object-fit: cover;
}

/* .tab-content{
    width: 80%;
    margin: auto;
} */
.slick-track {
    display: flex;
    column-gap: 0.2rem;
}

@media (min-width: 760px) {

    .form-login form {
        min-width: 500px;
        font-weight: 900;
    }

    .padding-main {
        padding-top: 30px;
        padding-left: 10vw;
        padding-right: 10vw;
    }
    .btn-dp-detail-container{
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 5px;
    }
    .btn-dp-detail-edit{
        width: 50%;
    }
}

.bar-add-point a {
    color: #fff;
    text-decoration: none;
}

.gacha-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.slick-track {
    display: flex !important;
}

.gacha-detail-a {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    flex: 1;
    box-sizing: border-box;
    align-items: center;
}

.css-dpdetail {
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
    gap: 20px;
    box-shadow: 1px 0px 6px #b3b3b3b3;
    border: none;
    padding: 5px;
    background: #f3f3f3;
    border-radius: 5px;
}

.css-img-dp-detail {
    position: relative;
    margin: 0px auto;
    width: 40%;
    display: flex;
    align-items: center;
}
.dp-text-info-container{
    width: 60% !important;
}
.dp-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.css-dp-detail-name {
    display: flex;
    flex-wrap: wrap;
    text-overflow: ellipsis;
    font-size: xx-large;
    font-weight: bold;
    max-width: max-content;
    word-break: break-word;
}

.css-dp-detail-quantity {
    font-size: x-large;
    font-weight: 400;
    margin-top: 4px;
}

.dp-detail-quantity-number {
    font-size: xxx-large;
    font-weight: bold;
    background: linear-gradient(90deg, #ff3100, #ffe000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-dp-detail-default-point {
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    font-weight: 400;
    transition-property: all;
    transition-duration: 0.5s;
    height: 40px;
    min-width: var(--chakra-sizes-10);
    font-size: medium;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
    background:red;
    color: white;
    border-radius: 20px 20px 20px 20px;
    width: 100%;
    margin-top: 15px;
    border: none;
}

.css-svg-dp_detail {
    width: 1em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    flex-shrink: 0;
    vertical-align: middle;
    color: rgb(245, 255, 0);
    font-size: medium;
    margin-left: 7px;
}

.css-btn-favorite {
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    font-weight: 400;
    transition-property: all;
    transition-duration: 0.5s;
    height: 40px;
    min-width: var(--chakra-sizes-10);
    font-size: medium;
    padding-inline-start: var(--chakra-space-4);
    padding-inline-end: var(--chakra-space-4);
    border-width: 0px;
    border-style: solid;
    border-image: initial;
    border-color: gray;
    color: black;
    background: #ffe564;
    border-radius: 20px 20px 20px 20px;
    width: 100%;
    margin-top: 20px;
}

.css-title-card-dp_detail {
    /* border-bottom: 1px solid black; */
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    background: #e9e9e9;
    border-radius: 25px;
    font-weight: bolder;
    margin-top: 20px;
}

.css-title-dp_detail {
    /* border-bottom: 1px solid black; */
    padding-top: 10px;
    padding-bottom: 10px;
    /* margin-top: 30px; */
    font-size: 20px;
    background: #e9e9e9;
    border-radius: 25px;
    font-weight: bolder;
}

.css-dp_detail-text {
    /* margin-top: 30px; */
    font-size: 14px;
}

.css-detail-dp_detail {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding-top: 3px;
    padding-bottom: 13px;
    border-bottom-width: 1px;
    /* border-bottom-style: solid; */
    /* border-color: rgb(0 0 0); */
}

.product-content h3 {
    font-weight: bold;
}

.product-content .nav-item a {
    font-size: 13px;
    font-weight: 600;
}

.product-content .nav-item a.active {
    color: #ce3256;
    font-weight: 600;
}

.product-content {
    position: relative;
}

.product-content hr {
    display: none !important;
}

@media only screen and (max-width:1117px) {
    .product-content hr {
        top: 76px;
    }
}
@media only screen and (max-width:967px) {
    .product-content hr {
        top: 75px;
    }
}
@media only screen and (max-width:840px) {
    .product-content hr {
        top: 74px;
    }
}
@media only screen and (max-width:698px) {
    .product-content hr {
        top: 73px;
    }
}
@media only screen and (max-width:560px) {
    .product-content hr {
        top: 72px;
    }
}
@media only screen and (max-width:422px) {
    .product-content hr {
        top: 71px;
    }
}

.product-action {
    margin-top: 30px;
    font-size: 13px;
    color: #3e3e3e;
}

.product-action button.btn-skip {
    width: 250px;
    padding: 7px;
    border-radius: 9999px;
    border-color: red;
    outline: none;
    color: red;
    background: #ffffff;
    border: 1px solid;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-action button.btn-skip a {
    margin: 0;
    height: 100%;
    width: 100%;
    text-align: center;
}

.product-action button.btn-convert {
    width: 250px;
    padding: 7px;
    border-radius: 9999px;
    border-color: red;
    outline: none;
    color: white;
    background: red;
    border: none;
    margin-bottom: 15px;
    font-weight: bold;
}

.product-action button.btn-convert[disabled] {
    background: #cb95a1;
}

.product-action-no-margin {
    margin: 0px;
}

.card-game-info {
    font-size: 12px;
    height: 112%;
}

.card-game-info-column {
    margin-bottom: -8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.card-game-check label:before {
    padding: 2px !important;
}

.text-red {
    color: #ff0000;
}

/* figure[class="image"] {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    flex :1;
    box-sizing: border-box;
    align-items: center;
} */
/* .css-1mx086e{
    width: 50%;
    margin: auto;
} */

.status-shipping {
    min-width: 150px;
    color: #fff;
    border-radius: 9999px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.text-shipping-1 {
    background: #d15252;
}

.text-shipping-2 {
    background: #e38e37;
}

.text-shipping-3 {
    background: #2b7ac5;
}

.text-shipping-4 {
    background: #23a75e;
}

.text-shipping-0 {
    background: #6c757d;
}
.text-shipping-5 {
    background: #00a9b1;
}

.order-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.order-item .order-code {
    color: #fff;
    border-radius: 9999px;
    padding: 3px 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: #7f7f7f;
    margin-bottom: 8px;
}

.modal .btn-submit {
    background-color: red !important;
    border: none;
    outline: none;
}

.order-header-item {
    padding: 10px;
    border-bottom: 1px solid #cdcdcd;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.item-card-game {
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.user-ranking {
    display: flex;
    flex-direction: column;
    /* padding-top: ;
    padding-right: ;
    padding-left: ; */
    -webkit-box-align: center;
    align-items: center;
    padding-bottom: 110px;
    max-width: 547px;
    gap: 0.5rem;
    margin: 0px auto;
}

.user-rank-img-container {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    /* background-color: rgb(213, 213, 213); */
    border-radius: 12px;
    width: 100%;
    padding: 8px;
    max-width: 480px;
}

.user-rank-img {
    width: 100%;
    margin-top: 23px;
}

.user-rank-info-container {
    width: 100%;
    background-color: white;
    border-radius: 5px 5px 5px 5px;
    -webkit-box-align: start;
    align-items: start;
    padding: 6px;
}

.user-rank-info-list {
    list-style-type: initial;
    margin-inline-start: 1em;
    margin-bottom: auto;
}

.user-rank-info-detail {
    font-weight: normal;
    font-size: small;
}

.rank-intro-container {
    /* background-color: rgb(213, 213, 213); */
    border-radius: 12px;
    padding: 8px;
    width: 100%;
    border: 1px solid #d9d9d9;
}

.rank-intro-container-0 {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    width: 100%;
    /* padding: 8px; */
    gap: 4px;
}

.rank-intro-detail-txt-container {
    grid-column: span 1 / span 1;
}

.rank-intro-txt-container {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    height: var(--chakra-sizes-full);
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.rank-intro-txt {
    width: 100%;
    font-size: var(--chakra-fontSizes-xs);
    font-weight: var(--chakra-fontWeights-bold);
    text-align: left;
}

.rank-curent-container {
    grid-column: span 2 / span 2;
}

.rank-curent-img-container {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-bottom: 6px;
}

.rank-curent-img {
    height: 41px;
    width: 156px;
    object-fit: cover;
}

.rank-curent-line {
    height: 25px;
    width: 100%;
    position: relative;
    background-color: rgb(213, 213, 213);
    border-radius: 7px;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    border-image: initial;
    overflow: visible;
    display: flex;
    align-items: center;
}

.rank-curent-line>div {
    background: linear-gradient(to right,
            rgba(255, 0, 0, 0.5) 0%,
            rgba(255, 127, 0, 0.5) 25%,
            rgba(255, 255, 0, 0.5) 50%,
            rgba(0, 255, 0, 0.5) 60%,
            rgba(0, 0, 255, 0.5) 75%,
            rgba(75, 0, 130, 0.5) 85%,
            rgba(148, 0, 211, 0.5) 100%);
    transition: width 0.3s ease-in-out 0s;
    border-radius: 7px;
    height: 100%;
}

.rank-intro-detail-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.rank-curent-space {
    grid-column: span 3 / span 3;
}

.rank-dt-time-container {
    grid-column: span 1 / span 1;
    min-width: 96px;
}

.rank-dt-time-container-0 {
    display: flex;
    flex-direction: column;
    width: 100%;
    -webkit-box-align: end;
    align-items: end;
    gap: 0.5rem;
}

.rank-dt-time-logo-container {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: row;
    height: 14px;
    gap: 0px;
}

.txt-rank-intro-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    width: 100%;
    -webkit-box-align: start;
    align-items: start;
}

.txt-rank-bold {
    font-size: small ;
    font-weight: bolder !important;
}

.txt-rank-info-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-box-align: start;
    align-items: start;
}

.css-gs4uxd {
    opacity: 0.6;
    border-width: 0px 0px 1px;
    border-image: initial;
    border-style: solid;
    width: 100%;
    border-color: rgb(213, 213, 213);
    margin-top: 20px;
}

.txt-rank-info {
    font-size: small;
    margin-top: 10px;
}

.css-9olecz {
    display: flex;
    flex-direction: column;
    gap: 4px;
    -webkit-box-align: start;
    align-items: start;
}
.txt-favorite-point{
    font-size: large;
}
.txt-rank {
    padding: 1px !important;
    font-size: small !important;
}

.txt-rank-info-note {
    font-size: small;
    color: red;
}

.css-rank-up-img {
    margin-top: 10px;
    width: 100%;
}

.ccss-rank-up-txt {
    font-size: var(--chakra-fontSizes-xs);
    margin-top: 20px;
}

.rank-driver {
    opacity: 0.6;
    border-width: 0px 0px 1px;
    border-image: initial;
    border-style: solid;
    width: 100%;
    border-color: rgb(213, 213, 213);
    margin-top: 20px;
    margin-bottom: 20px;
}

.txt-rank-up-cond {
    width: 100%;
    font-size: small;
    font-weight: bold;
    text-align: left;
}

.rank-intro-info-container {
    display: flex;
    flex-direction: column;
    -webkit-box-align: start;
    align-items: start;
    margin-top: 30px;
    width: 100%;
    gap: 24px;
}

.rank-intro-info-sub-container {
    display: flex;
    flex-direction: column;
    -webkit-box-align: start;
    align-items: start;
    gap: 4px;
    width: 100%;
}

.rank-driver-0 {
    opacity: 0.6;
    border-width: 0px 0px 1px;
    border-image: initial;
    border-style: solid;
    width: 100%;
    border-color: rgb(213, 213, 213);
    margin-top: 24px;
    margin-bottom: 24px;
}

.rank-intro-info-last-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    -webkit-box-align: start;
    align-items: start;
}

.css-profile-user-title {
    display: flex;
    gap:10px;
    -webkit-box-align: unset;
    align-items: unset;
    flex-direction: column;
    margin-top: var(--chakra-space-3);
    -webkit-box-pack: unset;
    justify-content: unset;
    margin: auto;
    background-color: #fbfbfb;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.css-profile-user-title-container {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px;
    margin: auto;
    width: 100%;
    justify-content: center;
    background: black;
    color: white;
    margin: 0 !important;
    text-align: center;
    align-items: center;
}


.pro-user-svg-container {
    height: 100%;
    right: 3px;
    color: currentcolor;
    position: absolute;
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

.margin-bottom-0{
    margin-bottom: 0 !important;
}

.css-profile-user-txt-container {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

.css-user-profile {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
}
.css-1mx086e{
    margin: 0 !important;
}
.css-profile-user-txt-title {
    font-size: 24px;
    margin-bottom: 0px;
    font-weight: bold;
}

.list-gacha .card {
    box-shadow: 1px 0px 6px #b3b3b3b3;
    border: none;
    padding: 5px;
    background: #f3f3f3;
}

.list-gacha .card-free {
    box-shadow: 1px 0px 6px #b3b3b3b3;
    padding: 5px;
    background: #f3f3f3;
    border-width: 4px;
    border-style: solid;
    border-image: linear-gradient(to right, #f0e268, #ffa9f9) 1;
}

.slick-slide img {
    /* height: 100px; */

    object-fit: cover;
}
.card-body{
    padding: 1px 1px !important;
    margin-top: 0.5rem !important;
}
.card-body  .slick-slide img  {
    height: auto;
}

.card-body .slider img  {
    height: auto;
    max-height: 150px;
}
.pro-user-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 900;
}

.profile-user-input {
    border-radius: 10px;
    width: 100%;
    padding: 10px;
    border: white;
    /* border-bottom-width: 1px;
    border-bottom-style: solid; */
    /* border-color: #a7264d; */
    background: rgb(255 255 255);
    /* outline: transparent solid 2px; */
    outline-color: #00000017;
    outline-style: solid;
    outline-width: 1px;
}
.profile-user-input:disabled{
    background: #f7f7f7;
}
.css-42b2qy {
    position: relative;
}


.btn-inf {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    height: 44px;
    min-width: 200px;
    align-self: center;
    border-radius: 20px;
}

.btn-inf:hover {
    background-color: #b62626;
}

/* .collapse {
    overflow: hidden;
    display: none;
    opacity: 0;
    height: 0px;
} */

.txt-erorr {
    color: red;
}

.gacha-detail img {
    width: 100%;
    /* height: 350px; */
    /* overflow: hidden; */
    object-fit: cover;
}

.gacha-detail figure {
    width: 50%;
}

@media only screen and (min-width: 505px) {
    .padding-main .css-1mx086e {
        margin: 0 10vw;
        min-width: 500px;
    }

    .css-user-profile {
        padding: 20px;
    }

    .css-profile-user-title {
        /* width: 60%; */
    }
}
.border-bottom-table{
    border-bottom: 1px solid #F4F4F4;
}
@media only screen and (max-width: 505px) {
    .form-address{
        padding-top: 5vh;
    }
}
.profile-user-input:focus,
.profile-user-input[data-focus] {
    border-color:#baadad;
    box-shadow: 0px 0px 1px 1px #cbc7c7;
}

@media only screen and (max-width: 504px) {
    .stack.css-profile-user-info-table-container label {
        font-size: 13px;
    }
}

.nav-link-0.active{
    border-top: 2px solid;
    border-image: linear-gradient(to right, yellow, red) 1;
    border-left: none;
    border-right: none;
    border-bottom: none;
    /* border: none */
    font-weight: 700;
    font-size: 18px;
}

.buy-1,
.buy-10,
.buy-100 {
    height: 100%;
    padding: 0;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    margin-bottom: 3px;
    /* color: #b75701; */
}
/* .buy-1 :hover,
.buy-10 :hover,
.buy-100 :hover {
    background: #f3f3f3;
    color: red;
    height: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-wrap: nowrap;
} */
.btn-buy-all {
    text-wrap: nowrap;
    /* background: red; */
    background: url('../../assets/frontend/images/bg_btn_all_100.png') center / cover no-repeat;
    /* background:
        linear-gradient(90deg,
            rgb(229, 0, 18) 0%,
            rgb(230, 24, 18) 2%,
            rgb(231, 50, 18) 5%,
            rgb(232, 69, 18) 8%,
            rgb(232, 81, 18) 12%,
            rgb(233, 85, 19) 15%,
            rgb(221, 0, 121) 100%) rgba(255, 255, 255, 0.15); */
    /* background-blend-mode: overlay; */
    border-radius: 6px;
    margin-top: 5px;
    width: 100%;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none;
    box-shadow: inset 1px 1px 10px 1px #fff;
    text-align: center;
    justify-content: center;
    font-size: 23px;
    min-height: 50px;
}

.buy-1.sold,
.buy-10.sold,
.buy-100.sold {
    background: #b3b3b3;
    color: white;
    pointer-events: none;
    cursor: unset;
    box-shadow: none;
}

.grayscale {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
}

.winner {
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    min-width: 2.5rem;
    font-size: 1rem;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
    background:
        linear-gradient(90deg,
            rgb(229, 0, 18) 0%,
            rgb(230, 24, 18) 2%,
            rgb(231, 50, 18) 5%,
            rgb(232, 69, 18) 8%,
            rgb(232, 81, 18) 12%,
            rgb(233, 85, 19) 15%,
            rgb(221, 0, 121) 100%) rgba(255, 255, 255, 0.15);
    background-blend-mode: overlay;
    width: 300px;
    border-radius: 40px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    height: 44px;
    margin-top: 0.5rem;
    color: #fff;
    font-weight: 600;
    opacity: 1 !important;
    text-align: center;
    justify-content: center;
    border: none;
    outline: none;
}

.winner.list {
    font-size: 0.75rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    height: auto;
    width: auto;
}

.winner.free {
    font-size: 1.25rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    height: auto;
    width: auto;
}

.list-winner-header {
    background:
        linear-gradient(90deg,
            rgb(229, 0, 18) 0%,
            rgb(230, 24, 18) 2%,
            rgb(231, 50, 18) 5%,
            rgb(232, 69, 18) 8%,
            rgb(232, 81, 18) 12%,
            rgb(233, 85, 19) 15%,
            rgb(221, 0, 121) 100%) rgba(255, 255, 255, 0.15);
}

.gold {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
}

.silver {
    background: linear-gradient(to right, #757575, #E0E0E0, #6E6E6E, #DADADA, #5C5C5C);
}

.bronze {
    background: linear-gradient(to right, #CD7F32, #F4A261, #B76E2E, #E59866, #A65D2A);
}

body,
a,
nav,
p,
div {
    font-size: 13px;
}

.css-favorite-container {

    -webkit-box-align: start;
    align-items: start;
    padding-bottom: 110px;
    max-width: unset;
    flex-direction: column;
    margin: 0px auto;
    max-width: 900px;
    padding-top:20px;
}

.css-card-favorite-grid {
    display: flex;
    /* gap: 10px; */
    flex-direction: row;
    flex-wrap: wrap;

}
.css-favorite-card-txt-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    gap: inherit;
}
.css-card-favorite-rep {
    cursor: pointer;
    border-width: 0;
    width: 50%;
    padding: 20px;
    padding-left: 0;
}
.css-p-favo{
    width: 50% !important;
    border-radius: 20px;
    background: #ffebb1;
    margin: 5px !important;
}
.btn-buy-dp-favo{
    margin:auto;
    /* width:80%; */
    margin: 5px;
    padding:5px;
    max-height: 31px;
    margin-top: auto;
    margin-bottom: 15px;
}
.css-favorite-card {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-color: #e8dddd;
    gap: 6px;
    grid-template-columns: 150px 1fr;
    height: 100%;
    border-radius: 10px;
    background: #fbfbfb;
}

.css-favorite-card-img-container {
    position: relative;
    width: 100%;
    border-width: 0;
    box-sizing: border-box;
    padding: 10px;
    max-height: 250px;
    max-width: 145px;
    min-width: 145px;
    min-height: 190px;
}

.css-favorite-card-img-container> :not(style) {
    overflow: hidden;
    inset: 0px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* max-height: 150px;
    max-width: 104px; */
}
.gacha-detail-css-edit{
    width: 100%;height: 100%; text-align: center;
}
.gacha-detail-css-btn-edit{
    /* flex-direction:column;  */
    gap: 0.5rem;
    width:100%
}
.gacha-btn-container-sticky{
    padding-bottom: 20px;
    position: sticky;
    bottom: 0;
    background-color:#f3f3f3;
    padding: 5px 15px;
    border-radius: 20px;
    text-align: center;
}
.css-favorite-title {
    font-weight: bold;
    font-size: x-large !important;
    padding-bottom: 20px;
    ;
}

.css-favorite-card-txt-name {
    font-weight: bold;
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: large !important;
    white-space: nowrap;
    width: -webkit-fill-available;
    text-overflow: ellipsis;
    overflow: hidden;
}

p.chakra-text {
    padding: 5px;
    margin: 0;
    font-weight: 500;
    font-size: medium;
}

p.chakra-text-2 {
    padding: 5px;
    margin: 0;
    font-weight: 500;
    font-size: medium;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chakra-text-title{
    font-weight: 600;
    margin-bottom: 0;
    font-size: 14px;
}
.card-body-edit{
    flex:none;
}
.nav-tabs{
    padding-top: 20px;
    border-bottom: none;
 }

@media only screen and (max-width:514px) {
    p.chakra-text-2 {
        max-width: 320px;
    }
}

@media only screen and (max-width:506px) {
    p.chakra-text-2 {
        max-width: 250px;
    }
}

@media only screen and (max-width:420px) {
    p.chakra-text-2 {
        max-width: 150px;
    }
}

@media only screen and (max-width:767px) {
    .padding-main {
        /* margin: 0 10vw; */
        min-width: 500px;
    }

    .css-card-favorite {
        display: grid;
        column-gap: 20px;
        grid-template-columns: repeat(2, minmax(1px, 1fr));
    }

    .card-img-top {
        width: 100% !important;
        height: auto;

    }

}
b {
    font-weight: 600;
}
@media only screen and (max-width:1000px) {
    .css-card-favorite-grid {
        /* display: grid;
        column-gap: 5%;
        grid-template-columns: repeat(1, minmax(1px, 1fr)); */
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .dp-text-info-container{
        width: 100% !important;
    }
    .padding-main {
        /* margin: 0 10vw; */
        min-width: 300px
    }

    .css-dpdetail {
        display: grid;
        grid-template-columns: repeat(1, minmax(1px, 1fr)) !important;
        gap: 10px;

    }

    .css-0 {
        margin: auto;
    }

    .css-img-dp-detail {
        position: relative;
        margin: 0px auto;
        width: 100%;
    }

    .card-img-top {
        width: 100% !important;
        height: auto;
    }
    /* .mt-5{
        display: grid;
        grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
    } */
    .col-lg-3{
        width: 25%;
    }
    b {
        font-weight: 600;
        font-size: 18px;
    }
    .row.pt-4 {
        display: flex;
        /* flex-direction: column-reverse; */
    }
    .rights-reserved {
        margin-top: 20px; /* Khoảng cách giữa các phần tử sau khi sắp xếp lại */
    }
}
.mt-3{
    margin-top: 0px !important;
}
.btn-unfavorite {
    background: #214247;
    color: white;
}

.css-0 {
    width: auto;
    margin: 0;
    font-size: 14px;
}

.p-rarity {
    padding: 5px 25px;
    background: #ffd982;
    border-radius: 9999px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* max-width: 75px; */
    text-align: center;
}

.sold-out {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    z-index: 3;
    cursor: pointer;
}

.d-gacha-detail .sold-out {
    position: fixed;
}

.sold-out p {
    font-size: 55px;
    color: #fff;
    transform: rotate(45deg);
    text-decoration: none;
}

.sold-out a:hover {
    color: #fff;
}

.modal.show .modal-dialog {
    display: flex;
    justify-content: center;
    /* min-width: 30%; */
}

.a-link {
    margin-top: 15px;
    text-align: right;
    color: rgb(250, 59, 59);
    display: block;
    text-decoration: none;
}

.a-link:hover {
    color: rgb(250, 59, 59) !important;
}

.hidden-item {
    display: none;
}

.item-row div,
.item-row p,
.item-row a,
.item-row h5 {
    font-size: 12px !important;
}

.item-row img {
    width: 50%;
}

.type-column {
    border: 1px solid #ff8585;
    outline: none;
    color: red;
    background: white;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    width: 41px;
    height: 28px;
    border-right: 0px;
}

.type-row {
    border: 1px solid #ff8585;
    outline: none;
    background: #e12f2f;
    color: white;
    color: red;
    background: white;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    width: 41px;
    height: 28px;
}

.product-action .select-type {
    display: flex;
}

.type-active {
    background: #e12f2f;
    color: white;
    border: 1px solid red;
}

.item-list-order {
    height: 120px;
    position: relative;
}

.item-list-order .checkbox-group {
    position: absolute;
    top: 39%;
    right: 6px;
}
.chakra-text-q{
    font-weight: 700;
    margin-bottom: 0;
    margin-left: 5px;
}



.wait-gacha {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: #000;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wait-gacha img {
    width: 50%;
}

@media only screen and (max-width: 576px) {
    .wait-gacha img {
        width: 100%;
    }
}

@media only screen and (min-width: 577px) {
    .modal-dialog {
        /* width: 284px; */
    }
}

body,
a,
nav,
p,
div {
    font-size: 13px;
}
.countdown-edit{
    text-align: center;
    min-height: 169px;
    flex-direction: row;
    /* gap: 100px; */
}
.countdown-edit-list{
    min-height: unset !important;
}

.countdown-edit-free {
    min-height: 121px !important;
}
.text_countdown {
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
    /* padding-top: 15px; */
    /* margin-bottom: 0; */
}

.time_countdown {

    background-image: red;
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    color: red;
    font-size: 40px;
    font-weight: bold;
}

.item-card-game div.card {
    margin: 5px;
    text-align: center;
}

.card-img-top {
    /* width: 100% !important; */
    object-fit: cover;
    /* height: 265px; */
    max-height: 240px;
}

.card-img-top-point {
    width: 100% !important;
    /* height: -webkit-fill-available; */
    object-fit: cover;
}

.card-text {
    white-space: nowrap;
    font-weight: bolder;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
}
h6.card-text {
    font-size: 15px;
    padding: 10px;
}

.coupon-conver-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 4px;
    width: 100%;
}

.inp-coupon {
    height: 100%;
    font-size: medium;
    border-radius: 5px;
    min-width: 0px;
    outline: transparent solid 2px;
    outline-offset: 2px;
    position: relative;
    appearance: none;
    transition-property: all;
    transition-duration: 200ms;
    --input-font-size: medium;
    --input-padding: 4px;
    --input-border-radius: medium;
    --input-height: 10px;
    border: 1px solid rgba(51, 51, 51, 0.125);
    background: white;
    /* color: rgb(212, 197, 197); */
    width: 400px;
}

.inp-coupon:focus,
.inp-coupon[data-focus] {
    border-color: #ce3256;
    box-shadow: 0 0 0 1px #ce3256;
}

/* .inp-coupon:focus-visible, .inp-coupon[data-focus-visible] {
    z-index: 1;
    border-color: rgb(49, 130, 206);
    box-shadow: rgb(49, 130, 206) 0px 0px 0px 1px;
} */
.inp-coupon:hover,
.inp-coupon[data-hover] {
    border-color: #f3f3f3;
}

.btn-inf-coupon {
    background-color: red;
    color: white;
    /* padding: 10px 20px; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    height: 100%;
    min-width: 160px;
    align-self: center;
    /* border-radius: 20px; */
}

.stack-input-coupon {
    display: flex;
    column-gap: 10px;
    align-items: center;
    height: 40px;
    /* padding: 10px; */
}

.inp-noti-txt {
    margin-top: 0.25rem;
    color: red;
    font-size: 14px;
}

.inf-coupon-table-container {
    display: block;
    overflow: scroll hidden;
    max-width: 100%;
    display: flex;
}

.table-inf-coupon {
    width: 100%;
    border-collapse: collapse;
}

.inf-title {
    text-align: center;
    border-bottom: 1px solid #F4F4F4;
    padding-bottom: 10px;
}

.css-title {
    padding: 10px;
    white-space: nowrap;
}

.css-none-inf-txt {
    text-align: center;
    padding: 80px 42px;
    width: 100%;
    font-size: 15pt !important;

}

.css-none-inf{
    text-align: center;
    /* padding: 20px; */
    margin: auto;
    width: 120px;
    word-wrap: break-word;
}

.css-eror-coupon {
    display: flex;
    align-items: center;
}

.css-none-inf-detail{
    padding: 5px;
    object-fit: cover;
    max-width: 420px;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.chakra-icon {
    fill: white;
    height: 1em;
    width: 1em;
}

.toast-error {
    background-color: transparent;
    color: white;
}

.custom-modal {
    margin-top: 10vh;
    max-width: 95%;
}

@media (min-width: 576px) {
    .custom-modal {
        max-width: 550px !important;
    }
}

.btn-condition-close {
    position: absolute;
    top: -18px;
    right: -18px;
    cursor: pointer;
    width: 7%;
}

.text-conditions {
    color: red;
    font-size: 20px !important;
    font-weight: bolder;
}

.text-modal-shipping {
    color: black; 
    background: #EFEFEF; 
    text-align: center; 
    padding: 20px;
}

@media only screen and (max-width: 500px) {
    .text-modal-shipping {
        padding: 10px !important;
    }

    .text-modal-shipping p {
        font-size: 15px !important;
    }

    .text-conditions {
        font-size: 20px !important;
    }

    .btn-condition-close {
        top: -15px;
        right: -15px;
    }
}

@media only screen and (max-width: 397px) {
    .text-modal-shipping {
        padding: 7px !important;
    }

    .text-modal-shipping p {
        font-size: 14px !important;
    }

    .text-conditions {
        font-size: 16px !important;
    }

    .btn-condition-close {
        top: -10px;
        right: -10px;
    }
}

.chakra-alert__desc {
    padding-left: 10px;
}

.toast-error p:first-child {
    margin-right: 10px;
}

p.css-1 {
    margin-left: 15px;
}

.card-point {
    border: none;
    border-radius: 20px;
    padding-bottom: 20px;
    border-radius: 20px;
    position: relative;
    padding: 0px;
    height: 100%;
    margin-left: 5px;
    margin-right: 5px;
}

.card-point-content {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;

}
.point-edit{
    width: 100%;
}
.card-point-edit{
    display: flex;
    margin-top: auto;
    margin-bottom: 20px;
}
.card-point:after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 20px;
    z-index: -1;
    background: linear-gradient(to right,
            rgba(255, 0, 0, 0.712) 0%,
            rgba(255, 128, 0, 0.63) 25%,
            rgba(255, 255, 0, 0.589) 50%,
            rgba(0, 255, 0, 0.603) 60%,
            rgba(0, 0, 255, 0.555) 75%,
            rgb(130 0 0 / 66%),
            #ff0000ba 100%);
    filter: blur(4px);
}

.title-rank{
    font-size: x-large;
    font-weight: bold;
}
.link-side-nav{
    font-weight: 400;
}
.p-detail-rank{
    margin-bottom: 0;
}

.wrap-loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #00000045;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid red;
    border-bottom: 6px solid red;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

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

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

.p-loader {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position:fixed;
    z-index: 99999;
    background: #fff;
}

@media only screen and (min-width: 1230px) {
    .slider-header, .slider {
        display: flex;
        justify-content: center;
    }

    .slider-header {
        min-height: auto;
        padding: 0px 21px ;
    }
    .slider-header  img  {
        height: 250px;

    }

    .slider-header {
      overflow: hidden;
    }
    .slick-slider  {
        display: block !important;
    }

    .slick-prev {
        /* left: 0 !important; */
        z-index: 4;
    }

    .slick-next {
        right: 0 !important;
        z-index: 4;
    }

    .slick-dots {
        bottom: 0 !important;
        position: relative;
    }

    .slick-dotted.slick-slider  {
        margin-bottom: 0 !important;
    }
    .slick-prev:before, .slick-next:before{
        color: none;
    }

}

@media only screen and (max-width: 1229px) {
    .slick-slide img {
        height: 200px;
    }
}

@media only screen and (max-width: 767px) {
    .slick-slide img {
        height: 100px;
    }
}

.slick-slider  {
    display: block !important;
}

.slick-prev {
    left: 0 !important;
    z-index: 4;
}

.slick-next {
    right: 0 !important;
    z-index: 4;
}

.slick-dots {
    /* bottom: 0 !important; */
    /* background: #ffff9c; */
    margin-bottom: 10px;
}
.head-background{
    background: #000000 !important;
}
.slick-dotted.slick-slider  {
    margin-bottom: 0 !important;
}
.slick-prev:before, .slick-next:before{
    /* color: none;
    display: block; */
    font-size: 36px !important;
}
.result-img{
    max-height: 445px;
    height: auto;
    width: 100%;

}
.result-img-margin{
    margin: 10px 0px;
    border-radius: 5px;
}
@media only screen and (min-width: 400px) and (max-width: 450px) {
    .result-img{
        max-height: 600px !important;
    }
}
@media screen and (min-width: 1400px) {
    .result-img{
        height: 450px !important;
    }
}
.rounded{
    overflow:hidden;
}
.text-after-gacha{
    font-size: 50px;
    font-weight: 600;
    white-space:nowrap;
}

@media (min-width: 500px) and (max-width: 991px) {
    .layout-result-img {
        flex: 0 0 auto;
        width: 50%;
    }
    .img-name {
        font-size: 18px !important;
    }
    .p-rarity {
        padding: 5px 20px;
    }
}

@media screen and (max-width: 500px) {
    .img-name {
        font-size: 17px !important;
    }
    .img-point {
        width: 20px !important;
        height: 20px !important;
    }
    .p-rarity {
        padding: 5px 20px;
    }
    .card-display {
        padding: 5px !important;
    }
    .row>* {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }
}

.title-ref-code {
    font-size: 20px ;
    font-weight: bold;
}

.padding-20{
    padding: 20px !important;
}
.text-after-gacha{
    font-size: 35px !important;
    padding: 40px;
    padding-left: 0;
    padding-right: 0;
}
@media only screen and (max-width:550px){

    .form-container{
        padding-top: 5vh !important;
    }
    .header-content-slider {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    /* .main {
        padding-top: 10vh !important;
    } */
    .menu-bar .chakra-link span {
        font-size: 16px !important;
    }
    .ref-content-body {
        font-size: 25px;
    }
    .title-ref-code {
        font-size: 16px ;
        font-weight: bold;
    }
    .icon-point {
        width: 20px !important;
        height: 20px !important;
    }
    .point-tex-header {
        padding: 2px !important;
    }
    .detail-info .avatar {
        width: 27px;
    }
    .text-dp-header {

    }
    .d-text-dp-header {
        padding: 4px !important;
    }
    .chakra-text,.chakra-stack, .p-0, .main, p, a, span, div,h5{
        font-size:12px;
    }
    .chakra-stack{
        font-size:12px !important;
    }
    .gacha-price, .gacha-quant{
        font-size: 20px !important;

    }
    .card-title{
        /* margin-top: 12px !important; */
        /* margin-bottom: 0px !important; */
        text-align: center;
        /* width: 90% !important; */

    }

    .dpdetail-container{
        /* padding-top: 20px; */
    }

    .menu-header-bar{
        top:42px;
        padding: 4px 10px;
    }

    .css-hilorx{
        /* display: none; */
        margin: 0 !important;
    }
    /* .css-list_dp-quantity{
        font-size: large !important;
    } */

    .user-ranking, .css-favorite-container,.product-content{
        margin-top: 10px !important;
    }
    .col-lg-3{
        width: 50% !important;
    }
    .hight-light {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .btn-inf-coupon {
        min-width: 100px;
    }
    .inp-coupon {
        font-size: 12px !important;
    }
    .stack.css-profile-user-info-table-container label {
        font-size: 10px;
    }
    .slider-header img {
        width: 100% !important;
        object-fit: contain;
    }
    .slick-dots {
        bottom: -25px !important;
        /* background: #e2e3e5; */
    }
    .logo{
        /* width: 80px; */
    }
    .logo-img{
        width: 100%;
        max-width: 150px;
        height: auto;
    }
    .padding-main {
        /* padding-top: 30px; */
        padding-left: 2vw;
        padding-right: 2.5vw;
    }
    .slider-header, .slider {
        display: -webkit-inline-box;
        justify-content: center;
    }
    .slider-header {
        overflow: hidden;
    }
    .category-slider-container {
        display: flex;
        align-items: center;
        overflow: hidden;
        position: relative;
    }

    .slider-category {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        scrollbar-width: none;  /* Firefox */
        margin-left: 25px;
        margin-right: 25px;
    }
    .slider-category::-webkit-scrollbar { /* Safari and Chrome */
        display: none;
    }
    .slider-category .nav-item {
        scroll-snap-align: center;
        flex: 0 0 auto;
        width: calc(100% / 3); /* Each category takes up 1/3 of the container width */
        text-align: center;
        font-weight: 600;
    }

    .nav-link {
        white-space: nowrap;
        margin-left: 10px;
        margin-right: 10px;
    }

    .p-1{
        font-size: medium !important;
    }

    .number-point h5{
        font-size: 16px;
    }
    .title-point{
        font-size: 12px;
        font-weight: 700;
    }
    .pro-user-label,
    .text-de{
        font-size: 16px !important;
    }
    .p-detail-rank, .chakra-link, .link-side-nav, .mb-3,.footer-link,.rights-reserved{
        font-size: 14px !important;
    }
    .arrow {

        padding: 5px !important;
        width: 25px !important;
        height: 25px !important;
        display: flex;
        justify-content: center;
        align-items: center;

    }
    .css-list_dp-grid {
        display: grid;
        gap: 25px;
        grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
    }
    .css-favorite-card-txt-name {
        font-weight: 700 !important;
        font-size: 14px !important;
    }
    .css-favorite-card-txt-rarity{
        font-weight: 700 !important;
        color: #666666;
    }
    .txt-favorite-point,.register-link{
        font-size: 14px !important;
    }
    .css-favorite-title{
        font-size: 18px !important;
    }
    .profile-user-input,.css-7m7ovv{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .back,.form-login label{
        font-size: 12px !important;
    }
    .form-login form input{
        /* font-size: 16px; */
        height: 2.5rem;
    }
    .form-login form button{
        margin-top: 0px !important;
    }
    p.m-0, .point-discount{
        font-size: 18px !important;
    }
    p.m-0 span{
        font-size: 18px !important;
    }
    .footer{
        text-align: center;
    }
    /* .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        --bs-gutter-x: 1.5rem !important;
    } */
}
.rights-reserved{
    font-weight: 700;font-size: large;
}
.footer-link{
    text-decoration: none;
    color: red;
    font-size: 15px;
}
p.m-0{
    font-size: 16px !important;
}
p.m-0 span{
    font-size: 22px !important;
}
.buy-point{
    padding: 15px 0px !important;
}
@media only screen and (max-width: 1400px) {
    p.btn-buy-text {
        font-size: 13px !important;
    }
    p.btn-buy-text span {
        font-size: 19px !important;
    }
}

@media only screen and (max-width: 1200px) {
    p.btn-buy-text {
        font-size: 11px !important;
    }
    p.btn-buy-text span {
        font-size: 17px !important;
    }
}

@media only screen and (max-width: 439.98px) {
    p.btn-buy-detail-text {
        font-size: 13px !important;
    }
    p.btn-buy-detail-text span {
        font-size: 19px !important;
    }
}

@media only screen and (max-width: 383.98px) {
    p.btn-buy-detail-text {
        font-size: 10px !important;
    }
    p.btn-buy-detail-text span {
        font-size: 17px !important;
    }
}

@media only screen and (max-width: 338.98px) {
    p.btn-buy-detail-text {
        font-size: 9px !important;
    }
    p.btn-buy-detail-text span {
        font-size: 15px !important;
    }
}

@media only screen and (min-width: 550px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
        --bs-gutter-x: 0;
    }
    .draggable{
        height: auto;
    }
    .padding-main {
        /* margin: 0 10vw; */
        min-width: 500px;
        padding-top: 30px;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .slider-header, .slider {
        display: -webkit-inline-box;
        justify-content: center;
    }
    .slider-header {
        overflow: hidden;
    }
    .css-profile-user-info-table-container {
        display: flex;
        flex-direction: column;
        font-size: 12px;
        font-weight: 400;
        align-items: flex-start;
        gap: 20px;
        display: flex;
        gap: 10px;
    }
    .css-profile-user-name-container {
        display: flex;
        flex-direction: row;
        gap: 30px;
        width: 100%;
        -webkit-box-align: start;
        align-items: start;
        flex: 1;
        min-width: 120px;
    }
}
.btn-buy-all-img{
    position: absolute;
    width: 30%;
    margin-left: 74%;
    margin-top: 20%;
}
.gacha_detail-btn-container{
    /* padding-top:20px;  */
    align-items: baseline;
}
.btn-buy-dp {
    white-space: nowrap;
    margin-left: 5px;
    font-size: 18px;
}
@media screen and (max-width: 450px) {
    .btn-buy-dp {
        font-size: 15px;
    }

    .hide-on-mobile{
        display: none !important;
    }
}
@media (max-width:400px){
    .chakra-text,.chakra-stack, .p-0, .main, p, a, span, div,h5{
        font-size:12px ;
    }
    .chakra-text,.chakra-stack{
        font-size:12px !important;
    }
    .css-list_dp-grid {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
    }
    .css-hilorx{
        /* display: none; */
        margin: 0 !important;
    }
    /* .mt-5{
        display: grid;
        grid-template-columns: repeat(1, minmax(0px, 1fr)) !important;
    } */
    .card-title{
        white-space: nowrap;
        /* font-size: 10px; */
        text-align: center;
    }
    .point-discount {
        font-size: 18px;
        margin-bottom: 0px;
    }

}
.form-login form input:focus,
.form-login form input[data-focus]{
    /* font-size: 16px; */
    height: 2.5rem;
    border-color:#baadad;
    box-shadow: 0px 0px 1px 1px #cbc7c7;
}
.point-discount {
    font-size: 35px;
    margin-bottom: 0px;
}

@media (min-width: 768px) {
    .custom-width {
        padding-top: 0 !important;
    }
}

@media (max-width:1200px){
     h5 {
         font-size: 1.3em;
    }
    .card-title{
        /* margin-top: 5px; */
        text-align: center;
        width: 100%;
    }
    /* .nav-link {
        white-space: nowrap;
        margin-left: 10px;
        margin-right: 10px;
    } */
}

.nav-link-0{
    font-weight: 700;
    font-size: 16px !important;
}
.card-buy-point{
    border: none;box-shadow: 0px 0px 5px 5px #b3b3b3b3; height:100%;
}
@media (max-width:769px){

    .btn-buy-dp-favo{
        margin: 0;
        margin-top: auto;
        margin-bottom: 15px;
    }
    .gacha-quantity{
        min-height: 100px;
    }
    .category-slider-container {
        display: flex;
        align-items: center;
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    .rights-reserved {
        text-align:center !important;
    }

    .css-dp-detail-name{
        font-size: x-large;
    }
    .slider-category {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        scrollbar-width: none;  /* Firefox */
        margin-left: 25px;
        margin-right: 25px;
    }
    .slider-category::-webkit-scrollbar { /* Safari and Chrome */
        display: none;
    }
    .slider-category .nav-item {
        scroll-snap-align: center;
        flex: 0 0 auto;
        width: calc(100% / 3); /* Each category takes up 1/3 of the container width */
        text-align: center;
        font-weight: 600;
        min-width: min-content;
    }
    /* .col-6 {
        flex: 0 0 auto;
        width: 100%;
    } */
    .nav-link {
        white-space: nowrap;
        font-size: 12px;
    }
    .col-lg-3{
        width: 33.333333%;
    }
    .arrow {
        background: none;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
        background: #ffb202;
        padding: 5px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: aliceblue;
        align-items: center;
    }

    .arrow.prev {
        left: 0;
        padding-right: 7px !important;
    }

    .arrow.next {
        right: 0;
        padding-left: 7px !important;
    }

    .css-favorite-card-txt-name {
        font-weight: 700 !important;
        /* font-size: 14px !important; */
    }
    .css-favorite-card-txt-rarity{
        font-weight: 700 !important;
        color: #666666;
    }
    .txt-favorite-point, .txt-rank-bold,
    .txt-rank-up-cond,.product-action,
    .inp-noti-txt,.css-title{
        font-size: 14px !important;
    }
    .css-favorite-title{
        font-size: 18px !important;
    }
    .txt-rank,.ccss-rank-up-txt{
        font-size: 12px !important;
        font-weight: 300 !important;
    }
    .inp-coupon{
        font-size: 14px;
    }
    .btn-bfl{
        font-size: 12px;
    }
    .css-p-favo{
        width: 100% !important;
    }
    .css-yellow{
        text-align: center;
        flex-direction: column;
    }
}
@media (min-width: 768px) {
    .arrow {
        display: none;
    }

}

.chakra-text-footer {
    font-size: 10pt !important;
}

.chakra-link {
    text-decoration: none;
    font-size: 12pt;
    color: red;

}

.btn-buy-point {
    width: 85%;
    border-radius: 9999px;
}

@media screen and (max-width: 576px) {
    .btn-buy-point {
        width: 90%;
    }
}

.top-header-bar {
    background: #111111;
}

.bar-point-info {
    background: #141414;
    padding: 10px;
    border-radius: 10px;
}

.img-avatar-bar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}

.chakra-stack-ref {
    border: 1px solid #7a602c;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
}

.top-bar a img {
    width: 100%;
}

.ref-number {
    font-size: 13px;
    color: #e5cfad;
    font-weight: 200;
}

.ref-content {
    position: relative;
    margin-top: 17px;
}

.ref-content-title {
    position: absolute;
    top: -16px;
    background: #000;
    color: #f0d8a8;
}

.ref-content-body {
    word-break: break-word;
    border: 1px solid #7a602c;
    border-radius: 10px;
    text-align: center;
    margin-top: 32px;
    padding: 25px !important;
}

.ranking-body {
    max-width: 547px;
    margin-top: 23px;
}

.rank-intro-title {
    font-weight: bold !important;
}

.user-ranking hr {
    border-color: red;
    background: red;
}

.card-game-name {
    font-weight: bold;
    max-width: 90% !important;
    margin-bottom: 0;
    /* white-space: break-spaces; */
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.p-card-game-name {
    max-width: calc(100% - 84px);
    width: 100vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
h5.p-card-game-name {
    font-weight:bold;
    /* max-width: calc(100% - 150px); */
}
@media only screen and (min-width: 576px) {
    h5.p-card-game-name {
        font-weight:bold;
        /* max-width: calc(100% - 230px); */
    }
}

.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    border-radius: 9999px;
    outline: none;
    background-color: #f17979;
    color: white;
    cursor: pointer;
    padding: 15px;
}

@media (max-width: 576px) {
    .footer-layout-left {
        flex: 0 0 auto;
        width: 63%;
    }
    .footer-layout-right {
        flex: 0 0 auto;
        width: 37%;
    }
}

@media (max-width: 397px) {
    .hide-text-on-small {
        display: none;
    }
}

.card-game-result {
    width: auto;
    max-width: 78px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.over-text-list-cardgame {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: -webkit-fill-available;
    text-decoration: none;
    color: #000;
    font-weight: bold !important;
    max-width: calc(100% - 28px);
    width: 100vw;
}

.acquired-p-over-text {
    font-weight:bold;
    margin-bottom:0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: -webkit-fill-available;
    text-decoration: none;
    color: #000;
    font-weight: bold !important;
    width: 100%;
}

.point-p-over-text {
    margin-bottom:0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: -webkit-fill-available;
    text-decoration: none;
    font-weight: bold !important;
    font-size: 25px;
    background: linear-gradient(90deg, #ff3100, #ffe000, #ff3100);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pt-only-over-text {
    font-size: 20px;
    font-weight: bold;
    color: gray;
}

@media only screen and (max-width: 440px) {
    .point-p-over-text {
        font-size: 17px;
    }

    .pt-only-over-text {
        font-size: 15px;
    }
}

.p-over-text {
    max-width: calc(100% - 84px);
    /* width: 100vw; */
}

.item-accquired-row .image-card-game {
    max-width: 95px;
    width: 95px;
    min-width: 95px;
}

.item-row .item-accquired-row .image-card-game img {
    width: 95px;
    object-fit: contain;
    min-width: 95px;
}


.item-accquired-row .image-card-game {
    max-width: 95px;
    width: 95px;
    min-width: 95px;
}

.item-accquired-row .item-row .image-card-game img {
    width: 95px;
    object-fit: contain;
    min-width: 95px;
}

.item-accquired-row{
    height:155px;
    padding: 10px 5px;
}
.contain-text-over {
    width: calc(100% - 133px);
}

.item-result-row   {
    height:114px;
    padding: 7px 0px;
}

.item-result-row  .image-card-game {
    width: 72px;
}

.item-result-row  .image-card-game img{
    width: 100%;
}

.video-gacha {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    z-index: 999999;
}
.wrap-loading {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    background: #00000033;
    z-index: 9999;
    scroll-behavior: revert-layer;
    overflow: hidden;
    height: 100vh;
}
.skip-button {
    position: absolute;
    display: flex;
    gap: 0.5rem;
    width: fit-content;
    background: none;
    border: none;
    padding: 20px 0;
    text-decoration: none;
    font-weight: bold;
    align-items: center;
    z-index: 1000;
    bottom: 5px;
    right: 10px;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.skip-button:hover {
    color: #cc0000;
    background-color: none;
}

.expiry-row {
    display: flex ;
    justify-content: center;
    align-items: center;
    flex-direction: row !important;
    gap: 20px;
}

.info-card-payment {
    background: #d7d7d7;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

.icon-payment-success {
    font-size: 100px;
    color: #ffc107;
    padding: 20px;
}

.btn-point {
    width: 250px;
    padding: 7px;
    border-radius: 9999px;
    border-color: red;
    outline: none;
    color: white;
    background: red;
    border: none;
    margin-bottom: 15px;
    font-weight: bold;

}

.btn-point a {
    color: #fff;
    text-decoration: none;
    outline: none;
    font-size: 16px;
}

.info-payment-success {
    box-shadow: 0px 0px 5px 5px #b3b3b3b3;
    padding: 30px;
    border-radius: 5px;
}

.icon-payment-fail {
    font-size: 100px;
    color: red;
    padding: 20px;
}

.price-info-payment {
    font-size:35px;
    font-weight:bold;
    color:#ffc107
}

.title-result-payment {
    color: #ffc107;
    font-size: 30px;
    font-weight: bold;
}

@media screen and (max-width:500px) {
    .price-info-payment {
        font-size: 20px;
    }

    .info-payment-success {
        box-shadow: 0px 0px 5px 5px #b3b3b3b3;
        padding: 25px;
        border-radius: 5px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .text-payment-info {
        font-size: 15px;
    }

    .title-result-payment {
        font-size: 20px;
    }

}

#btn-submit-new-card:hover
{
    background: #000 !important;
}

.btn-back-new-card:hover
{
    background: #000 !important;
}

.form-smbc p, .form-smbc label,  .form-smbc div , .form-smbc span, .form-smbc .title-payment{
    font-size: 14px !important;
}

.form-smbc label, .form-smbc .title-payment{
    font-weight: bold;
}

.a-link-index {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.border-contact {
    border-radius: 5px;
    padding: 50px 28px;
    box-shadow: 1px 1px 8px #d3d3d3de;
    background: #f7f7f7;
}

.title-contact {
    font-weight: bold;
    margin-bottom: 20px;
}

/*  checkbox payment */


.checkbox-icon {
    background: #e9e9e9;
    padding: 7px;
    cursor: pointer;
}


.checkbox-container .content.hidden {
    max-height: 0;
    display: none;
    overflow: hidden;
    transition: max-height 0.1s ease-out;
    background-color: #f0f0f0;
    padding: 0 10px;
}

.checkbox-container .checkbox-icon input[type="checkbox"] {
    display: none; /* Ẩn checkbox mặc định */
}

/* Checkbox giả trong label */
.checkbox-container .checkbox-icon label.label-checkbox {
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.checkbox-container .checkbox-icon label.label-checkbox:before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    /* border: 2px solid red; */
    border-radius: 4px;
    background-color: white;
    transition: background-color 0.3s ease;
}

/* Hiệu ứng khi checkbox được chọn */
.checkbox-container .checkbox-icon input[type="checkbox"]:checked +  label.label-checkbox:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #ff0707;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Nội dung sẽ mở ra khi checkbox được chọn */
.checkbox-container .checkbox-icon input[type="checkbox"]:checked + label.label-checkbox {
    max-height: 1000px; /* Cho phép nội dung dài mở rộng */
    transition: max-height 0.3s ease-in;
}

.checkbox-container .content {
    overflow: hidden;
}

.checkbox-container .content.display {
    max-height: 1000px;
    visibility: initial;
    transition: max-height 0.3s ease-in;
}

.checkbox-container .checkbox-icon label.label-checkbox {
    text-align: justify;
    line-height: 1.6;
}

.checkbox-container .content p {
    text-align: justify;
    line-height: 1.6;
}

.checkbox-item {
    border-top: 1px solid #fff;
}

.icon-bank {
    font-size: 17px;
    color: #000000;
    background: #fff;
    padding: 6px;
    border: 1px solid #000;
    border-radius: 4px;
    width: 49px;
    display: flex;
    justify-content: center;
}

.img-credit {
    height: 31px;
    background: #fff;
    border: 1px solid;
    padding: 5px;
    border-radius: 4px;
}



@media only screen and (max-width:560px) {
    .w-form-payment .label-payment {
        font-size: 14px !important;
    }
    .payment-info p, .payment-info span {
        font-size: 14px !important;
        font-weight: bold;
    }
    .img-credit {
        height: 28px;
    }

}


.payment-info {
    border: 8px solid #e9e9e9;
    /* margin-bottom: 50px; */
    background: #ffffff;

}

.payment-info p, .payment-info span {
    font-size: 16px;
    font-weight: bold;
}

.active-checkbox {
    background: #ffc107;
}

.ac-check label{
    cursor: pointer;
}

@media screen and (max-width: 420px) {
    .nav-underline {
        gap: 6px !important;
    }

    .nav-link {
        margin: 0px 2px !important;
    }
}

.card-level-img {
    width: 80% !important;
    margin: 30px 0px;
}

@media only screen and (max-width:578px) {
    .card-level-img {
        width: 100% !important;
    }
}

.card-level-img-small {
    width: 50% !important;
    margin: 30px 0px;
}

img.prize-card-level-img-grid {
    width: 100%;
}

img.prize-card-level-img-list {
    width: 50%;
}

@media screen and (max-width: 576px) {
    img.prize-card-level-img-list {
        width: 80%;
    }
}

.card-gacha-img {
    margin: 10px 0px;
    border-radius: 5px;
}

.card-gacha-img-psa10 {
    position: absolute;
    left: 50% !important;
    bottom: 3px !important;
    transform: translateX(-50%) !important;
    width: 58% !important;
    z-index: 5 !important;
    pointer-events: none;
}

.card-gacha-img-black-case {
    position: absolute;
    left: 3px !important;
    bottom: 3px !important;
    width: 22% !important;
    z-index: 4 !important;
    pointer-events: none;
}

.card-gacha-img-ship-only {
    position: absolute;
    left: 3px !important;
    bottom: 3px !important;
    width: 22% !important;
    z-index: 4 !important;
    pointer-events: none;
}

.card-gacha-img-ship-only.has_bc {
    transform: translateY(-105%) !important;
}

@media (max-width: 768px) {
    .card-gacha-img-psa10 {
        width: 48% !important;
        bottom: 2px !important;
    }
    .card-gacha-img-black-case,
    .card-gacha-img-ship-only {
        width: 18% !important;
        left: 2px !important;
        bottom: 2px !important;
    }
}

.card-gacha-img-quantity {
    right: 0;
    top: 10px;
    width: 40% !important;
}

.card-quantity-badge {
    background: #4373C3;
    border-radius: 15px 4px 15px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 10px;
    padding: 4px 10px;
    /* height: 45px; */
    height: auto;
    max-width: 100%;              /* Giới hạn theo chiều rộng card */
    width: fit-content;           /* Tự động giãn theo nội dung */
    overflow: hidden;
    box-sizing: border-box;
}

.quantity-text {
    display: flex;
    align-items: center;
    white-space: nowrap;
    color: white;
    font-weight: bold;
}

.quantity-x {
    margin-right: 4px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.quantity-value {
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

@media (max-width: 480px) {
  .card-quantity-badge {
    padding: 4px 8px;
    border-radius: 10px 4px 10px 4px;
  }
}


/* @media screen and (max-width: 1200px) {
    .card-gacha-img-quantity {
        transform: translate(-15%, -5%);
    }

}

@media screen and (max-width: 992px) {
    .card-gacha-img-quantity {
        transform: translate(-5%, -15%);
    }

}

@media screen and (max-width: 500px) {
    .card-gacha-img-quantity {
        transform: translate(5%, -10%);
    }
} */

@media only screen and (max-width: 400px) {
    .text-info-limit {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}


.txt-date-store-limit {
    /* background-color: #ffb202; */
    border-radius: 10px;
    color: red;
    padding: 5px;
    margin: 10px 0px;
    width: 100%;
    margin-top: 0px;
    font-weight: 400;
}

@media only screen and (max-width: 1399px) {
    .card-game-change-point {
        margin-top: 4px;
    }
}

.btn-img-free {
    width: 35%;
    /* margin-top: 15px; */
}

@media screen and (max-width: 768px) {
    .btn-img-free {
        width: 75%;
    }
}



@media screen and (min-width: 992px) {
    .gacha-detail-content {
        padding: 0px 170px;
    }

}

.col-custom {
    flex: 0 0 auto;
    width: 20% !important;
}

.icon-wrapper {
    margin: 40px auto;
}

.register-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    margin: 0px 20px;
}

.register-icon img {
    width: 100%;
    height: 100%;
}

.rendered-email img {
    width: 100%;
    max-width: 500px;
    height: auto;
}
.rendered-content a {
    text-decoration: underline;
    color: rgba(13, 110, 253, 1);
}


.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
}
.page-item.active {
    z-index: 3;
    color: #ffffff;
    background-color: #1F2937 ;
    border-color: #1F2937;
}
.page-item.disabled {
    color: #4B5563;
    pointer-events: none;
    background-color: #ffffff ;
    border-color: #D1D5DB;
}


.page-link {
    position: relative;
    display: block;
    color: #1F2937;
    background-color: #ffffff;
    border: 0.0625rem solid #9CA3AF;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (max-width: 576px) {
    .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

.page-item.active .page-link {
    z-index: 3;
    color: #ffffff;
    background-color: #1F2937;
    border-color: #1F2937;
}
.page-item.disabled .page-link {
    color: #4B5563;
    pointer-events: none;
    background-color: #ffffff;
    border-color: #D1D5DB;
}
.page-link:hover {
    z-index: 2;
    color: black;
    background-color: #E5E7EB;
    border-color: #D1D5DB;
}
.page-link:focus {
    z-index: 3;
    color: black;
    background-color: #E5E7EB;
    outline: 0;
    box-shadow: 0 0 0 0.18rem rgba(31, 41, 55, 0.25);
}

.nav-ranking {
    margin-top: 42px;
}

.ranking-container {
    margin: 0 auto;
    padding: 20px 3rem;
    font-family: 'Segoe UI', sans-serif;
}

/* Header */
.ranking-header {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #37352f;
}

/* Callout Box */
.ranking-callout {
    background: #f1f1ef;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.callout-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Tables */
.ranking-table {
    width: 40%;
    margin: 30px 0;
    border-collapse: collapse;
}

.ranking-table td {
    border: 1px solid #e9e9e7;
    padding: 7px 9px;
    font-size: 14px;
    line-height: 20px;
    width: 50%;
}

.table-header {
    font-size: 1.5em;
    font-weight: 600;
    margin: 1.4em 0;
    color: #37352f;
}

.coin-value {
    font-weight: 600;
    color: #37352f;
}

@media only screen and (max-width: 1116px) {
    .nav-ranking {
        margin-top: 40px;
    }
}


@media only screen and (max-width: 768px) {
    .nav-ranking {
        margin-top: 39px;
    }
}

@media only screen and (max-width: 698px) {
    .nav-ranking {
        margin-top: 37px;
    }
}

@media screen and (max-width: 992px) {
    .ranking-table {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .ranking-container {
        padding: 20px 1rem;
    }
    .ranking-header {
        font-size: 25px;
    }
}

@media only screen and (max-width: 388px) {
    .ranking-header {
        font-size: 24px;
    }
}
@media only screen and (max-width: 407px) {
    .ranking-container {
        padding: 20px 0;
    }
    .ranking-table td {
        font-size: 13px;
    }
}



.skeleton-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-item {
    display: flex;
    align-items: center;
    gap: 12px;


}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    background-color: #e0e0e0;
    border-radius: 50%;
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
}

.skeleton-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;

}

.skeleton-line {
    height: 1.5rem;
    background-color: #e0e0e0;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
}

.skeleton-line-short {
    width: 5%;
}

.skeleton-line-medium {
    width: 9%;
}

.skeleton-line-long {
    width: 20%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.explaination-1 {
    background-color: #D5D5D5;
    max-height: 150px;
}

.explaination-2 {
    background-color: #D5D5D5;
    max-height: 300px;
}

.explaination-3 {
    background-color: #D5D5D5;
}

.table-rank td, .table-rank th {
    padding: 7px 9px;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
}

.table-rank tr:nth-child(even) {
    background-color: #D5D5D5;
}

.rank-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.rank-cell {
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
}

.header-row .rank-cell {
    border-top: 2px solid #000000;
}

.rank-row:last-child .rank-cell {
    border-bottom: 2px solid #000000;
}

.txt-rank-explain {
    padding-bottom: 0px !important;
    margin-top: 5px !important;
    margin-bottom: 0px !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

.rank-text {
    padding: 5px;
    margin: 0;
    font-weight: bold;
    font-size: 27px;
}

.rank-icon-next {
    font-size: 24px;
    padding: 12px;
}

.rank-note {
    font-weight: bold !important;
    font-size: medium !important;
}

@media screen and (max-width: 767px) {
    .rank-text {
        font-size: 20px;
        padding: 10px;
    }

    .rank-icon-next {
        font-size: 18px;
        padding: 12px;
    }

    .txt-rank-explain {
        font-size: 13px !important;
    }

    .table-rank td, .table-rank th {
        padding: 7px 6px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 472px) {
    .rank-text {
        font-size: 18px;
        padding: 8px;
    }

    .rank-note {
        font-size: 14px !important;
    }

    .txt-rank-explain {
        font-size: 12px !important;
    }

    .table-rank td, .table-rank th {
        font-size: 12px;
    }
}

@media screen and (max-width: 431px) {
    .rank-text {
        font-size: 16px;
        padding: 5px;
    }

    .rank-icon-next {
        padding: 7px;
    }

    .rank-note {
        font-size: 13px !important;
    }

    .txt-rank-explain {
        font-size: 11px !important;
    }

    .table-rank td, .table-rank th {
        font-size: 11px;
    }
}

@media screen and (max-width: 391px) {
    .rank-text {
        font-size: 14px;
        padding: 5px;
    }

    .rank-note {
        font-size: 12px !important;
    }

    .txt-rank-explain {
        font-size: 10px !important;
    }

    .table-rank td, .table-rank th {
        font-size: 8px;
    }
}

@media screen and (max-width: 991px) {
    .gacha-item {
        margin-bottom: 15px !important;
    }

    .product-content .nav-item a .red-mark-point-only {
        left: 75%;
        top: 17%;
    }

    .product-content .nav-item a .red-mark-point-only {
        left: 100%;
        top: 17%;
    }
}

#btn-submit-stripe {
    background: url('../../assets/frontend/images/stripe_checkout.png') no-repeat center / cover;
    width: 75%;
}

.price-detail {
    margin-top: 5px;
    font-size: 34px;
    font-weight: 700;
}

.pt-time-detail {
    font-size: 20px;
    margin-bottom: -4px;
}

.progress-detail {
    /* margin-bottom: 10px; */
    height: 23px;
    width: 100%;
}

.rainbow-bar {
  width: 100%;
  height: 23px;
  border-radius: 20px;
  background: linear-gradient(
    to right,
    #ff4500,  /* đỏ cam */
    #ffa500,  /* cam */
    #ffff00,  /* vàng */
    #00ff00,  /* xanh lá */
    #00ffff,  /* xanh ngọc */
    #0000ff,  /* xanh dương */
    #8a2be2,  /* tím */
    #ff00ff   /* hồng tím */
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px black;
  letter-spacing: 10px;
}

.gacha-price-quantity-list .rainbow-bar{
    height: 12px;
    font-size: 11px;
}

@media screen and (max-width: 767px) {
    .price-detail {
        font-size: 25px !important;
    }

    .pt-time-detail {
        font-size: 16px;
    }
    
    .icon_p_detail {
        width: 25px;
    }

    .progress-detail {
        height: 15px;
    }

    .rainbow-bar{
        height: 20px;
        font-size: 17px;
    }

    .gacha-price-quantity-list .rainbow-bar{
        height: 10px;
        font-size: 9px;
    }
}

@media screen and (max-width: 500px) {
    .price-detail {
        font-size: 20px !important;
    }

    .pt-time-detail {
        font-size: 13px;
        margin-bottom: -3px;
    }
    
    .icon_p_detail {
        width: 20px;
    }

    .progress-detail {
        height: 10px;
    }

    .gacha-btn-container-sticky{
        padding: 5px;
    }

    .rainbow-bar{
        height: 15px;
        font-size: 12px;
    }
}

.adwall-banner {
    width: 100%; 
    max-width: 800px;
}

/* New style: Responsive tabs (Do not modify) */
@media screen and (min-width: 1200px) {
    .grid-tabs {
        display: grid;
    }

    .grid-col-7 {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .grid-col-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .grid-col-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .grid-col-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .grid-col-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-col-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-col-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.arrow-tabs {
    color: gray; 
    background: none;
}

.red-mark-not-point-only {
    font-size: 10px; 
    top: 19%; 
    left: 66%;
}

.red-mark-point-only {
    font-size: 10px; 
    top: 19%; 
    left: 80%
}

@media screen and (max-width: 1199px) {
    .slider-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin-left: 25px;
        margin-right: 25px;
    }
    .slider-tabs::-webkit-scrollbar {
        display: none;
    }
    .slider-tabs .nav-item {
        scroll-snap-align: center;
        flex: 0 0 auto;
        width: calc(100% / 3);
        text-align: center;
        font-weight: 600;
        min-width: min-content;
    }

    .item-sm-2 {
        width: calc(100% / 2) !important;
    }

    .table-title {
        font-size: 13px;
    }
    .product-content .nav-item a .red-mark-point-only {
        left: 88%;
    }
}
/* End of responsive tabs style */

@media screen and (max-width: 991.98px) {
    .product-content .nav-item a .red-mark-not-point-only {
        left: 75%;
    }

    .product-content .nav-item a .red-mark-point-only {
        left: 100%;
    }
}

.icon-payment-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.payment-logos {
    width: 80% !important;
}

@media screen and (max-width: 767px) {
    .icon-payment-text {
        font-size: 1rem;
    }

    .payment-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 500px) {
    .payment-logos {
        width: 95% !important;
    }

    .icon-payment-text {
        font-size: 0.75rem;
    }
}

.news-section {
    border-radius: 10px;
    border: 1px solid #d3d3d3;
    padding: 15px;
}

.news-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-section-content {
    display: flex;
    -webkit-box-align: stretch;
    align-items: stretch;
    flex-direction: column;
    gap: 0px;
}

.news-link {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    outline: transparent solid 2px;
    outline-offset: 2px;
    color: inherit;
}

.news-link:hover {
    background-color: #f3f4f6;
}

.news-date {
    background-image: linear-gradient(91deg, rgb(255, 224, 80) 0%, rgb(255, 215, 31) 100%);
    color: #000;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.news-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    --chakra-line-clamp: 2;
    font-weight: 600;
    flex: 1 1 0%;
    padding-top: 2px;
    font-size: 1rem;
}

.view-all-news {
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    font-weight: 600;
    min-width: 10rem;
    font-size: 1rem;
    color: #4a5568;
    border: 0px;
    border-radius: 22px;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
    height: 44px;
    text-decoration: none;
}

.view-all-news:hover {
    background-color: #f3f4f6;
    color: #000;
}

.btn-news-link {
    background: #e7e7e7;
    color: #1A202C;
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 600;
    height: 2.5rem;
    min-width: 10rem;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
}

.btn-news-link:hover {
    background-color: #d6d6d6;
    color: #000;
}

.tablist {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: start;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-top: 14px !important;
    padding-top: 6px !important;
}

.tablist-item {
    min-width: calc(100%/6);
    text-align: center;
}

.tablist .nav-link {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 10px !important;
    text-decoration: none !important;
    white-space: nowrap;
    border-bottom: 2px solid transparent !important;
    opacity: 0.8;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.tablist .nav-link:hover {
    color: #ffffff !important;
    opacity: 1;
}

.tablist .nav-link.active {
    color: #ffffff !important;
    opacity: 1;
    border-bottom: 2px solid #ff007a !important;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .tablist-item {
        min-width: 30%;
    }
}

@media screen and (max-width: 500px) {
    .tablist-item {
        min-width: 35%;
    }
}

/* nav web */
@media only screen and (min-width: 1034px) {
    .nav-mobile {
        display: none !important ;
    }
}

/* nav mobile */
.nav-mobile{
    z-index: 9999;
    background-color: #f6f6f6;
}
.nav-mobile .nav-tabs{
    padding-top: unset;
}
.product-slider-item {
    text-align: center;
} 

.nav-mobile .container-img-nav-link-0 {
    width: 30px; 
    height:30px;
    padding: 4px;
    margin: auto !important;
}

.nav-mobile .nav-link img {
    border-radius: 50%;
}

.nav-mobile .nav-item{
    margin-top: unset;
}
.nav-mobile .nav-link{
    margin: unset !important;
}
.nav-mobile .table-title{
    font-weight: normal;
}
.table-title{
    white-space: nowrap;
}
@media only screen and (max-width: 1033.99px) {
    .scroll-to-top{
        bottom: 80px !important;
    }
    .nav-web{
        display: none !important;
    }
    .menu-header-bar{
        justify-content: center;
    }
    .hearder-container .detail-info .avatar {
        display: none;
    }
    .hearder-container .detail-info .red-mark {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        scrollbar-width: none;  /* Firefox */
        margin-left: 25px;
        margin-right: 25px;
    }
    .nav-tabs::-webkit-scrollbar { /* Safari and Chrome */
        display: none;
    }
    .nav-tabs .nav-item {
        scroll-snap-align: center;
        flex: 0 0 auto;
        width: calc(100% / 5);
        text-align: center;
        font-weight: 600;
        min-width: min-content;
    }
    .nav-mobile .table-title{
        font-size: 12px;
    }
    .nav-mobile .nav-link{
        padding: 4px 2px;
    }

}
@media only screen and (max-width: 480px) {
    .nav-tabs .nav-item {
        width: calc(100% / 4);
    }
    .nav-mobile .table-title{
        font-size: 10px;
    }
    .nav-mobile .nav-link{
        padding: 4px 2px;
    }
    .nav-tabs{
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Custom button */
.controls {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  z-index: 999 !important;
}

/* Hide video controls on iOS */
#myVideo {
    -webkit-appearance: none;
    -webkit-media-controls: none !important;
    -webkit-media-controls-panel: none !important;
    -webkit-media-controls-play-button: none !important;
    -webkit-media-controls-start-playback-button: none !important;
    -webkit-media-controls-timeline: none !important;
    -webkit-media-controls-current-time-display: none !important;
    -webkit-media-controls-time-remaining-display: none !important;
    -webkit-media-controls-seek-back-button: none !important;
    -webkit-media-controls-seek-forward-button: none !important;
    -webkit-media-controls-fullscreen-button: none !important;
    -webkit-media-controls-toggle-closed-captions-button: none !important;
    -webkit-media-controls-volume-slider: none !important;
}

#myVideo::-webkit-media-controls {
    display: none !important;
}

#myVideo::-webkit-media-controls-panel {
    display: none !important;
}

#myVideo::-webkit-media-controls-play-button {
    display: none !important;
}

#myVideo::-webkit-media-controls-start-playback-button {
    display: none !important;
}

#myVideo::-webkit-media-controls-timeline {
    display: none !important;
}

#myVideo::-webkit-media-controls-current-time-display {
    display: none !important;
}

#myVideo::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

/* Additional iOS specific hiding */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.replay-section {
    background: #F03B43;
    border-radius: 1rem;
    padding: 0.8rem 0.8rem;
    color: rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}
 
.replay-section.special {
    background: linear-gradient(to right,
        #ff9eb5,
        #ffd27f,
        #ffff99,
        #b7ff9d,
        #a0f4ff,
        #c8b6ff,
        #f8b3ff
    );
    color: #262626;
}

.replay-section:hover{
    opacity: 0.9;
    background: #F03B43;
    color: rgba(255, 255, 255, 1);
}


.replay-section.special:hover {
    opacity: 0.9;
    background: linear-gradient(to right,
        #ff9eb5,
        #ffd27f,
        #ffff99,
        #b7ff9d,
        #a0f4ff,
        #c8b6ff,
        #f8b3ff
    );
    color: #3d3d3d;
}

.replay-text-1{
    font-size: 1.8rem;
    text-align: start;
    white-space: nowrap;
}

.replay-text-2{
    font-size: 1.2rem;
    text-align: start;
    white-space: nowrap;
}

.img-logo-royale-rain-bow{
    height: 100px;
}

.replay-icon{
    width: 50px;
}

@media only screen and (max-width: 768px) {
    .img-logo-royale-rain-bow{
        height: 80px;
    }

    .replay-text-1{
        font-size: 1.5rem;
    }

    .replay-text-2{
        font-size: 1rem;
    }

    .replay-icon{
        width: 40px;
    }

    .replay-section {
        padding: 0.8rem 0.8rem;
    }
}

/* css filter  */
/* .filter-container{
    padding: 0px 5px;
} */

.sort-filter{
    width: fit-content;
}

.tag-filter{
    margin-left: 10px;
}

.tag-filter .tag-item{
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.tag-filter .tag-item.active{
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 1;
    transform: translateY(-1px);
}

.tag-item{
    font-size: 12px;
    margin: 2px;
}

.filter-container .tag-item{
    font-size: 15px;
    margin: 4px;
}

.tag-item:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.gacha-tag{
    min-height: 22.38px;
}

.select-filter {
    padding-right: 35px !important;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 20px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='m21 16-4 4-4-4'></path><path d='M17 20V4'></path><path d='m3 8 4-4 4 4'></path><path d='M7 4v16'></path></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    cursor: pointer;
}

.select-filter:focus {
    outline: none;
}

@media (max-width: 768px) {
    .tag-item{
        font-size: 10px;
        --bs-badge-padding-y: 0.45em;
        line-height: 1.2;
    }

    .filter-container .tag-item {
        font-size: 12px;
    }

    .tag-filter{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin-left: 5px;
        margin-right: 5px;
    }
    .tag-filter::-webkit-scrollbar { /* Safari and Chrome */
        display: none;
    }
    .tag-filter .tag-item {
        scroll-snap-align: center;
        flex: 0 0 auto;
        width: calc(100% / 5);
        text-align: center;
        font-weight: 600;
        min-width: min-content;
    }
    .select-filter{
        font-size: 12px;
        padding: 10px 10px;
        line-height: 1.1;
    }
}
/* end css filter  */

.buy-point-card {
    width: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
}

.buy-point-card:nth-child(odd) {
  background: #E4E6E5;
}

.buy-point-card:nth-child(even) {
  background: #C9C9CB;
}

.buy-point-card:hover {
    cursor: pointer;
    filter: brightness(0.95);
}

.buy-point-card.discount {
    position: relative;
    border-radius: 1.25rem;
    padding: 1.5rem;
    /* border: 4px solid transparent; */
}

.buy-point-card.discount::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 4px;
    background: linear-gradient(to right,
        rgba(255, 0, 0, 0.712) 0%,
        rgba(255, 128, 0, 0.63) 25%,
        rgba(255, 255, 0, 0.589) 50%,
        rgba(0, 255, 0, 0.603) 60%,
        rgba(0, 0, 255, 0.555) 75%,
        rgb(130 0 0 / 66%),
        #ff0000ba 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}


.buy-point-coin {
    width: 70px;
}

.buy-point-text {
    font-size: 2.5rem;
}

.buy-point-sub-text {
    font-size: 1.5rem;
    color: red;
}

.buy-point-price {
    color: #000;
    font-weight: 450;
    font-size: 3rem;
}

@media only screen and (max-width: 992px) {
    .buy-point-card {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .buy-point-coin {
        width: 45px;
    }

    .buy-point-text {
        font-size: 1rem;
    }

    .buy-point-sub-text {
        font-size: 0.85rem;
    }

    .buy-point-price {
        font-size: 1.15rem;
    }
}

.nav-item-web{
    flex: 0 0 20%;
    white-space: nowrap;
}

.nav-item-web-2{
    flex: 0 0 50%;
}

.nav-item-web-3{
    flex: 0 0 33.33%;
}

.nav-item-web-4{
    flex: 0 0 25%;
}

.arrow-web{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(201, 168, 106, 0.4);
    background: #000000;
    color: #c9a86a;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 5;
}

.arrow-web.prev {
    left: 4px;
}

.arrow-web.next {
    right: 4px;
}

@media screen and (min-width: 768px) {
    .main-menu .nav-link-0,
    .nav-item-web .nav-link {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
        padding: 10px 8px !important;
    }
    
    .container-img-nav-link-0 {
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
    }
}

.croll-x{
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.croll-x::-webkit-scrollbar {
    display: none;
}
.gacha-payment-title {
  font-size: 12px;
  text-align: center;
  margin-bottom: 2px;
  font-weight: 600;
}

.gacha-payment-card {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    padding: 1px 1px;
    border: 1px solid transparent;
    background-image:
        radial-gradient(1200px 400px at 10% 20%, rgba(255,110,196,0.08), transparent 12%),
        radial-gradient(1000px 300px at 90% 80%, rgba(0,242,254,0.06), transparent 12%),
        linear-gradient(135deg, #fff9fb, #f7fff8),
        linear-gradient(90deg, #ff6ec4, #7873f5, #00f2fe, #9effa9, #ff6ec4);
    background-origin: border-box;
    background-clip: content-box, content-box, content-box, border-box;
}

.gacha-payment-col {
  text-align: center;
  border-right: 1px solid #eee;
  padding: 10px;
  width: 100%;
}

.gacha-payment-col:nth-child(1) {
  flex: 2;
}

.gacha-payment-col:nth-child(2),
.gacha-payment-col:nth-child(3) {
  flex: 1;
}

.gacha-payment-col:last-child {
  border-right: none;
}

.gacha-payment-col .label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  white-space: nowrap;
}

.gacha-payment-col .value {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.gacha-payment-col .red {
  color: #e60023;
}

.gacha-payment-col .bold {
  font-weight: 700;
}

@media only screen and (min-width: 992px) and (max-width: 1200px)  {
    .gacha-payment-col .label {
        white-space: unset;
    }
}

.age-verify-modal {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.age-verify-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.age-verify-header h5 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.age-option-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-option-item:hover {
    background: #e9ecef;
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.age-option-item.selected {
    background: linear-gradient(135deg, #e7f1ff 0%, #cfe2ff 100%);
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.age-radio {
    width: 20px;
    height: 20px;
    accent-color: #0d6efd;
    cursor: pointer;
}

.age-label {
    font-size: 1.1rem;
    color: #212529;
}

.age-limit {
    font-size: 0.95rem;
}

.btn-age-verify-next {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-age-verify-next:hover:not(:disabled) {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-age-verify-next:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

@media (max-width: 576px) {
    .age-option-content {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 4px;
    }

    .age-label {
        font-size: 1rem;
    }

    .age-limit {
        font-size: 0.85rem;
    }
}

.age-confirm-header {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-bottom: 1px solid #ffc107;
}

.warning-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.selected-age-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #0d6efd;
}

.selected-age-display #confirmAgeLimit {
    color: #0d6efd;
}

.selected-age-display.limit-warning #confirmAgeLimit {
    color: #fd7e14;
}

.selected-age-display.limit-danger #confirmAgeLimit {
    color: #dc3545;
}

.btn-age-confirm {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-age-confirm:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-age-back {
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-age-back:hover {
    background: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}


@keyframes accordion-down {
    from { height: 0; opacity: 0; }
    to { height: var(--radix-accordion-content-height); opacity: 1; }
}

@keyframes accordion-up {
    from { height: var(--radix-accordion-content-height); opacity: 1; }
    to { height: 0; opacity: 0; }
}

.effect-description {
    background-color: rgb(255 245 217);
    color: #1f1a14 !important;
    padding: 1rem;
    border-radius: 0.5rem;
    /* min-width: 608px; */
}

.effect-description,
.effect-description * {
    color: #1f1a14;
}

.effect-description .effect-description__header {
    color: #1f1a14;
}

.effect-description .effect-description__header span {
    color: #1f1a14 !important;
}

.effect-description .effect-description__chevron {
    color: #1f1a14;
    stroke: #1f1a14;
}

.effect-description .effect-description__body,
.effect-description .effect-description__body * {
    color: #1f1a14 !important;
}

.effect-description__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.effect-description__chevron {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.15s cubic-bezier(.4, 0, .2, 1);
}

.effect-description__chevron.open {
    transform: rotate(180deg);
}

.effect-description__body {
    overflow: hidden;    
}

.effect-description__body.open {
    animation: .2s ease-out accordion-down forwards;
    padding-top: 1rem;
}

.effect-description__body.closing {
    animation: .2s ease-out accordion-up forwards;
    padding-top: 1rem;
}

.effect-description__body.collapsed {
    height: 0;
    opacity: 0;
}

.winner-card-clickable {
    transition: transform 0.2s;
}

.winner-congrats-badge {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 5%;
    pointer-events: none;
    border-radius: 0 0 5px 5px;
}

.winner-congrats-stars {
    width: 100%;
    max-width: 90%;
    height: auto;
}

/* ── Winner quantity badge ── */
.gacha-detail-content .position-relative {
    container-type: inline-size;
}

.winner-quantity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 2px;
    padding: 2cqw 8cqw;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 60%, #FF8C00 100%);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.6);
    color: #fff;
    font-weight: 900;
    font-size: clamp(8px, 10cqw, 20px);
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* button buy 1000 */
.buy-1000 {
    background: url('../../assets/frontend/images/bg_btn_all_100.png') center / cover no-repeat;
    border-radius: 6px;
    margin-top: 5px;
    width: 100%;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none;
    /* padding: 20px; */
    box-shadow: inset 1px 1px 10px 1px #fff;
    text-align: center;
    justify-content: center;
    font-size: 23px;
    min-height: 50px;
    animation: pulse-scale 1.2s ease-in-out infinite alternate !important;
}


.gacha-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.gacha-buy-primary {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    width: 100%;
}

.gacha-buy-primary .button-buy {
    flex: 1 1 0;
    min-width: 0;
}

.gacha-buy-thousand,
.gacha-buy-thousand .button-buy {
    width: 100%;
}

.gacha-buy-thousand .buy-1000 {
    margin-top: 0;
}
/* end button buy 1000 */

@keyframes pulse-scale {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Point Purchase History Page - Royale Dark & Gold Theme */
.payment-history-wrapper {
    padding: 24px 16px 80px;
    max-width: 860px;
    margin: 0 auto;
}

.payment-history-back-btn {
    cursor: pointer;
    background: transparent;
}

.payment-history-title {
    font-size: 22px !important;
    font-weight: 700;
    margin-bottom: 24px;
    color: #f0d8a8;
    text-align: left;
    letter-spacing: 0.5px;
}

.payment-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.payment-history-card {
    background: linear-gradient(145deg, #121212 0%, #050505 100%);
    border: 1px solid #7a602c;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.payment-history-card:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.15), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.payment-history-card.cumulative {
    border-left: 5px solid #f3be20;
}

.payment-history-card.month {
    border-left: 5px solid #d4af37;
}

.payment-history-card.today {
    border-left: 5px solid #ff2b75;
}

.payment-history-card-label {
    font-size: 14px;
    font-weight: 600;
    color: #e5cfad;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.payment-history-card-value {
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
    color: #ffffff;
    font-family: 'Outfit', 'Inter', sans-serif;
    display: flex;
    align-items: baseline;
}

.payment-history-card-unit {
    font-size: 16px;
    font-weight: 600;
    margin-left: 6px;
    color: #f0d8a8;
}

.payment-history-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s ease;
}

.payment-history-card:hover .payment-history-card-icon {
    transform: scale(1.08);
}

.payment-history-card.cumulative .payment-history-card-icon {
    background: rgba(243, 190, 32, 0.12);
    color: #f3be20;
    border: 1px solid rgba(243, 190, 32, 0.3);
}

.payment-history-card.month .payment-history-card-icon {
    background: rgba(212, 175, 55, 0.12);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.payment-history-card.today .payment-history-card-icon {
    background: rgba(255, 43, 117, 0.12);
    color: #ff2b75;
    border: 1px solid rgba(255, 43, 117, 0.3);
}

@media only screen and (max-width: 576px) {
    .payment-history-wrapper {
        padding: 16px 12px 80px;
    }

    .payment-history-title {
        font-size: 18px !important;
        margin-bottom: 20px;
    }

    .payment-history-grid {
        gap: 12px;
    }

    .payment-history-card {
        padding: 18px 16px;
    }

    .payment-history-card-label {
        font-size: 13px;
    }

    .payment-history-card-value {
        font-size: 22px;
        margin-top: 6px;
        white-space: nowrap;
    }

    .payment-history-card-unit {
        font-size: 14px;
    }

    .payment-history-card-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 10px;
        margin-left: 12px;
    }
}

/* .modal-dialog .modal-content-sort {
    max-width: 100%;
    max-height: 100%;
    max-width: 385px;
} */

.prize-history-header-bar {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    --tw-border-opacity: 1;
    border-color: rgb(228 232 237 / var(--tw-border-opacity, 1));
    border-width: 1px;
    border-radius: 9999px;
    overflow: hidden;
    align-items: stretch;
    display: flex;
    box-sizing: border-box;
    border-style: solid;
    width: 100%;
    justify-self: center ;
}
.button-display-type {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: .15s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    --tw-text-opacity: 1;
    color: rgb(46 46 46 / var(--tw-text-opacity, 1));
    padding-top: .625rem;
    padding-bottom: .625rem;
    padding-left: .75rem;
    padding-right: .75rem;
    gap: .25rem;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 0;
    display: flex;
    cursor: pointer;
    -webkit-appearance: button;
    background-color: #0000;
    background-image: none;
    text-transform: none;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    border-style: solid;
    border-width: 0;
    border-color: rgb(230, 229, 229);
}
.toggle-divider {
    --tw-bg-opacity: 1;
    background-color: rgb(228 232 237 / var(--tw-bg-opacity, 1));
    width: 1px;
}

.badge-level {
    display: inline-block;
    background: linear-gradient(90deg, #b8860b 0%, #f5d060 50%, #b8860b 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 40px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 4px;
}

.coin-icon {
    width: 18px;
    height: 18px;
}

.point-card-prize {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #333;
    background: #F2F2F2;  
    border: 1px solid #E8E8E8;  
    border-radius: 5px;
    /* padding: 7px 10px; */
    width: 100%;
    justify-content: center;
    font-weight: 700;
    min-height: 41px;
}
.point-card-prize-play-video {
    background: red;
    cursor: pointer;
}

/* .product-content {
    background: #f5f5f5;  
    min-height: 100vh;
    padding-bottom: 20px;
} */

.card-game-info-prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sort-header-modal {
    border-bottom: 0.5px solid rgb(189, 192, 197);
    justify-content: space-between;
    padding: 0 0 1rem 0;
    align-items: center;
    display: flex;
    box-sizing: border-box;
}

.sort-body-modal .button-option {
    padding-top: 1rem;
    padding-bottom: 1rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    display: flex;
    cursor: pointer;
    webkit-appearance: button;
    background-color: #0000;
    background-image: none;
    text-transform: none;
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
} 
.sort-body-modal .text-option {
    --tw-text-opacity: 1;
    color: rgb(40 40 40 / var(--tw-text-opacity, 1));
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
}

.sort-body-modal .text-option.active {
    color: hsl(45 90% 54%);
}

.sort-body-modal .option {
    --tw-border-opacity: 1;
    border-color: rgb(189 192 197 / var(--tw-border-opacity, 1));
    border-width: 1px;
    border-radius: 9999px;
    border-style: solid;
    justify-content: center;
    align-items: center;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;       
}

.sort-body-modal .option.active {
    background-color: hsl(45 90% 54%);
    border-width: 0;
}

.sort-body-modal .option-detail {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    border-radius: 9999px;
    width: .5rem;
    height: .5rem;
    display: none;
} 

.sort-body-modal .option.active .option-detail {
    display: block;
}

/* Profile Avatar & Avatar Modal */
.detail-info .avatar {
    width: 41px;
    height: 41px;
    object-fit: cover;
}
.css-profile-user-avatar-container {
    width: 100%;
    margin-bottom: 5px;
}
.avatar-edit-box {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 8px 0;
    user-select: none;
    width: fit-content;
}
.avatar-img-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.avatar-loading-spinner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
}
.avatar-edit-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.avatar-edit-title {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}
.avatar-edit-subtitle {
    font-size: 11px;
    color: #888888;
    margin-top: 2px;
}

/* Avatar Modal & Bottom Sheet */
.avatar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99998;
    backdrop-filter: blur(2px);
}
.avatar-bottom-sheet {
    position: fixed;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 8px);
    max-width: 600px;
    padding: 0;
    z-index: 99999;
    animation: avatarSlideUp 0.22s ease-out;
    box-sizing: border-box;
}
@keyframes avatarSlideUp {
    from {
        transform: translate(-50%, 100%);
    }
    to {
        transform: translate(-50%, 0);
    }
}
.avatar-modal-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.avatar-modal-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    cursor: pointer;
    margin: 0;
    transition: background 0.15s ease;
    box-sizing: border-box;
    text-align: left;
}
.avatar-modal-option:hover,
.avatar-modal-option:active {
    background: #f7f7f8;
}
.avatar-modal-option .avatar-option-icon {
    margin-right: 16px;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #222222;
}
.avatar-modal-divider {
    height: 1px;
    background-color: #ededed;
    width: 100%;
}
.avatar-modal-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 24px;
    background: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: center;
}
.avatar-modal-cancel:hover,
.avatar-modal-cancel:active {
    background: #f7f7f8;
}

/* Royale My Page Custom Styles */
.my-page-container {
    max-width: 800px !important;
    margin: 0 auto !important;
}

@media (max-width: 1024px) {
    .my-page-container {
        padding: 0 12px !important;
    }
}

.my-page-rank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 16px;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    min-height: 92px;
}
.my-page-rank-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.my-page-rank-badge-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2);
}
.my-page-rank-card-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.my-page-rank-card-info {
    display: flex;
    flex-direction: column;
}
.my-page-rank-card-name {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    font-family: 'Outfit', 'Inter', sans-serif;
}
.my-page-rank-card-rate {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
    margin-top: 3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.my-page-rank-card-right {
    display: flex;
    align-items: center;
}

/* Tsukimi Bonus Coin Progress Bar Section */
.my-page-bonus-coin-box {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 2px 12px 0px rgba(28, 30, 58, 0.08);
    padding: 20px;
    border: 1px solid #f0f0f0;
}
.my-page-bonus-coin-title {
    color: #2d3748;
    font-size: 16px;
    font-weight: 700 !important;
}
.my-page-bonus-coin-progress {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    font-family: 'Outfit', 'Inter', sans-serif;
}
.my-page-bonus-coin-bar-container {
    height: 16px;
    background-color: #edf2f7 !important;
    border-radius: 99px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}
.my-page-bonus-coin-bar {
    height: 100%;
    border-radius: 99px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Premium Ranks Gradients */
.rank-grad-1 {
    background: linear-gradient(135deg, #a87955 0%, #f1ccb0 50%, #a87955 100%);
}
.rank-grad-2 {
    background: linear-gradient(135deg, #8a9ba8 0%, #eef2f5 50%, #8a9ba8 100%);
}
.rank-grad-3 {
    background: linear-gradient(135deg, #d4af37 0%, #fff6bd 50%, #d4af37 100%);
}
.rank-grad-4 {
    background: linear-gradient(135deg, #70a1ff 0%, #e0eafc 50%, #70a1ff 100%);
}
.rank-grad-5 {
    background: linear-gradient(45deg, #ff007f, #ff00ff, #7f00ff, #0000ff, #00ffff, #00ff00, #ffff00, #ff7f00, #ff0000);
    background-size: 400% 400%;
    animation: rainbow-glow 8s ease infinite;
}
.rank-grad-6 {
    background: linear-gradient(135deg, #141414 0%, #2e2e2e 50%, #141414 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 0 0 1.5px rgba(212, 175, 55, 0.7);
}

@keyframes rainbow-glow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.my-page-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
    text-align: left;
}

.my-page-profile-box {
    border-radius: 12px;
    box-shadow: 0px 2px 12px 0px rgba(28, 30, 58, 0.12);
    background-color: #fff;
    padding: 16px;
}

.my-page-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    margin-right: 16px;
}

.my-page-profile-name {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.my-page-referral-box {
    background-color: #f7d260;
    padding: 20px;
    border-radius: 16px;
}

.my-page-referral-title {
    color: #333;
    font-size: 16px;
}

.my-page-ref-code-active {
    padding: 12px 16px;
    border-radius: 8px;
}

.my-page-ref-code-text {
    font-size: 18px;
    letter-spacing: 2px;
    color: #333;
}

.my-page-benefits-area {
    background-color: #faedc5;
    overflow: hidden;
    padding: 16px 8px;
    border-radius: 12px;
}

.my-page-benefit-subtitle {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.my-page-benefit-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.my-page-benefit-highlight {
    font-size: 24px;
}

.my-page-share-buttons {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.my-page-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.my-page-share-btn:active {
    transform: scale(0.98);
}

.btn-x-share {
    background-color: #000000;
    color: #ffffff !important;
}

.btn-x-share:hover {
    opacity: 0.9;
}

.btn-line-share {
    background-color: #06C755;
    color: #ffffff !important;
}

.btn-line-share:hover {
    opacity: 0.9;
}

.my-page-menu-section h6 {
    font-weight: 700;
    color: #333;
    font-size: 18px;
    margin-bottom: 8px;
}

.my-page-menu-section .list-group {
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    background-color: transparent !important;
}

.my-page-menu-section .list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
    font-size: 16px;
    color: #333;
    background-color: transparent;
    font-weight: 500;
}

.my-page-menu-section .list-group-item:last-child {
    border-bottom: none;
}

.my-page-email-display {
    font-size: 14px;
    color: #333;
    padding: 0;
}


@media (max-width: 767px) {
    .my-page-container {
        padding: 0 12px !important;
    }
    .my-page-referral-box {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .my-page-title {
        font-size: 16px;
        margin-top: 6px;
    }
    .my-page-profile-box {
        padding: 12px;
        margin-bottom: 12px !important;
    }
    .my-page-avatar {
        width: 44px;
        height: 44px;
        margin-right: 12px;
    }
    .my-page-profile-name {
        font-size: 14px;
    }
    .my-page-referral-box {
        padding: 12px 10px;
        margin-bottom: 16px !important;
    }
    .my-page-referral-title {
        font-size: 14px;
        margin-bottom: 10px !important;
    }
    .my-page-ref-code-active {
        padding: 10px 12px;
        margin-bottom: 12px !important;
    }
    .my-page-ref-code-text {
        font-size: 16px;
    }
    .my-page-benefits-area {
        padding: 12px 4px;
    }
    .my-page-benefit-subtitle {
        font-size: 10px;
    }
    .my-page-benefit-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .my-page-benefit-highlight {
        font-size: 18px;
    }
}

/* ===== Tsukino Replay Section ===== */
.replay-section {
    background: #F03B43;
    border-radius: 8px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 800px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.replay-section.special {
    background: linear-gradient(to right,
            #ff9eb5,
            #ffd27f,
            #ffff99,
            #b7ff9d,
            #a0f4ff,
            #c8b6ff,
            #f8b3ff);
    color: #262626;
}

.replay-section:hover {
    opacity: 0.9;
    background: #F03B43;
    color: rgba(255, 255, 255, 1);
}

.replay-section.special:hover {
    opacity: 0.9;
    background: linear-gradient(to right,
            #ff9eb5,
            #ffd27f,
            #ffff99,
            #b7ff9d,
            #a0f4ff,
            #c8b6ff,
            #f8b3ff);
    color: #3d3d3d;
}

.replay-section:active {
    transform: scale(0.99);
}

.replay-text-1 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-align: start;
    white-space: nowrap;
}

.replay-text-2 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    text-align: start;
    white-space: nowrap;
}

.img-logo-rain-bow {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.replay-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

.replay-chevron {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

@media only screen and (max-width: 768px) {
    .img-logo-rain-bow {
        height: 80px;
    }

    .replay-text-1 {
        font-size: 18px;
    }

    .replay-text-2 {
        font-size: 12px;
    }

    .replay-section {
        padding: 8px 12px;
        gap: 8px;
    }

    .replay-chevron {
        width: 16px;
        height: 16px;
        stroke-width: 2.2;
    }
}



/* ===== Tsukino Result Page Exact CSS ===== */
.result-modern-container {
    position: fixed;
    inset: 0;
    z-index: 1030;
    background-color: var(--bg-white);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.bg-gacha-result-container {
    background-repeat: repeat;
    background-position: center;
    background-size: 2000px 1571.43px;
    background-attachment: fixed;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-header {
    background: #fff;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.result-header-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.result-header-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    color: #09090b;
}

.btn-later {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #2e2e2e;
    cursor: pointer;
    text-decoration: none;
}

.view-toggler-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 9999px;
    width: 100%;
    max-width: 800px;
    margin: 24px 0 16px;
    overflow: hidden;
}

.view-toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-400);
    transition: all 0.2s;
}

.view-toggle-btn.active {
    color: #2e2e2e;
}

.view-toggle-btn.active svg {
    color: var(--primary-color) !important;
    fill: var(--primary-color) !important;
    stroke: var(--primary-color) !important;
}

.toggle-divider {
    width: 1px;
    height: 40px;
    background: #E1E1E1;
}

/* PRODUCT GRID / LIST */
.result-products-list {
    padding: 0 0 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-products-grid {
    padding: 0 0 180px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .result-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* RESULT CARD */
.result-card-modern {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.result-products-grid .result-card-modern {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
}

.result-card-modern.selected {
    border-color: var(--primary-color);
}

.result-card-img-wrapper {
    position: relative;
    width: 128px;
    flex-shrink: 0;
    align-self: flex-start;
}

.result-products-grid .result-card-img-wrapper {
    width: 100%;
}

.result-card-img {
    width: 100%;
    aspect-ratio: 128/178;
    object-fit: contain;
}

.result-card-info {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.result-card-top {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
}

.result-products-list .result-card-content,
.result-products-list .result-card-auto-convert {
    padding-right: 80px;
}

.result-card-auto-convert {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-top: auto;
    margin-bottom: 4px;
    line-height: 1.4;
}

.result-card-auto-convert + .result-card-footer {
    margin-top: 0;
}

.selection-status {
    display: flex;
    align-items: center;
    gap: 4px;
}

.selection-status span {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.result-card-modern.selected .selection-status span {
    color: var(--primary-color);
}

.check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.result-card-modern.selected .check-circle {
    background: var(--primary-color);
}

.result-card-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #2e2e2e;
}

.result-products-grid .result-card-name {
    font-size: 14px;
    text-align: center;
    margin-bottom: 4px;
}

.result-card-deadline {
    font-size: 14px;
    color: #64748b;
}

.result-products-grid .result-card-top,
.result-products-grid .result-card-deadline,
.result-products-grid .result-card-auto-convert {
    display: none;
}

.result-card-footer {
    background: #f1f5f9;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.result-products-grid .result-card-footer {
    gap: 4px;
}

.result-card-coin-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.result-products-grid .result-card-coin-icon {
    width: 16px;
    height: 16px;
}

.result-card-coin-val {
    font-size: 18px;
    font-weight: 700;
    color: #2e2e2e;
}

.result-products-grid .result-card-coin-val {
    font-size: 14px;
}

.result-products-grid .result-card-coin-val small {
    display: none;
}

/* STICKY FOOTER */
.result-sticky-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
    z-index: 1031;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.footer-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.footer-coin-total {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-coin-icon {
    width: 26px;
    height: 26px;
}

.footer-coin-total span {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.footer-actions-right {
    display: flex;
    gap: 0;
}

.btn-ghost {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #09090b;
    padding: 16px;
    cursor: pointer;
}

.footer-main-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-outline-primary-modern, .btn-outline-primary {
    border: 1px solid #000000 !important;
    background: #fff !important;
    color: #000000 !important;
    height: 40px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    width: 100% !important;
    box-shadow: none !important;
}

.btn-primary-modern {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    height: 40px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    width: 100% !important;
    box-shadow: none !important;
}

.btn-outline-primary-modern:disabled, .btn-outline-primary:disabled, .btn-primary-modern:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.footer-note {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin: 8px 0 4px;
}

.hidden-result {
    display: none;
}

/* Tsukino Specific Result Modal overrides */
.result-modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.result-modal-header {
    background-color: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.result-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.result-modal-body-text {
    font-size: 15px;
    color: #334155;
    margin-bottom: 16px;
}

.result-modal-coin-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--pill-bg);
    padding: 8px 16px;
    border-radius: 9999px;
}

.result-modal-coin-icon {
    width: 20px;
    height: 20px;
}

.result-modal-coin-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--danger-red);
}

.result-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
}

.result-modal-btn {
    flex: 1;
    height: 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
}

.result-modal-btn-primary {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
}

/* Dynamic absolute badges for cards in Grid & List view */
.psa10-badge-modern,
.result-card-img-wrapper .card-gacha-img-psa10 {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60% !important;
    z-index: 5;
}

.black-case-badge-modern,
.result-card-img-wrapper .card-gacha-img-black-case {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20% !important;
    z-index: 5;
}

.ship-only-badge-modern,
.result-card-img-wrapper .card-gacha-img-ship-only {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20% !important;
    z-index: 5;
}

.ship-only-badge-modern.has_bc,
.result-card-img-wrapper .card-gacha-img-ship-only.has_bc {
    transform: translateY(-110%);
}

.p-rarity-badge {
    color: #64748B;
    font-size: 14px;
}

/* --- Card-to-coin conversion modal styles --- */
.acquired-modal-subtitle {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin: 8px 0 16px;
    text-align: center;
}

.acquired-modal-exchange-box {
    background-color: #f0f4f8;
    padding: 12px 16px;
    margin: 16px auto;
    display: inline-block;
    width: 100%;
    max-width: 360px;
}

.acquired-exchange-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.exchange-val-before,
.exchange-val-after {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 750;
    color: #1a1a1a;
}

.exchange-val-after span {
    color: #00c853;
}

.exchange-arrow {
    display: flex;
    align-items: center;
    color: #888;
}

.exchange-arrow svg {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
}

.acquired-coin-icon-lg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.acquired-btn-confirm-convert {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 8px;
    background: #000000;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.acquired-btn-confirm-convert:active {
    background: #cc9f18;
}

.acquired-btn-confirm-convert[disabled] {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
}

.acquired-btn-cancel-convert {
    width: 100%;
    padding: 12px 0;
    border: 2px solid #000000;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.acquired-btn-cancel-convert:hover {
    background: #fff9e6;
}

.acquired-btn-cancel-convert:active {
    background: #ffeeb3;
}

@media (max-width: 575px) {
    .modal-compact-center {
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .gacha-confirm-modal {
        border-radius: 0 !important;
    }
}

/* PREMIUM GACHA EXCHANGED OVERLAY STYLES */
.gacha-exchanged-backdrop {
    display: none;
}

.gacha-exchanged-dialog {
    position: relative;
    z-index: 1;
    overflow-y: visible;
    background-color: transparent;
}

.gacha-exchanged-layout {
    min-height: 100%;
}

.gacha-exchanged-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gacha-exchanged-success-box {
    background: #ffffff;
    border-radius: 4px;
    padding: 32px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gacha-exchanged-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #2e2e2e;
}

.gacha-exchanged-coin-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 16px 0;
}

.gacha-exchanged-coin-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gacha-exchanged-coin-text {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #2e2e2e;
}

.gacha-exchanged-coin-text-green {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #16a34a;
}

.gacha-exchanged-chevron {
    color: #64748b;
}

.gacha-exchanged-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    background: #ffffff;
}

.gacha-exchanged-card-body {
    padding: 12px;
}

.gacha-exchanged-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.gacha-exchanged-point-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gacha-exchanged-point-val {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #2e2e2e;
}

.gacha-exchanged-point-unit {
    font-size: 14px;
    font-weight: 400;
}

.gacha-exchanged-close-btn {
    width: 100%;
    height: 40px;
    border: 1px solid var(--primary-color, #000000) !important;
    background: #ffffff !important;
    color: #2e2e2e !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* PREMIUM GACHA CONFIRM & SHORTAGE MODALS DESIGN */
.gacha-confirm-modal {
    border: none !important;
    border-radius: 8px;
    overflow: hidden;
    background: #fff !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.gacha-confirm-image {
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.gacha-confirm-image img {
    width: 100%;
    max-height: 280px;
    display: block;
}

.gacha-confirm-content {
    padding: 24px;
    text-align: center;
}

.gacha-confirm-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 0;
}

.gacha-confirm-desc {
    font-size: 14px;
    color: #444;
    line-height: 1;
    white-space: pre-line;
}

.gacha-confirm-points {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.points-calc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

.gacha-confirm-modal .points-calc img.coin-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    vertical-align: middle;
    margin-top: -2px;
    display: inline-block !important;
    object-fit: contain !important;
}

.points-current {
    color: #2b2b2b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.points-after {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-arrow {
    color: #64748b;
    display: flex;
    align-items: center;
}

.gacha-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-confirm-draw {
    background-color: var(--primary-color, #000000);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-confirm-draw:hover {
    background-color: var(--primary-hover, #262626) !important;
}

.btn-confirm-cancel {
    background-color: #f0f3f8 !important;
    color: #2b2b2b !important;
    border: 1px solid var(--primary-color, #000000) !important;
    border-radius: 6px !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: none !important;
}

/* Helper classes for shortage modal */
.modal-compact-center {
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}
.modal-shortage-desc p {
    margin-bottom: 0;
}

.modal-shortage-title {
    font-weight: 700;
}

.modal-shortage-desc {
    margin-bottom: 4px;
}

.missing-amount-highlight {
    font-weight: 600;
    margin-bottom: 4px;
}

.btn-charge-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color, #000000);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
}

.btn-confirm-cancel.btn-shortage-cancel {
    background-color: #f1f5f9;
    color: #2b2b2b;
    border: 1px solid var(--primary-color, #000000) !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

/* Gacha Details Buttons & Slider Cards */
.stock-bar {
    width: 100%;
    margin-bottom: 12px;
}

.stock-bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stock-bar-price {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-bar-remain {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.stock-bar-current {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.stock-bar-total {
    font-size: 14px;
    color: #64748b;
}

.stock-bar-progress {
    background-color: #f1f5f9;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    width: 100%;
}

.stock-bar-progress-bar {
    background-color: #22c55e;
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.gacha-btn-modern {
    flex: 1;
    height: 40px;
    border-radius: 4px;
    border: none;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.gacha-btn-modern:hover {
    opacity: 0.9;
}

.card-slider {
    margin-top: 0px;
}
.card-slider .slider .slick-track {
    padding: 12px 0;
}

.card-slider-item {
    padding: 3px;
    border-radius: 8px;
    box-shadow: rgba(68, 68, 68, 0.2) 0px 4px 6px;
    margin-right: 12px;
}

.card-slider-item img {
    border-radius: 6px;
    width: 100%;
}

.card-slider-item.red-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(229, 38, 26, 0), rgb(223, 83, 74));
}
.card-slider-item.orange-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(237, 124, 35, 0), rgb(237, 124, 35));
}
.card-slider-item.yellow-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(232, 215, 50, 0), rgb(232, 215, 50));
}
.card-slider-item.green-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(107, 221, 99, 0), rgb(107, 221, 99));
}
.card-slider-item.blue-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(74, 145, 227, 0), rgb(74, 145, 227));
}

.card-slider .slider .slick-prev,
.card-slider .slider .slick-next {
    padding: 16px 18px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 44px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 0;
    line-height: 0;
    transition: background-color 0.2s;
}

.card-slider .slider .slick-prev:hover,
.card-slider .slider .slick-next:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.card-slider .slider .slick-prev {
    left: 0px !important;
    border-radius: 0 50px 50px 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='18' viewBox='0 0 10 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L1 9l8 8' stroke='%23444444' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
}

.card-slider .slider .slick-next {
    right: 0px !important;
    border-radius: 50px 0 0 50px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='18' viewBox='0 0 10 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l8 8-8 8' stroke='%23444444' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
}

.card-slider .slider .slick-prev:before,
.card-slider .slider .slick-next:before {
    content: '' !important;
}

/* LINE Linkage Page styles */
.register-complete {
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.register-complete .section-main {
    width: 100%;
    padding: 24px;
}
.register-complete .section-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.register-complete .content-main {
    padding: 32px 24px;
    text-align: center;
}
.register-complete .title-bl {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}
.register-complete p.text-description {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 32px !important;
}
.register-complete .main-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.2);
}
.register-complete .btn-green {
    background-color: #06C755;
    color: #ffffff !important;
    border: none;
}
.register-complete .btn-green:hover {
    background-color: #05b04b;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
    transform: translateY(-2px);
}
.register-complete .btn-green:active {
    transform: translateY(0);
}
.register-complete .main-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gacha Result Responsive */
@media (max-width: 576px) {
    .result-sticky-footer {
        padding: 8px 0 !important;
    }
    
    .footer-inner {
        padding: 0 12px !important;
    }
    
    .footer-stats {
        margin-bottom: 6px !important;
    }
    
    .footer-coin-total span {
        font-size: 15px !important;
    }
    
    .footer-coin-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .btn-ghost {
        font-size: 13px !important;
        padding: 6px 8px !important;
    }
    
    .footer-main-buttons {
        gap: 8px !important;
    }
    
    .btn-outline-primary-modern, 
    .btn-outline-primary, 
    .btn-primary-modern {
        height: 36px !important;
        font-size: 13px !important;
        border-radius: 4px !important;
    }
    
    .footer-note-container {
        font-size: 10px !important;
        margin-top: 4px !important;
    }

    .result-card-modern {
        padding: 8px !important;
        gap: 10px !important;
        border-radius: 6px !important;
    }
    
    .result-card-img-wrapper {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
    }
    
    .result-card-info {
        padding-top: 2px !important;
    }
    
    .result-products-list .result-card-content, 
    .result-products-list .result-card-auto-convert {
        padding-right: 65px !important;
    }
    
    .result-card-name {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        line-clamp: 2 !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .result-card-deadline {
        font-size: 11px !important;
    }
    
    .result-card-auto-convert {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
    }
    
    .selection-status span {
        font-size: 11px !important;
    }
    
    .check-circle {
        width: 18px !important;
        height: 18px !important;
    }
    
    .check-circle svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .result-card-footer {
        padding: 2px 4px !important;
        gap: 4px !important;
        margin-top: 4px !important;
    }
    
    .result-card-coin-icon {
        width: 14px !important;
        height: 14px !important;
    }
    
    .result-card-coin-val {
        font-size: 13px !important;
    }
    
    .replay-section {
        padding: 10px !important;
    }
    
    .replay-text-1 {
        font-size: 13px !important;
    }
    
    .replay-text-2 {
        font-size: 11px !important;
    }
    
    .img-logo-rain-bow {
        height: 35px !important;
    }
}

.ck-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
}

/* ===== Tsukino Replay Section ===== */
.replay-section {
    background: #F03B43;
    border-radius: 8px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 800px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.replay-section.special {
    background: linear-gradient(to right,
            #ff9eb5,
            #ffd27f,
            #ffff99,
            #b7ff9d,
            #a0f4ff,
            #c8b6ff,
            #f8b3ff);
    color: #262626;
}

.replay-section:hover {
    opacity: 0.9;
    background: #F03B43;
    color: rgba(255, 255, 255, 1);
}

.replay-section.special:hover {
    opacity: 0.9;
    background: linear-gradient(to right,
            #ff9eb5,
            #ffd27f,
            #ffff99,
            #b7ff9d,
            #a0f4ff,
            #c8b6ff,
            #f8b3ff);
    color: #3d3d3d;
}

.replay-section:active {
    transform: scale(0.99);
}

.replay-text-1 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-align: start;
    white-space: nowrap;
}

.replay-text-2 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    text-align: start;
    white-space: nowrap;
}

.img-logo-rain-bow {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.replay-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

.replay-chevron {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

@media only screen and (max-width: 768px) {
    .img-logo-rain-bow {
        height: 80px;
    }

    .replay-text-1 {
        font-size: 18px;
    }

    .replay-text-2 {
        font-size: 12px;
    }

    .replay-section {
        padding: 8px 12px;
        gap: 8px;
    }

    .replay-chevron {
        width: 16px;
        height: 16px;
        stroke-width: 2.2;
    }
}

/* --- Card-to-coin conversion modal styles --- */
.acquired-modal-subtitle {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin: 8px 0 16px;
    text-align: center;
}

.acquired-modal-exchange-box {
    background-color: #f0f4f8;
    padding: 12px 16px;
    margin: 16px auto;
    display: inline-block;
    width: 100%;
    max-width: 360px;
}

.acquired-exchange-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.exchange-val-before,
.exchange-val-after {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 750;
    color: #1a1a1a;
}

.exchange-val-after span {
    color: #00c853;
}

.exchange-arrow {
    display: flex;
    align-items: center;
    color: #888;
}

.exchange-arrow svg {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
}

.acquired-coin-icon-lg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.acquired-btn-confirm-convert {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 8px;
    background: #000000;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.acquired-btn-confirm-convert:active {
    background: #cc9f18;
}

.acquired-btn-confirm-convert[disabled] {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
}

.acquired-btn-cancel-convert {
    width: 100%;
    padding: 12px 0;
    border: 2px solid #000000;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.acquired-btn-cancel-convert:hover {
    background: #fff9e6;
}

.acquired-btn-cancel-convert:active {
    background: #ffeeb3;
}

@media (max-width: 575px) {
    .modal-compact-center {
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .gacha-confirm-modal {
        border-radius: 0 !important;
    }
}

/* PREMIUM GACHA EXCHANGED OVERLAY STYLES */
.gacha-exchanged-backdrop {
    display: none;
}

.gacha-exchanged-dialog {
    position: relative;
    z-index: 1;
    overflow-y: visible;
    background-color: transparent;
}

.gacha-exchanged-layout {
    min-height: 100%;
}

.gacha-exchanged-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gacha-exchanged-success-box {
    background: #ffffff;
    border-radius: 4px;
    padding: 32px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gacha-exchanged-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #2e2e2e;
}

.gacha-exchanged-coin-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 16px 0;
}

.gacha-exchanged-coin-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gacha-exchanged-coin-text {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #2e2e2e;
}

.gacha-exchanged-coin-text-green {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #16a34a;
}

.gacha-exchanged-chevron {
    color: #64748b;
}

.gacha-exchanged-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    background: #ffffff;
}

.gacha-exchanged-card-body {
    padding: 12px;
}

.gacha-exchanged-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.gacha-exchanged-point-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gacha-exchanged-point-val {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #2e2e2e;
}

.gacha-exchanged-point-unit {
    font-size: 14px;
    font-weight: 400;
}

.gacha-exchanged-close-btn {
    width: 100%;
    height: 40px;
    border: 1px solid var(--primary-color, #000000) !important;
    background: #ffffff !important;
    color: #2e2e2e !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* PREMIUM GACHA CONFIRM & SHORTAGE MODALS DESIGN */
.gacha-confirm-modal {
    border: none !important;
    border-radius: 8px;
    overflow: hidden;
    background: #fff !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.gacha-confirm-image {
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.gacha-confirm-image img {
    width: 100%;
    max-height: 280px;
    display: block;
}

.gacha-confirm-content {
    padding: 24px;
    text-align: center;
}

.gacha-confirm-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 0;
}

.gacha-confirm-desc {
    font-size: 14px;
    color: #444;
    line-height: 1;
    white-space: pre-line;
}

.gacha-confirm-points {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.points-calc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

.gacha-confirm-modal .points-calc img.coin-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    vertical-align: middle;
    margin-top: -2px;
    display: inline-block !important;
    object-fit: contain !important;
}

.points-current {
    color: #2b2b2b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.points-after {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-arrow {
    color: #64748b;
    display: flex;
    align-items: center;
}

.gacha-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-confirm-draw {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-confirm-draw:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    opacity: 0.9;
}

.btn-confirm-cancel {
    background-color: #f0f3f8 !important;
    color: #2b2b2b !important;
    border: 1px solid var(--primary-color, #000000) !important;
    border-radius: 6px !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: none !important;
}

/* Helper classes for shortage modal */
.modal-compact-center {
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}
.modal-shortage-desc p {
    margin-bottom: 0;
}

.modal-shortage-title {
    font-weight: 700;
}

.modal-shortage-desc {
    margin-bottom: 4px;
}

.missing-amount-highlight {
    font-weight: 600;
    margin-bottom: 4px;
}

.btn-charge-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color, #000000);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
}

.btn-confirm-cancel.btn-shortage-cancel {
    background-color: #f1f5f9;
    color: #2b2b2b;
    border: 1px solid var(--primary-color, #000000) !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

/* Gacha Details Buttons & Slider Cards */
.stock-bar {
    width: 100%;
    margin-bottom: 12px;
}

.stock-bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stock-bar-price {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-bar-remain {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.stock-bar-current {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.stock-bar-total {
    font-size: 14px;
    color: #64748b;
}

.stock-bar-progress {
    background-color: #f1f5f9;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    width: 100%;
}

.stock-bar-progress-bar {
    background-color: #22c55e;
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.gacha-btn-modern {
    flex: 1;
    height: 40px;
    border-radius: 4px;
    border: none;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.gacha-btn-modern:hover {
    opacity: 0.9;
}

.card-slider {
    margin-top: 0px;
}
.card-slider .slider .slick-track {
    padding: 12px 0;
}

.card-slider-item {
    padding: 3px;
    border-radius: 8px;
    box-shadow: rgba(68, 68, 68, 0.2) 0px 4px 6px;
    margin-right: 12px;
}

.card-slider-item img {
    border-radius: 6px;
    width: 100%;
}

.card-slider-item.red-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(229, 38, 26, 0), rgb(223, 83, 74));
}
.card-slider-item.orange-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(237, 124, 35, 0), rgb(237, 124, 35));
}
.card-slider-item.yellow-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(232, 215, 50, 0), rgb(232, 215, 50));
}
.card-slider-item.green-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(107, 221, 99, 0), rgb(107, 221, 99));
}
.card-slider-item.blue-card {
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(74, 145, 227, 0), rgb(74, 145, 227));
}

.card-slider .slider .slick-prev,
.card-slider .slider .slick-next {
    padding: 16px 18px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 44px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 0;
    line-height: 0;
    transition: background-color 0.2s;
}

.card-slider .slider .slick-prev:hover,
.card-slider .slider .slick-next:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.card-slider .slider .slick-prev {
    left: 0px !important;
    border-radius: 0 50px 50px 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='18' viewBox='0 0 10 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L1 9l8 8' stroke='%23444444' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
}

.card-slider .slider .slick-next {
    right: 0px !important;
    border-radius: 50px 0 0 50px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='18' viewBox='0 0 10 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l8 8-8 8' stroke='%23444444' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
}

.card-slider .slider .slick-prev:before,
.card-slider .slider .slick-next:before {
    content: '' !important;
}

/* LINE Linkage Page styles */
.register-complete {
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.register-complete .section-main {
    width: 100%;
    padding: 24px;
}
.register-complete .section-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.register-complete .content-main {
    padding: 32px 24px;
    text-align: center;
}
.register-complete .title-bl {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}
.register-complete p.text-description {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 32px !important;
}
.register-complete .main-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.2);
}
.register-complete .btn-green {
    background-color: #06C755;
    color: #ffffff !important;
    border: none;
}
.register-complete .btn-green:hover {
    background-color: #05b04b;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
    transform: translateY(-2px);
}
.register-complete .btn-green:active {
    transform: translateY(0);
}
.register-complete .main-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gacha Result Responsive */
@media (max-width: 576px) {
    .result-sticky-footer {
        padding: 8px 0 !important;
    }
    
    .footer-inner {
        padding: 0 12px !important;
    }
    
    .footer-stats {
        margin-bottom: 6px !important;
    }
    
    .footer-coin-total span {
        font-size: 15px !important;
    }
    
    .footer-coin-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .btn-ghost {
        font-size: 13px !important;
        padding: 6px 8px !important;
    }
    
    .footer-main-buttons {
        gap: 8px !important;
    }
    
    .btn-outline-primary-modern, 
    .btn-outline-primary, 
    .btn-primary-modern {
        height: 36px !important;
        font-size: 13px !important;
        border-radius: 4px !important;
    }
    
    .footer-note-container {
        font-size: 10px !important;
        margin-top: 4px !important;
    }

    .result-card-modern {
        padding: 8px !important;
        gap: 10px !important;
        border-radius: 6px !important;
    }
    
    .result-card-img-wrapper {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
    }
    
    .result-card-info {
        padding-top: 2px !important;
    }
    
    .result-products-list .result-card-content, 
    .result-products-list .result-card-auto-convert {
        padding-right: 65px !important;
    }
    
    .result-card-name {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        line-clamp: 2 !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .result-card-deadline {
        font-size: 11px !important;
    }
    
    .result-card-auto-convert {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
    }
    
    .selection-status span {
        font-size: 11px !important;
    }
    
    .check-circle {
        width: 18px !important;
        height: 18px !important;
    }
    
    .check-circle svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .result-card-footer {
        padding: 2px 4px !important;
        gap: 4px !important;
        margin-top: 4px !important;
    }
    
    .result-card-coin-icon {
        width: 14px !important;
        height: 14px !important;
    }
    
    .result-card-coin-val {
        font-size: 13px !important;
    }
    
    .replay-section {
        padding: 10px !important;
    }
    
    .replay-text-1 {
        font-size: 13px !important;
    }
    
    .replay-text-2 {
        font-size: 11px !important;
    }
    
    .img-logo-rain-bow {
        height: 35px !important;
    }
}

.ck-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
}

/* Global Dark Theme */
body, html {
    background-color: #000000 !important;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Modals, Popups & Dialogs Text Color Reset */
.modal-content {
    color: #212529 !important;
    background-color: #ffffff;
}

.modal-content p,
.modal-content span,
.modal-content div,
.modal-content b,
.modal-content strong,
.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4,
.modal-content h5,
.modal-content h6,
.modal-content label {
    color: #212529;
}

/* Side Bar / Drawer Text Color Reset */
/* ==========================================================================
   ROYALE SIDEBAR DRAWER (MyPage Drawer)
   ========================================================================== */

.side-bar {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 9999 !important;
    transition: opacity 0.3s ease;
}

.side-bar.side-bar-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.side-bar.side-bar-display {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.side-bar .content-bar,
.royale-sidenav-content {
    width: 410px !important;
    max-width: 92vw !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    background: #0a0a0a !important;
    border-left: 1px solid #7a602c !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9) !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    overflow: hidden !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), right 0.3s ease !important;
}

.content-bar.content-bar-hidden {
    transform: translateX(100%);
}

.content-bar.content-bar-display {
    transform: translateX(0);
}

/* Header */
.royale-sidenav-header {
    background: #111111 !important;
    border-bottom: 1px solid #7a602c !important;
    padding: 16px 20px !important;
    flex-shrink: 0;
}

.royale-sidenav-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #7a602c !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25) !important;
}

.royale-sidenav-username {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #f0d8a8 !important;
    letter-spacing: 0.3px;
    margin-bottom: 2px !important;
}

.royale-sidenav-profile-link {
    font-size: 11.5px;
    color: #a0a0a0;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.royale-sidenav-header a:hover .royale-sidenav-profile-link {
    color: #f3be20;
}

.royale-sidenav-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.royale-sidenav-header .btn-close:hover {
    opacity: 1;
}

/* Scrollable Container */
.royale-sidenav-scroll {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #7a602c #080808;
}

.royale-sidenav-scroll::-webkit-scrollbar {
    width: 5px;
}

.royale-sidenav-scroll::-webkit-scrollbar-track {
    background: #080808;
}

.royale-sidenav-scroll::-webkit-scrollbar-thumb {
    background: #7a602c;
    border-radius: 4px;
}

.royale-sidenav-body {
    background: transparent !important;
}

/* Point Card */
.royale-sidenav-point-card {
    background: linear-gradient(135deg, #141414 0%, #0d0d0d 100%) !important;
    border: 1px solid #7a602c !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

.royale-sidenav-add-point-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3be20 0%, #c99310 100%);
    color: #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none !important;
    transition: none !important;
    box-shadow: 0 2px 8px rgba(243, 190, 32, 0.3);
}

.royale-sidenav-add-point-btn:hover,
.royale-sidenav-add-point-btn:focus,
.royale-sidenav-add-point-btn:active {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(243, 190, 32, 0.3) !important;
}

.royale-sidenav-point-label {
    font-size: 11px;
    color: #a0a0a0;
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.royale-sidenav-point-value {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff !important;
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.2;
}

.royale-sidenav-point-unit {
    font-size: 13px;
    font-weight: 600;
    color: #f0d8a8;
    margin-left: 3px;
}

.royale-sidenav-dp-value {
    font-size: 19px;
    font-weight: 800;
    color: #f3be20 !important;
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.2;
}

.royale-sidenav-dp-unit {
    font-size: 13px;
    font-weight: 600;
    color: #f0d8a8;
    margin-left: 3px;
}

/* Rank Banner */
.royale-sidenav-rank-banner {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #7a602c;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transition: none !important;
}

.royale-sidenav-rank-banner:hover {
    transform: none !important;
    border-color: #7a602c !important;
}

/* Referral Card */
.royale-sidenav-referral-card {
    background: linear-gradient(145deg, #131313 0%, #0a0a0a 100%) !important;
    border: 1px solid #7a602c !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.royale-sidenav-ref-title {
    font-size: 14px;
    font-weight: 700;
    color: #f0d8a8;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.royale-sidenav-ref-count {
    font-size: 12px;
    color: #c0c0c0;
    line-height: 1.4;
}

.royale-sidenav-ref-count-highlight {
    color: #ff2b75;
    font-weight: 700;
}

.royale-sidenav-ref-box {
    background: #000000 !important;
    border: 1px dashed #7a602c !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    position: relative;
    margin-top: 14px !important;
}

.royale-sidenav-ref-box-label {
    position: absolute;
    top: -9px;
    left: 12px;
    background: #000000;
    padding: 0 6px;
    font-size: 11px;
    color: #e5cfad;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.royale-sidenav-ref-code {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 1.5px;
    font-family: 'Outfit', monospace;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.royale-sidenav-copy-btn {
    position: static !important;
    transform: none !important;
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f3be20 0%, #c99310 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    border: none !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    cursor: pointer;
    transition: none !important;
    box-shadow: 0 2px 8px rgba(243, 190, 32, 0.25);
}

.royale-sidenav-copy-btn:hover,
.royale-sidenav-copy-btn:focus,
.royale-sidenav-copy-btn:active {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(243, 190, 32, 0.25) !important;
}

.side-bar .copy-code-button,
.royale-sidenav-content .copy-code-button {
    position: static !important;
    transform: none !important;
    width: auto !important;
}

.royale-sidenav-reward-item {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(122, 96, 44, 0.25);
}

.royale-sidenav-reward-heading {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.royale-sidenav-reward-sub {
    font-size: 11.5px;
    color: #b0b0b0;
    line-height: 1.4;
}

.royale-reward-pts {
    color: #f3be20;
    font-weight: 700;
}

.royale-sidenav-reward-note {
    font-size: 11px;
    color: #707070;
    line-height: 1.4;
    margin-top: 6px;
}

/* Navigation Links */
.royale-sidenav-menu {
    display: flex;
    flex-direction: column;
    margin-top: 4px !important;
    padding-bottom: 60px !important;
    border-top: 1px solid #332714;
}

.royale-sidenav-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 20px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 1px solid #1a160d !important;
    transition: none !important;
    width: 100% !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: transparent !important;
}

.royale-sidenav-link:hover,
.royale-sidenav-link:focus,
.royale-sidenav-link:active {
    background: transparent !important;
    color: #ffffff !important;
    padding-left: 20px !important;
    transform: none !important;
}

.royale-menu-icon {
    width: 20px;
    font-size: 15px;
    color: #c99310;
    margin-right: 12px;
    text-align: center;
    transition: none !important;
}

.royale-sidenav-link:hover .royale-menu-icon,
.royale-sidenav-link:focus .royale-menu-icon {
    transform: none !important;
    color: #c99310 !important;
}

.royale-chevron-icon {
    font-size: 12px;
    color: #554428;
    transition: none !important;
}

.royale-sidenav-link:hover .royale-chevron-icon,
.royale-sidenav-link:focus .royale-chevron-icon {
    transform: none !important;
    color: #554428 !important;
}

.royale-sidenav-logout {
    border-bottom: none !important;
    margin-top: 6px;
}

.royale-sidenav-logout:hover,
.royale-sidenav-logout:focus,
.royale-sidenav-logout:active {
    background: transparent !important;
    color: #ffffff !important;
}

.royale-sidenav-logout:hover .royale-menu-icon,
.royale-sidenav-logout:focus .royale-menu-icon {
    transform: none !important;
    color: #c99310 !important;
}

@media only screen and (max-width: 576px) {
    .side-bar .content-bar,
    .royale-sidenav-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.site-background,
.head-background,
.container-fluid.site-background,
.main {
    background: #000000 !important;
    background-color: #000000 !important;
}

/* Header */
.hearder-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    background: #000000 !important;
    border-bottom: 1.5px solid #c9a86a !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    width: 100% !important;
}

.hearder-container .logo-img {
    height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Royale Header Point Button */
.royale-header-point-btn {
    background: var(--royale-ruby-btn-bg) !important;
    border: 1px solid var(--royale-ruby-top) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 3px 6px 3px 12px !important;
    text-decoration: none !important;
    height: 38px !important;
    min-width: 145px !important;
    gap: 8px !important;
    cursor: pointer !important;
}

.royale-header-point-btn .point-btn-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.15 !important;
}

.royale-header-point-btn .point-btn-label {
    color: var(--bg-white) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
}

.royale-header-point-btn .point-btn-value {
    color: var(--bg-white) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.royale-header-point-btn .point-btn-add-icon {
    width: 24px !important;
    height: 24px !important;
    background: var(--bg-white) !important;
    border-radius: 50% !important;
    color: var(--royale-ruby-mid) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.royale-header-point-btn .point-btn-add-icon i {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: var(--royale-ruby-mid) !important;
}

/* Bell & Menu Icons */
.royale-header-bell-wrap,
.royale-header-menu-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.royale-header-bell-img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    display: block !important;
}

.royale-header-bell-dot {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #e83e8c !important;
    border-radius: 50% !important;
    border: 1px solid #000000 !important;
}

.royale-header-menu-img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    display: block !important;
    cursor: pointer !important;
}

@media (max-width: 576px) {
    .hearder-container {
        height: 48px !important;
        padding: 0 8px !important;
    }
    .hearder-container .logo-img {
        height: 30px !important;
    }
    .royale-header-point-btn {
        height: 32px !important;
        min-width: 116px !important;
        padding: 2px 4px 2px 8px !important;
        gap: 5px !important;
        border-radius: 6px !important;
    }
    .royale-header-point-btn .point-btn-label {
        font-size: 8.5px !important;
    }
    .royale-header-point-btn .point-btn-value {
        font-size: 12.5px !important;
    }
    .royale-header-point-btn .point-btn-add-icon {
        width: 18px !important;
        height: 18px !important;
    }
    .royale-header-point-btn .point-btn-add-icon i {
        font-size: 10px !important;
    }
    .royale-header-bell-img,
    .royale-header-menu-img {
        width: 22px !important;
        height: 22px !important;
    }
}

/* Banner Slider & Frame */
.header-content-slider {
    background: #000000 !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

/* Slider Nav Arrows */
.slider-header .slick-prev,
.slider-header .slick-next {
    width: 36px !important;
    height: 36px !important;
    z-index: 10 !important;
    background: url('/royale/assets/frontend/images/arrow_icon.png') no-repeat center / contain !important;
    border: none !important;
    outline: none !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.slider-header .slick-prev:before,
.slider-header .slick-next:before {
    display: none !important;
}

.slider-header .slick-prev {
    left: 12px !important;
    transform: translateY(-50%) rotate(180deg) !important;
}

.slider-header .slick-next {
    right: 12px !important;
    transform: translateY(-50%) !important;
}

/* Slider Pagination Dots */
.slider-header .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.slider-header .slick-dots li {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: url('/royale/assets/frontend/images/dot_indicator_off.png') no-repeat center / contain !important;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.slider-header .slick-dots li button {
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
}

.slider-header .slick-dots li button:before {
    display: none !important;
}

.slider-header .slick-dots li.slick-active {
    background: url('/royale/assets/frontend/images/dot_indicator_on.png') no-repeat center / contain !important;
    opacity: 1;
}

/* Desktop styles (> 768px) - Like Oripa */
@media (min-width: 769px) {
    .slider-header {
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 40px !important;
    }

    .slider-header .slick-list {
        overflow: visible !important;
    }

    .banner-slide-item {
        padding: 0 10px !important;
        outline: none !important;
        width: auto !important;
    }

    .banner-link {
        border-radius: 8px;
        overflow: hidden;
        display: block;
        position: relative;
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .banner-main-img {
        height: 250px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        border-radius: 8px;
        display: block !important;
    }

    .banner-frame-overlay {
        display: none !important;
    }

    .slider-header .slick-dots {
        position: relative !important;
        bottom: 0 !important;
        margin-top: 12px !important;
    }
}

/* Mobile styles (<= 768px) - Full width card aligned with grid */
@media (max-width: 768px) {
    .slider-header {
        max-width: 984px !important;
        margin: 0 auto !important;
        width: 100% !important;
        display: block !important;
        overflow: visible !important;
    }

    .slider-header .slick-list {
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    .banner-slide-item {
        padding: 0 !important;
        outline: none !important;
        width: 100% !important;
    }

    .banner-link {
        border-radius: 8px;
        overflow: hidden;
        display: block;
        position: relative;
        width: 100%;
        outline: none !important;
        border: 1.5px solid #c9a86a;
        box-shadow: 0 4px 15px rgba(201, 168, 106, 0.2);
    }

    .banner-main-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 984 / 376;
        object-fit: cover !important;
        border-radius: 6px;
        display: block !important;
    }

    .banner-frame-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/royale/assets/frontend/images/banner_frame_large.png') no-repeat center / 100% 100%;
        pointer-events: none;
        z-index: 2;
        border-radius: 8px;
        display: block !important;
    }

    .slider-header .slick-dots {
        position: absolute !important;
        bottom: 6px !important;
    }
}

/* Category Navigation (M Tags) */
.menu-header-bar {
    background: #000000 !important;
    border-bottom: 1px solid #1a1a1a;
    padding-top: 10px;
    padding-bottom: 8px;
}

.category-slider-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    position: relative;
}

.category-slider-container .arrow {
    display: none;
}

.slider-category {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.slider-category::-webkit-scrollbar {
    display: none;
}


/* Gacha Card 2-Column Grid */
.list-gacha {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}

@media (min-width: 768px) {
    .list-gacha {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

.royale-gacha-card {
    background: #000000 !important;
    border: 1.5px solid #c9a86a !important;
    border-radius: 4px !important;
    padding: 3px 3px 4px 3px !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.gacha-new-ribbon {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 10;
    width: 32px;
    height: 32px;
    pointer-events: none;
}

.gacha-thumb-link {
    border-radius: 3px;
    overflow: hidden;
    background: #000000;
    display: block;
}

.gacha-thumb-link .card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

.royale-card-body {
    background: transparent !important;
    padding: 3px 1px 1px 1px !important;
}

.royale-gacha-meta {
    font-size: 14px;
    line-height: 1.2;
    padding: 2px 2px 0 2px;
    margin-bottom: 3px !important;
}

.royale-gacha-price {
    font-size: 14.5px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

.royale-gacha-remain {
    font-size: 14.5px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

@media (max-width: 576px) {
    .royale-gacha-meta {
        padding: 2px 1px 0 1px;
    }
    .royale-gacha-price,
    .royale-gacha-remain {
        font-size: 11.5px !important;
    }
}

.royale-gacha-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    margin-top: 3px !important;
    width: 100% !important;
}

.btn-royale-play,
.btn-royale-detail {
    flex: 1 1 0% !important;
    width: 50% !important;
    height: 34px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    border-radius: 4px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    cursor: pointer !important;
    letter-spacing: 0.03em !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.btn-royale-play {
    background: linear-gradient(180deg, #9b0b42 0%, #580022 100%) !important;
    border: 1px solid #b51250 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(155, 11, 66, 0.4) !important;
}

.btn-royale-play.sold,
.btn-royale-play:disabled {
    background: #3a3a3a !important;
    border: 1px solid #555555 !important;
    color: #888888 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.btn-royale-detail {
    background: linear-gradient(180deg, #222222 0%, #0e0e0e 100%) !important;
    border: 1px solid rgba(201, 168, 106, 0.6) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 576px) {
    .btn-royale-play,
    .btn-royale-detail {
        height: 28px !important;
        font-size: 12px !important;
        border-radius: 3px !important;
    }
}

/* Top Nav Tabs Styling */
.head-background,
.main.head-background,
.main-menu.head-background {
    background: #000000 !important;
}

.nav-tabs {
    border-bottom: 1px solid rgba(201, 168, 106, 0.3) !important;
    background: #000000 !important;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    border: none !important;
    background: transparent !important;
    color: #c9a86a !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px !important;
    border-radius: 0;
}


.nav-tabs .nav-link.active {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #e83e8c !important;
    position: relative;
}

.nav-tabs .nav-link.active .table-title {
    color: #ffffff !important;
    font-weight: 700;
}

.menu-header-bar {
    position: sticky !important;
    top: 54px !important;
    z-index: 90 !important;
    background: #000000 !important;
    padding-top: 10px !important;
    padding-bottom: 6px !important;
}

@media (max-width: 576px) {
    .menu-header-bar {
        top: 48px !important;
        padding-top: 8px !important;
        padding-bottom: 6px !important;
    }
}

/* Category Slider Container */
.category-slider-container {
    background: transparent !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    position: relative;
    width: 100% !important;
}

.slider-category {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    width: 100% !important;
}

.slider-category::-webkit-scrollbar {
    display: none !important;
}

.slider-category .nav-item {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    scroll-snap-align: start !important;
}

/* Category Tags M (Inactive) */
.slider-category .nav-link {
    background: linear-gradient(180deg, #222222 0%, #0d0d0d 100%) !important;
    border: 1.5px solid #a38241 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 36px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

/* Category Tags M (Active) */
.slider-category .nav-link.active {
    background: var(--royale-ruby-btn-bg) !important;
    border: 1.5px solid var(--royale-gold-accent) !important;
    color: var(--bg-white) !important;
    box-shadow: 0 2px 8px rgba(155, 11, 66, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Filter Row (Row 2) */
.filter-container {
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding: 2px 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.filter-container::-webkit-scrollbar {
    display: none !important;
}

.sort-filter {
    flex-shrink: 0 !important;
}

/* Sort Button (Pill shape gold gradient) */
.select-filter {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12'%3E%3Cpath fill='%23000000' d='M5 0L9 4H1L5 0zm0 12L1 8h8l-4 4z'/%3E%3C/svg%3E") no-repeat right 10px center, linear-gradient(180deg, #d4a853 0%, #b88a38 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border: 1.5px solid #a38241 !important;
    border-radius: 9999px !important;
    height: 32px !important;
    padding: 0 24px 0 12px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
    outline: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.select-filter option {
    background: #111111 !important;
    color: #ffffff !important;
}

/* Tag Filter Group */
.tag-filter {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

/* Small Tag Item (Inactive) */
.tag-filter .tag-item {
    background: linear-gradient(180deg, #222222 0%, #0d0d0d 100%) !important;
    border: 1.5px solid #a38241 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    height: 32px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    line-height: 1 !important;
}

/* Small Tag Item (Active with Gold Glow) */
.tag-filter .tag-item.active {
    background: linear-gradient(180deg, #2c2518 0%, #18140c 100%) !important;
    border: 1.5px solid #d4a853 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(212, 168, 83, 0.5), inset 0 0 8px rgba(212, 168, 83, 0.3) !important;
}


@media (max-width: 768px) {
    .menu-header-bar,
    .main .padding-main,
    .padding-main,
    .main-menu.padding-main {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .list-gacha {
        --bs-gutter-x: 6px !important;
        --bs-gutter-y: 6px !important;
    }

    .slider-category .nav-link {
        height: 30px !important;
        font-size: 12px !important;
        padding: 0 10px !important;
        border-radius: 5px !important;
    }

    .select-filter {
        height: 27px !important;
        font-size: 11px !important;
        padding: 0 22px 0 10px !important;
    }

    .tag-filter .tag-item {
        height: 27px !important;
        font-size: 11px !important;
        padding: 0 8px !important;
        border-radius: 5px !important;
    }
}

/* News Section (Royale theme) */
.news-section {
    background: #000000 !important;
    border: 1.5px solid #c9a86a !important;
    border-radius: 6px !important;
    padding: 14px 16px !important;
    margin-top: 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

.news-section-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #c9a86a !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.04em !important;
    border-bottom: 1px solid rgba(201, 168, 106, 0.3) !important;
    padding-bottom: 8px !important;
}

.news-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 10px 4px !important;
}

.news-date {
    background: #c9a86a !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.news-title {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.view-all-news {
    background: linear-gradient(180deg, #9b0b42 0%, #580022 100%) !important;
    border: 1px solid #b51250 !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    height: 32px !important;
    padding: 0 24px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.royale-footer.footer {
    background: #000000 !important;
    padding-top: 24px !important;
    padding-bottom: 30px !important;
    color: #ffffff !important;
    width: 100%;
}

@media (max-width: 991px) {
    .royale-footer.footer {
        padding-bottom: 75px !important;
    }
}

.royale-footer .gold-divider-line {
    height: 1px !important;
    width: 100% !important;
    background: #e5d5b8 !important;
    opacity: 0.8;
}

.royale-footer .footer-main-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 4px !important;
}

.royale-footer .footer-links-col {
    padding-left: 0 !important;
}

.royale-footer .footer-nav-list {
    margin-bottom: 20px !important;
    padding-left: 0;
    list-style: none;
    text-align: left;
}

.royale-footer .footer-nav-item {
    margin-bottom: 10px;
}

.royale-footer .footer-nav-item:last-child {
    margin-bottom: 0;
}

.royale-footer .footer-link {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    display: inline-block;
    letter-spacing: 0.02em;
}

.royale-footer .footer-social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.royale-footer .social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.royale-footer .footer-social-img {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
}

.royale-footer .footer-logo-col {
    text-align: right;
}

.royale-footer .footer-logo-img {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.royale-footer .rights-reserved {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #e5d5b8 !important;
    letter-spacing: 0.12em !important;
    text-align: center;
    padding-top: 14px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 22px;
    row-gap: 6px;
}

.royale-footer .rights-reserved span {
    display: inline-block;
    letter-spacing: 0.12em !important;
}

@media (max-width: 576px) {
    .royale-footer .footer-link {
        font-size: 12px !important;
    }
    .royale-footer .footer-social-img {
        height: 24px;
    }
    .royale-footer .footer-logo-img {
        max-width: 120px;
    }
    .royale-footer .rights-reserved {
        font-size: 10.5px !important;
        column-gap: 12px;
        letter-spacing: 0.08em !important;
    }
    .royale-footer .rights-reserved span {
        letter-spacing: 0.08em !important;
    }
}

/* Bottom Mobile Sticky Navigation */
.nav-mobile {
    background: #000000 !important;
    border-top: 1.5px solid #c9a86a !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.9);
}

.royale-bottom-nav {
    background: #000000 !important;
    border: none !important;
    width: 100%;
    height: 56px;
}

.royale-nav-item {
    border-right: 1px solid rgba(201, 168, 106, 0.3) !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royale-nav-item:last-child {
    border-right: none !important;
}

.royale-nav-link {
    color: var(--royale-gold-accent) !important;
    border: none !important;
    background: transparent !important;
    padding: 4px 2px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.royale-nav-link .nav-svg-icon {
    stroke: var(--royale-gold-accent);
}

.royale-nav-link .table-title {
    font-size: 10px;
    color: var(--royale-gold-accent);
    margin-top: 2px;
    font-weight: 600;
    line-height: 1;
}

.royale-nav-link.active {
    color: #e83e8c !important;
}

.royale-nav-link.active .nav-svg-icon {
    stroke: #e83e8c !important;
}

.royale-nav-link.active .table-title {
    color: #e83e8c !important;
    font-weight: 700;
}

/* Header Login / Register Button */
.btn-login-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: none;
    line-height: 1;
    border-radius: 9999px;
    font-weight: 700;
    height: 32px;
    font-size: 11px;
    letter-spacing: 0.02em;
    padding: 0 16px;
    background: url('/royale/assets/frontend/images/btn_login_register.png') no-repeat center / 100% 100%, linear-gradient(180deg, #9b0b42 0%, #6f002b 100%);
    color: #ffffff !important;
    min-width: 120px;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 2px 8px rgba(155, 11, 66, 0.4);
}

/* Unified Container & Tab Bar on Desktop & Mobile */
@media (min-width: 769px) {
    .container.main,
    .menu-header-bar,
    .main-menu,
    .padding-main,
    .news-section,
    .footer-container {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
    }
}

@media (max-width: 768px) {
    .container.main,
    .menu-header-bar,
    .main-menu,
    .padding-main {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* 3. Static & Legal Pages (Terms, Privacy, Commercial, FAQ, Contact) */
.terms-body,
.privacy-body,
.faq-body,
.notation-body,
.contact-body,
.terms-content,
.privacy-content,
.faq-content,
.notation-content,
.contact-content,
.page-content-wrapper {
    color: #ffffff !important;
    padding-top: 15px;
    padding-bottom: 30px;
    margin: 0 auto;
    width: 100%;
}

/* 4. Ranking & Bonus Pages */
.nav-ranking {
    border-bottom: 1px solid rgba(201, 168, 106, 0.3) !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
}

.nav-ranking .nav-link {
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 8px 4px !important;
}

.nav-ranking .nav-link.active {
    color: #c9a86a !important;
    border-bottom: 2px solid #c9a86a !important;
    font-weight: 700 !important;
}

/* 5. Inventory & DP Grids Alignment */
.css-list_dp-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
    gap: 12px !important;
}

@media (max-width: 768px) {
    .css-list_dp-grid {
        gap: 6px !important;
    }
}

@media (min-width: 992px) {
    .css-list_dp-grid {
        grid-template-columns: repeat(3, minmax(0px, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (min-width: 1200px) {
    .css-list_dp-grid {
        grid-template-columns: repeat(4, minmax(0px, 1fr)) !important;
        gap: 16px !important;
    }
}
.royale-gacha-detail-page {
    width: 100%;
    max-width: 936px;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 40px;
}

@media (max-width: 992px) {
    .royale-gacha-detail-page {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 768px) {
    .royale-gacha-detail-page {
        padding-top: 15px;
        padding-bottom: 80px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

.royale-gacha-container {
    width: 100%;
}

.royale-gacha-detail {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 1. Gacha Banner / Thumbnail Frame */
.royale-gacha-banner-wrapper {
    width: 100%;
    border: 2px solid #c9a86a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(201, 168, 106, 0.25);
    background: #000000;
}

.royale-gacha-banner-inner {
    width: 100%;
    position: relative;
}

.royale-gacha-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. Gacha Title & Actions Header */
.royale-gacha-header-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.royale-gacha-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.royale-badge-limited {
    border: 1.5px solid #d80056;
    color: #ff1a6c;
    background: transparent;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

.royale-gacha-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .royale-gacha-title {
        font-size: 16px;
    }
}

.royale-gacha-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.royale-btn-favorite {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1.5px solid var(--royale-gold-accent);
    border-radius: 6px;
    color: #e5c07b;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.royale-btn-favorite.active {
    background: rgba(212, 175, 55, 0.2);
    color: #ffd700;
}

.royale-heart-icon {
    width: 14px;
    height: 14px;
    stroke: #e5c07b;
    fill: none;
}

.royale-btn-share {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: #e5c07b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.royale-share-icon {
    width: 14px;
    height: 14px;
    stroke: #e5c07b;
    fill: none;
    stroke-width: 2.2;
}

/* Tags Row */
.royale-gacha-tags-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.royale-gacha-tags-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.royale-tag-item {
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    padding: 0 10px;
    border-radius: 9999px;
    line-height: 1;
}

.royale-tag-return {
    background: linear-gradient(180deg, #242424 0%, #000000 100%);
    color: var(--bg-white);
    border: 1.5px solid var(--royale-gold-accent);
}

.royale-tag-return .tag-gold-text {
    color: var(--royale-gold-accent);
    margin-right: 2px;
}

.royale-tag-prize {
    background: linear-gradient(180deg, #cba147 0%, #a07823 100%);
    color: #000000;
    border: none;
}

.royale-tag-limited {
    background: #b51a56;
    color: #000000;
    border: none;
}

/* 3. Price & Progress Box */
.royale-price-progress-box {
    width: 100%;
    background: #000000;
    border: 1px solid #c9a86a;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 14px;
    margin-bottom: 14px;
    box-shadow: 0 0 10px rgba(201, 168, 106, 0.15);
}

.royale-price-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.royale-box-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.royale-box-price-times {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    margin-right: 4px;
}

.royale-box-price-num {
    color: #ff2a7a;
    font-size: 16px;
    font-weight: 800;
}

.royale-box-price-unit {
    color: #ff2a7a;
    font-size: 12px;
    font-weight: 700;
}

.royale-box-price-dp {
    color: #c9a86a;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}

.royale-box-remain {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.royale-box-remain-label {
    color: #ffffff;
    font-size: 11px;
    margin-right: 2px;
}

.royale-box-remain-num {
    color: #ff2a7a;
    font-size: 15px;
    font-weight: 800;
}

.royale-box-remain-total {
    color: #ffffff;
    font-size: 11px;
}

.royale-custom-progress-track {
    width: 100%;
    height: 8px;
    background: #26222b;
    border: 1px solid #c9a86a;
    border-radius: 9999px;
    margin-top: 8px;
    overflow: hidden;
}

.royale-custom-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff2a7a 0%, #d60a58 100%);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* 4. CTA Buy Buttons */
.royale-gacha-buy-actions,
.gacha-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 14px !important;
}

.royale-gacha-buy-primary,
.gacha-buy-primary {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    padding-bottom: 8px;
}

.royale-gacha-buy-primary .button-buy,
.gacha-buy-primary .button-buy,
.royale-gacha-buy-grid .button-buy {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.royale-gacha-buy-thousand,
.gacha-buy-thousand {
    width: 100%;
}

.royale-gacha-buy-thousand .button-buy,
.gacha-buy-thousand .button-buy,
.royale-btn-buy-1000 {
    width: 100% !important;
}

/* Backward compatibility for any view using .royale-gacha-buy-grid */
.royale-gacha-buy-grid {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 8px;
}

.royale-gacha-buy-grid > .button-buy {
    flex: 1 1 0;
    min-width: 0;
}

.royale-gacha-buy-grid > .royale-btn-buy-1000 {
    flex: 1 1 100% !important;
    width: 100% !important;
}

.royale-btn-buy-cta {
    background: linear-gradient(180deg, #b01956 0%, #68052d 100%);
    border: 1.5px solid #e5c07b !important;
    border-radius: 8px;
    padding: 10px 4px;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(176, 25, 86, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.royale-btn-buy-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.royale-btn-buy-cta:active {
    transform: translateY(1px);
}

.royale-buy-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.royale-buy-unit {
    font-size: 11px;
    font-weight: 700;
}

.royale-buy-price {
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}


.royale-buy-deal-badge {
    position: absolute;
    bottom: -9px;
    background: linear-gradient(180deg, #ffe082 0%, #d49c24 100%);
    color: #3d2100;
    font-size: 11.5px;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .royale-buy-deal-badge {
        font-size: 10px;
        padding: 1.5px 7px;
        bottom: -8px;
    }
}

/* 5. Chibi Character & Speech Bubble */
.royale-character-speech-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.royale-chibi-container {
    width: 76px;
    flex-shrink: 0;
}

.royale-chibi-avatar {
    width: 100%;
    height: auto;
    display: block;
}

.royale-speech-bubble-container {
    flex: 1;
    background: #000000;
    border: 1.5px solid #c9a86a;
    border-radius: 8px;
    padding: 10px 14px;
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.royale-speech-bubble-container::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #c9a86a;
}

.royale-speech-bubble-container::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid #000000;
}

.royale-speech-bubble-text {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
}

.royale-replay-action {
    flex-shrink: 0;
}

.royale-btn-replay {
    background: linear-gradient(180deg, #1f1a14 0%, #000000 100%);
    border: 1.5px solid #c9a86a;
    color: #e5c07b;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.royale-btn-replay:hover {
    background: rgba(201, 168, 106, 0.2);
    color: #ffd700;
    border-color: #ffd700;
}

.royale-play-icon-box {
    width: 20px;
    height: 20px;
    border: 1.5px solid #e5c07b;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    flex-shrink: 0;
    box-shadow: inset 0 0 4px rgba(229, 192, 123, 0.2);
}

.royale-play-icon {
    width: 10px;
    height: 10px;
    color: #e5c07b;
    margin-left: 1.5px;
}

@media (max-width: 576px) {
    .royale-character-speech-row {
        gap: 8px;
        margin-top: 16px;
    }
    .royale-chibi-container {
        width: 58px;
    }
    .royale-speech-bubble-container {
        padding: 8px 10px;
        min-height: 42px;
    }
    .royale-speech-bubble-text {
        font-size: 11.5px;
    }
    .royale-btn-replay {
        padding: 8px 10px;
        font-size: 11px;
        gap: 4px;
    }
    .royale-play-icon-box {
        width: 16px;
        height: 16px;
        border-radius: 3px;
        border-width: 1px;
    }
    .royale-play-icon {
        width: 8px;
        height: 8px;
        margin-left: 1px;
    }
}

/* 6. Prize Lineup Section */
.royale-lineup-section {
    border: 1.5px solid #c9a86a;
    border-radius: 8px;
    background: #000000;
    padding: 12px;
    box-shadow: 0 0 15px rgba(201, 168, 106, 0.15);
}

.royale-lineup-title {
    color: #e5c07b;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.royale-lineup-grid {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

@media (min-width: 769px) {
    .royale-lineup-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        overflow-x: visible;
    }
}

.royale-prize-card-item {
    position: relative;
    flex: 0 0 calc(20% - 7px);
    min-width: 78px;
    max-width: 130px;
    scroll-snap-align: start;
    background: #000000;
    border: 1px solid #7c6843;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 769px) {
    .royale-prize-card-item {
        flex: none;
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}

.royale-prize-award-frame {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.royale-prize-card-box {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: #000000;
    overflow: hidden;
}

.royale-prize-card-box .card-gacha-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    border-radius: 0;
}

.royale-prize-card-box .card-quantity-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 3;
    padding: 2px 6px;
}

.royale-prize-card-box .card-gacha-img-psa10 {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60% !important;
    z-index: 3;
}

.royale-prize-card-box .card-gacha-img-black-case {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 24% !important;
    z-index: 3;
}

.royale-prize-card-box .card-gacha-img-ship-only {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 24% !important;
    z-index: 3;
}

.royale-prize-card-box .card-gacha-img-ship-only.has_bc {
    bottom: 26%;
    left: 2px;
    transform: none;
}

.royale-prize-card-box .winner-congrats-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

/* 7. Rate Table Section */
.royale-rate-section {
    border: 1.5px solid #c9a86a;
    border-radius: 8px;
    background: #000000;
    padding: 12px;
}

.royale-rate-title {
    color: #e5c07b;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.royale-rate-table-box {
    width: 100%;
}

.royale-rate-table {
    width: 100%;
    border-collapse: collapse;
}

.royale-rate-table th {
    border: 1px solid rgba(201, 168, 106, 0.35);
    background: #181420;
    color: #e5c07b;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.royale-rate-table td {
    border: 1px solid rgba(201, 168, 106, 0.25);
    color: #ffffff;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.royale-btn-view-rate {
    width: 100%;
    background: #131018;
    border: 1px solid #c9a86a;
    color: #ffffff;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.royale-btn-view-rate:hover {
    background: #251e2c;
    color: #ffd700;
    border-color: #ffd700;
}

@media (max-width: 576px) {
    .royale-lineup-title,
    .royale-rate-title {
        font-size: 14px;
    }
    .royale-rate-table th {
        font-size: 12px;
        padding: 6px 6px;
    }
    .royale-rate-table td {
        font-size: 12px;
        padding: 6px 6px;
    }
    .royale-btn-view-rate {
        font-size: 12px;
        padding: 8px 10px;
    }
}
.royale-point-outer-wrapper {
    max-width: 800px;
    width: 100%;
    background: var(--royale-bg-black);
    border: 1.5px solid var(--royale-gold-border);
    border-radius: 14px;
    padding: 24px 20px 24px 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.8);
    margin: 24px auto 50px;
}

.royale-point-header {
    text-align: left;
    padding-left: 2px;
    margin-bottom: 22px;
}

.royale-point-title {
    color: var(--royale-gold-title);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    line-height: 1.3;
}

.royale-point-subtitle {
    color: var(--bg-white);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.royale-point-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.royale-point-item-card {
    background: var(--royale-bg-black);
    border: 1.5px solid var(--royale-gold-border-dark);
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.royale-point-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.royale-point-coin-img {
    width: 48px;
    max-height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.royale-point-item-info {
    display: flex;
    align-items: center;
}

.royale-point-coin-text {
    color: var(--royale-gold-text);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.royale-point-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.royale-point-ribbon-badge {
    position: absolute;
    top: -1px;
    right: 132px;
    width: 66px;
    height: 68px;
    background: url('/royale/assets/frontend/images/point_ribbon_badge.png') no-repeat center top;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5px;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.royale-point-ribbon-badge .ribbon-percent {
    color: var(--bg-white);
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.royale-point-ribbon-badge .ribbon-label {
    color: var(--bg-white);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 1px;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.royale-point-cta-btn {
    background: var(--royale-ruby-btn-bg);
    border: 1.5px solid var(--royale-ruby-btn-border);
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    width: 112px;
    min-width: 112px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.royale-point-price-text {
    color: var(--bg-white);
    font-size: 17.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .royale-point-outer-wrapper {
        padding: 18px 12px 16px 12px;
        margin: 16px auto 30px;
        border-radius: 12px;
    }

    .royale-point-title {
        font-size: 18px;
    }

    .royale-point-subtitle {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .royale-point-item-card {
        padding: 10px 10px;
        min-height: 56px;
        gap: 6px;
    }

    .royale-point-item-left {
        gap: 8px;
    }

    .royale-point-coin-img {
        width: 36px;
        max-height: 32px;
    }

    .royale-point-coin-text {
        font-size: 14px;
    }

    .royale-point-item-right {
        gap: 6px;
    }

    .royale-point-ribbon-badge {
        top: -1px;
        right: 102px;
        width: 50px;
        height: 52px;
        padding-top: 3px;
    }

    .royale-point-ribbon-badge .ribbon-percent {
        font-size: 12.5px;
    }

    .royale-point-ribbon-badge .ribbon-label {
        font-size: 9px;
    }

    .royale-point-cta-btn {
        width: 88px;
        min-width: 88px;
        height: 38px;
        padding: 0 6px;
        border-radius: 6px;
    }

    .royale-point-price-text {
        font-size: 14px;
    }
}

.royale-checkout-outer-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 24px auto 5rem;
    padding: 22px 18px;
    background-color: var(--royale-bg-black);
    border: 1.5px solid var(--royale-gold-border);
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

.royale-checkout-section {
    margin-bottom: 20px;
}

.royale-checkout-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--royale-gold-title);
    margin-bottom: 10px;
    padding-left: 2px;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.royale-checkout-content-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: var(--royale-bg-black);
    border: 1px solid var(--royale-gold-border-dark);
    border-radius: 12px;
    padding: 20px 24px;
    min-height: 88px;
}

.royale-checkout-coin-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.royale-checkout-coin-icon {
    width: 60px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}

.royale-checkout-coin-text {
    color: var(--royale-gold-text);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
}

.royale-checkout-coin-unit {
    font-size: 17px;
    font-weight: 500;
    margin-left: 3px;
}

.royale-checkout-discount-badge {
    background: var(--royale-ruby-btn-bg);
    border: 1px solid var(--royale-ruby-btn-border);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 14px;
    margin-left: 6px;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.royale-checkout-price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.royale-checkout-normal-price {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
}

.royale-checkout-special-price {
    color: var(--royale-ruby-btn-border) !important;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.royale-checkout-special-amount {
    color: var(--royale-ruby-btn-border);
    font-size: 22px;
    font-weight: 700;
}

/* Payment Methods List */
.royale-checkout-methods-card {
    background-color: var(--royale-bg-black);
    border: 1px solid var(--royale-gold-border-dark);
    border-radius: 10px;
    overflow: hidden;
}

.royale-checkout-methods-card .section-payment {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(115, 93, 53, 0.45);
    border-radius: 0 !important;
    transition: background-color 0.2s;
    cursor: pointer;
}

.royale-checkout-methods-card .section-payment:last-child {
    border-bottom: none;
}

.royale-checkout-methods-card .section-payment:hover {
    background-color: rgba(222, 184, 112, 0.05) !important;
}

.royale-payment-row,
.royale-checkout-methods-card .section-payment > .d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px !important;
    gap: 12px;
    min-height: 58px;
}

.royale-radio-circle,
.royale-checkout-methods-card .checkbox-payment {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    border-radius: 50% !important;
    border: 1.5px solid var(--royale-gold-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    background: transparent !important;
    transition: all 0.2s;
}

.royale-radio-circle.bg-active-checkbox,
.royale-checkout-methods-card .checkbox-payment.bg-active-checkbox {
    border-color: var(--royale-gold-title) !important;
}

.royale-radio-circle div,
.royale-checkout-methods-card .checkbox-payment .wh_1rem {
    border-radius: 50% !important;
    transition: all 0.2s;
}

.royale-radio-circle.bg-active-checkbox div,
.royale-checkout-methods-card .checkbox-payment.bg-active-checkbox .wh_1rem {
    width: 10px !important;
    height: 10px !important;
    background-color: var(--royale-gold-title) !important;
}

.royale-radio-circle.bg-not-active-checkbox div,
.royale-checkout-methods-card .checkbox-payment.bg-not-active-checkbox .wh_1rem {
    width: 0 !important;
    height: 0 !important;
    background-color: transparent !important;
}

.royale-payment-name,
.royale-checkout-methods-card .text-base {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    flex: 1;
    margin: 0;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.royale-card-logos-wrapper,
.royale-checkout-methods-card .section-payment .d-flex.gap-1 {
    display: flex;
    align-items: center;
    gap: 6px;
}

.royale-card-badge,
.royale-checkout-methods-card .icon-credit-stripe {
    background: #ffffff !important;
    border-radius: 4px !important;
    height: 26px !important;
    min-width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 5px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.royale-card-badge img,
.royale-checkout-methods-card .icon-credit-stripe img {
    height: 16px !important;
    max-width: 32px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.royale-logo-badge-white,
.royale-checkout-methods-card [class*="w-["][class*="h-["] {
    background: #ffffff !important;
    border-radius: 4px !important;
    height: 26px !important;
    min-height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    width: auto !important;
}

.royale-logo-badge-white img,
.royale-checkout-methods-card [class*="w-["][class*="h-["] img {
    height: 18px !important;
    max-height: 18px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Stripe Dark Form */
.section-payment .content-payment,
.royale-checkout-methods-card .content-payment {
    background: #090807 !important;
    border-top: 1px solid rgba(115, 93, 53, 0.45);
    padding: 0 !important;
}

#card-element,
.section-payment #card-element,
.section-payment #card-element.bg-white {
    background: #090807 !important;
    background-color: #090807 !important;
    border: none !important;
    padding: 16px 18px 22px !important;
    color: var(--royale-gold-text) !important;
}

#card-element label,
#card-element .text_282828,
.royale-stripe-label {
    color: var(--royale-gold-text) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
}

#card-element input,
#card-element .input-card,
#card-element .bg_F9F9FA,
.royale-stripe-input {
    background: #14120f !important;
    background-color: #14120f !important;
    border: 1px solid var(--royale-gold-border-dark) !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

#card-element .input-card:-webkit-autofill,
#card-element .input-card:-webkit-autofill:hover,
#card-element .input-card:-webkit-autofill:focus,
#card-element input:-webkit-autofill,
#card-element input:-webkit-autofill:hover,
#card-element input:-webkit-autofill:focus,
.royale-stripe-input:-webkit-autofill,
.royale-stripe-input:-webkit-autofill:hover,
.royale-stripe-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #14120f inset !important;
    box-shadow: 0 0 0px 1000px #14120f inset !important;
    background-color: #14120f !important;
    caret-color: #ffffff !important;
}

#card-element .input-card:focus,
#card-element .input-card.border-active-checkbox,
#card-element .input-card.bg-white,
#card-element input.input-card:focus,
#card-element input.input-card.bg-white,
.royale-stripe-input:focus,
.royale-stripe-input.border-active-checkbox,
.royale-stripe-input.bg-white {
    background: #1a1712 !important;
    background-color: #1a1712 !important;
    border-color: var(--royale-gold-title) !important;
    box-shadow: 0 0 10px rgba(222, 184, 112, 0.3) !important;
    color: #ffffff !important;
    outline: none !important;
}

#card-element input::placeholder,
#card-element .input-card::placeholder,
.royale-stripe-input::placeholder {
    color: #ffffff !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
}

/* Summary Card */
.royale-checkout-summary-card {
    background-color: var(--royale-bg-black);
    border: 1px solid var(--royale-gold-border-dark);
    border-radius: 10px;
    padding: 20px 18px;
    margin-top: 20px;
}

.royale-checkout-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.royale-checkout-total-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

.royale-checkout-total-val {
    color: var(--royale-ruby-btn-border);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
}

.royale-checkout-btn-submit {
    width: 100%;
    height: 54px;
    background: var(--royale-ruby-btn-bg) !important;
    border: 1.5px solid var(--royale-ruby-btn-border) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.5px;
}

.royale-checkout-btn-submit:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 20px rgba(255, 102, 175, 0.45);
}

@media (max-width: 576px) {
    .royale-checkout-outer-wrapper {
        padding: 14px 10px;
        margin: 16px auto 4rem;
        border-radius: 12px;
    }
    .royale-checkout-content-card {
        padding: 12px 10px;
        gap: 8px;
        min-height: 66px;
    }
    .royale-checkout-coin-left {
        gap: 8px;
    }
    .royale-checkout-coin-icon {
        width: 44px;
        height: 42px;
    }
    .royale-checkout-coin-text {
        font-size: 16.5px;
    }
    .royale-checkout-coin-unit {
        font-size: 12px;
    }
    .royale-checkout-discount-badge {
        font-size: 11.5px;
        padding: 3px 9px;
        border-radius: 12px;
        margin-left: 0;
    }
    .royale-checkout-price-info {
        gap: 2px;
    }
    .royale-checkout-normal-price {
        font-size: 11.5px;
    }
    .royale-checkout-special-price {
        font-size: 13.5px;
    }
    .royale-checkout-special-amount {
        font-size: 15px;
    }
    .royale-payment-row {
        padding: 12px 10px;
        gap: 8px;
        min-height: 50px;
    }
    .royale-radio-circle {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }
    .royale-radio-circle.bg-active-checkbox div {
        width: 8px !important;
        height: 8px !important;
    }
    .royale-payment-name {
        font-size: 13.5px;
        white-space: nowrap;
    }
    .royale-card-logos-wrapper {
        gap: 4px;
    }
    .royale-card-badge {
        height: 20px;
        min-width: 30px;
        padding: 1px 4px;
    }
    .royale-card-badge img {
        height: 12px;
        max-width: 24px;
    }
    .royale-logo-badge-white {
        height: 20px;
        padding: 1px 6px;
    }
    .royale-logo-badge-white img {
        height: 14px;
    }
    .royale-stripe-form-wrap {
        padding: 12px 10px;
    }
    .royale-stripe-label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    .royale-stripe-input {
        padding: 9px 10px;
        font-size: 13.5px;
    }
    .royale-checkout-summary-card {
        padding: 16px 12px;
        margin-top: 14px;
    }
    .royale-checkout-total-title {
        font-size: 15px;
    }
    .royale-checkout-total-val {
        font-size: 24px;
    }
    .royale-checkout-btn-submit {
        height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .royale-checkout-coin-icon {
        width: 36px;
        height: 34px;
    }
    .royale-checkout-coin-text {
        font-size: 15px;
    }
    .royale-checkout-discount-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    .royale-payment-name {
        font-size: 12.5px;
    }
    .royale-card-badge {
        height: 18px;
        min-width: 26px;
        padding: 1px 3px;
    }
    .royale-card-badge img {
        height: 11px;
    }
}

#alert-message,
.royale-alert {
    max-width: 800px;
    width: calc(100% - 24px);
    margin: 20px auto 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    display: block;
}

@media (max-width: 576px) {
    #alert-message,
    .royale-alert {
        width: calc(100% - 16px);
        margin: 14px auto 0;
        font-size: 13px;
    }
}

.ranking-header {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.form-address.w-form-payment {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

.payment-info {
    background: var(--royale-bg-black, #000000);
    border: 1px solid var(--royale-gold-border-dark, #735d35);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.payment-info > div:first-child {
    border-bottom: 1px solid rgba(115, 93, 53, 0.45) !important;
    padding: 22px 26px;
}

.payment-info > div:last-child {
    padding: 20px 26px;
    background: rgba(222, 184, 112, 0.04);
}

.payment-info p,
.payment-info span {
    font-size: 15px;
    font-weight: 500;
}

.payment-info .title-payment {
    color: var(--royale-gold-text, #fedfa1);
}

.payment-info span[style*="color:#5f5f5f"] {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
}

.payment-info .text-red {
    color: var(--royale-ruby-btn-border, #ff66af);
}

.payment-info .text-red .title-payment {
    color: var(--royale-gold-title, #deb870);
    font-weight: 600;
}

.payment-info .text-red span:last-child {
    color: #ff66af;
    font-weight: 700;
    font-size: 18px;
}

.w-google {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.w-google .btn-inf {
    flex: 1;
    max-width: 200px;
    height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    outline: none;
}

.w-google .btn-inf:not(.btn-submit) {
    background: linear-gradient(180deg, #2a2520 0%, #15120e 100%);
    border: 1px solid var(--royale-gold-border-dark, #735d35);
    color: #d0c0a5;
}

.w-google .btn-inf:not(.btn-submit):hover {
    background: #352f28;
    color: #ffffff;
    border-color: var(--royale-gold-border, #a48245);
}

.w-google .btn-inf.btn-submit {
    background: var(--royale-ruby-btn-bg, linear-gradient(180deg, #b4214c 0%, #7c0d32 50%, #4e011e 100%));
    border: 1px solid var(--royale-ruby-btn-border, #ff66af);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(180, 33, 76, 0.45);
}

.w-google .btn-inf.btn-submit:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    color: #ffffff;
}

@media (max-width: 576px) {
    .ranking-header {
        font-size: 19px;
        margin-bottom: 18px;
    }
    .payment-info > div:first-child {
        padding: 16px 16px;
    }
    .payment-info > div:last-child {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .payment-info p,
    .payment-info span {
        font-size: 13.5px;
    }
    .payment-info span[style*="color:#5f5f5f"] {
        font-size: 14.5px;
    }
    .payment-info .text-red span:last-child {
        font-size: 16px;
    }
    .w-google .btn-inf {
        height: 44px;
        font-size: 15px;
        max-width: 160px;
    }
}

.info-payment-success {
    background: var(--royale-bg-black, #000000);
    border: 1px solid var(--royale-gold-border-dark, #735d35);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85);
    max-width: 620px;
    width: 100%;
    padding: 36px 32px;
    text-align: center;
}

.info-payment-success span {
    color: var(--royale-gold-text, #fedfa1);
    font-size: 18px;
    font-weight: 600;
}

.title-result-payment {
    color: var(--royale-gold-title, #deb870);
    font-size: 32px;
    font-weight: 700;
    margin-top: 6px;
    text-shadow: 0 0 14px rgba(222, 184, 112, 0.3);
}

.title-result-payment i {
    margin-right: 4px;
}

.icon-payment-success {
    font-size: 80px;
    color: #deb870;
    padding: 24px 0;
    filter: drop-shadow(0 0 15px rgba(222, 184, 112, 0.45));
}

.icon-payment-fail {
    font-size: 80px;
    color: #ff66af;
    padding: 24px 0;
    filter: drop-shadow(0 0 15px rgba(255, 102, 175, 0.45));
}

.price-info-payment {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.text-payment-info {
    color: var(--royale-gold-text, #fedfa1);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
}

.btn-point {
    max-width: 280px;
    width: 100%;
    height: 48px;
    padding: 0;
    background: var(--royale-ruby-btn-bg, linear-gradient(180deg, #b4214c 0%, #7c0d32 50%, #4e011e 100%));
    border: 1px solid var(--royale-ruby-btn-border, #ff66af);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(180, 33, 76, 0.45);
    margin: 32px auto 0;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.btn-point:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.btn-point a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

@media (max-width: 576px) {
    .info-payment-success {
        padding: 24px 16px;
        max-width: calc(100% - 24px);
        margin: 0 auto;
    }
    .icon-payment-success,
    .icon-payment-fail {
        font-size: 64px;
        padding: 16px 0;
    }
    .price-info-payment {
        font-size: 20px;
        margin-bottom: 14px;
    }
    .title-result-payment {
        font-size: 24px;
    }
    .text-payment-info {
        font-size: 13.5px;
    }
    .btn-point {
        height: 44px;
        max-width: 240px;
        margin-top: 24px;
    }
    .btn-point a {
        font-size: 15px;
    }
}

/* ===== Royale Gacha Result Page CSS ===== */
.royale-result-page {
    min-height: calc(100vh - 60px);
    background-color: #000000;
    background-image: url('/royale/assets/frontend/images/bg_result_logo.png');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    padding: 24px 0 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.royale-result-inner {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 8px 245px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 auto;
    min-height: auto;
    box-sizing: border-box;
}

/* Card Grid (Centered, 4 columns for multi, larger centered for single) */
.royale-result-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

@media (max-width: 380px) {
    .royale-result-grid {
        gap: 6px;
    }
}

/* Individual Card */
.royale-result-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 241 / 339;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    background-color: #0b0b0e !important;
    box-sizing: border-box;
    transition: filter 0.2s ease;
    filter: brightness(0.55);
    opacity: 1;
}

.royale-result-card.selected {
    filter: brightness(1);
    opacity: 1;
    z-index: 15;
}

/* When only 1 card, scale up to match spec */
.royale-result-card:only-child,
.royale-result-grid:has(.royale-result-card:only-child) .royale-result-card {
    grid-column: 1 / -1;
    width: 170px;
    max-width: 55%;
    min-width: 140px;
    margin: 20px auto;
}

.royale-card-img {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    object-fit: cover;
    border-radius: 3px;
    z-index: 1;
}

.royale-card-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    z-index: 2;
}

.royale-rarity-badge,
.royale-result-card .royale-card-badge {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 44% !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
    z-index: 4 !important;
    display: block !important;
}

.royale-card-selected-overlay {
    display: none !important;
}

/* PSA10 Badge (Bottom Center) */
.royale-card-psa10 {
    position: absolute;
    bottom: 3px !important;
    left: 50% !important;
    top: auto !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 58% !important;
    max-width: 65% !important;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 5 !important;
    display: block;
}

/* Extra Badges at Bottom-Left Corner (Black Case, Ship Only) */
.royale-card-bottom-badges {
    position: absolute;
    bottom: 3px !important;
    left: 3px !important;
    width: 22% !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 2px !important;
    z-index: 4 !important;
    pointer-events: none;
}

.royale-card-black-case,
.royale-card-ship-only {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    display: block;
}

@media (max-width: 768px) {
    .royale-card-psa10 {
        width: 48% !important;
        bottom: 2px !important;
    }
    .royale-card-bottom-badges {
        width: 18% !important;
        left: 2px !important;
        bottom: 2px !important;
    }
}

/* STICKY FOOTER SECTION */
.royale-result-sticky-footer {
    position: fixed;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to top, #000000 85%, rgba(0, 0, 0, 0.92) 92%, rgba(0, 0, 0, 0) 100%);
    padding: 10px 0 16px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.royale-result-footer-inner {
    width: 100%;
    max-width: 480px;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Note Text */
.royale-result-note {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 12px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    width: 100%;
}

@media (max-width: 480px) {
    .royale-result-note {
        font-size: 11px;
        margin: 0 0 10px;
    }
}

/* Buttons Section */
.royale-result-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.royale-btn-again-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.royale-btn-again {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px !important;
    aspect-ratio: unset !important;
    background-image: url('/royale/assets/frontend/images/btn_gacha_again.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: none !important;
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.royale-btn-again:hover {
    color: #ffffff !important;
}

@media (max-width: 480px) {
    .royale-btn-again {
        height: 44px !important;
        font-size: 15px;
    }
}

.royale-dual-actions {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.royale-btn-action {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 54px !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    aspect-ratio: unset !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.royale-btn-action.royale-btn-exchange,
.royale-btn-action.royale-btn-point,
.royale-btn-action.btn-point {
    background-image: url('/royale/assets/frontend/images/btn_point_exchange.png') !important;
}

.royale-btn-action.royale-btn-shipping,
.royale-btn-action.royale-btn-ship,
.royale-btn-action.btn-ship {
    background-image: url('/royale/assets/frontend/images/btn_shipping.png') !important;
}

.royale-btn-action .royale-btn-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    user-select: none !important;
}

.royale-btn-action.royale-btn-exchange .royale-btn-label,
.royale-btn-action.royale-btn-point .royale-btn-label,
.royale-btn-action.btn-point .royale-btn-label {
    padding-left: 28% !important; /* Offset right of the (P) circle icon */
    padding-right: 4% !important;
}

.royale-btn-action.royale-btn-shipping .royale-btn-label,
.royale-btn-action.royale-btn-ship .royale-btn-label,
.royale-btn-action.btn-ship .royale-btn-label {
    padding-left: 24% !important; /* Offset right of the box icon */
    padding-right: 4% !important;
}

.royale-btn-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

@media (max-width: 480px) {
    .royale-btn-action {
        height: 50px !important;
    }
}

@media (max-width: 420px) {
    .royale-btn-action .royale-btn-label {
        font-size: 13px !important;
    }
}

.royale-ship-count-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    background-image: url('/royale/assets/frontend/images/badge_notification.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    border: none;
    box-shadow: none;
}

/* ===== Desktop / Tablet Responsive (min-width: 768px) ===== */
@media (min-width: 768px) {
    .royale-result-page {
        background-size: 700px auto;
        padding: 24px 0 0 !important;
    }

    .royale-result-inner {
        max-width: 560px;
        padding: 0 16px 190px;
    }

    .royale-result-grid {
        gap: 10px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .royale-result-card {
        border-radius: 5px;
    }

    .royale-result-card:only-child,
    .royale-result-grid:has(.royale-result-card:only-child) .royale-result-card {
        width: 190px;
        max-width: 210px;
    }

    .royale-result-sticky-footer {
        bottom: 0;
        padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .royale-result-footer-inner {
        max-width: 560px;
        padding: 0 16px;
    }

    .royale-result-note {
        font-size: 13px !important;
        margin: 0 0 12px !important;
    }

    .royale-result-actions {
        gap: 12px;
    }

    .royale-dual-actions {
        gap: 12px !important;
    }

    .royale-btn-again {
        height: 52px !important;
        font-size: 18px !important;
    }

    .royale-btn-action {
        height: 58px !important;
    }

    .royale-btn-action .royale-btn-label {
        font-size: 16px !important;
    }

    .royale-ship-count-badge {
        min-width: 26px;
        height: 26px;
        font-size: 12px;
        top: -7px;
        right: -5px;
    }
}

/* ===== Royale Acquired Products Page (⑤ & ④⑤共通) ===== */
.royale-acquired-page {
    min-height: calc(100vh - 120px);
    background-color: transparent !important;
    background-image: url('/royale/assets/frontend/images/bg_result_logo.png');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    padding: 8px 0 calc(160px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .royale-acquired-page {
        padding: 12px 0 150px !important;
        background-size: 1200px auto;
    }
}

.royale-acquired-inner {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: transparent !important;
    background-color: transparent !important;
}

@media (max-width: 768px) {
    .royale-acquired-inner {
        max-width: 480px;
    }
}

@media (min-width: 769px) {
    .royale-acquired-inner {
        max-width: 100%;
    }
}

/* Title Banner */
.royale-acquired-banner-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 14px;
    margin-bottom: 14px;
}

.royale-acquired-title-banner {
    background-image: url('/royale/assets/frontend/images/title_acquired_prizes.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 190px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px 0 8px;
    box-sizing: border-box;
}

.royale-acquired-title-banner span {
    color: #1a1a1a;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.4);
}

@media (min-width: 992px) {
    .royale-acquired-title-banner {
        width: 250px;
        height: 42px;
        padding: 0 18px 0 12px;
    }
    .royale-acquired-title-banner span {
        font-size: 17px;
    }
}

/* Controls Bar */
.royale-acquired-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 8px;
    box-sizing: border-box;
}

.royale-controls-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.royale-btn-select-all {
    background-image: url('/royale/assets/frontend/images/btn_select_all.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    width: 110px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8px 0 10px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.royale-btn-select-all:active {
    transform: scale(0.97);
}

.royale-select-all-box {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.royale-select-all-check {
    color: #e5a93c;
    font-size: 13px;
    font-weight: 900;
}

.royale-select-all-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.royale-btn-sort {
    background-image: url('/royale/assets/frontend/images/sort_select_btn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    width: 118px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px 0 10px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.royale-btn-sort:active {
    transform: scale(0.97);
}

.royale-sort-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.royale-controls-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    line-height: 1.35;
    white-space: nowrap;
}

.royale-stat-line {
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.royale-stat-val {
    color: #ff007a;
    font-weight: 800;
    font-size: 12px;
}

@media (min-width: 992px) {
    .royale-btn-select-all {
        width: 130px;
        height: 42px;
        padding: 0 10px 0 12px;
    }
    .royale-select-all-text {
        font-size: 13px;
    }
    .royale-btn-sort {
        width: 140px;
        height: 42px;
        padding: 0 28px 0 12px;
    }
    .royale-sort-text {
        font-size: 13px;
    }
    .royale-stat-line {
        font-size: 13px;
    }
    .royale-stat-val {
        font-size: 15px;
    }
}

/* Card Grid */
.royale-acquired-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    box-sizing: border-box;
    margin-bottom: 24px;
}

@media (max-width: 380px) {
    .royale-acquired-grid {
        gap: 6px;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .royale-acquired-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .royale-acquired-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
}

@media (min-width: 992px) {
    .royale-acquired-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
}

/* Card Item */
.royale-acquired-card {
    position: relative;
    z-index: 10;
    width: 100%;
    aspect-ratio: 241 / 339;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    background-color: transparent !important;
    background: transparent !important;
    box-sizing: border-box;
    transition: box-shadow 0.15s ease;
}

.royale-acquired-card.selected {
    box-shadow: 0 0 0 2px #ff007a, 0 0 10px rgba(255, 0, 122, 0.7);
    z-index: 15;
}

.royale-acquired-card .royale-card-img {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    object-fit: cover;
    border-radius: 3px;
    z-index: 1;
    background: transparent !important;
}

.royale-acquired-card .royale-card-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    z-index: 2;
    background: transparent !important;
}

.royale-acquired-card .royale-rarity-badge {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 44% !important;
    height: auto !important;
    pointer-events: none !important;
    z-index: 4 !important;
    display: block !important;
}

.royale-acquired-card .royale-card-new-badge {
    position: absolute;
    top: 2px;
    left: 42%;
    width: 32%;
    height: auto;
    pointer-events: none;
    z-index: 4;
    display: block;
}

.royale-acquired-card .royale-card-check {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    object-fit: contain;
    pointer-events: none;
    z-index: 6;
    display: none;
}

.royale-acquired-card.selected .royale-card-check {
    display: block;
}

@media (min-width: 992px) {
    .royale-acquired-card .royale-card-check {
        width: 26px;
        height: 26px;
        top: 4px;
        right: 4px;
    }
}

/* Empty State */
.royale-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #a0a0a0;
    font-size: 15px;
}

/* Sticky Footer */
.royale-acquired-sticky-footer {
    position: fixed;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to top, #000000 85%, rgba(0, 0, 0, 0.94) 94%, rgba(0, 0, 0, 0) 100%);
    padding: 8px 0 12px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 1034px) {
    .royale-acquired-sticky-footer {
        bottom: 0;
        padding: 10px 0 16px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
}

.royale-acquired-footer-inner {
    width: 100%;
    max-width: 480px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .royale-acquired-footer-inner {
        max-width: 560px;
        padding: 0 16px;
    }
}

.royale-footer-clear-row {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.royale-btn-clear-select {
    background-image: url('/royale/assets/frontend/images/btn_clear_select.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    width: 120px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.royale-btn-clear-select span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.royale-btn-clear-select:active {
    transform: scale(0.96);
}

.royale-footer-actions-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.royale-action-btn {
    flex: 1;
    height: 48px;
    border: none;
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
    padding: 0 10px 0 38px;
    box-sizing: border-box;
}

.royale-action-btn:active {
    transform: scale(0.97);
}

.royale-action-btn:disabled,
.royale-action-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.5);
}

.royale-btn-point {
    background-image: url('/royale/assets/frontend/images/btn_point_exchange.png');
}

.royale-btn-shipping {
    background-image: url('/royale/assets/frontend/images/btn_shipping.png');
}

.royale-action-btn-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

@media (min-width: 992px) {
    .royale-action-btn {
        height: 56px;
        padding: 0 16px 0 44px;
    }
    .royale-action-btn-text {
        font-size: 17px;
    }
}

.royale-footer-note {
    color: #a0a0a0;
    font-size: 11px;
    text-align: center;
    margin: 6px 0 0;
}

/* Sort Modal Royale Theme */
.modal-content-sort-royale {
    background: #141416 !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}

.modal-content-sort-royale .sort-header-modal {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 16px !important;
}

.modal-content-sort-royale .sort-option-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.modal-content-sort-royale .sort-option-item span {
    color: #ffffff !important;
    font-size: 14px !important;
}

.modal-content-sort-royale .sort-option-item:hover {
    background: rgba(212, 175, 55, 0.1) !important;
}

.modal-content-sort-royale .sort-option-item.active {
    color: #e5a93c !important;
    font-weight: 700 !important;
}

.modal-content-sort-royale .sort-option-item.active span:first-child {
    color: #e5a93c !important;
    font-weight: 700 !important;
}

.modal-content-sort-royale .sort-option-item .sort-indicator {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    border: 1.5px solid #888 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
}

.modal-content-sort-royale .sort-option-item.active .sort-indicator {
    border-color: #e5a93c !important;
    background-color: #e5a93c !important;
}

/* ===== Royale Inventory Pages Unified Dark Theme ===== */
.product-action {
    color: #ffffff;
}

.product-action p {
    color: #e0e0e0;
}

/* Point Exchange Cards */
.item-accquired-row {
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.item-accquired-row:hover {
    border-color: rgba(229, 169, 60, 0.5) !important;
}

.item-accquired-row .point-p-over-text {
    color: #ffffff !important;
}

.item-accquired-row .pt-only-over-text {
    color: #e5a93c !important;
}

/* Shipping / Wait / Sent / Canceled Order Containers */
.order-item {
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 16px !important;
}

.order-header-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    width: 100%;
}

.order-header-item h6 {
    color: #ffffff !important;
    font-size: 14px;
}

.order-item .order-code {
    background: #2a2a2a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #e5a93c !important;
    font-size: 13px;
}

.item-card-game .card {
    background: #1c1c1c !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
}

.item-card-game .card .card-text {
    color: #d0d0d0 !important;
}

.item-card-game .card h6.card-text {
    color: #ffffff !important;
    font-weight: 600;
}

.item-card-game .card .p-rarity {
    color: #e5a93c !important;
    font-weight: 700;
}

@media screen and (max-width: 397px) {
    .p-rarity {
        padding: 2px 20px !important;
    }
}

/* Checkbox select all and buttons in point exchange */
.checkbox-select-all label {
    color: #ffffff !important;
}

.product-action button.btn-convert {
    background: linear-gradient(135deg, #f3be20 0%, #c99310 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(243, 190, 32, 0.3) !important;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.product-action button.btn-convert:active {
    transform: scale(0.98);
}

.product-action button.btn-convert[disabled] {
    background: #333333 !important;
    color: #777777 !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

/* ========================================================
   Royale Prize History (/prize-history)
   ======================================================== */
.royale-prize-history-wrapper {
    padding: 14px 12px 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Segmented Tab Filter */
.royale-prize-filter-tabs {
    display: flex;
    width: 100%;
    border: 1px solid #9e792f;
    border-radius: 8px;
    background-color: #000000;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.royale-prize-filter-tab {
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-right: 1px solid #9e792f;
    color: #f1e0c5;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    outline: none;
    user-select: none;
}

.royale-prize-filter-tab:last-child {
    border-right: none;
}

.royale-prize-filter-tab.active {
    background: linear-gradient(180deg, #b0005a 0%, #7d003f 100%) !important;
    color: #ffffff !important;
}

/* Prize List */
.royale-prize-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.royale-prize-card {
    display: flex;
    align-items: center;
    background: #000000;
    border: 1px solid #9e792f;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
}

/* Thumbnail */
.royale-prize-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royale-prize-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.royale-prize-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.royale-prize-placeholder-img span {
    color: #e60012;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Card Info */
.royale-prize-info {
    flex: 1;
    margin-left: 14px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.royale-prize-row-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    min-width: 0;
}

.royale-prize-badge-img {
    height: 22px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.royale-prize-card-title {
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.royale-prize-username {
    color: #bda88e;
    font-size: 12.5px;
    font-weight: 400;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.royale-prize-date {
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Chevron */
.royale-prize-chevron {
    flex-shrink: 0;
    padding-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royale-prize-chevron svg {
    display: block;
}

/* Pagination inside royale-prize-list */
.royale-prize-list .pagination {
    margin-bottom: 0;
    gap: 6px;
    justify-content: center;
    background: transparent !important;
}

.royale-prize-list .page-item,
.royale-prize-list .page-item.disabled,
.royale-prize-list .page-item.active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.royale-prize-list .page-link {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #e5cfad !important;
    border: 1px solid #7a602c !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    box-shadow: none !important;
    outline: none !important;
}

.royale-prize-list .page-item.active .page-link {
    background: linear-gradient(180deg, #b0005a 0%, #7d003f 100%) !important;
    background-color: #b0005a !important;
    border-color: #b0005a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.royale-prize-list .page-item.disabled .page-link {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #555555 !important;
    border-color: #333333 !important;
    box-shadow: none !important;
}

.royale-prize-list .page-link:focus,
.royale-prize-list .page-link:active,
.royale-prize-list .page-link:hover {
    box-shadow: none !important;
    outline: none !important;
}

/* ========================================================
   Royale Notifications (/contact-box & /notification)
   ======================================================== */
.royale-notification-wrapper {
    padding: 14px 12px 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Segmented Tabs */
.royale-notif-tabs {
    display: flex;
    width: 100%;
    border: 1px solid #9e792f;
    border-radius: 8px;
    background-color: #000000;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.royale-notif-tab {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-right: 1px solid #9e792f;
    color: #f1e0c5;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    user-select: none;
}

.royale-notif-tab:last-child {
    border-right: none;
}

.royale-notif-tab.active {
    background: linear-gradient(180deg, #b0005a 0%, #7d003f 100%) !important;
    color: #ffffff !important;
}

/* Card List */
.royale-notif-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.royale-notif-card {
    display: flex;
    align-items: center;
    background: #000000;
    border: 1px solid #9e792f;
    border-radius: 10px;
    padding: 14px 16px;
    box-sizing: border-box;
    text-decoration: none;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

/* Icon */
.royale-notif-icon-wrap {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royale-notif-icon {
    width: 36px;
    height: 36px;
    display: block;
}

/* Content */
.royale-notif-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.royale-notif-title {
    color: #f0d8a8;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.royale-notif-desc {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    word-break: break-word;
}

.royale-notif-highlight {
    color: #ff2b75;
    font-weight: 700;
}

/* Time */
.royale-notif-time {
    flex-shrink: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
    align-self: center;
}

/* Unread tag */
.royale-notif-unread-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 2rem;
    background: #e60012;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.royale-notif-unread-badge span {
    position: absolute;
    top: 2px;
    right: 2px;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    transform: rotate(45deg);
}

/* Pagination inside royale-notif-list */
.royale-notif-list .pagination {
    margin-bottom: 0;
    gap: 6px;
    justify-content: center;
    background: transparent !important;
}

.royale-notif-list .page-item,
.royale-notif-list .page-item.disabled,
.royale-notif-list .page-item.active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.royale-notif-list .page-link {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #e5cfad !important;
    border: 1px solid #7a602c !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    box-shadow: none !important;
    outline: none !important;
}

.royale-notif-list .page-item.active .page-link {
    background: linear-gradient(180deg, #b0005a 0%, #7d003f 100%) !important;
    background-color: #b0005a !important;
    border-color: #b0005a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.royale-notif-list .page-item.disabled .page-link {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #555555 !important;
    border-color: #333333 !important;
    box-shadow: none !important;
}

.royale-notif-list .page-link:focus,
.royale-notif-list .page-link:active,
.royale-notif-list .page-link:hover {
    box-shadow: none !important;
    outline: none !important;
}

/* ==========================================================================
   ROYALE USER SUBPAGES (Address, Coupon, Favorites, Contact, etc.)
   ========================================================================== */

.royale-user-page-wrapper {
    max-width: 580px;
    margin: 0 auto;
    padding: 24px 16px 80px;
    width: 100%;
    box-sizing: border-box;
}

.royale-back-btn {
    background: transparent !important;
    border: 1px solid #7a602c !important;
    color: #f0d8a8 !important;
    border-radius: 8px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: none !important;
    text-decoration: none !important;
}

.royale-back-btn:hover,
.royale-back-btn:focus,
.royale-back-btn:active {
    background: rgba(122, 96, 44, 0.25) !important;
    border-color: #d4af37 !important;
    color: #ffffff !important;
    transform: none !important;
}

.royale-page-header {
    margin-bottom: 20px;
}

.royale-page-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #f0d8a8 !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #382c16;
    padding-bottom: 14px;
}

.royale-form-card {
    background: #000000 !important;
    border: 1px solid #7a602c !important;
    border-radius: 12px !important;
    padding: 24px 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.royale-user-page-wrapper .form-address,
.royale-form-card .form-address {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.royale-user-page-wrapper .css-profile-user-title,
.royale-form-card .css-profile-user-title {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    border: none !important;
}

.royale-user-page-wrapper .css-profile-user-info-table-container,
.royale-form-card .css-profile-user-info-table-container {
    width: 100% !important;
    gap: 16px !important;
    display: flex !important;
    flex-direction: column !important;
}

.royale-user-page-wrapper .css-profile-user-name-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

.royale-user-page-wrapper .css-profile-user-txt-container {
    flex: 1 !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

@media only screen and (max-width: 504px) {
    .royale-user-page-wrapper .css-profile-user-name-container {
        flex-direction: row !important;
        gap: 10px !important;
    }
}

/* Form Inputs & Selects */
.royale-user-page-wrapper .profile-user-input,
.profile-user-input {
    background: #111111 !important;
    border: 1px solid #7a602c !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 44px !important;
    box-sizing: border-box;
    transition: none !important;
}

.royale-user-page-wrapper .profile-user-input:focus,
.profile-user-input:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.35) !important;
}

.royale-user-page-wrapper .profile-user-input:disabled,
.profile-user-input:disabled {
    background: #181818 !important;
    border-color: #383838 !important;
    color: #777777 !important;
    cursor: not-allowed !important;
}

.royale-user-page-wrapper select.profile-user-input,
select.profile-user-input {
    background: #111111 !important;
    color: #ffffff !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

.royale-user-page-wrapper select.profile-user-input option,
select.profile-user-input option {
    background: #111111;
    color: #ffffff;
}

.royale-user-page-wrapper .pro-user-label,
.pro-user-label {
    color: #e5cfad !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    margin-bottom: 6px !important;
    display: block;
}

/* Royale Gold Buttons */
.btn-royale-submit,
.btn-inf.btn-royale-submit {
    background: linear-gradient(135deg, #f3be20 0%, #c99310 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 36px !important;
    min-width: 220px;
    height: 46px;
    cursor: pointer;
    transition: none !important;
    box-shadow: 0 4px 16px rgba(201, 147, 16, 0.25) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-royale-submit:hover,
.btn-inf.btn-royale-submit:hover,
.btn-royale-submit:focus,
.btn-royale-submit:active {
    transform: none !important;
    opacity: 0.95;
    box-shadow: 0 4px 16px rgba(201, 147, 16, 0.25) !important;
    color: #000000 !important;
}

/* Avatar Card & Sheet in Dark Theme */
.avatar-edit-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(122, 96, 44, 0.35) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin-top: 4px;
    width: 100% !important;
    box-sizing: border-box;
    transition: none !important;
}

.avatar-edit-box:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    transform: none !important;
}

.avatar-edit-box .avatar-img-wrapper {
    border: 2px solid #b38838 !important;
    box-shadow: 0 0 10px rgba(179, 136, 56, 0.3) !important;
    background-color: #1a1a1a !important;
}

.avatar-edit-box .avatar-edit-title {
    color: #f0d8a8 !important;
    font-weight: 600 !important;
}

.avatar-edit-box .avatar-edit-subtitle {
    color: #888888 !important;
}

.avatar-modal-card {
    background: #111111 !important;
    border: 1px solid #7a602c !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.8) !important;
}

.avatar-modal-option {
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    transition: none !important;
}

.avatar-modal-option:hover,
.avatar-modal-option:active {
    background: #1c1c1c !important;
}

.avatar-modal-option .avatar-option-icon {
    color: #f0d8a8 !important;
}

.avatar-modal-divider {
    background-color: #222222 !important;
}

.avatar-modal-cancel {
    background: #141414 !important;
    color: #e5cfad !important;
    font-weight: 600 !important;
    border: none !important;
    transition: none !important;
}

.avatar-modal-cancel:hover {
    background: #1f1f1f !important;
}

/* Coupon Page */
.royale-coupon-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    margin-bottom: 8px;
    height: 44px;
}

.royale-coupon-input {
    flex: 1;
    height: 44px !important;
}

.royale-coupon-btn {
    background: linear-gradient(135deg, #f3be20 0%, #c99310 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 24px !important;
    height: 44px !important;
    min-width: 110px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.royale-coupon-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201, 147, 16, 0.35);
}

.royale-coupon-notice {
    color: #c99310 !important;
    font-size: 13px !important;
}

.royale-coupon-table-wrap {
    border: 1px solid #7a602c !important;
    border-radius: 10px !important;
    overflow: hidden;
    background: #000000 !important;
    width: 100%;
    overflow-x: auto;
}

.royale-coupon-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.royale-table-head {
    background: #141414 !important;
    border-bottom: 2px solid #7a602c !important;
}

.royale-table-head th {
    color: #f0d8a8 !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    font-size: 13.5px !important;
    white-space: nowrap;
    text-align: center;
}

.royale-coupon-row-active {
    background: #000000 !important;
    color: #ffffff !important;
    border-bottom: 1px solid #1f1f1f !important;
}

.royale-coupon-row-used {
    background: #0a0a0a !important;
    color: #888888 !important;
    border-bottom: 1px solid #1a1a1a !important;
}

.royale-coupon-table td {
    padding: 12px 14px !important;
    font-size: 13px !important;
    vertical-align: middle;
    text-align: center;
}

.royale-coupon-modal-close-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(243, 190, 32, 0.45) !important;
}

/* Favorites Page */
.royale-fav-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 16px !important;
    width: 100%;
}

.royale-fav-card {
    background: #000000 !important;
    border: 1px solid #7a602c !important;
    border-radius: 12px !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: row !important;
    padding: 12px !important;
    gap: 12px !important;
    align-items: center !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.2s, border-color 0.2s;
    height: auto !important;
}

.royale-fav-card:hover {
    border-color: #d4af37 !important;
}

.royale-fav-img-wrap {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    height: 120px !important;
    border-radius: 8px !important;
    overflow: hidden;
    border: 1px solid #443216 !important;
    background: #111111 !important;
    padding: 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royale-fav-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.royale-fav-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.royale-fav-name {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.royale-fav-rarity {
    color: #f0d8a8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.royale-fav-stats {
    margin: 4px 0 !important;
    font-size: 12px !important;
}

.royale-fav-rest {
    color: #888888 !important;
    font-size: 12px !important;
}

.royale-fav-point {
    color: #f3be20 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.royale-fav-exchange-btn {
    background: linear-gradient(135deg, #f3be20 0%, #c99310 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    width: 100% !important;
    margin: 4px 0 0 0 !important;
    cursor: pointer !important;
    height: 34px !important;
}

.royale-fav-exchange-btn:hover {
    opacity: 0.95;
    box-shadow: 0 2px 10px rgba(201, 147, 16, 0.35);
}

.royale-fav-soldout {
    background: #222222 !important;
    color: #666666 !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    width: 100% !important;
    margin: 4px 0 0 0 !important;
    cursor: not-allowed !important;
    height: 34px !important;
}

/* Alerts */
.royale-alert {
    border-radius: 10px !important;
    border: 1px solid #7a602c !important;
    background: #141414 !important;
    color: #f0d8a8 !important;
    padding: 12px 18px !important;
    font-size: 14px;
}

.alert-success.royale-alert {
    border-color: #28a745 !important;
    background: rgba(40, 167, 69, 0.15) !important;
    color: #5dd677 !important;
}

.alert-danger.royale-alert {
    border-color: #e60012 !important;
    background: rgba(230, 0, 18, 0.15) !important;
    color: #ff6b6b !important;
}

/* Modals */
.royale-modal-content {
    background: #0e0e0e !important;
    border: 1px solid #7a602c !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95) !important;
    color: #ffffff !important;
}

.royale-modal-content p,
.royale-modal-content span,
.royale-modal-content div,
.royale-modal-content h1,
.royale-modal-content h2,
.royale-modal-content h3,
.royale-modal-content h4,
.royale-modal-content h5,
.royale-modal-content h6,
.royale-modal-content label {
    color: #e5cfad;
}

.royale-modal-content .royale-modal-text-box p {
    color: #e8e8e8 !important;
}

@media only screen and (max-width: 576px) {
    .royale-user-page-wrapper {
        padding: 16px 12px 80px;
    }

    .royale-form-card {
        padding: 20px 16px;
    }

    .royale-page-title {
        font-size: 18px !important;
    }

    .royale-fav-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Royale MyPage Screen (Matching Mobile Design Specification)
   ========================================================================== */
.royale-mypage-page {
    min-height: calc(100vh - 120px);
    background: #000000 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.royale-mypage-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    box-sizing: border-box;
}

/* 1. Referral Code Box */
.royale-mypage-ref-card {
    position: relative;
    background: #000000;
    border: 1px solid #7a602c;
    border-radius: 10px;
    padding: 18px 24px;
    text-align: center;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.royale-mypage-ref-text-group {
    width: 100%;
    text-align: center;
}

.royale-mypage-ref-header {
    font-size: 13px;
    color: #c5b392;
    line-height: 1.3;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.royale-mypage-ref-code {
    font-size: 26px;
    font-weight: 700;
    color: #e5cfad;
    line-height: 1.2;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-family: inherit;
}

.royale-mypage-ref-desc {
    font-size: 11px;
    color: #a8977c;
    line-height: 1.2;
}

.royale-mypage-copy-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) !important;
    background: #1c1b18;
    border: 1px solid #544426;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    cursor: pointer;
    transition: none !important;
    outline: none !important;
}

.royale-mypage-copy-btn:hover,
.royale-mypage-copy-btn:focus,
.royale-mypage-copy-btn:active {
    background: #1c1b18 !important;
    color: #ffffff !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 2. Menu Boxes */
.royale-mypage-box {
    background: #000000;
    border: 1px solid #7a602c;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.royale-mypage-box-title {
    font-size: 14px;
    font-weight: 600;
    color: #c5b392;
    padding: 12px 18px;
    border-bottom: 1px solid #544426;
    background: #000000;
    line-height: 1.3;
}

.royale-mypage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #382c16;
    text-decoration: none !important;
    color: #ffffff !important;
    background: #000000;
    transition: none !important;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.royale-mypage-item:last-child {
    border-bottom: none;
}

/* Disable hover effects on mypage items */
.royale-mypage-item:hover,
.royale-mypage-item:focus,
.royale-mypage-item:active {
    background: #000000 !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
}

.royale-mypage-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.royale-mypage-item-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: #c5b392;
}

.royale-mypage-item-label {
    font-size: 14.5px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
}

.royale-mypage-item-right {
    display: flex;
    align-items: center;
}

.royale-mypage-chevron {
    stroke: #c5b392;
    flex-shrink: 0;
}

.royale-version-text {
    font-size: 12px;
    color: #ffffff;
    margin-right: 6px;
    font-weight: 500;
}

/* Notification Switch Toggle */
.royale-toggle-label {
    color: #c2185b;
    font-weight: 700;
    font-size: 12px;
    margin-right: 6px;
    letter-spacing: 0.5px;
}

.royale-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.royale-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.royale-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333333;
    transition: .25s ease;
    border-radius: 22px;
}

.royale-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .25s ease;
    border-radius: 50%;
}

.royale-switch input:checked + .royale-slider {
    background-color: #c2185b;
}

.royale-switch input:checked + .royale-slider:before {
    transform: translateX(18px);
}

/* Active halo glow on bottom nav active tab */
.royale-nav-link.active .container-img-nav-link-0::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.45) 0%, rgba(233, 30, 99, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.royale-nav-link.active .container-img-nav-link-0 img {
    position: relative;
    z-index: 1;
}

/* Global hover cleanup: Disable hover transforms/jumps on mobile and bottom nav */
.royale-bottom-nav .nav-link:hover,
.royale-bottom-nav .nav-link:focus,
.royale-bottom-nav .nav-link:active {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.payment-history-card:hover {
    transform: none !important;
}

/* ==========================================================================
   Royale Rank Detail Styling
   ========================================================================== */
.user-ranking {
    max-width: 580px !important;
    margin: 0 auto !important;
    padding: 24px 16px 80px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.user-ranking .user-rank-img-container {
    background: transparent !important;
    max-width: 100% !important;
    padding: 0 0 16px 0 !important;
}

.user-ranking .user-rank-img {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    display: block !important;
}

.user-ranking .ranking-body {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
}

.user-ranking .rank-intro-container {
    background: #000000 !important;
    border: 1px solid #7a602c !important;
    border-radius: 12px !important;
    padding: 20px 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.user-ranking .rank-intro-title {
    color: #f0d8a8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
}

.user-ranking .user-rank-info-container {
    background: #141414 !important;
    border: 1px solid #382c16 !important;
    color: #e5cfad !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin-bottom: 14px !important;
    text-align: center !important;
}

.user-ranking .rank-intro-container-0 {
    background: #0c0c0c !important;
    border: 1px solid #382c16 !important;
    border-radius: 10px !important;
    padding: 16px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px !important;
}

.user-ranking .rank-intro-txt {
    color: #c5b392 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

.user-ranking .rank-curent-img-container {
    padding-bottom: 0 !important;
}

.user-ranking .rank-curent-img {
    height: 38px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
}

.user-ranking .rank-curent-line {
    background-color: #1a1a1a !important;
    border: 1px solid #7a602c !important;
    border-radius: 9999px !important;
    height: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.user-ranking .rank-curent-line > div {
    background: linear-gradient(90deg, #c99310 0%, #f3be20 50%, #ffe082 100%) !important;
    border-radius: 9999px !important;
    height: 100% !important;
    transition: width 0.4s ease !important;
}

.user-ranking .rank-curent-line span {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: 0.5px !important;
    pointer-events: none !important;
}

.user-ranking .rank-to-next-text {
    color: #f3be20 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

.user-ranking .txt-rank-intro-container {
    gap: 10px !important;
    margin-top: 20px !important;
}

.user-ranking .txt-rank-bold {
    color: #f0d8a8 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.user-ranking .txt-rank {
    color: #c5b392 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}

.user-ranking .chakra-divider,
.user-ranking .css-gs4uxd,
.user-ranking .rank-driver,
.user-ranking .rank-driver-0,
.user-ranking hr {
    border-color: #382c16 !important;
    background: transparent !important;
    opacity: 1 !important;
    margin: 20px 0 !important;
}

/* Royale Rank Table */
.royale-rank-table-card {
    background: #000000 !important;
    border: 1px solid #7a602c !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    width: 100% !important;
}

.user-ranking .table-rank {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.user-ranking .table-rank th {
    background: #19140a !important;
    color: #f0d8a8 !important;
    border: 1px solid #382c16 !important;
    padding: 12px 6px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    vertical-align: middle !important;
}

.user-ranking .table-rank td {
    border: 1px solid #382c16 !important;
    color: #e5cfad !important;
    padding: 10px 6px !important;
    font-size: 12.5px !important;
    vertical-align: middle !important;
    font-weight: 500 !important;
}

.user-ranking .table-rank tr.rank-row:nth-child(even) {
    background-color: #111111 !important;
}

.user-ranking .table-rank tr.rank-row:nth-child(odd) {
    background-color: #060606 !important;
}

.user-ranking .table-rank .rank-img {
    max-height: 36px !important;
    width: auto !important;
    max-width: 90px !important;
    object-fit: contain !important;
    display: inline-block !important;
}

.royale-gold-text {
    color: #f3be20 !important;
    font-weight: 700 !important;
}

.user-ranking .rank-intro-info-container {
    margin-top: 24px !important;
    gap: 16px !important;
}

.user-ranking .rank-intro-info-sub-container {
    gap: 6px !important;
}

.user-ranking .rank-intro-info-last-container {
    gap: 8px !important;
    margin-top: 10px !important;
}

/* ==========================================================================
/* ==========================================================================
   ROYALE CONVERT POINT MODAL (MATCHING FIGMA MOCKUP)
   ========================================================================== */
.royale-modal-dialog {
    max-width: 430px;
    margin: 1.25rem auto;
    padding: 0 12px;
}

.royale-confirm-modal-content {
    background: #090807 url('/royale/assets/frontend/images/modal_frame_gold.png') no-repeat center / 100% 100% !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.95), 0 0 20px rgba(222, 171, 80, 0.3) !important;
    position: relative;
    overflow: hidden;
}

/* Force override of global .modal-content color rules (which forced #212529) */
#convertPointModal .royale-confirm-modal-content,
#convertPointModal .royale-confirm-modal-content p,
#convertPointModal .royale-confirm-modal-content span,
#convertPointModal .royale-confirm-modal-content div,
#convertPointModal .royale-confirm-modal-content h1,
#convertPointModal .royale-confirm-modal-content h2,
#convertPointModal .royale-confirm-modal-content h3,
#convertPointModal .royale-confirm-modal-content h4,
#convertPointModal .royale-confirm-modal-content h5,
#convertPointModal .royale-confirm-modal-content h6,
#convertPointModal .royale-confirm-modal-content label {
    color: #ffffff !important;
}

.royale-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: transform 0.2s, opacity 0.2s;
}

.royale-modal-close-btn:hover {
    transform: scale(1.08);
}

.royale-modal-close-img {
    width: 28px;
    height: 28px;
    display: block;
}

.royale-modal-body-inner {
    padding: 24px 20px 22px 20px;
}

/* Header */
.royale-modal-header-section {
    text-align: center;
    margin-bottom: 16px;
    padding-top: 4px;
}

.royale-modal-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.royale-flourish-img {
    width: 58px;
    height: 9px;
    object-fit: contain;
    display: inline-block;
}

.royale-flourish-img.flipped {
    transform: scaleX(-1);
}

#convertPointModal .royale-modal-title {
    margin: 0;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px;
    color: #ffd675 !important;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(222, 171, 80, 0.4);
    white-space: nowrap;
}

#convertPointModal .royale-modal-subtitle {
    margin: 6px 0 0 0;
    font-size: 13.5px !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Info Card (保有ポイント) using 届け先枠 */
.royale-convert-info-card {
    background: url('/royale/assets/frontend/images/modal_info_box_frame.png') no-repeat center / 100% 100% !important;
    border: none !important;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

#convertPointModal .royale-convert-info-title {
    color: #e5b95c !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.royale-convert-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    line-height: 1.7;
}

#convertPointModal .royale-convert-info-label {
    color: #ffffff !important;
}

#convertPointModal .royale-convert-info-val,
#convertPointModal .royale-convert-info-val span {
    color: #ffffff !important;
    font-weight: 500;
}

#convertPointModal .royale-convert-info-val.highlight,
#convertPointModal .royale-convert-info-val.highlight span {
    color: #ffe082 !important;
    font-weight: 700 !important;
}

/* Selected Items Section */
.royale-modal-items-section {
    margin-bottom: 16px;
    padding: 0 4px;
}

#convertPointModal .royale-modal-items-label,
#convertPointModal .royale-modal-items-label span {
    color: #e5b95c !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.royale-modal-items-scroll {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 2px 6px 2px;
    scrollbar-width: thin;
    scrollbar-color: #5a482a #14120f;
}

.royale-modal-items-scroll::-webkit-scrollbar {
    width: 4px;
}

.royale-modal-items-scroll::-webkit-scrollbar-track {
    background: #14120f;
    border-radius: 2px;
}

.royale-modal-items-scroll::-webkit-scrollbar-thumb {
    background: #5a482a;
    border-radius: 2px;
}

.royale-modal-items-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.royale-modal-item-thumb {
    width: 76px;
    height: 104px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #1a1714;
    border: 1px solid rgba(222, 171, 80, 0.45);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.royale-modal-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.royale-modal-thumb-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.royale-modal-thumb-badge {
    position: absolute;
    top: 3px;
    left: 3px;
    height: 17px;
    width: auto;
    z-index: 3;
}

/* Point Summary Bar using 必要交換ポイント枠 */
.royale-convert-summary-bar {
    background: url('/royale/assets/frontend/images/modal_point_bar_frame.png') no-repeat center / 100% 100% !important;
    border: none !important;
    border-radius: 8px;
    height: 48px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

#convertPointModal .royale-convert-summary-label {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
}

.royale-convert-summary-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

#convertPointModal .royale-convert-num,
#convertPointModal span#point-convert {
    color: #e51a4b !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-shadow: 0 0 10px rgba(229, 26, 75, 0.35);
}

#convertPointModal .royale-convert-pt {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-left: 2px;
}

/* Action Buttons using modal_btn_cancel_bg.png and modal_btn_confirm_bg.png */
.royale-convert-actions {
    display: flex;
    gap: 12px;
}

.royale-modal-btn-cancel {
    flex: 1;
    background: url('/royale/assets/frontend/images/modal_btn_cancel_bg.png') no-repeat center / 100% 100% !important;
    border: none !important;
    height: 48px;
    padding: 0 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#convertPointModal .royale-modal-btn-cancel span {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.royale-modal-btn-cancel:hover {
    filter: brightness(1.15);
}

.royale-modal-btn-cancel:active {
    transform: scale(0.98);
}

.royale-modal-btn-confirm {
    flex: 1;
    background: url('/royale/assets/frontend/images/modal_btn_confirm_bg.png') no-repeat center / 100% 100% !important;
    border: none !important;
    height: 48px;
    padding: 0 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#convertPointModal .royale-modal-btn-confirm span {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.royale-modal-btn-confirm:hover {
    filter: brightness(1.15);
}

.royale-modal-btn-confirm:active {
    transform: scale(0.98);
}

.royale-modal-btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
}

/* ========================================================
   SHIPPING SUCCESS MODAL (Design Spec ⑦)
   ======================================================== */
.royale-shipping-modal-dialog {
    max-width: 380px !important;
    width: 90% !important;
    margin: 1.75rem auto !important;
}

.royale-shipping-modal-content {
    background: url('/royale/assets/frontend/images/shipping_modal_frame.png') no-repeat center / 100% 100% !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.25) !important;
    border-radius: 16px !important;
    position: relative;
    overflow: hidden;
    padding: 38px 24px 32px !important;
    box-sizing: border-box;
}

/* Force text colors in shipping modal */
#shippingSuccessModal .royale-shipping-modal-content,
#shippingSuccessModal .royale-shipping-modal-content p,
#shippingSuccessModal .royale-shipping-modal-content span,
#shippingSuccessModal .royale-shipping-modal-content div,
#shippingSuccessModal .royale-shipping-modal-content h3 {
    color: #ffffff;
}

.royale-shipping-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.royale-shipping-modal-truck {
    width: 135px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 235, 120, 0.6));
}

#shippingSuccessModal .royale-shipping-modal-title {
    margin: 0 0 12px 0;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffd675 !important;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(255, 214, 117, 0.5);
    white-space: nowrap;
}

#shippingSuccessModal .royale-shipping-modal-subtitle {
    margin: 0 0 18px 0;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.royale-shipping-modal-reception-box {
    background: url('/royale/assets/frontend/images/shipping_modal_reception_frame.png') no-repeat center / 100% 100% !important;
    width: 100%;
    max-width: 290px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-sizing: border-box;
    padding: 6px 12px;
}

#shippingSuccessModal .royale-shipping-modal-reception-label {
    font-size: 12.5px !important;
    color: #b5a995 !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 2px;
}

#shippingSuccessModal .royale-shipping-modal-reception-code {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffd675 !important;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(255, 214, 117, 0.4);
}

#shippingSuccessModal .royale-shipping-modal-note {
    margin: 0 0 20px 0;
    font-size: 13px !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.royale-shipping-modal-btn-close {
    background: url('/royale/assets/frontend/images/shipping_modal_btn_close.png') no-repeat center / 100% 100% !important;
    border: none !important;
    width: 154px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, filter 0.15s ease;
    outline: none;
    margin: 0 auto;
    padding: 0;
}

#shippingSuccessModal .royale-shipping-modal-btn-close span {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.royale-shipping-modal-btn-close:hover {
    transform: scale(1.04);
    filter: brightness(1.15);
}

.royale-shipping-modal-btn-close:active {
    transform: scale(0.97);
}

