@font-face {
	 font-family: 'nhangia';
	 src: url('../../css/ATFzihunliuyedaoT-Regular.woff2') format('woff2'), url('../../css/ATFzihunliuyedaoT-Regular.woff') format('woff');
	 font-weight: normal;
}
 @font-face {
	 font-family: 'Assasin';
	 src: url('../../css/assasin.otf') format('opentype');
	 font-weight: normal;
	 font-style: normal;
}
 @font-face {
	 font-family: 'Protest';
	 src: url('../../css/00052-UTM-Cafeta.ttf') format('opentype');
	 font-weight: normal;
	 font-style: normal;
}
    .modal {
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        width: 300px;
        text-align: center;
    }

    .modal-buttons {
        display: flex;
        justify-content: space-around;
        margin-top: 15px;
    }
/*.page-home{*/
/*    overflow: hidden;*/
/*}*/
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .popup-content {
        background-color: #fff;
        border-radius: 8px;
        text-align: center;
        width: fit-content;
        padding: 20px;
    }

    .btn {
        margin: 5px;
    }

    .bg-warning {
        background-color: #ffeeba;
    }

    .bg-success {
        background-color: #d4edda;
    }

    .bg-danger {
        background-color: #f8d7da; 
    }
 body {
	 background-image: url('../../images/full__big.jpg');
	 background-repeat: no-repeat;
	 background-position: center top;
	 overflow-x: hidden;
	 background-size: 100%;
	 background-size: cover;
	 background-attachment: fixed;
	 position: relative;
	 font-family: Protest;
}
.post img {
    max-width: 100%;
}
 body::-webkit-scrollbar {
	 width: 10px;
}
 body::-webkit-scrollbar-track {
	 box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 body::-webkit-scrollbar-thumb {
	 background-color: #843f0e;
}
 .card-body {
	 margin-top: 197px;
}
 .rasengan {
	 position: fixed;
	 top: 70%;
	 left: 50%;
	 transform: translate(-50%,-50%);
	 z-index: -1;
}
 .rasengan img {
	 animation: spin 3s infinite linear;
	 max-width: 300px;
}
 .container.page-header {
	 position: fixed;
	 z-index: 2;
	 transition: transform .5s;
	 max-width: 100%;
	 top: 20px;
}
 .container .header-content {
	 align-items: center;
}
 .container .header-content .nsotien_logo {
	 max-width: 188px;
}
 @media (max-width: 768px) {
	 .container .header-content .nsotien_logo {
		 max-width: 100%;
	}
}
 .container .header-content .btn-bg {
	 background: url('../../images/item-a.png');
	 background-repeat: no-repeat;
	 background-size: 100%;
	 padding: 20px 0;
	 background-position: center;
	 margin-left: 5px;
	 margin-right: 5px;
	 width: 11%;
}

 @media (max-width: 1279px) {
	.container .header-content .btn-bg a{
	    font-size: 14px !Important;
	}
}
 @media (min-width: 1280px) {
	 .container .header-content .btn-bg {
		 width: 180px;
	}
}
 @media (max-width: 1150px) {
	.container .header-content .btn-bg a{
	    font-size: 12px !Important;
	}
}
 .container .header-content .btn-bg a {
	 font-size: 20px;
	 color: #ffffff;
	 font-family: Protest;
	 text-transform: uppercase;
}
 .container.down-load {
	 padding-bottom: 150px;
	 display: flex;
	 flex-direction: column;
	 justify-content: flex-end;
	 align-items: center;
	 height: 1000px;
	 padding-left: 0;
    padding-right: 0;
}
 .container.down-load .btn-download .jumping-link {
	 text-decoration: none;
	 margin-bottom: 40px;
	 color: #961514;
	 font-family: Protest;
	 font-size: 50px;
	 padding: 0 20px;
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
 .container.down-load .btn-download .jumping-link span {
	 display: inline-block;
	 animation: jump 0.4s ease-in-out infinite alternate;
}
 .container.down-load .btn-download .jumping-link span:nth-child(1) {
	 animation-delay: 0s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(2) {
	 animation-delay: 0.1s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(3) {
	 animation-delay: 0.2s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(4) {
	 animation-delay: 0.3s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(5) {
	 animation-delay: 0.4s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(6) {
	 animation-delay: 0.5s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(7) {
	 animation-delay: 0.6s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(8) {
	 animation-delay: 0.7s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(9) {
	 animation-delay: 0.8s;
}
 .container .box-down {
	 display: flex;
	 background-image: url('../../images/bg-tienich.png');
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 align-items: center;
}
 .container .box-down .box-img {
	 text-align: center;
	 display: flex;
    justify-content: space-around;
    padding: 10px;
}
 .container .box-down .box-img img {
	 width: 180px;
}
 @media (max-width: 768px) {
	 .container .box-down .box-img img {
		 width: 50px !important;
	}
}
 .container .box-down .box-item {
	 display: flex;
	 flex-wrap: wrap;
	 padding: 20px 10px;
	 justify-content: space-around;
}
 .container .box-down .box-item .item {
	 background-image: url('../../images/btn-red.jpg');
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 height: 55px;
	 text-align: center;
	 font-family: Protest;
	 line-height: 50px;
	 font-size: 14px;
	 margin-top: 5px;
	 margin-bottom: 5px;
}
 .container .box-down .box-item .item:hover {
	 -webkit-transform: translateY(-4px);
	 transform: translateY(-4px);
	 transition: all 0.5s ease;
	 cursor: pointer;
}
 .container .box-down .box-item .item a {
	 color: #ffffff;
	 text-transform: uppercase;
	 font-size: 20px;
}
 .post-card {
	 background-image: url(../../images/b2.png);
	 background-repeat: no-repeat;
	 padding-top: 400px;
	 padding-bottom: 100px;
	 border: 0;
	 background-color: transparent;
	 background-position: center top;
	 display: block;
	 background-size: 100%;
}
 .post-card .card-body {
	 background-image: url(../../images/bg-frame2.png);
	 background-size: 100% 100%;
	 margin: 0 auto;
	 background-repeat: no-repeat;
	 background-position: center;
	 max-width: 820px;
	 min-height: 500px;
	 padding: 20px 24px 26px;
}
 .post-card .card-body .card-title {
	 display: flex;
	 gap: 8px;
	 border-bottom: 2px solid #8d623f;
	 padding-bottom: 10px;
}
 .post-card .card-body .card-title .title {
	 background-image: url(../../images/bg-tl.jpg);
	 background-size: 100% 100%;
	 margin: 0;
	 line-height: 50px;
	 flex: 1;
	 height: 50px;
	 text-align: center;
	 font-family: Protest;
	 font-size: 23px;
	 letter-spacing: 0.5px;
	 cursor: pointer;
	 transition: transform 0.2s ease, filter 0.2s ease;
}
 .post-card .card-body .card-title .title:hover {
	 background-image: url(../../images/btn_1.png);
	 background-size: 100% 100%;
	 color: #961514;
	 transform: translateY(-2px);
}
 .post-card .card-body .card-title .title.active {
	 background-image: url(../../images/btn_1.png);
	 background-size: 100% 100%;
	 color: #961514;
	 filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}
 .post-card .card-body .tab-content {
	 display: none;
	 padding: 14px 6px 0;
}
 .post-card .card-body .tab-content::-webkit-scrollbar {
	 width: 10px;
}
 .post-card .card-body .tab-content::-webkit-scrollbar-track {
	 box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 .post-card .card-body .tab-content::-webkit-scrollbar-thumb {
	 background-color: #734e33;
	 border-radius: 10px;
}
 .post-card .card-body .tab-content.active {
	 display: block;
	 max-height: 392px;
	 overflow-y: auto;
}
 .post-card .card-body .tab-content .post-item {
	 min-height: 118px;
	 padding: 14px 16px;
	 margin: 0 0 14px;
	 background: linear-gradient(180deg, rgba(122, 79, 50, 0.96) 0%, rgba(91, 56, 33, 0.96) 100%);
	 border: 1px solid rgba(255, 211, 120, 0.28);
	 border-left: 5px solid #ffcf57;
	 border-radius: 12px;
	 box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 241, 208, 0.08);
	 position: relative;
	 overflow: hidden;
	 transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
 .post-card .card-body .tab-content .post-item::before {
	 content: '';
	 position: absolute;
	 inset: 0;
	 background: linear-gradient(90deg, rgba(255, 214, 107, 0.08), transparent 35%);
	 pointer-events: none;
}
 .post-card .card-body .tab-content .post-item:hover {
	 transform: translateY(-3px);
	 border-color: rgba(255, 214, 107, 0.5);
	 box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 214, 107, 0.08);
}
 .post-card .card-body .tab-content .post-item .content-post {
	 position: relative;
	 z-index: 1;
}
 .post-card .card-body .tab-content .post-item .post-top-line {
	 display: flex;
	 align-items: center;
	 justify-content: space-between;
	 gap: 12px;
	 margin-bottom: 8px;
}
 .post-card .card-body .tab-content .post-item .post-badge {
	 display: inline-flex;
	 align-items: center;
	 padding: 4px 10px;
	 border-radius: 999px;
	 background: linear-gradient(180deg, #ffe28d 0%, #f7b94c 100%);
	 color: #6b2a10;
	 font-size: 12px;
	 font-weight: 700;
	 text-transform: uppercase;
	 letter-spacing: 0.8px;
	 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
 .post-card .card-body .tab-content .post-item .post-date {
	 color: #fff5da;
	 font-size: 17px;
	 font-family: 'Protest';
	 white-space: nowrap;
	 text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
 .post-card .card-body .tab-content .text-muted {
	 color: #f8ebda;
	 font-size: 15px;
	 margin-top: 4px;
}
.post-card .card-body .tab-content .text-muted .text-danger{
    color: #ffd168 !important;
}
 .post-card .card-body .tab-content .post-item .text-muted strong {
	 color: #ffd168;
}
 .post-card .card-body .tab-content .post-item a,
 .post-card .card-body .tab-content .post-item .post-link {
	 color: #fff;
	 font-size: 27px;
	 line-height: 1.2;
	 font-family: 'Protest';
	 font-weight: 500 !important;
	 text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
 .post-card .card-body .tab-content .post-item a:hover,
 .post-card .card-body .tab-content .post-item .post-link:hover {
	 color: #ffe28d;
}
 .post-card .card-body .tab-content .post-item .post-stats {
	 opacity: 0.95;
}
 .post-card .card-body .tab-content .no-content {
	 text-align: center;
	 background: rgba(84, 52, 30, 0.88);
}
 .post-card .card-body .tab-content .no-content span {
	 line-height: 100px;
	 color: #fff;
	 font-family: Protest;
	 font-size: 20px;
}
 .infor-game .btn-infor {
	 display: flex;
	 background-image: url(../../images/bg-aside.png);
	 background-repeat: no-repeat;
	 flex-direction: column;
	 background-size: 100% 100%;
	 position: fixed;
	 right: 10px;
	 top: 70px;
	 height: 620px;
	 align-items: center;
	 justify-content: center;
	 padding: 0 15px;
	 z-index: 99;
	 transition: right 0.5s ease;
}
 .infor-game .btn-infor.active {
	 right: -155px;
}
 .infor-game .btn-infor .toggle-menu {
	 position: absolute;
	 top: 40%;
	 left: -30px;
	 transition: transform 0.5s ease;
}
 .infor-game .btn-infor .toggle-menu::before {
	 content: url(../../images/img-arrow.png);
	 transform: rotate(180deg);
	 display: block;
}
 .infor-game .btn-infor .toggle-menu.active::before {
	 transform: rotate(0);
	 display: block;
}
 .infor-game .btn-infor .infor-user {
	 max-width: 170px;
	 display: flex;
	 flex-direction: column;
	 padding: 0 15px;
	 font-family: Protest;
	 color: #961514;
	 font-size: 16px;
	 margin-top: 50px;
}
 .infor-game .btn-infor .infor-user span {
	 display: flex;
	 flex-direction: column;
	 text-align: center;
	 margin-bottom: 5px;
}
 .infor-game .btn-infor .infor-user span strong {
	 color: black;
}
 .infor-game .btn-infor .infor-user .napcard {
	 font-weight: 600;
	 color: #961514;
	 padding: 5px 0;
}
 .infor-game .btn-infor .btn-bg {
	 background: url('../../images/btn-red.jpg');
	 background-repeat: no-repeat;
	 background-size: 100%;
	 padding: 20px 0;
	 background-position: center;
	 margin-left: 5px;
	 margin-right: 5px;
	 font-size: 12px;
	 width: 80%;
	 text-align: center;
	 font-family: Protest;
}
 .infor-game .btn-red {
	 background-image: url('../../images/btn-red.jpg');
	 background-repeat: no-repeat;
	 background-size: 100%;
	 width: 120px;
	 height: 55px;
	 margin: 0 10px;
	 text-align: center;
	 font-family: Protest;
	 line-height: 50px;
	 font-size: 18px;
	 cursor: pointer;
}
 .slide-cards {
	 background-image: url(../../images/bg2-2.png);
	 background-position: center top;
	 border-top-width: 15px;
	 padding-top: 240px;
	 padding-bottom: 202px;
	 margin-top: -170px;
}
 .slide-cards .slide-title {
	 width: fit-content;
	 background-image: url(../../images/title-frame.png);
	 background-size: 100% 100%;
	 background-position: center;
	 background-repeat: no-repeat;
	 color: #961514;
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
	 margin: 40px auto;
	 height: 60px;
}
 .slide-cards .slide-title span {
	 text-align: center;
	 font-family: Protest;
	 line-height: 20px;
	 font-size: 30px;
	 padding: 0 100px;
	 line-height: 50px;
}

 .slide-cards .slider {
	 max-width: 800px;
	 margin: auto;
	 border: 0;
}
.post-title{
    margin: auto;
        justify-content: center;
}
.post-title .text-primary {
    font-size: 30px;
    	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
    	 text-align: center;
}
 @media (min-width: 1200px) {
	 .slide-cards .slider {
		 margin-top: 90px;
	}
}
 .container-signin {
	 background-image: url(../../images/bg-frame2.png);
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 padding: 50px 0 100px;
	 font-family: Protest;
	 color: #961514;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
 .container-signin .form-signin .card {
	 background-color: transparent;
	 border: 0;
}
 .container-signin .form-signin .card .h3 {
	 font-size: 35px;
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
 .container-signin .form-signin .card label {
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
	 padding: 0 0 10px;
}
 .container-signin .card .form-group .btn {
	 background-image: url(../../images/btn-red.jpg);
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 border: 0;
	 width: 110px;
	 border-radius: 0 !important;
}
 .body-post {
	 margin: auto;
	 max-width: 1280px;
}
.container-signin.bxh {
    border: 0;
    padding: 20px;
}
.container-signin.bxh {
    text-align: center;
   
}
.container-signin.bxh .table {
    color: #fff;
    letter-spacing: 2px;
}
.container-signin.bxh h4{
    margin: 20px 0;
    font-size: 30px;
    color: #961514;
     text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
.container-signin.bxh tr th {
    vertical-align: middle;
    font-weight: 400;
}
.post-detail .post-body  p {
    max-width: 100%;
    display:block;
    text-align: center;
}
.container-signin.lsn tr {
    letter-spacing: 2px;
     vertical-align: middle;
}
.container-signin.lsn tr td {
    font-weight: 400;
}
.comment-input {
    width: 100%;
}
.container-signin.bank{
    max-width: 100%;
    border: 0;
    padding: 30px 20px 50px;
}
.container-signin.card-his{
     border: 0;
     padding: 30px;
}
.container-signin.card-his .mt-5{
    margin-top: 0 !important;
}
.nap-card.container-signin .card .form-group .btn{
    width: fit-content;
    margin-top: 20px;
     margin-bottom: 20px;
}
.fw-semibold {
        background: transparent;
    border: 0;
}
.fs-5 {
     color: #fff;
}
.mt-2 .fw-semibold a{
    color: #fff;
}
.mt-4  .fw-semibold{
    color: #fff;
}
.footer{
    padding: 20px;
    color: #fff !important;
    background: #000;
}
.footer-bottom .forum-title{
    position: absolute;
    bottom: -200px;
    left: 0;
    width: 100%;
}
.fa-copy{
    cursor: pointer;
    margin-left: 20px;
}
.footer h4{
    font-size: 30px;
        color: #961514;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
 @keyframes jump {
	 0% {
		 transform: translateY(0);
	}
	 100% {
		 transform: translateY(5px);
	}
}
 @keyframes spin {
	 from {
		 transform: rotate(0deg);
	}
	 to {
		 transform: rotate(360deg);
	}
}
    .gt-nv{
    padding: 100px 0;
        background-image: url(../../images/aaaa1.jpg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
        .tab {
            display: flex;
            cursor: pointer;
            padding: 5px;
            filter: grayscale(1);
        }

        .tab img {
            width: 80px;
        }

        .tab-content-nv {
            display: none;
            padding: 20px;
            margin-top: 10px;
        }

        .active-tab {
            display: block;

        }

        .active {
            filter: grayscale(0);
        }

        .bn-champ {
            background-image: url(../../images/bg_gift.png);
          background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
        }

        .infor-champ {
            display: flex;
            justify-content: space-between;
        }

        .tab-content-nv {
           padding: 135px 30px;
    max-width: 888px;
    margin: auto;
    min-height: 493px;
}
        }

        .left-block,
        .right-block {
            padding: 0 20px;
        }

        .left-block .name-champ {
            text-align: center;
            margin-bottom: 40px;
            color: #961514;
            font-family: Protest;
            font-size: 50px;
            padding: 0 20px;
            text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
        }

        .tab-container-nv {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        .left-block span {
            display: block;
            font-size: 20px;
            color: #fff;
            font-style: italic;
        }

        .left-block strong {
            color: #FFFF99;

        }

        .slide-up-down {
            animation: slideUpDown 2s ease-in-out infinite;
        }

        @keyframes slideUpDown {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-20px);
            }

            100% {
                transform: translateY(0);
            }
        }
    @media only screen and (max-width: 990px) {
        .col.logo{
            width: 35%;
        }
        .container .header-content .btn-bg{
            width: 14%;
        }
    }
 @media only screen and (max-width: 768px) {
     	 .slide-cards .slide-title span {
		 font-size: 24px;
	}
    .infor-game .btn-infor.active{
	    right: -160px;
	}
	 .container .box-down {
		 justify-content: space-evenly;
	}
	 .container .box-down .box-img {
		 width: 20%;
		 padding: 0;
		 display: flex;
		 flex-direction: column;
        align-items: center;
    
	}      
	 .container .box-down .box-item {
		 padding: 15px 0;
	}
	 .container .box-down .box-item .item {
		 width: 49%;
	}
	 .container .box-down .box-item .item a {
		 font-size: 11px;
	}
	 .container .header-content .btn-bg {
		 width: 24%;
		 margin: 0 0.5%;
		 align-items: center;
	}
	 .container .header-content .btn-bg a {
		 font-size: 10px !Important;
		 line-height: 30px;
	}
	 .container .header-content .logo {
		 position: absolute;
		 top: 60px;
	}
	 .container [class*="col-7"] {
		 width: 100%;
		 padding: 5px;
	}
	 .post-card {
		 margin-top: -100px;
		 padding: 0;
	}
	 .post-card .card-body {
		 height: fit-content;
		 margin-bottom: 50px;
		 padding: 16px 14px 20px;
	}
	 .post-card .card-body .card-title {
		 gap: 6px;
	}
	 .post-card .card-body .card-title .title {
		 font-size: 13px;
		 line-height: 42px;
		 height: 42px;
	}
	 .post-card .card-body .tab-content.active {
		 max-height: 360px;
	}
	 .post-card .card-body .tab-content .post-item {
		 min-height: 106px;
		 padding: 12px;
		 border-left-width: 4px;
	}
	 .post-card .card-body .tab-content .post-item .post-top-line {
		 align-items: flex-start;
		 flex-direction: column;
		 gap: 6px;
	}
	 .post-card .card-body .tab-content .post-item .post-date {
		 font-size: 14px;
	}
	 .post-card .card-body .tab-content .post-item a,
	 .post-card .card-body .tab-content .post-item .post-link {
		 font-size: 16px;
	}
	 .post-card .card-body .tab-content .post-item .content-post .text-muted {
		 font-size: 12px;
	}
	 .container-signin {
		 background-image: url(../../images/bg-frame2.png);
		 background-size: 100% 100%;
		 padding: 20px 0;
	}
	 .container-signin .form-signin {
		 width: 90%;
		 margin: auto;
	}
	.slide-cards{
	    padding-bottom: 0;
	}
    .footer-bottom .forum-title{
        bottom: -300px;
    }
      .gt-nv{
            background-size: cover;
            background-position: center center;
        }
	        .tab-container-nv {
            flex-wrap: wrap;
        }

        .tab-content-nv {
            padding: 0 20px;
        }

        .bn-champ {
            background-image: none;
        }
        .infor-champ{
            flex-direction: column;
        }
        .right-block{
            text-align: center;
        }
}
 
/* Giftcode page upgrade */
.container-signin.bxh.giftcode-page {
    max-width: 980px;
    padding: 44px 28px 70px;
    position: relative;
}

.container-signin.bxh.giftcode-page::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 232, 153, 0.28);
    border-radius: 20px;
    pointer-events: none;
}

.giftcode-page .gift-panel {
    position: relative;
    margin: 0 0 34px;
    padding: 22px 18px 18px;
    background: linear-gradient(180deg, rgba(130, 77, 38, 0.94) 0%, rgba(103, 59, 29, 0.95) 100%);
    border: 1px solid rgba(255, 230, 146, 0.38);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 241, 198, 0.16);
    overflow: hidden;
}

.giftcode-page .gift-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 208, 87, 0.16), transparent 42%);
    pointer-events: none;
}

.giftcode-page .gift-section-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    text-align: center;
}

.giftcode-page .gift-section-title h4 {
    margin: 0;
    font-size: 36px;
    line-height: 1;
}

.giftcode-page .gift-section-title p {
    margin: 8px 0 0;
    color: #ffe9bf;
    letter-spacing: 1px;
    font-size: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.giftcode-page .gift-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffd85a;
    font-size: 26px;
    background: linear-gradient(180deg, rgba(118, 34, 18, 0.95), rgba(74, 20, 9, 0.95));
    border: 1px solid rgba(255, 223, 121, 0.55);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.giftcode-page .gift-table-wrap {
    position: relative;
    z-index: 1;
}

.container-signin.bxh.giftcode-page .gift-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
    color: #fff7e8;
    letter-spacing: 1px;
}

.container-signin.bxh.giftcode-page .gift-table thead th {
    padding: 14px 16px;
    color: #ffefcb;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(180deg, rgba(132, 80, 44, 0.96), rgba(96, 52, 23, 0.96));
    border-top: 1px solid rgba(255, 232, 167, 0.9);
    border-bottom: 1px solid rgba(255, 232, 167, 0.36);
    border-left: 1px solid rgba(255, 232, 167, 0.32);
    border-right: 1px solid rgba(255, 232, 167, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.container-signin.bxh.giftcode-page .gift-table thead th:first-child {
    border-radius: 16px 0 0 16px;
}

.container-signin.bxh.giftcode-page .gift-table thead th:last-child {
    border-radius: 0 16px 16px 0;
}

.container-signin.bxh.giftcode-page .gift-table tbody td {
    padding: 13px 16px;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(180deg, rgba(117, 67, 35, 0.98), rgba(94, 52, 27, 0.98));
    border-top: 1px solid rgba(255, 230, 156, 0.16);
    border-bottom: 1px solid rgba(56, 18, 6, 0.65);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.container-signin.bxh.giftcode-page .gift-table tbody tr:hover td {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(132, 76, 39, 0.98), rgba(106, 58, 31, 0.98));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 246, 208, 0.06);
}

.container-signin.bxh.giftcode-page .gift-table tbody td:first-child {
    border-radius: 18px 0 0 18px;
}

.container-signin.bxh.giftcode-page .gift-table tbody td:last-child {
    border-radius: 0 18px 18px 0;
}

.gift-table .col-stt {
    width: 110px;
}

.giftcode-page .rank-badge {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff9ef, #f1dfbd 60%, #caa25f 100%);
    color: #8f1d15;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22), inset 0 2px 5px rgba(255, 255, 255, 0.34);
}

.giftcode-page .rank-badge.personal {
    background: radial-gradient(circle at 30% 30%, #fff7de, #ffd06b 58%, #da7b1d 100%);
    color: #6c1a0f;
}

.giftcode-page .giftcode-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(83, 35, 17, 0.95), rgba(59, 23, 10, 0.95));
    border: 1px solid rgba(255, 222, 132, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.giftcode-page .giftcode-chip strong {
    color: #fff3d0;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(255, 192, 90, 0.18);
    word-break: break-word;
}

.giftcode-page .giftcode-chip.owner strong {
    color: #fff0c1;
}

.giftcode-page .giftcode-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffc979;
    opacity: 0.92;
}

.giftcode-page .expire-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #da7355 0%, #bf533a 100%);
    color: #fff7ed;
    font-size: 20px;
    box-shadow: 0 12px 24px rgba(120, 38, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.giftcode-page .expire-badge.level {
    background: linear-gradient(180deg, #f3a532 0%, #cf6d16 100%);
    color: #fff9f0;
}

.giftcode-page .empty-row td {
    border-radius: 18px !important;
    color: #ffe2b7;
    font-size: 18px;
    padding: 18px 14px !important;
}

@media (max-width: 991px) {
    .container-signin.bxh.giftcode-page {
        padding: 34px 18px 52px;
    }

    .giftcode-page .gift-section-title {
        align-items: flex-start;
    }

    .giftcode-page .gift-section-title h4 {
        font-size: 30px;
    }

    .giftcode-page .gift-table .col-stt {
        width: 86px;
    }

    .giftcode-page .giftcode-chip strong,
    .giftcode-page .expire-badge {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .giftcode-page .gift-panel {
        padding: 18px 12px 14px;
        border-radius: 18px;
    }

    .giftcode-page .gift-section-title {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .giftcode-page .gift-section-title p {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .container-signin.bxh.giftcode-page .gift-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .container-signin.bxh.giftcode-page .gift-table thead th,
    .container-signin.bxh.giftcode-page .gift-table tbody td {
        padding: 12px 10px;
    }

    .giftcode-page .giftcode-chip {
        min-width: 150px;
        padding: 10px 14px;
    }

    .giftcode-page .giftcode-chip strong,
    .giftcode-page .expire-badge {
        font-size: 16px;
    }

    .giftcode-page .expire-badge {
        min-width: 170px;
        gap: 8px;
        padding: 10px 14px;
    }
}

/* ===== Unified game tables (public pages, excluding /quanly) ===== */
.game-table-page.container-signin.bxh,
.container-signin.bxh.giftcode-page {
    position: relative;
    max-width: 980px;
    padding: 34px 24px 50px;
}

.game-table-page .game-table-shell,
.giftcode-page .game-table-shell {
    position: relative;
    margin-bottom: 28px;
    padding: 20px 18px 18px;
    background: linear-gradient(180deg, rgba(134, 80, 40, 0.95) 0%, rgba(95, 53, 27, 0.96) 100%);
    border: 1px solid rgba(255, 222, 132, 0.38);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 240, 196, 0.10);
    overflow: hidden;
}

.game-table-page .game-table-shell::before,
.giftcode-page .game-table-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 202, 92, 0.18), transparent 42%);
    pointer-events: none;
}

.game-table-heading,
.giftcode-page .gift-section-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-bottom: 16px;
}

.game-table-heading__icon,
.giftcode-page .gift-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 22px;
    color: #ffd85a;
    background: linear-gradient(180deg, rgba(118, 34, 18, 0.95), rgba(74, 20, 9, 0.95));
    border: 1px solid rgba(255, 223, 121, 0.55);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.game-table-heading h4,
.giftcode-page .gift-section-title h4 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
}

.game-table-heading p,
.giftcode-page .gift-section-title p {
    margin: 6px 0 0;
    color: #ffe9bf;
    letter-spacing: 0.7px;
    font-size: 13px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.game-table-scroll,
.giftcode-page .game-table-wrap {
    position: relative;
    z-index: 1;
}

.table.game-table,
.container-signin.bxh.giftcode-page .gift-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
    color: #fff6e5;
    letter-spacing: 0.6px;
}

.table.game-table thead th,
.container-signin.bxh.giftcode-page .gift-table thead th {
    padding: 12px 14px;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    color: #ffefcb;
    background: linear-gradient(180deg, rgba(137, 81, 43, 0.96), rgba(102, 55, 26, 0.96));
    border-top: 1px solid rgba(255, 232, 167, 0.88);
    border-bottom: 1px solid rgba(255, 232, 167, 0.30);
    border-left: 1px solid rgba(255, 232, 167, 0.22);
    border-right: 1px solid rgba(255, 232, 167, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.table.game-table thead th:first-child,
.container-signin.bxh.giftcode-page .gift-table thead th:first-child {
    border-radius: 14px 0 0 14px;
}

.table.game-table thead th:last-child,
.container-signin.bxh.giftcode-page .gift-table thead th:last-child {
    border-radius: 0 14px 14px 0;
}

.table.game-table tbody td,
.container-signin.bxh.giftcode-page .gift-table tbody td {
    padding: 12px 14px;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(90deg, rgba(115, 66, 35, 0.98), rgba(95, 52, 27, 0.98));
    border-top: 1px solid rgba(255, 235, 176, 0.12);
    border-bottom: 1px solid rgba(50, 18, 8, 0.60);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.20s ease, box-shadow 0.20s ease, background 0.20s ease;
}

.table.game-table tbody tr:hover td,
.container-signin.bxh.giftcode-page .gift-table tbody tr:hover td {
    transform: translateY(-2px);
    background: linear-gradient(90deg, rgba(127, 73, 38, 0.98), rgba(104, 57, 30, 0.98));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 246, 208, 0.06);
}

.table.game-table tbody td:first-child,
.container-signin.bxh.giftcode-page .gift-table tbody td:first-child {
    border-radius: 16px 0 0 16px;
}

.table.game-table tbody td:last-child,
.container-signin.bxh.giftcode-page .gift-table tbody td:last-child {
    border-radius: 0 16px 16px 0;
}

.table.game-table .empty-row td,
.container-signin.bxh.giftcode-page .gift-table .empty-row td,
.table.game-table tr.empty-row td,
.container-signin.bxh.giftcode-page .gift-table tr.empty-row td {
    border-radius: 16px !important;
    color: #ffe3b9;
    font-size: 16px;
    padding: 16px 12px !important;
}

.table-id-badge,
.giftcode-page .rank-badge {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff9ef, #f1dfbd 60%, #caa25f 100%);
    color: #8f1d15;
    font-size: 19px;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.20), inset 0 2px 5px rgba(255, 255, 255, 0.32);
}

.giftcode-page .rank-badge.personal {
    background: radial-gradient(circle at 30% 30%, #fff7de, #ffd06b 58%, #da7b1d 100%);
    color: #6c1a0f;
}

.table-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(92, 29, 13, 0.96), rgba(67, 21, 10, 0.96));
    border: 1px solid rgba(255, 216, 128, 0.14);
    color: #fff0cb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.table-soft-badge,
.giftcode-page .expire-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    padding: 10px 14px;
    border-radius: 13px;
    background: linear-gradient(180deg, #da7355 0%, #bf533a 100%);
    color: #fff7ed;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(120, 38, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.table-soft-badge.dark {
    background: linear-gradient(180deg, rgba(76, 36, 19, 0.96), rgba(53, 24, 12, 0.96));
}

.status-badge,
.giftcode-page .expire-badge.level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.2;
    color: #fffdf7;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.status-badge.is-success {
    background: linear-gradient(180deg, #4caf72 0%, #2c8856 100%);
}

.status-badge.is-processing {
    background: linear-gradient(180deg, #ffbc4d 0%, #d77d12 100%);
}

.status-badge.is-cancel,
.status-badge.is-reject {
    background: linear-gradient(180deg, #df7460 0%, #b33f30 100%);
}

.status-badge.is-gold,
.giftcode-page .expire-badge.level {
    background: linear-gradient(180deg, #f3a532 0%, #cf6d16 100%);
    color: #fff8ef;
}

.table-code-chip,
.giftcode-page .giftcode-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 160px;
    padding: 10px 14px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(83, 35, 17, 0.95), rgba(59, 23, 10, 0.95));
    border: 1px solid rgba(255, 222, 132, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #fff1d0;
}

.table-code-chip.alt {
    background: linear-gradient(180deg, rgba(97, 43, 20, 0.95), rgba(70, 27, 11, 0.95));
}

.giftcode-page .giftcode-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffc979;
    opacity: 0.92;
}

.giftcode-page .giftcode-chip strong {
    color: #fff3d0;
    font-size: 21px;
    line-height: 1.1;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(255, 192, 90, 0.18);
    word-break: break-word;
}

.giftcode-page .giftcode-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mini-copy-btn,
.game-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    color: #fff8e8;
    text-decoration: none;
    background: linear-gradient(180deg, #e27d4a 0%, #be4e32 100%);
    box-shadow: 0 10px 18px rgba(117, 39, 24, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.mini-copy-btn:hover,
.game-action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    color: #fff;
}

.mini-copy-btn.copied {
    background: linear-gradient(180deg, #5dbb79 0%, #318958 100%);
}

.table-empty-note {
    color: rgba(255, 238, 201, 0.62);
}

.table-text-left {
    text-align: left !important;
}

.ref-page .ref-stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.ref-page .ref-info-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(117, 68, 36, 0.98), rgba(91, 52, 27, 0.98));
    border: 1px solid rgba(255, 230, 156, 0.16);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
}

.ref-page .ref-info-card__label {
    display: block;
    margin-bottom: 8px;
    color: #ffcf86;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.ref-page .ref-info-card strong {
    color: #fff3cf;
    font-size: 20px;
    line-height: 1.35;
    word-break: break-word;
}

.ref-page .ref-copy-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ref-page .ref-link-card strong {
    font-size: 15px;
}

.ref-page .ref-note-box {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(82, 33, 17, 0.94), rgba(58, 22, 11, 0.94));
    border: 1px solid rgba(255, 209, 117, 0.22);
    color: #ffe9bf;
}

.ref-page .ref-note-box p {
    margin: 0 0 8px;
}

.ref-page .ref-note-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .game-table-page.container-signin.bxh,
    .container-signin.bxh.giftcode-page {
        padding: 28px 16px 42px;
    }

    .game-table-heading,
    .giftcode-page .gift-section-title {
        align-items: flex-start;
    }

    .game-table-heading h4,
    .giftcode-page .gift-section-title h4 {
        font-size: 29px;
    }

    .table.game-table thead th,
    .container-signin.bxh.giftcode-page .gift-table thead th,
    .table.game-table tbody td,
    .container-signin.bxh.giftcode-page .gift-table tbody td {
        padding: 11px 10px;
    }

    .ref-page .ref-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .game-table-page .game-table-shell,
    .giftcode-page .game-table-shell {
        padding: 16px 12px 14px;
        border-radius: 18px;
    }

    .game-table-heading,
    .giftcode-page .gift-section-title {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .game-table-heading p,
    .giftcode-page .gift-section-title p {
        font-size: 12px;
        letter-spacing: 0.4px;
    }

    .table.game-table,
    .container-signin.bxh.giftcode-page .gift-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .table-highlight,
    .table-soft-badge,
    .status-badge,
    .giftcode-page .expire-badge,
    .table-code-chip,
    .giftcode-page .giftcode-chip {
        min-width: unset;
        font-size: 14px;
    }

    .giftcode-page .giftcode-chip strong {
        font-size: 18px;
    }

    .mini-copy-btn,
    .game-action-btn {
        padding: 9px 12px;
        font-size: 13px;
    }

    .ref-page .ref-copy-line {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ===== Form redesign: clearer, larger, more premium ===== */
.container-signin.form-page,
.container-signin.payment-page {
    position: relative;
    max-width: 980px;
    padding: 58px 28px 90px;
}

.container-signin.form-page::before,
.container-signin.payment-page::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 216, 128, 0.20);
    pointer-events: none;
}

.form-shell {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.form-shell--compact {
    max-width: 620px;
}

.form-shell--medium {
    max-width: 700px;
}

.form-shell--wide {
    max-width: 860px;
}

.form-panel,
.payment-panel,
.payment-summary-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(130, 80, 43, 0.96), rgba(102, 59, 31, 0.96));
    border: 1px solid rgba(255, 222, 149, 0.34);
    border-radius: 26px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 34px 28px 30px;
    overflow: hidden;
}

.form-panel::before,
.payment-panel::before,
.payment-summary-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 213, 109, 0.16), transparent 46%);
    pointer-events: none;
}

.form-panel > *,
.payment-panel > *,
.payment-summary-panel > * {
    position: relative;
    z-index: 1;
}

.form-ornament,
.payment-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffe7a7;
    background: linear-gradient(180deg, rgba(126, 38, 17, 0.94), rgba(83, 24, 9, 0.96));
    border: 1px solid rgba(255, 212, 118, 0.4);
    box-shadow: 0 12px 22px rgba(81, 24, 13, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}

.form-title,
.payment-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 44px;
    line-height: 1.05;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.form-subtitle,
.payment-subtitle {
    max-width: 620px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #fff1cb;
    letter-spacing: 0.4px;
    font-family: nhangia, sans-serif;
}

.form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.6;
    font-family: nhangia, sans-serif;
    border: 1px solid transparent;
}

.form-alert i {
    font-size: 18px;
}

.form-alert.is-error {
    color: #ffe7e1;
    background: linear-gradient(180deg, rgba(157, 53, 35, 0.92), rgba(123, 34, 23, 0.92));
    border-color: rgba(255, 190, 170, 0.20);
}

.form-alert.is-success {
    color: #eefff0;
    background: linear-gradient(180deg, rgba(53, 131, 74, 0.92), rgba(34, 97, 52, 0.92));
    border-color: rgba(199, 255, 209, 0.16);
}

.game-form {
    margin: 0;
}

.form-grid {
    display: grid;
    gap: 18px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label,
.game-form label {
    display: block;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.field-hint {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 238, 199, 0.78);
    font-family: nhangia, sans-serif;
}

.container-signin .form-control,
.container-signin select.form-control,
.container-signin textarea.comment-input,
.container-signin textarea.form-control {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 128, 0.28);
    background: linear-gradient(180deg, rgba(94, 43, 18, 0.98), rgba(70, 30, 12, 0.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 16px rgba(0,0,0,0.12);
    color: #fff3cf;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.4px;
    font-family: nhangia, sans-serif;
}

.container-signin textarea.comment-input,
.container-signin textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.container-signin .form-control::placeholder,
.container-signin textarea.comment-input::placeholder,
.container-signin textarea.form-control::placeholder {
    color: rgba(255, 235, 200, 0.45);
}

.container-signin .form-control:focus,
.container-signin select.form-control:focus,
.container-signin textarea.comment-input:focus,
.container-signin textarea.form-control:focus {
    border-color: rgba(255, 222, 124, 0.75);
    box-shadow: 0 0 0 0.2rem rgba(255, 189, 69, 0.18), inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 24px rgba(0,0,0,0.18);
    background: linear-gradient(180deg, rgba(108, 49, 21, 0.99), rgba(77, 32, 14, 0.99));
    color: #fff8e1;
}

.container-signin select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #ffd574 50%), linear-gradient(135deg, #ffd574 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 4px), calc(100% - 16px) calc(50% - 4px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
    padding-right: 50px;
}


.container-signin select.form-control option,
.container-signin select.form-control optgroup {
    color: #fff4d6;
    background: #6b2d10;
    font-family: nhangia, sans-serif;
}

.container-signin select.form-control option:disabled {
    color: rgba(255, 235, 200, 0.72);
    background: #7b4f34;
}

.container-signin select.form-control option:checked,
.container-signin select.form-control option:hover,
.container-signin select.form-control option:focus {
    color: #fffdf2;
    background: #a84518;
}

.form-control[readonly] {
    opacity: 0.92;
}

.form-actions,
.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.game-btn,
.container-signin .card .form-group .btn.game-btn,
.container-signin .btn.game-btn {
    min-width: 220px;
    min-height: 58px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 214, 120, 0.42);
    border-radius: 16px !important;
    color: #fff7e6 !important;
    font-size: 22px;
    letter-spacing: 0.4px;
    font-family: Protest;
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%) !important;
    box-shadow: 0 16px 22px rgba(93, 23, 8, 0.22), inset 0 1px 0 rgba(255,255,255,0.14);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.game-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 18px 26px rgba(93, 23, 8, 0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}

.game-btn--wide {
    width: 100%;
}

.form-links {
    margin-top: 18px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #ffe8ba;
    font-family: nhangia, sans-serif;
}

.form-links a {
    color: #fff4d1;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 220, 129, 0.52);
}

.form-links a:hover {
    color: #fff;
}

.captcha-wrap {
    margin-top: 20px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 223, 141, 0.18);
    background: linear-gradient(180deg, rgba(80, 36, 16, 0.70), rgba(58, 25, 10, 0.72));
    overflow-x: auto;
}

.captcha-wrap .g-recaptcha {
    display: inline-block;
}

.payment-page.container-signin.bank {
    max-width: 1060px;
}

.method-select-title,
.amount-select-title,
.section-note-title {
    margin-bottom: 14px;
    text-align: center;
    font-size: 28px;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.recharge-method-grid,
.amount-select-grid {
    display: grid;
    gap: 14px;
}

.recharge-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    margin: 0 auto 24px;
}

.amount-select-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.method-card,
.amount-card {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
}

.method-card a,
.method-card button,
.amount-card button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
}

.recharge-method-item {
    height: 102px !important;
    border-radius: 20px;
    border: 1px solid rgba(255, 221, 134, 0.22);
    background: linear-gradient(180deg, rgba(95, 43, 18, 0.95), rgba(69, 29, 12, 0.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 20px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.recharge-method-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 204, 93, 0.14), transparent 48%);
    pointer-events: none;
}

.recharge-method-item img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18));
}

.recharge-method-item.active,
.method-card a:hover .recharge-method-item,
.amount-card button:hover .recharge-method-item {
    transform: translateY(-2px);
    border-color: rgba(255, 225, 136, 0.62);
    box-shadow: 0 16px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(255, 201, 82, 0.14);
}

.amount-card .recharge-method-item {
    height: 118px !important;
    flex-direction: column;
    gap: 5px;
}

.amount-card .text-primary,
.recharge-method-item .text-primary {
    color: #fff3cf !important;
    font-size: 26px;
    line-height: 1.2;
    font-family: Protest;
    text-shadow: 0 0 10px rgba(255, 196, 84, 0.18);
}

.amount-card .center-text,
.recharge-method-item .center-text {
    color: #ffc868 !important;
    font-size: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
}

.payment-help-note,
.payment-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 223, 143, 0.16);
    background: linear-gradient(180deg, rgba(78, 35, 14, 0.75), rgba(57, 24, 10, 0.78));
    color: #ffecc4;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    font-family: nhangia, sans-serif;
}

.payment-action-row {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 18px;
}

.payment-info-card {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(95, 44, 18, 0.95), rgba(70, 30, 12, 0.95));
    border: 1px solid rgba(255, 223, 143, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.payment-info-card__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffcd78;
    font-family: nhangia, sans-serif;
}

.payment-info-card__value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #fff4d3;
    font-size: 24px;
    line-height: 1.3;
    word-break: break-word;
}

.payment-copy-btn {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff7e5;
    background: linear-gradient(180deg, #e27d4a 0%, #be4e32 100%);
    box-shadow: 0 10px 18px rgba(117, 39, 24, 0.18), inset 0 1px 0 rgba(255,255,255,0.1);
}

.payment-copy-btn:hover {
    color: #fff;
    filter: brightness(1.05);
}

.payment-qr-box {
    margin: 8px auto 0;
    max-width: 360px;
    text-align: center;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 222, 143, 0.2);
    background: linear-gradient(180deg, rgba(80, 36, 16, 0.8), rgba(58, 25, 10, 0.82));
}

.payment-qr-box p {
    margin-bottom: 14px;
    color: #ffeecb;
    font-size: 15px;
    font-family: nhangia, sans-serif;
}

.payment-qr-box img {
    width: 100%;
    max-width: 280px;
    border-radius: 18px;
    border: 6px solid rgba(255,255,255,0.92);
    box-shadow: 0 18px 26px rgba(0,0,0,0.18);
}

.modal {
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(4px);
}

.modal-content {
    width: min(420px, calc(100vw - 32px));
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 220, 138, 0.24);
    background: linear-gradient(180deg, rgba(133, 81, 44, 0.98), rgba(97, 56, 30, 0.98));
    box-shadow: 0 24px 44px rgba(0,0,0,0.32);
    color: #fff0ca;
}

.modal-content h5 {
    margin-bottom: 10px;
    font-size: 30px;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.modal-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    font-family: nhangia, sans-serif;
}

.modal-buttons {
    gap: 12px;
    margin-top: 18px;
}

.comment-input {
    border-radius: 18px;
}

.abc.btn,
.btn-danger.abc {
    min-width: 160px;
    min-height: 48px;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 214, 120, 0.32);
    font-size: 20px;
    font-family: Protest;
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%) !important;
    color: #fff8e8 !important;
}

@media (max-width: 991px) {
    .container-signin.form-page,
    .container-signin.payment-page {
        padding: 38px 18px 56px;
    }

    .form-title,
    .payment-title {
        font-size: 38px;
    }

    .form-grid--two,
    .payment-summary-grid,
    .amount-select-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .container-signin.form-page,
    .container-signin.payment-page {
        padding: 24px 10px 34px;
    }

    .form-panel,
    .payment-panel,
    .payment-summary-panel {
        padding: 24px 16px 20px;
        border-radius: 22px;
    }

    .form-title,
    .payment-title {
        font-size: 32px;
    }

    .form-subtitle,
    .payment-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .form-grid--two,
    .payment-summary-grid,
    .amount-select-grid,
    .recharge-method-grid {
        grid-template-columns: 1fr;
    }

    .container-signin .form-control,
    .container-signin select.form-control,
    .container-signin textarea.comment-input,
    .container-signin textarea.form-control {
        min-height: 54px;
        padding: 12px 15px;
        font-size: 19px;
    }

    .form-field label,
    .game-form label {
        font-size: 19px;
    }

    .game-btn,
    .container-signin .card .form-group .btn.game-btn,
    .container-signin .btn.game-btn {
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }

    .payment-info-card__value {
        font-size: 19px;
    }
}

/* ==== PATCH: posts detail + comments scoped redesign ==== */
.post-detail-page {
    padding: 12px 0 36px;
}

.post-detail-shell {
    width: min(1100px, calc(100% - 24px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.news-article-panel,
.comments-panel {
    position: relative;
    padding: 30px 34px;
    border-radius: 30px;
    border: 1px solid rgba(255, 219, 129, 0.3);
    background:
        linear-gradient(180deg, rgba(143, 90, 50, 0.96) 0%, rgba(109, 64, 34, 0.98) 100%);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 4px rgba(88, 28, 13, 0.18);
    overflow: hidden;
}

.news-article-panel::before,
.comments-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top, rgba(255, 219, 146, 0.12), transparent 42%);
}

.news-article-header {
    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    margin-bottom: 24px;
}

.news-author-card {
    position: relative;
    z-index: 1;
    padding: 22px 18px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 216, 130, 0.28);
    background: linear-gradient(180deg, rgba(95, 40, 18, 0.92), rgba(67, 27, 11, 0.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.news-author-avatar {
    width: 94px;
    height: 94px;
    margin: 0 auto 14px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(180deg, #ffe8a0 0%, #c8822a 100%);
    box-shadow: 0 12px 22px rgba(0,0,0,0.22);
}

.news-author-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    background: #fff4db;
}

.news-author-name {
    font-size: 30px;
    line-height: 1.1;
    color: #fff1c9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.news-author-role {
    margin-top: 6px;
    font-size: 15px;
    letter-spacing: 1.4px;
    color: #ffcf7a;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
}

.news-author-date {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 219, 129, 0.18);
    background: rgba(255,255,255,0.05);
    color: #ffe8c0;
    font-size: 16px;
    line-height: 1.6;
    font-family: nhangia, sans-serif;
}

.news-author-date strong {
    display: block;
    margin-top: 4px;
    color: #fff8e5;
    font-size: 20px;
    font-family: Protest;
}

.news-article-heading {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.news-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 220, 138, 0.22);
    background: linear-gradient(180deg, rgba(124, 33, 17, 0.92), rgba(98, 22, 11, 0.95));
    color: #ffe391;
    font-size: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
    box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}

.news-article-title {
    margin: 16px 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.15;
    color: #a71613;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
    word-break: break-word;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.news-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(61, 22, 9, 0.4);
    border: 1px solid rgba(255, 215, 121, 0.16);
    color: #fff0cd;
    font-size: 16px;
    line-height: 1.4;
    font-family: nhangia, sans-serif;
}

.news-article-meta i,
.comment-date i,
.comment-form-note i,
.comment-login-notice i {
    color: #ffd66b;
}

.news-article-content {
    position: relative;
    z-index: 1;
    padding: 28px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 225, 156, 0.16);
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.94), rgba(244, 235, 220, 0.92));
    color: #3a271a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
    overflow: hidden;
}

.news-article-content,
.news-article-content * {
    max-width: 100%;
}

.news-article-content p,
.news-article-content div,
.news-article-content li,
.news-article-content span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #3a271a;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-article-content p {
    margin-bottom: 16px;
}

.news-article-content a {
    color: #9f261d;
    font-weight: 700;
    text-decoration: none;
}

.news-article-content a:hover {
    text-decoration: underline;
}

.news-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.news-article-content table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 18px 0;
}

.news-article-content iframe {
    max-width: 100%;
}

.comments-panel-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.comment-section-tag {
    display: inline-block;
    margin-bottom: 6px;
    color: #ffd36d;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
}

.comments-panel-header h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    color: #a71613;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.comment-total-pill {
    flex: 0 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f0863f 0%, #c5512c 100%);
    color: #fff7e6;
    font-size: 20px;
    box-shadow: 0 10px 18px rgba(94, 31, 17, 0.18);
}

.comment-form-panel {
    position: relative;
    z-index: 1;
    padding: 22px;
    margin-bottom: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 223, 143, 0.2);
    background: linear-gradient(180deg, rgba(94, 39, 17, 0.88), rgba(67, 28, 11, 0.92));
}

.comment-form-label {
    display: block;
    margin-bottom: 10px;
    color: #fff4d7;
    font-size: 26px;
    line-height: 1.25;
}

.comment-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 223, 143, 0.2);
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.98), rgba(245, 237, 223, 0.98));
    color: #2e1d14;
    font-size: 18px;
    line-height: 1.8;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.comment-textarea::placeholder {
    color: #846b5c;
}

.comment-textarea:focus {
    outline: none;
    border-color: rgba(255, 205, 93, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 205, 93, 0.12), inset 0 2px 4px rgba(0,0,0,0.04);
}

.comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.comment-form-note {
    color: #ffe9bb;
    font-size: 15px;
    line-height: 1.6;
    font-family: nhangia, sans-serif;
}

.comment-submit-btn {
    border: 0;
    min-width: 200px;
    min-height: 54px;
    padding: 12px 24px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%);
    color: #fff7e8;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 14px 22px rgba(94, 31, 17, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.comment-login-notice {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 219, 129, 0.2);
    background: rgba(71, 28, 11, 0.55);
    color: #fff0c8;
    font-size: 18px;
    line-height: 1.7;
    font-family: nhangia, sans-serif;
}

.comment-login-notice a {
    color: #ffd96f;
    font-weight: 700;
    text-decoration: none;
}

.comment-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comment-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 219, 129, 0.18);
    background: linear-gradient(180deg, rgba(101, 44, 19, 0.82), rgba(78, 33, 13, 0.9));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.comment-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff0cb 0%, #efd39a 100%);
    color: #9e2218;
    font-size: 28px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

.comment-main {
    min-width: 0;
}

.comment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 28px;
    line-height: 1.15;
    color: #fff5d7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    word-break: break-word;
}

.comment-date {
    flex: 0 0 auto;
    color: #ffd488;
    font-size: 15px;
    line-height: 1.5;
    font-family: nhangia, sans-serif;
    text-align: right;
}

.comment-content {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(246, 238, 225, 0.98));
    color: #322014;
    font-size: 17px;
    line-height: 1.8;
    font-family: Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.comment-content p,
.comment-content br {
    font-family: inherit;
}

.comment-empty {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 220, 138, 0.28);
    background: rgba(71, 28, 11, 0.45);
    color: #fff0c8;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    font-family: nhangia, sans-serif;
}

.comment-pagination {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.comment-pagination .page-link,
.comment-pagination .page-dots {
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 219, 129, 0.22);
    background: linear-gradient(180deg, rgba(95, 40, 18, 0.95), rgba(71, 28, 11, 0.95));
    color: #ffe9be;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

.comment-pagination .page-link:hover {
    transform: translateY(-2px);
    color: #fff;
}

.comment-pagination .page-link.active {
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%);
    color: #fffaf0;
}

@media (max-width: 991px) {
    .news-article-header {
        grid-template-columns: 1fr;
    }

    .news-author-card {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        text-align: left;
    }

    .news-author-avatar {
        margin: 0;
        width: 86px;
        height: 86px;
    }

    .comments-panel-header,
    .comment-form-actions,
    .comment-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-date {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .post-detail-page {
        padding-top: 4px;
    }

    .post-detail-shell {
        width: min(100%, calc(100% - 12px));
        gap: 16px;
    }

    .news-article-panel,
    .comments-panel {
        padding: 18px 14px;
        border-radius: 22px;
    }

    .news-author-card,
    .news-article-content,
    .comment-form-panel,
    .comment-card,
    .comment-content {
        border-radius: 18px;
    }

    .news-author-name,
    .comment-author {
        font-size: 22px;
    }

    .news-author-date strong,
    .comment-total-pill {
        font-size: 18px;
    }

    .news-article-meta span,
    .comment-login-notice,
    .comment-empty,
    .comment-form-note,
    .comment-date,
    .comment-section-tag {
        font-size: 14px;
    }

    .news-article-content p,
    .news-article-content div,
    .news-article-content li,
    .news-article-content span,
    .comment-content,
    .comment-textarea {
        font-size: 16px;
        line-height: 1.75;
    }

    .comment-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .comment-avatar {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .comment-submit-btn {
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }

    .comment-pagination .page-link,
    .comment-pagination .page-dots {
        min-width: 42px;
        height: 42px;
        font-size: 16px;
    }
}



html {
    scroll-behavior: smooth;
}

.post-card .card-body .tab-content .post-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 10px;
}

.post-card .card-body .tab-content .post-pagination a,
.post-card .card-body .tab-content .post-pagination .current-page,
.post-card .card-body .tab-content .post-pagination .page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-family: Protest, sans-serif;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
}

.post-card .card-body .tab-content .post-pagination a {
    color: #ffe7b1;
    background: rgba(86, 24, 12, 0.88);
    border: 1px solid rgba(255, 196, 104, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.post-card .card-body .tab-content .post-pagination a:hover {
    transform: translateY(-2px);
    background: rgba(126, 36, 18, 0.92);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.post-card .card-body .tab-content .post-pagination .current-page {
    color: #6a150d;
    background: linear-gradient(180deg, #ffe39a, #ffc559);
    box-shadow: 0 8px 18px rgba(255, 197, 89, 0.24);
}

.post-card .card-body .tab-content .post-pagination .page-dots {
    min-width: auto;
    padding: 0 4px;
    color: rgba(255, 239, 207, 0.8);
}



/* ==== Modern post banner grid ==== */
html {
  scroll-behavior: smooth;
}

.post-board-shell {
  max-width: 1200px;
  margin: 24px auto 42px;
  padding: 0;
  border: 1px solid rgba(180, 108, 40, 0.5);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,247,234,0.97) 0%, rgba(255,239,215,0.94) 100%);
  box-shadow: 0 18px 40px rgba(96, 48, 10, 0.16);
}

.post-board-shell .card-body {
  padding: 18px;
}

.post-board-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.post-board-tabs .tab-btn {
  position: relative;
  min-height: 70px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(116,77,45,0.94) 0%, rgba(90,58,34,0.96) 100%);
  color: #fff3de;
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.post-board-tabs .tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(98, 53, 19, 0.16);
}

.post-board-tabs .tab-btn.active {
  color: #842800;
  background: linear-gradient(135deg, #ffdf3a 0%, #ffcb2c 55%, #ffd95a 100%);
  box-shadow: inset 0 0 0 3px rgba(49, 25, 4, 0.88), 0 16px 30px rgba(170, 109, 12, 0.26);
}

.post-board-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr);
  gap: 18px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(193, 123, 62, 0.55);
  background: linear-gradient(135deg, rgba(255,248,235,0.96) 0%, rgba(255,238,214,0.92) 100%);
  box-shadow: 0 16px 34px rgba(99, 49, 14, 0.12);
}

.post-hero-media,
.post-grid-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 14px;
  background: #f0d5b5;
}

.post-hero-media {
  min-height: 320px;
}

.post-hero-media img,
.post-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.post-hero-card:hover .post-hero-media img,
.post-grid-card:hover .post-grid-thumb img {
  transform: scale(1.04);
}

.post-floating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(202, 45, 22, 0.95);
  color: #fff;
  font-size: 13px;
  font-family: 'Knewave-Regular', 'Oswald', sans-serif;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 18px rgba(109, 31, 20, 0.22);
}

.post-floating-badge.small {
  top: 10px;
  left: 10px;
  padding: 6px 11px;
  font-size: 12px;
}

.post-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px 8px 0;
}

.post-hero-meta,
.post-grid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #8b6843;
  font-size: 13px;
  font-weight: 700;
}

.post-hero-content h3,
.post-grid-body h4 {
  margin: 10px 0 12px;
  line-height: 1.28;
}

.post-hero-content h3 a,
.post-grid-body h4 a {
  color: #6d2608;
  text-decoration: none;
}

.post-hero-content h3 {
  font-size: 44px;
}

.post-grid-body h4 {
  font-size: 26px;
  min-height: 66px;
}

.post-hero-content p,
.post-grid-body p {
  margin: 0;
  color: #7b5736;
  line-height: 1.72;
}

.post-hero-footer,
.post-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.post-author-line {
  color: #9b7754;
  font-size: 14px;
  font-weight: 700;
}

.post-readmore-btn,
.post-grid-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 142px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #a14300 0%, #853000 100%);
  color: #fff5e9 !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 16px rgba(122, 53, 6, 0.22);
}

.post-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-grid-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(199, 145, 88, 0.46);
  background: rgba(255, 251, 244, 0.96);
  box-shadow: 0 12px 26px rgba(107, 65, 27, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(107, 65, 27, 0.18);
}

.post-grid-thumb {
  aspect-ratio: 16 / 10;
}

.post-grid-body {
  padding: 14px 14px 16px;
}

.post-grid-body p {
  min-height: 50px;
}

.post-grid-footer a {
  min-width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #8d3602 !important;
}

.post-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 16px;
  border: 1px dashed rgba(171, 120, 76, 0.44);
  background: rgba(255, 248, 238, 0.7);
}

.post-empty-state span {
  color: #996740;
  font-size: 20px;
}

.post-board-shell .post-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.post-board-shell .post-pagination a,
.post-board-shell .post-pagination .current-page,
.post-board-shell .post-pagination .page-dots {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(181, 126, 76, 0.45);
  background: rgba(255, 249, 241, 0.95);
  color: #8d3602;
  font-size: 16px;
  font-weight: 700;
}

.post-board-shell .post-pagination a:hover,
.post-board-shell .post-pagination .current-page {
  background: linear-gradient(180deg, #ffde52 0%, #ffc62f 100%);
  color: #6b2200;
  box-shadow: 0 10px 18px rgba(167, 106, 8, 0.18);
}

.news-article-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 22px;
  margin-bottom: 24px;
}

.news-article-hero img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.news-article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,16,3,0.1) 0%, rgba(34,16,3,0.66) 100%);
}

.news-article-hero-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
}

.news-article-hero .news-article-title {
  margin: 12px 0 10px;
  color: #fffaf3;
}

.news-article-intro {
  margin: 0;
  color: #6a4d32;
  line-height: 1.75;
}

@media (max-width: 991px) {
  .post-board-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-hero-card {
    grid-template-columns: 1fr;
  }

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

  .post-hero-content h3 {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .post-board-shell {
    margin: 18px 12px 30px;
    border-radius: 16px;
  }

  .post-board-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .post-board-tabs .tab-btn {
    min-height: 58px;
    font-size: 25px;
  }

  .post-grid-list {
    grid-template-columns: 1fr;
  }

  .post-hero-content h3 {
    font-size: 28px;
  }

  .post-grid-body h4 {
    min-height: 0;
    font-size: 22px;
  }

  .post-hero-footer,
  .post-grid-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-readmore-btn {
    width: 100%;
  }

  .news-article-hero,
  .news-article-hero img {
    min-height: 240px;
  }

  .news-article-hero-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}


/* ==== News board isolated refresh ==== */
.news-board-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 44px;
  padding: 14px;
  background: url(/images/bg-frame2.png) center/100% 100% no-repeat;
  filter: drop-shadow(0 16px 28px rgba(34, 11, 5, 0.28));
}

.news-board-body {
  padding: 16px 18px 20px;
  min-height: 620px;
  background: linear-gradient(180deg, rgba(114,73,42,0.94) 0%, rgba(95,60,35,0.94) 100%);
  border: 3px solid rgba(59, 21, 7, 0.75);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 194, 109, 0.16);
}

.news-board-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid rgba(196, 143, 84, 0.42);
}

.news-tab-btn {
  min-height: 74px;
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(128,89,56,0.92), rgba(117,80,50,0.92));
  color: #fff7ec;
  font-family: Protest, 'Oswald', sans-serif;
  font-size: 26px;
  border-radius: 4px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.news-tab-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.news-tab-btn.active {
  color: #932f00;
  background: url(/images/btn_1.png) center/100% 100% no-repeat;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.news-tab-panel { display: none; }
.news-tab-panel.active { display: block; }

.news-board-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  gap: 20px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(220, 156, 85, 0.5);
  background: linear-gradient(135deg, rgba(165,112,70,0.92), rgba(119,74,43,0.96));
  box-shadow: 0 12px 24px rgba(34, 11, 5, 0.2);
}

.news-hero-media,
.news-grid-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 10px;
  background: rgba(52, 26, 13, 0.38);
}

.news-hero-media {
  min-height: 320px;
}

.news-hero-media img,
.news-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-hero-card:hover .news-hero-media img,
.news-grid-card:hover .news-grid-thumb img {
  transform: scale(1.04);
}

.news-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f9db72, #efb84b);
  color: #6f2908;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 8px 14px rgba(41, 18, 8, 0.24);
}

.news-badge.small {
  top: 8px;
  left: 8px;
  padding: 4px 9px;
  font-size: 11px;
}

.news-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-hero-meta,
.news-grid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #f1dcc8;
  font-size: 12px;
  font-weight: 700;
}

.news-hero-content h3,
.news-grid-body h4 {
  margin: 12px 0 10px;
  line-height: 1.22;
}

.news-hero-content h3 a,
.news-grid-body h4 a {
  color: #fff8ef;
  text-decoration: none;
}

.news-hero-content h3 {
  font-size: 38px;
}

.news-grid-body h4 {
  font-size: 21px;
  min-height: 54px;
}

.news-hero-content p,
.news-grid-body p {
  margin: 0;
  color: rgba(255, 239, 223, 0.88);
  line-height: 1.7;
}

.news-hero-footer,
.news-grid-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.news-author-line {
  color: #ffe0b9;
  font-size: 14px;
  font-weight: 700;
}

.news-readmore-btn,
.news-grid-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 136px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff6ea !important;
  background: linear-gradient(180deg, #a74200, #7f2f00);
  box-shadow: 0 8px 14px rgba(41, 18, 8, 0.18);
  font-weight: 700;
}

.news-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-grid-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(223, 166, 98, 0.46);
  background: linear-gradient(180deg, rgba(255,245,232,0.98), rgba(247,231,211,0.96));
  box-shadow: 0 10px 18px rgba(34, 11, 5, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px rgba(34, 11, 5, 0.2);
}

.news-grid-thumb {
  aspect-ratio: 16 / 10;
}

.news-grid-body {
  padding: 14px;
}

.news-grid-body p {
  min-height: 48px;
  color: #7c5230;
}

.news-grid-meta {
  color: #9c714f;
}

.news-grid-footer a {
  min-width: auto;
  padding: 0;
  color: #983701 !important;
  background: transparent;
  box-shadow: none;
}

.news-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-radius: 12px;
  border: 1px dashed rgba(236, 181, 112, 0.34);
  color: #fce8cf;
  background: rgba(93, 58, 34, 0.4);
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.news-pagination a,
.news-pagination .current-page,
.news-pagination .page-dots {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(230, 179, 101, 0.42);
  background: rgba(255, 245, 231, 0.95);
  color: #8a3400;
  font-weight: 700;
}

.news-pagination a:hover,
.news-pagination .current-page {
  background: linear-gradient(180deg, #ffdf52, #ffc230);
  color: #6f2600;
}

@media (max-width: 991px) {
  .news-board-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-hero-card { grid-template-columns: 1fr; }
  .news-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .news-board-shell { width: calc(100% - 18px); margin: 22px auto 34px; padding: 8px; }
  .news-board-body { padding: 12px; min-height: 0; }
  .news-board-tabs { grid-template-columns: 1fr; }
  .news-tab-btn { min-height: 60px; font-size: 22px; }
  .news-grid-list { grid-template-columns: 1fr; }
  .news-hero-content h3 { font-size: 28px; }
  .news-grid-body h4 { min-height: 0; }
  .news-hero-footer, .news-grid-footer { flex-direction: column; align-items: flex-start; }
  .news-readmore-btn { width: 100%; }
}

/* ==== Homepage news grid rebalance + listing page ==== */
.news-home-section {
  width: min(1240px, calc(100% - 40px));
}

.news-home-section .news-board-body {
  min-height: 0;
}

.news-home-section .news-board-layout {
  gap: 18px;
}

.news-home-section .news-hero-card {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 18px;
  padding: 16px;
}

.news-home-section .news-hero-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.news-home-section .news-hero-content h3 {
  font-size: 32px;
  margin: 10px 0 10px;
}

.news-home-section .news-hero-content p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-home-section .compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-home-section .news-grid-card {
  border-radius: 10px;
}

.news-home-section .news-grid-thumb {
  aspect-ratio: 16 / 9;
}

.news-home-section .news-grid-body {
  padding: 12px 12px 14px;
}

.news-home-section .news-grid-body h4 {
  min-height: 48px;
  font-size: 19px;
  margin: 10px 0 8px;
}

.news-home-section .news-grid-body p {
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
}

.news-home-section .news-board-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.news-board-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #fff6ea !important;
  background: linear-gradient(180deg, #b64a00, #8b3200);
  box-shadow: 0 10px 18px rgba(41, 18, 8, 0.18);
}

.news-board-more-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.news-listing-page {
  width: min(1280px, calc(100% - 36px));
  margin-top: 30px;
  margin-bottom: 44px;
}

.news-listing-body {
  min-height: 0;
}

.news-listing-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-bottom: 18px;
}

.news-listing-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 217, 130, 0.14);
  border: 1px solid rgba(255, 217, 130, 0.2);
  color: #ffe5ba;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.news-listing-header h1 {
  margin: 0;
  color: #fff7eb;
  font-size: 42px;
  line-height: 1.1;
}

.news-listing-header p {
  margin: 10px 0 0;
  color: rgba(255, 236, 213, 0.88);
  max-width: 680px;
  line-height: 1.7;
}

.back-home-btn {
  white-space: nowrap;
}

.listing-tabs {
  margin-bottom: 20px;
}

.listing-board-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.listing-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(220, 156, 85, 0.5);
  background: linear-gradient(135deg, rgba(165,112,70,0.92), rgba(119,74,43,0.96));
  box-shadow: 0 12px 24px rgba(34, 11, 5, 0.2);
}

.listing-featured-thumb,
.listing-grid-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(52, 26, 13, 0.38);
}

.listing-featured-thumb {
  aspect-ratio: 16 / 9;
}

.listing-featured-thumb img,
.listing-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.listing-featured-card:hover .listing-featured-thumb img,
.listing-grid-card:hover .listing-grid-thumb img {
  transform: scale(1.04);
}

.listing-featured-body,
.listing-grid-body {
  min-width: 0;
}

.listing-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.listing-featured-body h2,
.listing-grid-body h3 {
  margin: 12px 0 10px;
  line-height: 1.22;
}

.listing-featured-body h2 a,
.listing-grid-body h3 a {
  color: #fff8ef;
  text-decoration: none;
}

.listing-featured-body h2 {
  font-size: 34px;
}

.listing-featured-body p,
.listing-grid-body p {
  margin: 0;
  color: rgba(255, 239, 223, 0.88);
  line-height: 1.7;
}

.listing-grid-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.listing-grid-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(223, 166, 98, 0.46);
  background: linear-gradient(180deg, rgba(255,245,232,0.98), rgba(247,231,211,0.96));
  box-shadow: 0 10px 18px rgba(34, 11, 5, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px rgba(34, 11, 5, 0.2);
}

.listing-grid-thumb {
  aspect-ratio: 16 / 10;
}

.listing-grid-body {
  padding: 14px;
}

.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #f1dcc8;
  font-size: 12px;
  font-weight: 700;
}

.listing-grid-body .listing-card-meta {
  color: #9c714f;
}

.listing-grid-body h3 {
  font-size: 20px;
  min-height: 52px;
}

.listing-grid-body p {
  min-height: 46px;
  color: #7c5230;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.listing-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.listing-grid-body .listing-card-footer a {
  color: #983701;
  font-weight: 700;
}

.listing-pagination {
  margin-top: 26px;
}

@media (max-width: 1199px) {
  .news-home-section .compact-grid,
  .listing-grid-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .news-home-section .news-hero-card,
  .listing-featured-card,
  .news-listing-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .news-home-section,
  .news-listing-page {
    width: calc(100% - 16px);
    margin: 18px auto 28px;
    padding: 8px;
  }

  .news-listing-header h1 {
    font-size: 30px;
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap {
    grid-template-columns: 1fr;
  }

  .news-home-section .news-hero-content h3,
  .listing-featured-body h2 {
    font-size: 26px;
  }

  .listing-grid-body h3,
  .news-home-section .news-grid-body h4 {
    min-height: 0;
  }

  .listing-card-footer,
  .news-home-section .news-hero-footer,
  .news-home-section .news-grid-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-home-btn,
  .news-board-more-btn,
  .news-home-section .news-readmore-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==== 2026-04 compact home/news/payment fixes ==== */
.news-home-section {
  width: min(1040px, calc(100% - 24px));
  margin: 34px auto 44px;
}

.news-home-section .news-board-body {
  padding: 14px 16px 20px;
}

.news-home-section .news-hero-card {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.78fr);
  gap: 16px;
  padding: 14px;
  align-items: stretch;
}

.news-home-section .news-hero-media {
  aspect-ratio: 16 / 8.8;
}

.news-home-section .news-hero-content {
  padding: 4px 0;
}

.news-home-section .news-hero-content h3 {
  font-size: 28px;
  margin: 8px 0 10px;
}

.news-home-section .news-hero-content p {
  -webkit-line-clamp: 3;
  font-size: 14px;
}

.news-home-section .compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-home-section .news-grid-thumb {
  aspect-ratio: 16 / 9.4;
}

.news-home-section .news-grid-body {
  padding: 12px;
}

.news-home-section .news-grid-body h4 {
  min-height: 44px;
  font-size: 18px;
}

.news-home-section .news-grid-body p {
  min-height: 40px;
  font-size: 13px;
}

.news-listing-page {
  width: min(1100px, calc(100% - 24px));
  margin-top: 150px;
}

.news-listing-body {
  padding-top: 20px;
}

.news-listing-header {
  padding-top: 4px;
}

.listing-featured-card {
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.82fr);
}

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

.related-posts-panel {
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(224, 171, 104, 0.34);
  background: linear-gradient(180deg, rgba(116,73,43,0.92), rgba(92,56,33,0.96));
  box-shadow: 0 14px 24px rgba(34, 11, 5, 0.16);
}

.related-posts-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.related-posts-head h3 {
  margin: 0;
  color: #fff7eb;
  font-size: 28px;
}

.related-posts-head p {
  margin: 6px 0 0;
  color: rgba(255, 235, 214, 0.84);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.payment-page {
  margin-top: 150px !important;
  margin-bottom: 50px;
}

.payment-page .form-shell--wide {
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .news-home-section,
  .news-listing-page {
    width: min(980px, calc(100% - 20px));
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap,
  .related-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .news-home-section .news-hero-card,
  .listing-featured-card,
  .related-posts-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .news-listing-page,
  .payment-page {
    margin-top: 120px !important;
  }
}

@media (max-width: 767px) {
  .news-home-section,
  .news-listing-page {
    width: calc(100% - 14px);
    margin-left: auto;
    margin-right: auto;
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap,
  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .news-listing-page,
  .payment-page {
    margin-top: 102px !important;
  }

  .related-posts-panel {
    padding: 16px;
  }

  .related-posts-head h3 {
    font-size: 24px;
  }
}

/* ==== Forum /dien-dan ==== */
.forum-page-wrap {
  padding-top: 36px;
  padding-bottom: 56px;
}

.forum-shell {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.forum-hero-card,
.forum-create-card,
.forum-highlight-card,
.forum-member-card,
.forum-detail-card,
.forum-comments-card,
.forum-related-card {
  background: linear-gradient(180deg, rgba(128, 77, 38, 0.96), rgba(109, 68, 37, 0.96));
  border: 1px solid rgba(239, 179, 103, 0.38);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(39, 18, 2, 0.28);
  padding: 24px 28px;
  color: #fff4df;
}

.forum-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.forum-hero-card h1 {
  font-size: 52px;
  line-height: 1;
  margin: 10px 0 14px;
  color: #fff8ec;
}

.forum-hero-card p,
.forum-daily-limit,
.forum-form-actions span,
.forum-login-box,
.forum-empty-box,
.forum-related-excerpt,
.forum-member-excerpt {
  color: rgba(255, 244, 223, 0.82);
}

.forum-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2cb66, #e09f3d);
  color: #6a3408;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.forum-back-btn,
.forum-submit-btn,
.forum-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c85d04, #a54200);
  color: #fff6eb;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.forum-back-btn:hover,
.forum-submit-btn:hover,
.forum-breadcrumb-link:hover,
.forum-highlight-item:hover,
.forum-member-item:hover,
.forum-related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(52, 22, 2, 0.22);
  color: #fff6eb;
}

.forum-alert {
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 700;
}

.forum-alert-error {
  background: rgba(139, 24, 24, 0.86);
  border: 1px solid rgba(255, 162, 162, 0.35);
}

.forum-alert-success {
  background: rgba(17, 120, 68, 0.86);
  border: 1px solid rgba(171, 255, 214, 0.35);
}

.forum-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.forum-block-head h2,
.forum-block-head h3,
.forum-detail-header h2 {
  margin: 10px 0 0;
  color: #fff8ec;
  font-size: 42px;
  line-height: 1;
}

.forum-comment-total {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 243, 223, 0.08);
  border: 1px solid rgba(255, 220, 176, 0.18);
}

.forum-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.forum-field-full {
  grid-column: 1 / -1;
}

.forum-field label,
.forum-reply-form label {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff5e8;
}

.forum-field input,
.forum-field textarea,
.forum-reply-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 218, 180, 0.24);
  background: rgba(70, 33, 10, 0.34);
  color: #fff8f0;
  padding: 16px 18px;
  outline: none;
}

.forum-field input:focus,
.forum-field textarea:focus,
.forum-reply-form textarea:focus {
  border-color: rgba(245, 201, 119, 0.82);
  box-shadow: 0 0 0 3px rgba(245, 201, 119, 0.12);
}

.forum-form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.forum-highlight-list,
.forum-member-list,
.forum-comment-list,
.forum-related-grid {
  display: grid;
  gap: 14px;
}

.forum-highlight-list {
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(236, 176, 107, 0.3);
}

.forum-highlight-item {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: #fff4e1;
  background: rgba(255, 233, 198, 0.08);
  border-bottom: 1px solid rgba(236, 176, 107, 0.24);
}

.forum-highlight-item:last-child {
  border-bottom: 0;
}

.forum-highlight-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffefc9;
}

.forum-highlight-meta,
.forum-member-meta,
.forum-detail-meta,
.forum-comment-head,
.forum-related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  color: rgba(255, 241, 220, 0.74);
  font-size: 18px;
}

.forum-member-item,
.forum-related-item {
  display: grid;
  gap: 16px;
  text-decoration: none;
  color: #fff4df;
  background: rgba(255, 236, 206, 0.07);
  border: 1px solid rgba(236, 176, 107, 0.22);
  border-radius: 18px;
  padding: 18px;
}

.forum-member-item {
  grid-template-columns: 58px 1fr;
  align-items: flex-start;
}

.forum-member-avatar,
.forum-comment-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe3a7, #f0a43a);
  color: #6f3507;
  font-size: 24px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.forum-member-head,
.forum-comment-head,
.forum-detail-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.forum-member-title {
  font-size: 28px;
  line-height: 1.15;
  color: #fff9ee;
  font-weight: 800;
}

.forum-status-answer,
.forum-status-wait,
.forum-badge,
.forum-inline-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}

.forum-status-answer,
.forum-badge-answered,
.forum-inline-admin {
  background: rgba(64, 188, 120, 0.18);
  color: #8ef0b8;
  border: 1px solid rgba(64, 188, 120, 0.32);
}

.forum-status-wait,
.forum-badge-waiting {
  background: rgba(255, 193, 7, 0.14);
  color: #ffd472;
  border: 1px solid rgba(255, 193, 7, 0.22);
}

.forum-badge-admin {
  background: rgba(114, 92, 255, 0.14);
  color: #d7d0ff;
  border: 1px solid rgba(114, 92, 255, 0.22);
}

.forum-detail-header {
  margin: 14px 0 18px;
}

.forum-topic-content,
.forum-comment-content {
  font-size: 21px;
  line-height: 1.7;
  color: #fff8ee;
}

.forum-comment-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 239, 218, 0.07);
  border: 1px solid rgba(237, 180, 111, 0.18);
}

.forum-comment-item.is-admin-reply {
  background: rgba(58, 176, 109, 0.12);
  border-color: rgba(58, 176, 109, 0.26);
}

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

.forum-related-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff8ee;
}

.forum-empty-box,
.forum-login-box {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 235, 205, 0.08);
  border: 1px dashed rgba(238, 183, 116, 0.28);
}

.forum-login-box a {
  color: #ffd98d;
  font-weight: 700;
}

.forum-pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.forum-page-link {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffe8c7;
  background: rgba(255, 236, 206, 0.07);
  border: 1px solid rgba(236, 176, 107, 0.22);
}

.forum-page-link.is-active {
  background: linear-gradient(135deg, #f0c861, #d58d1b);
  color: #6c3408;
  font-weight: 800;
}

@media (max-width: 991px) {
  .forum-shell {
    max-width: 100%;
  }

  .forum-hero-card,
  .forum-form-actions,
  .forum-block-head,
  .forum-member-head,
  .forum-detail-topbar,
  .forum-comment-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-form-grid,
  .forum-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .forum-page-wrap {
    padding-top: 20px;
  }

  .forum-hero-card,
  .forum-create-card,
  .forum-highlight-card,
  .forum-member-card,
  .forum-detail-card,
  .forum-comments-card,
  .forum-related-card {
    padding: 18px;
    border-radius: 18px;
  }

  .forum-hero-card h1,
  .forum-block-head h2,
  .forum-block-head h3,
  .forum-detail-header h2 {
    font-size: 34px;
  }

  .forum-member-item,
  .forum-comment-item {
    grid-template-columns: 1fr;
  }

  .forum-member-avatar,
  .forum-comment-avatar {
    width: 48px;
    height: 48px;
  }
}

/* =========================================================
   Responsive polish pack - added by ChatGPT 2026-04-24
   Muc tieu: giu nguyen giao dien, sua layout tran/manh tren tablet-mobile.
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    background-size: cover;
    background-position: center top;
}

img, video, canvas, svg, iframe {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    word-break: break-word;
}

.table-responsive,
.game-table-scroll,
.gift-table-wrap,
.forum-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
}

.container,
.container-fluid,
.container-signin,
.news-board-shell,
.news-home-section,
.news-listing-page,
.forum-page-wrap,
.forum-shell,
.body-post {
    max-width: min(100%, 1180px);
}

.container.page-header {
    left: 0;
    right: 0;
    width: 100%;
    padding-left: clamp(8px, 2vw, 18px);
    padding-right: clamp(8px, 2vw, 18px);
}

.container .header-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    gap: 8px 10px;
}

.container .header-content .btn-bg {
    flex: 0 1 180px;
    width: auto;
    min-width: 128px;
    max-width: 190px;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 8px;
}

.container .header-content .btn-bg a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    line-height: 1.15;
    white-space: nowrap;
    text-decoration: none;
}

.container .header-content .logo {
    flex: 0 1 210px;
    width: auto;
    max-width: 230px;
}

.container .header-content .nsotien_logo {
    width: min(188px, 100%);
    height: auto;
}

.container.down-load {
    width: min(100%, 1180px);
    min-height: 620px;
    height: clamp(620px, 78vh, 1000px);
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: clamp(70px, 11vw, 150px);
}

.container.down-load .btn-download .jumping-link {
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: clamp(34px, 6vw, 50px);
    line-height: 1.1;
    margin-bottom: clamp(18px, 4vw, 40px);
    text-align: center;
}

.container .box-down {
    width: min(100%, 760px) !important;
    max-width: calc(100vw - 24px);
    gap: 10px;
    padding: 12px;
}

.container .box-down .box-img {
    flex: 0 0 28%;
    width: auto !important;
    gap: 10px;
    align-items: center;
}

.container .box-down .box-img img,
.container .box-down .box-img img[style] {
    width: clamp(64px, 11vw, 110px) !important;
    height: auto !important;
}

.container .box-down .box-item {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    gap: 8px;
}

.container .box-down .box-item .item {
    flex: 1 1 190px;
    width: auto !important;
    min-width: 160px;
    max-width: 240px;
}

.container .box-down .box-item .item a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    line-height: 1.15;
    padding: 0 8px;
    text-decoration: none;
    white-space: nowrap;
}

.news-board-shell,
.news-home-section,
.news-listing-page,
.container-signin,
.game-table-page.container-signin.bxh,
.container-signin.bxh.giftcode-page {
    width: min(100% - 24px, 1180px);
    margin-left: auto;
    margin-right: auto;
}

.news-hero-card,
.listing-featured-card {
    min-width: 0;
}

.news-hero-media,
.news-grid-thumb,
.listing-card-thumb,
.listing-featured-media {
    min-height: 0;
}

.news-grid-list,
.news-home-section .compact-grid,
.listing-grid-wrap,
.related-posts-grid,
.forum-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.slide-cards {
    background-size: cover;
    overflow: hidden;
}

.slide-cards .slider {
    width: min(100% - 24px, 800px);
}

.slide-cards .slide-title span {
    display: block;
    padding-left: clamp(28px, 8vw, 100px);
    padding-right: clamp(28px, 8vw, 100px);
    white-space: nowrap;
}

.gt-nv {
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.tab-container-nv {
    gap: 8px;
    padding: 0 12px;
}

.tab img {
    width: clamp(52px, 9vw, 80px);
    height: auto;
}

.bn-champ {
    width: min(100% - 24px, 960px);
    margin-left: auto;
    margin-right: auto;
}

.tab-content-nv {
    width: min(100%, 888px);
    min-height: clamp(360px, 45vw, 493px);
    padding: clamp(36px, 10vw, 135px) clamp(14px, 4vw, 30px) !important;
}

.infor-champ {
    gap: 18px;
    align-items: center;
}

.left-block,
.right-block {
    min-width: 0;
}

.right-block img,
.right-block img[width] {
    width: auto;
    max-width: min(42vw, 250px);
    height: auto;
}

.left-block .name-champ {
    font-size: clamp(30px, 6vw, 50px);
    line-height: 1.1;
    margin-bottom: clamp(18px, 4vw, 40px);
}

.post img,
.post-detail img,
.card-body img,
.forum-topic-content img,
.forum-comment-content img {
    max-width: 100% !important;
    height: auto !important;
}

.form-control,
.btn,
button,
input,
select,
textarea {
    max-width: 100%;
}

.container-signin .form-signin,
.form-shell,
.form-shell--wide,
.payment-page .form-shell--wide {
    width: min(100%, 760px);
}

.footer,
.footer-bottom {
    overflow-x: hidden;
}

@media (max-width: 1199px) {
    .container .header-content .btn-bg {
        flex-basis: 150px;
        min-width: 112px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .container .header-content .btn-bg a {
        font-size: 13px !important;
    }

    .container .header-content .logo {
        flex-basis: 180px;
    }
}

@media (max-width: 991px) {
    .container.page-header {
        position: sticky;
        top: 0;
        padding-top: 8px;
        padding-bottom: 8px;
        background: linear-gradient(180deg, rgba(26, 9, 4, 0.82), rgba(26, 9, 4, 0));
        backdrop-filter: blur(2px);
    }

    .container .header-content {
        justify-content: center !important;
        row-gap: 6px;
    }

    .container .header-content .logo {
        order: -1;
        flex: 0 0 100%;
        max-width: 100%;
        position: static !important;
    }

    .container .header-content .nsotien_logo {
        width: 150px;
    }

    .container .header-content .btn-bg {
        flex: 1 1 calc(25% - 10px);
        min-width: 132px;
        max-width: 180px;
        padding: 13px 6px;
    }

    .container.down-load {
        min-height: 520px;
        height: auto;
        padding-top: 34px;
    }

    .news-home-section .news-hero-card,
    .news-hero-card,
    .listing-featured-card {
        grid-template-columns: 1fr !important;
    }

    .news-hero-media,
    .listing-featured-media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .infor-champ {
        flex-direction: column;
        text-align: center;
    }

    .left-block,
    .right-block {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 767px) {
    body {
        background-attachment: scroll;
        background-position: center top;
    }

    .container.page-header {
        padding-left: 6px;
        padding-right: 6px;
    }

    .container .header-content {
        --bs-gutter-x: 0;
        gap: 4px 5px;
    }

    .container .header-content .nsotien_logo {
        width: 128px;
    }

    .container .header-content .btn-bg {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        max-width: none;
        padding: 10px 5px;
        background-size: 100% 100%;
    }

    .container .header-content .btn-bg a {
        min-height: 30px;
        font-size: clamp(10px, 3.1vw, 12px) !important;
        white-space: normal;
    }

    .container.down-load {
        min-height: 460px;
        padding-top: 18px;
        padding-bottom: 44px;
    }

    .container.down-load .btn-download .jumping-link {
        font-size: clamp(30px, 10vw, 42px);
    }

    .container .box-down {
        flex-direction: column;
        width: min(100%, 430px) !important;
        padding: 14px 12px;
        background-size: 100% 100%;
    }

    .container .box-down .box-img {
        flex: 0 0 auto;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: center;
    }

    .container .box-down .box-img img,
    .container .box-down .box-img img[style] {
        width: clamp(58px, 20vw, 86px) !important;
    }

    .container .box-down .box-item {
        width: 100% !important;
        padding: 8px 0 2px;
    }

    .container .box-down .box-item .item {
        flex: 1 1 calc(50% - 8px);
        min-width: 130px;
        height: 48px;
        line-height: 1.15;
        margin: 0;
    }

    .container .box-down .box-item .item a {
        font-size: clamp(10px, 3.2vw, 12px) !important;
        white-space: normal;
    }

    .news-board-shell,
    .news-home-section,
    .news-listing-page,
    .container-signin,
    .game-table-page.container-signin.bxh,
    .container-signin.bxh.giftcode-page,
    .forum-page-wrap {
        width: calc(100% - 12px) !important;
        padding-left: 8px;
        padding-right: 8px;
    }

    .news-board-body,
    .news-home-section .news-board-body,
    .news-listing-body {
        padding: 12px !important;
    }

    .news-board-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .news-tab-btn {
        min-height: 52px;
        padding: 8px;
        font-size: clamp(16px, 5vw, 22px);
    }

    .news-home-section .news-hero-content h3,
    .news-hero-content h3,
    .listing-featured-body h2 {
        font-size: clamp(24px, 8vw, 30px) !important;
    }

    .news-hero-footer,
    .news-grid-footer,
    .listing-card-footer,
    .related-posts-head {
        flex-direction: column;
        align-items: stretch !important;
    }

    .news-readmore-btn,
    .news-board-more-btn,
    .back-home-btn,
    .game-action-btn,
    .mini-copy-btn {
        width: 100%;
        justify-content: center;
    }

    .slide-cards {
        margin-top: -80px;
        padding-top: 130px;
        padding-bottom: 80px !important;
    }

    .slide-cards .slide-title {
        height: auto;
        min-height: 54px;
        margin: 24px auto;
    }

    .slide-cards .slide-title span {
        font-size: clamp(20px, 7vw, 28px) !important;
        line-height: 48px;
        white-space: normal;
    }

    .gt-nv {
        padding: 54px 0;
    }

    .tab-container-nv {
        gap: 5px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .tab {
        padding: 3px;
    }

    .tab img {
        width: clamp(40px, 13vw, 58px);
    }

    .bn-champ {
        width: calc(100% - 12px);
        background-image: none !important;
        border-radius: 20px;
        background-color: rgba(44, 18, 8, 0.7);
        border: 1px solid rgba(255, 210, 117, 0.25);
    }

    .tab-content-nv {
        min-height: 0;
        padding-top: 24px !important;
        padding-bottom: 28px !important;
    }

    .left-block .name-champ {
        padding-left: 0;
        padding-right: 0;
    }

    .left-block span {
        font-size: clamp(15px, 4.2vw, 18px);
        line-height: 1.5;
    }

    .right-block img,
    .right-block img[width] {
        max-width: min(68vw, 210px);
    }

    .container-signin {
        padding-top: 24px;
        padding-bottom: 38px;
        background-size: 100% 100%;
    }

    .container-signin .form-signin {
        width: 100%;
    }

    .forum-hero-card h1,
    .forum-block-head h2,
    .forum-block-head h3,
    .forum-detail-header h2,
    .related-posts-head h3,
    .container-signin.bxh h4 {
        font-size: clamp(26px, 8vw, 34px) !important;
    }

    .forum-topic-content,
    .forum-comment-content {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .container .header-content .btn-bg {
        flex-basis: calc(50% - 5px);
    }

    .container .box-down .box-item .item {
        flex-basis: 100%;
    }

    .news-board-tabs {
        grid-template-columns: 1fr !important;
    }

    .news-grid-list,
    .news-home-section .compact-grid,
    .listing-grid-wrap,
    .related-posts-grid {
        grid-template-columns: 1fr !important;
    }

    .news-hero-meta,
    .news-grid-meta {
        gap: 6px;
    }

    .footer {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ==== PATCH: improve post listing text contrast after responsive patch ==== */
.news-listing-page .listing-grid-card {
    background: linear-gradient(180deg, rgba(255, 247, 235, 0.99), rgba(244, 226, 203, 0.98));
}

.news-listing-page .listing-grid-body,
.news-listing-page .listing-grid-body * {
    text-shadow: none;
}

.news-listing-page .listing-grid-body .listing-card-meta,
.news-listing-page .listing-grid-body .listing-card-meta span,
.news-listing-page .listing-grid-body .listing-card-meta i {
    color: #8a5a35;
    opacity: 1;
}

.news-listing-page .listing-grid-body h3 a,
.news-listing-page .listing-grid-body h3 a:visited {
    color: #6f3218;
    font-weight: 800;
    text-decoration: none;
}

.news-listing-page .listing-grid-body h3 a:hover {
    color: #a53f12;
}

.news-listing-page .listing-grid-body p {
    color: #5f432d;
    opacity: 1;
    font-weight: 600;
}

.news-listing-page .listing-grid-body .news-author-line {
    color: #8a5a35;
    font-weight: 800;
    opacity: 1;
}

.news-listing-page .listing-grid-body .listing-card-footer a,
.news-listing-page .listing-grid-body .listing-card-footer a:visited {
    color: #9b3200;
    font-weight: 900;
}

.news-listing-page .listing-grid-body .listing-card-footer a:hover {
    color: #c84a05;
}

.news-listing-page .listing-featured-body h2 a,
.news-listing-page .listing-featured-body h2 a:visited {
    color: #fff9ef;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.news-listing-page .listing-featured-body p,
.news-listing-page .listing-featured-body .news-author-line,
.news-listing-page .listing-featured-body .listing-card-meta,
.news-listing-page .listing-featured-body .listing-card-meta span,
.news-listing-page .listing-featured-body .listing-card-meta i {
    color: #fff1dc;
    opacity: 1;
}

.news-listing-page .listing-card-footer {
    margin-top: 18px;
}

@media (max-width: 767px) {
    .news-listing-page .listing-grid-body h3 {
        min-height: 0;
        font-size: 22px;
    }

    .news-listing-page .listing-grid-body p {
        min-height: 0;
        font-size: 15px;
    }
}

/* ==== PATCH 2026-04-24: fix home post text contrast + mobile background scale ==== */
.news-home-section .news-grid-card,
.news-board-shell .news-grid-card {
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.99), rgba(244, 228, 207, 0.98)) !important;
}

.news-home-section .news-grid-body,
.news-home-section .news-grid-body *,
.news-board-shell .news-grid-card .news-grid-body,
.news-board-shell .news-grid-card .news-grid-body * {
    text-shadow: none !important;
}

.news-home-section .news-grid-body h4 a,
.news-home-section .news-grid-body h4 a:visited,
.news-board-shell .news-grid-card .news-grid-body h4 a,
.news-board-shell .news-grid-card .news-grid-body h4 a:visited {
    color: #5f2810 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.news-home-section .news-grid-body h4 a:hover,
.news-board-shell .news-grid-card .news-grid-body h4 a:hover {
    color: #a53f12 !important;
}

.news-home-section .news-grid-meta,
.news-home-section .news-grid-meta span,
.news-home-section .news-grid-meta i,
.news-board-shell .news-grid-card .news-grid-meta,
.news-board-shell .news-grid-card .news-grid-meta span,
.news-board-shell .news-grid-card .news-grid-meta i {
    color: #7b5231 !important;
    opacity: 1 !important;
}

.news-home-section .news-grid-body p,
.news-board-shell .news-grid-card .news-grid-body p {
    color: #5b3d26 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.news-home-section .news-grid-footer .news-author-line,
.news-board-shell .news-grid-card .news-grid-footer .news-author-line {
    color: #7b5231 !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}

.news-home-section .news-grid-footer a,
.news-home-section .news-grid-footer a:visited,
.news-board-shell .news-grid-card .news-grid-footer a,
.news-board-shell .news-grid-card .news-grid-footer a:visited {
    color: #983701 !important;
    opacity: 1 !important;
    font-weight: 900 !important;
}

.news-home-section .news-grid-footer a:hover,
.news-board-shell .news-grid-card .news-grid-footer a:hover {
    color: #c84a05 !important;
}

/* Listing cards share the same light background: keep text dark/readable there too. */
.news-listing-page .listing-grid-card,
.news-listing-page .news-grid-card {
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.99), rgba(244, 228, 207, 0.98)) !important;
}

.news-listing-page .listing-grid-body h3 a,
.news-listing-page .listing-grid-body h3 a:visited,
.news-listing-page .news-grid-body h4 a,
.news-listing-page .news-grid-body h4 a:visited {
    color: #5f2810 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

.news-listing-page .listing-grid-body p,
.news-listing-page .news-grid-body p {
    color: #5b3d26 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.news-listing-page .listing-card-meta,
.news-listing-page .listing-card-meta span,
.news-listing-page .listing-card-meta i,
.news-listing-page .news-grid-meta,
.news-listing-page .news-grid-meta span,
.news-listing-page .news-grid-meta i,
.news-listing-page .news-author-line {
    color: #7b5231 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.news-listing-page .listing-card-footer a,
.news-listing-page .listing-card-footer a:visited,
.news-listing-page .news-grid-footer a,
.news-listing-page .news-grid-footer a:visited {
    color: #983701 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

/* Noi dung chi tiet bai viet: chan mau nhat/opacity tu editor chen vao. */
.news-article-content,
.news-article-content p,
.news-article-content div,
.news-article-content li,
.news-article-content span,
.news-article-content strong,
.news-article-content em,
.news-article-content b,
.news-article-content i {
    color: #2f2117 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.news-article-content a {
    color: #8f2418 !important;
}

@media (max-width: 767px) {
    body {
        background-size: 100% auto !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        background-color: #6b3b1f !important;
    }

    .container.down-load {
        min-height: clamp(360px, 118vw, 520px) !important;
        padding-top: clamp(72px, 20vw, 110px) !important;
        padding-bottom: 34px !important;
        justify-content: flex-end !important;
    }

    .news-home-section .news-grid-body h4,
    .news-listing-page .listing-grid-body h3,
    .news-listing-page .news-grid-body h4 {
        min-height: 0 !important;
    }
}

/* ==== PATCH 2026-04: header stable + PC 80% + mobile background/nav ==== */
body {
    background-size: cover !important;
    background-position: center top !important;
    background-color: #4d250f;
}

body.card-body {
    margin-top: 0 !important;
}

.card-body:not(body) {
    margin-top: 0 !important;
}

.container.main.page-header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    z-index: 1050 !important;
    transform: none !important;
    transition: none !important;
    margin: 0 auto 16px !important;
    padding: 8px 12px 10px !important;
    max-width: min(80vw, 1280px) !important;
    width: min(80vw, 1280px) !important;
    border-radius: 0 0 26px 26px;
    background: rgba(103, 61, 35, 0.92);
    border: 1px solid rgba(255, 211, 133, 0.18);
    border-top: 0;
    box-shadow: 0 12px 24px rgba(41, 15, 5, 0.22);
}

.container.main.page-header .header {
    width: 100%;
}

.container.main.page-header .header-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
}

.container.main.page-header .header-content .btn-bg,
.container.main.page-header .header-content .logo {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.container.main.page-header .header-content .btn-bg {
    flex-basis: min(18%, 180px) !important;
    min-width: 132px;
    background-size: 100% 100% !important;
}

.container.main.page-header .header-content .logo {
    flex-basis: 200px !important;
    min-width: 160px;
}

.container.main.page-header .header-content .nsotien_logo {
    display: block;
    width: 100%;
    max-width: 190px !important;
    height: auto;
    margin: 0 auto;
}

.container.main.page-header .header-content .btn-bg a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: 100%;
    padding: 0 12px;
    text-decoration: none !important;
    white-space: nowrap;
}

.container.main.page-header .header-content .nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.container.main.page-header .header-content .nav-pill span {
    display: inline-block;
}

.container.down-load,
.news-home-section,
.news-board-shell,
.news-listing-page,
.post-board-shell,
.post-detail-shell,
.container-signin.form-page,
.container-signin.payment-page,
.container-signin.bxh,
.container-signin.card-his,
.game-table-page.container-signin.bxh {
    max-width: min(80vw, 1280px) !important;
}

.container.down-load {
    width: min(80vw, 1280px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.news-home-section,
.news-board-shell,
.news-listing-page,
.post-board-shell,
.post-detail-shell {
    width: min(80vw, 1280px) !important;
}

.container-signin.form-page,
.container-signin.payment-page {
    width: min(80vw, 980px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 22px !important;
}

.payment-page.container-signin.bank {
    max-width: min(80vw, 980px) !important;
}

html {
    scroll-padding-top: 120px;
}

#post-section,
.container-signin,
.post-detail-page,
.news-listing-page {
    scroll-margin-top: 120px;
}

@media (max-width: 991px) {
    .container.main.page-header,
    .container.down-load,
    .news-home-section,
    .news-board-shell,
    .news-listing-page,
    .post-board-shell,
    .post-detail-shell,
    .container-signin.form-page,
    .container-signin.payment-page,
    .container-signin.bxh,
    .container-signin.card-his,
    .game-table-page.container-signin.bxh {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }

    .container.main.page-header .header-content {
        gap: 8px !important;
    }

    .container.main.page-header .header-content .btn-bg {
        min-width: 112px;
    }

    .container.main.page-header .header-content .logo {
        flex-basis: 160px !important;
        min-width: 130px;
    }

    .container.main.page-header .header-content .nsotien_logo {
        max-width: 150px !important;
    }

    .container.main.page-header .header-content .btn-bg a {
        min-height: 48px;
        font-size: 13px !important;
    }
}

@media (max-width: 767px) {
    body {
        background-size: auto 100vh !important;
        background-position: center top !important;
        background-attachment: scroll !important;
    }

    .container.main.page-header {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 12px !important;
        padding: 8px 10px 10px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .container.main.page-header .header {
        padding: 8px;
        border-radius: 0 0 18px 18px;
        background: rgba(87, 49, 29, 0.90);
        box-shadow: 0 8px 18px rgba(34, 12, 4, 0.16);
    }

    .container.main.page-header .header-content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .container.main.page-header .header-content .logo {
        grid-column: 1 / -1;
        order: -1;
        position: static !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
        padding: 0 0 2px !important;
    }

    .container.main.page-header .header-content .nsotien_logo {
        max-width: 150px !important;
    }

    .container.main.page-header .header-content .btn-bg {
        width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
        background: none !important;
    }

    .container.main.page-header .header-content .btn-bg a {
        min-height: 42px;
        padding: 0 10px;
        border-radius: 999px;
        border: 1px solid rgba(255, 226, 151, 0.28);
        background: linear-gradient(180deg, rgba(239, 137, 45, 0.96), rgba(195, 75, 24, 0.96));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 6px 12px rgba(51, 16, 4, 0.16);
        font-size: 13px !important;
        line-height: 1.15 !important;
        color: #fff8ea !important;
        text-shadow: none !important;
    }

    .container.main.page-header .header-content .nav-pill {
        gap: 6px;
        line-height: 1;
    }

    .container.down-load {
        height: auto !important;
        min-height: 58vh;
        padding-top: 24px !important;
        padding-bottom: 32px !important;
    }

    .container-signin.form-page,
    .container-signin.payment-page {
        margin-top: 12px !important;
    }

    .payment-info-card[style*="grid-column"] {
        grid-column: auto !important;
    }
}

@media (max-width: 380px) {
    .container.main.page-header .header-content .btn-bg a {
        font-size: 12px !important;
        min-height: 40px;
    }

    .container.main.page-header .header-content .nsotien_logo {
        max-width: 132px !important;
    }
}

/* ==== FINAL PATCH: transparent scrolling header + mobile toggle + forum/payment alignment ==== */
html {
    scroll-padding-top: 0 !important;
}

body {
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: scroll !important;
}

body.card-body,
.card-body:not(body) {
    margin-top: 0 !important;
}

.container.main.page-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 20 !important;
    transform: none !important;
    transition: none !important;
    width: min(80vw, 1280px) !important;
    max-width: min(80vw, 1280px) !important;
    margin: 0 auto 18px !important;
    padding: 10px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.container.main.page-header .header {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.container.main.page-header .header-content {
    margin: 0 auto !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mobile-header-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 226, 151, 0.38);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(239, 137, 45, 0.96), rgba(195, 75, 24, 0.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 14px rgba(51, 16, 4, 0.18);
    color: #fff8ea;
    font-family: Protest, sans-serif;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
}

.mobile-header-toggle:focus-visible {
    outline: 2px solid #ffe297;
    outline-offset: 3px;
}

.mobile-header-toggle__icon,
.mobile-header-toggle__text {
    display: inline-flex;
    align-items: center;
}

#post-section,
.container-signin,
.post-detail-page,
.news-listing-page,
.forum-page-wrap {
    scroll-margin-top: 20px !important;
}

.forum-page-wrap {
    width: min(80vw, 1280px) !important;
    max-width: min(80vw, 1280px) !important;
    margin: 0 auto 36px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.forum-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.container-signin.payment-page,
.payment-page.container-signin.bank {
    width: min(80vw, 980px) !important;
    max-width: min(80vw, 980px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 991px) {
    .container.main.page-header,
    .forum-page-wrap,
    .container-signin.payment-page,
    .payment-page.container-signin.bank {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }
}

@media (max-width: 767px) {
    body {
        background-size: cover !important;
        background-position: center top !important;
        background-attachment: scroll !important;
    }

    .container.main.page-header {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 10px !important;
        padding: 10px 10px 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .mobile-header-toggle {
        display: inline-flex;
        margin: 0 0 8px 0;
    }

    .container.main.page-header .header {
        display: none !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .container.main.page-header.is-open .header {
        display: block !important;
    }

    .container.main.page-header .header-content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .container.main.page-header .header-content .logo {
        grid-column: 1 / -1;
        order: -1;
        width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
        padding: 0 0 4px !important;
        background: transparent !important;
    }

    .container.main.page-header .header-content .nsotien_logo {
        max-width: 150px !important;
    }

    .container.main.page-header .header-content .btn-bg {
        width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
        background: none !important;
        padding: 0 !important;
    }

    .container.main.page-header .header-content .btn-bg a {
        min-height: 42px !important;
        padding: 0 10px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(255, 226, 151, 0.30) !important;
        background: linear-gradient(180deg, rgba(239, 137, 45, 0.96), rgba(195, 75, 24, 0.96)) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 6px 12px rgba(51, 16, 4, 0.16) !important;
        color: #fff8ea !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
        text-shadow: none !important;
    }

    .forum-page-wrap {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
        margin-top: 0 !important;
    }

    .container-signin.payment-page,
    .payment-page.container-signin.bank {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
    }
}


/* ==== PATCH 2026-04-24: home background scale + forum admin/member pagination ==== */
body {
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #6b351a !important;
}

.container.down-load {
    min-height: clamp(560px, 70vw, 860px) !important;
    height: clamp(560px, 70vw, 860px) !important;
    padding-bottom: clamp(48px, 8vw, 110px) !important;
}

.forum-highlight-card {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 220, 116, 0.72) !important;
    background:
        radial-gradient(circle at top left, rgba(255, 229, 131, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(154, 76, 25, 0.98), rgba(101, 48, 18, 0.98)) !important;
    box-shadow:
        0 22px 54px rgba(45, 15, 2, 0.38),
        0 0 0 4px rgba(255, 196, 85, 0.12) inset !important;
}

.forum-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent 28%, rgba(255,255,255,0.05));
}

.forum-highlight-card .forum-block-head,
.forum-highlight-card .forum-highlight-note,
.forum-highlight-card .forum-highlight-list {
    position: relative;
    z-index: 1;
}

.forum-highlight-note {
    margin: -6px 0 14px;
    color: #ffeec7;
    font-size: 17px;
    line-height: 1.35;
}

.forum-highlight-list {
    border-color: rgba(255, 220, 116, 0.56) !important;
    background: rgba(55, 24, 8, 0.20);
}

.forum-highlight-item {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "badge title"
        "badge meta";
    gap: 6px 14px;
    align-items: center;
    padding: 18px 20px !important;
    background: linear-gradient(90deg, rgba(255, 218, 128, 0.18), rgba(255, 239, 204, 0.07)) !important;
}

.forum-highlight-item:hover {
    background: linear-gradient(90deg, rgba(255, 229, 148, 0.25), rgba(255, 239, 204, 0.12)) !important;
}

.forum-highlight-badge {
    grid-area: badge;
    align-self: start;
    padding: 7px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe28a, #f39d28);
    color: #692d04;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 0 5px 12px rgba(56, 19, 2, 0.18);
}

.forum-highlight-title {
    grid-area: title;
    color: #fff7df !important;
    text-shadow: 0 2px 0 rgba(80, 24, 4, 0.45);
}

.forum-highlight-meta {
    grid-area: meta;
    color: rgba(255, 242, 218, 0.86) !important;
}

.forum-member-card {
    border-color: rgba(236, 176, 107, 0.46) !important;
}

.forum-member-list {
    gap: 12px !important;
}

.forum-member-item {
    background: rgba(255, 236, 206, 0.10) !important;
}

.forum-pagination {
    padding-top: 4px;
}

.forum-page-link {
    font-weight: 800;
}

@media (min-width: 1200px) {
    .container.main.page-header,
    .container.down-load,
    .news-board-shell,
    .news-home-section,
    .news-listing-page,
    .forum-page-wrap,
    .container-signin,
    .game-table-page.container-signin.bxh,
    .container-signin.bxh.giftcode-page {
        width: min(80vw, 1280px) !important;
        max-width: min(80vw, 1280px) !important;
    }
}

@media (max-width: 767px) {
    body {
        background-size: auto 100vh !important;
        background-position: center top !important;
    }

    .container.down-load {
        min-height: 120vh !important;
        height: auto !important;
        padding-top: 16px !important;
        padding-bottom: 30px !important;
    }

    .forum-highlight-item {
        grid-template-columns: 1fr;
        grid-template-areas:
            "badge"
            "title"
            "meta";
    }

    .forum-highlight-badge {
        width: fit-content;
    }
}

/* ==== REPAIR 2026-04-24: can chuan nhan vat + slider trang chu tu source goc ==== */
.page-home .gt-nv {
    position: relative !important;
    width: 100% !important;
    max-width: 1920px !important;
    margin: 0 auto !important;
    padding: clamp(78px, 6.5vw, 120px) 0 clamp(70px, 6vw, 110px) !important;
    background-image: url('../../images/aaaa1.jpg') !important;
    background-size: 100% 100% !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

.page-home .gt-nv .tab-container-nv {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: clamp(8px, 1vw, 14px) !important;
    width: min(92vw, 980px) !important;
    margin: 0 auto clamp(34px, 3.6vw, 58px) !important;
    padding: 0 !important;
}

.page-home .gt-nv .tab {
    flex: 0 0 auto !important;
    padding: 0 !important;
}

.page-home .gt-nv .tab img {
    display: block !important;
    width: clamp(54px, 4.3vw, 82px) !important;
    height: auto !important;
}

.page-home .gt-nv .bn-champ {
    position: relative !important;
    z-index: 1 !important;
    width: min(74vw, 1100px) !important;
    max-width: calc(100% - 32px) !important;
    aspect-ratio: 1550 / 655 !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background-image: url('../../images/bg_gift.png') !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: visible !important;
}

.page-home .gt-nv .tab-content-nv {
    position: absolute !important;
    inset: 0 !important;
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.page-home .gt-nv .tab-content-nv.active-tab {
    display: block !important;
}

.page-home .gt-nv .infor-champ {
    position: absolute !important;
    left: 21.5% !important;
    right: 16.8% !important;
    top: 16.5% !important;
    bottom: 16.5% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 32%) !important;
    align-items: center !important;
    gap: clamp(12px, 2vw, 30px) !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.page-home .gt-nv .left-block,
.page-home .gt-nv .right-block {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.page-home .gt-nv .left-block {
    align-self: center !important;
    overflow: visible !important;
}

.page-home .gt-nv .left-block .name-champ {
    margin: 0 0 clamp(14px, 1.9vw, 28px) !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: clamp(26px, 2.4vw, 42px) !important;
    line-height: 1.05 !important;
    white-space: normal !important;
}

.page-home .gt-nv .left-block span {
    display: block !important;
    margin: 0 0 clamp(4px, .55vw, 9px) !important;
    font-size: clamp(13px, 1.05vw, 19px) !important;
    line-height: 1.28 !important;
    white-space: normal !important;
    color: #fff8ee !important;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .42) !important;
}

.page-home .gt-nv .left-block strong {
    color: #ffff99 !important;
}

.page-home .gt-nv .right-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    overflow: visible !important;
}

.page-home .gt-nv .right-block img,
.page-home .gt-nv .right-block img[width] {
    display: block !important;
    width: auto !important;
    height: min(96%, 360px) !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.page-home .slide-cards {
    position: relative !important;
    width: 100% !important;
    max-width: 1920px !important;
    aspect-ratio: 1920 / 1231 !important;
    min-height: 0 !important;
    margin: clamp(-78px, -4vw, -38px) auto 0 !important;
    padding: 0 !important;
    background-image: url('../../images/bg2-2.png') !important;
    background-size: 100% 100% !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    overflow: visible !important;
}

.page-home .slide-cards .slide-title {
    position: absolute !important;
    z-index: 2 !important;
    top: 7.4% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: fit-content !important;
    height: clamp(44px, 3.8vw, 64px) !important;
    margin: 0 !important;
}

.page-home .slide-cards .slide-title span {
    display: block !important;
    padding: 0 clamp(58px, 5.3vw, 100px) !important;
    font-size: clamp(22px, 2vw, 32px) !important;
    line-height: clamp(42px, 3.4vw, 56px) !important;
    white-space: nowrap !important;
}

.page-home .slide-cards .card.slider,
.page-home .slide-cards .slider {
    position: absolute !important;
    z-index: 1 !important;
    top: 35.2% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(48vw, 860px) !important;
    max-width: 860px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.page-home .slide-cards .slick-list,
.page-home .slide-cards .slick-track,
.page-home .slide-cards .slick-slide,
.page-home .slide-cards .post-image {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-home .slide-cards .post-image img,
.page-home .slide-cards .post-image img[width],
.page-home .slide-cards .slick-slide img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 991px) {
    .page-home .gt-nv {
        padding-top: 64px !important;
        padding-bottom: 70px !important;
        background-size: cover !important;
    }

    .page-home .gt-nv .bn-champ {
        width: min(96vw, 900px) !important;
    }

    .page-home .gt-nv .infor-champ {
        left: 20% !important;
        right: 15% !important;
        top: 16% !important;
        bottom: 16% !important;
        gap: 12px !important;
    }

    .page-home .gt-nv .left-block .name-champ {
        font-size: clamp(22px, 4.2vw, 34px) !important;
    }

    .page-home .gt-nv .left-block span {
        font-size: clamp(12px, 2vw, 16px) !important;
        line-height: 1.18 !important;
    }

    .page-home .gt-nv .right-block img,
    .page-home .gt-nv .right-block img[width] {
        height: min(92%, 300px) !important;
    }

    .page-home .slide-cards .card.slider,
    .page-home .slide-cards .slider {
        width: min(68vw, 760px) !important;
        top: 35.5% !important;
    }
}

@media (max-width: 767px) {
    .page-home .gt-nv {
        aspect-ratio: auto !important;
        padding: 50px 8px 58px !important;
        background-size: cover !important;
    }

    .page-home .gt-nv .tab-container-nv {
        width: 100% !important;
        gap: 6px !important;
        margin-bottom: 18px !important;
    }

    .page-home .gt-nv .tab img {
        width: clamp(38px, 11vw, 54px) !important;
    }

    .page-home .gt-nv .bn-champ {
        width: 100% !important;
        max-width: 520px !important;
        aspect-ratio: auto !important;
        min-height: 0 !important;
        padding: 20px 14px !important;
        background-image: none !important;
        background-color: rgba(50, 20, 8, .78) !important;
        border: 1px solid rgba(255, 218, 130, .32) !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .page-home .gt-nv .tab-content-nv {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-home .gt-nv .infor-champ {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .page-home .gt-nv .left-block .name-champ {
        font-size: clamp(24px, 8vw, 34px) !important;
    }

    .page-home .gt-nv .left-block span {
        font-size: clamp(14px, 4vw, 17px) !important;
        line-height: 1.35 !important;
    }

    .page-home .gt-nv .right-block img,
    .page-home .gt-nv .right-block img[width] {
        height: auto !important;
        width: auto !important;
        max-width: min(62vw, 210px) !important;
        max-height: 280px !important;
    }

    .page-home .slide-cards {
        aspect-ratio: auto !important;
        margin-top: -32px !important;
        padding: 90px 10px 78px !important;
        background-size: cover !important;
        overflow: hidden !important;
    }

    .page-home .slide-cards .slide-title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto 24px !important;
        height: auto !important;
    }

    .page-home .slide-cards .slide-title span {
        padding: 0 42px !important;
        font-size: clamp(20px, 7vw, 28px) !important;
        line-height: 48px !important;
        white-space: nowrap !important;
    }

    .page-home .slide-cards .card.slider,
    .page-home .slide-cards .slider {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: min(100%, 520px) !important;
        max-width: 520px !important;
        margin: 0 auto !important;
    }
}

/* ==== FINAL CLEAN HOME ALIGNMENT 2026-04-24: nhan vat + hoat dong noi bat ==== */
body.page-home .gt-nv {
    position: relative !important;
    width: 100% !important;
    max-width: 1920px !important;
    margin: 0 auto !important;
    padding: clamp(72px, 6vw, 112px) 0 clamp(76px, 6vw, 118px) !important;
    background-image: url('../../images/aaaa1.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.page-home .gt-nv .tab-container-nv {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: clamp(7px, .9vw, 13px) !important;
    width: min(92vw, 980px) !important;
    margin: 0 auto clamp(30px, 3.2vw, 54px) !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

body.page-home .gt-nv .tab {
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-home .gt-nv .tab img {
    display: block !important;
    width: clamp(52px, 4.2vw, 80px) !important;
    height: auto !important;
}

body.page-home .gt-nv .bn-champ {
    position: relative !important;
    z-index: 1 !important;
    width: min(82vw, 1180px) !important;
    max-width: calc(100% - 28px) !important;
    aspect-ratio: 1550 / 655 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background-image: url('../../images/bg_gift.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.page-home .gt-nv .tab-content-nv {
    position: absolute !important;
    inset: 0 !important;
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.page-home .gt-nv .tab-content-nv.active-tab {
    display: block !important;
}

body.page-home .gt-nv .infor-champ {
    position: absolute !important;
    left: 21% !important;
    right: 15.5% !important;
    top: 15% !important;
    bottom: 15.5% !important;
    width: auto !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 30%) !important;
    align-items: center !important;
    gap: clamp(10px, 2vw, 30px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body.page-home .gt-nv .left-block,
body.page-home .gt-nv .right-block {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body.page-home .gt-nv .left-block {
    align-self: center !important;
    overflow: visible !important;
}

body.page-home .gt-nv .left-block .name-champ {
    margin: 0 0 clamp(14px, 1.8vw, 30px) !important;
    padding: 0 !important;
    text-align: center !important;
    color: #961514 !important;
    font-family: Protest, sans-serif !important;
    font-size: clamp(28px, 2.65vw, 50px) !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41 !important;
}

body.page-home .gt-nv .left-block span {
    display: block !important;
    margin: 0 0 clamp(4px, .56vw, 9px) !important;
    color: #fff8ef !important;
    font-size: clamp(13px, 1.08vw, 20px) !important;
    line-height: 1.28 !important;
    font-style: italic !important;
    white-space: normal !important;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .48) !important;
}

body.page-home .gt-nv .left-block strong {
    color: #ffff99 !important;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .45) !important;
}

body.page-home .gt-nv .right-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    overflow: visible !important;
}

body.page-home .gt-nv .right-block img.champ-sprite,
body.page-home .gt-nv .right-block img.champ-sprite[width] {
    display: block !important;
    width: clamp(calc(var(--champ-w, 180px) * .72), 13vw, var(--champ-w, 180px)) !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

body.page-home .slide-cards {
    position: relative !important;
    width: 100% !important;
    max-width: 1920px !important;
    aspect-ratio: 1920 / 1231 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: clamp(-72px, -3.7vw, -34px) auto 0 !important;
    padding: 0 !important;
    background-image: url('../../images/bg2-2.png') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: 100% 100% !important;
    overflow: hidden !important;
    border: 0 !important;
    box-sizing: border-box !important;
}

body.page-home .slide-cards .slide-title {
    position: absolute !important;
    z-index: 3 !important;
    top: 6.3% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: clamp(310px, 25.5vw, 490px) !important;
    height: clamp(46px, 3.75vw, 72px) !important;
    margin: 0 !important;
    padding: 0 !important;
    background-image: url('../../images/title-frame.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
}

body.page-home .slide-cards .slide-title span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 15% !important;
    margin: 0 !important;
    color: #961514 !important;
    font-family: Protest, sans-serif !important;
    font-size: clamp(22px, 2vw, 32px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41 !important;
}

body.page-home .slide-cards .card.slider,
body.page-home .slide-cards .slider {
    position: absolute !important;
    z-index: 2 !important;
    top: 33.2% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(48.4vw, 930px) !important;
    max-width: 930px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.page-home .slide-cards .slick-list,
body.page-home .slide-cards .slick-track,
body.page-home .slide-cards .slick-slide,
body.page-home .slide-cards .post-image {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-home .slide-cards .post-image img,
body.page-home .slide-cards .post-image img[width],
body.page-home .slide-cards .slick-slide img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (max-width: 991px) {
    body.page-home .gt-nv {
        padding-top: 62px !important;
        padding-bottom: 70px !important;
        background-size: cover !important;
    }

    body.page-home .gt-nv .bn-champ {
        width: min(95vw, 900px) !important;
    }

    body.page-home .gt-nv .infor-champ {
        left: 20.5% !important;
        right: 14.5% !important;
        top: 14.5% !important;
        bottom: 14.5% !important;
        gap: 12px !important;
    }

    body.page-home .gt-nv .left-block .name-champ {
        font-size: clamp(22px, 4.1vw, 34px) !important;
        margin-bottom: 12px !important;
    }

    body.page-home .gt-nv .left-block span {
        font-size: clamp(11px, 1.9vw, 16px) !important;
        line-height: 1.18 !important;
        margin-bottom: 3px !important;
    }

    body.page-home .gt-nv .right-block img.champ-sprite,
    body.page-home .gt-nv .right-block img.champ-sprite[width] {
        width: clamp(calc(var(--champ-w, 180px) * .62), 20vw, var(--champ-w, 180px)) !important;
    }

    body.page-home .slide-cards .card.slider,
    body.page-home .slide-cards .slider {
        width: min(54vw, 760px) !important;
        top: 33.5% !important;
    }
}

@media (max-width: 767px) {
    body.page-home .gt-nv {
        padding: 48px 8px 56px !important;
        background-size: cover !important;
    }

    body.page-home .gt-nv .tab-container-nv {
        width: 100% !important;
        gap: 6px !important;
        margin-bottom: 20px !important;
    }

    body.page-home .gt-nv .tab img {
        width: clamp(38px, 11vw, 54px) !important;
    }

    body.page-home .gt-nv .bn-champ {
        width: 100% !important;
        max-width: 520px !important;
        aspect-ratio: auto !important;
        padding: 20px 14px !important;
        background-image: none !important;
        background-color: rgba(50, 20, 8, .82) !important;
        border: 1px solid rgba(255, 218, 130, .34) !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    body.page-home .gt-nv .tab-content-nv {
        position: static !important;
        width: 100% !important;
        height: auto !important;
    }

    body.page-home .gt-nv .infor-champ {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }

    body.page-home .gt-nv .left-block .name-champ {
        font-size: clamp(24px, 8vw, 34px) !important;
    }

    body.page-home .gt-nv .left-block span {
        font-size: clamp(14px, 4vw, 17px) !important;
        line-height: 1.35 !important;
        margin-bottom: 5px !important;
    }

    body.page-home .gt-nv .right-block img.champ-sprite,
    body.page-home .gt-nv .right-block img.champ-sprite[width] {
        width: min(58vw, var(--champ-w, 180px)) !important;
        max-height: 280px !important;
    }

    body.page-home .slide-cards {
        aspect-ratio: auto !important;
        margin-top: -28px !important;
        padding: 86px 10px 74px !important;
        background-size: cover !important;
        background-position: center top !important;
    }

    body.page-home .slide-cards .slide-title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: min(100%, 360px) !important;
        height: 54px !important;
        margin: 0 auto 22px !important;
    }

    body.page-home .slide-cards .slide-title span {
        font-size: clamp(20px, 7vw, 28px) !important;
        white-space: nowrap !important;
    }

    body.page-home .slide-cards .card.slider,
    body.page-home .slide-cards .slider {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: min(100%, 520px) !important;
        max-width: 520px !important;
        margin: 0 auto !important;
    }
}

/* ==== UI FIX 2026-04-24: popup xac nhan, bang lich su nap, toolbar tai khoan ==== */
#confirmationModal {
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(14px, 3vw, 32px) !important;
    box-sizing: border-box !important;
}

#confirmationModal .modal-content {
    width: min(66.666vw, 680px) !important;
    max-width: calc(100vw - 32px) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: clamp(24px, 3vw, 38px) clamp(22px, 4vw, 48px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#confirmationModal .modal-content h5 {
    width: 100% !important;
    margin: 0 0 clamp(14px, 1.8vw, 22px) !important;
    text-align: center !important;
    font-size: clamp(30px, 3.3vw, 48px) !important;
    line-height: 1.08 !important;
}

#confirmationModal .modal-content p {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: clamp(15px, 1.45vw, 20px) !important;
    line-height: 1.65 !important;
}

#confirmationModal .modal-buttons {
    width: 100% !important;
    max-width: 620px !important;
    margin-top: clamp(20px, 3vw, 34px) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(12px, 3vw, 34px) !important;
    justify-content: stretch !important;
    align-items: stretch !important;
}

#confirmationModal .modal-buttons .btn,
#confirmationModal .modal-buttons .game-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: clamp(58px, 7vw, 88px) !important;
    margin: 0 !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    font-size: clamp(24px, 3vw, 38px) !important;
    box-sizing: border-box !important;
}

.lsn .recharge-history-table {
    table-layout: fixed !important;
    min-width: 1060px !important;
}

.lsn .recharge-history-table .col-id { width: 6%; }
.lsn .recharge-history-table .col-amount { width: 14%; }
.lsn .recharge-history-table .col-content { width: 20%; }
.lsn .recharge-history-table .col-method { width: 13%; }
.lsn .recharge-history-table .col-status { width: 15%; }
.lsn .recharge-history-table .col-time { width: 18%; }
.lsn .recharge-history-table .col-action { width: 14%; }

.lsn .recharge-history-table th,
.lsn .recharge-history-table td {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.lsn .recharge-history-table td:nth-child(3) {
    text-align: left !important;
}

.lsn .recharge-history-table .table-id-badge,
.lsn .recharge-history-table .table-highlight,
.lsn .recharge-history-table .table-soft-badge,
.lsn .recharge-history-table .status-badge,
.lsn .recharge-history-table .game-action-btn {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

.lsn .recharge-history-table .table-soft-badge,
.lsn .recharge-history-table .status-badge,
.lsn .recharge-history-table .game-action-btn {
    max-width: 100% !important;
}

.lsn .recharge-history-table .table-soft-badge.dark {
    min-width: 160px !important;
}

.lsn .recharge-history-table .status-badge {
    min-width: 124px !important;
}

.lsn .recharge-history-table .game-action-btn {
    min-width: 126px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.infor-game .btn-infor {
    top: 50% !important;
    right: 10px !important;
    width: clamp(168px, 22.5vh, 246px) !important;
    height: min(66.666vh, 620px) !important;
    min-height: 430px !important;
    max-height: 620px !important;
    padding: clamp(12px, 2.1vh, 18px) clamp(10px, 1.8vh, 15px) !important;
    transform: translateY(-50%) !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    gap: clamp(3px, .9vh, 8px) !important;
    background-size: 100% 100% !important;
}

.infor-game .btn-infor.active {
    right: 10px !important;
    transform: translateY(-50%) translateX(calc(100% - 40px)) !important;
}

.infor-game .btn-infor .toggle-menu {
    top: 50% !important;
    left: -34px !important;
    transform: translateY(-50%) !important;
}

.infor-game .btn-infor .infor-user {
    width: 74% !important;
    max-width: 176px !important;
    margin-top: 8% !important;
    margin-bottom: clamp(6px, 1.1vh, 12px) !important;
    padding: 0 !important;
    font-size: clamp(12px, 1.9vh, 16px) !important;
    line-height: 1.25 !important;
}

.infor-game .btn-infor .infor-user span {
    margin-bottom: clamp(4px, .9vh, 7px) !important;
}

.infor-game .btn-infor .infor-user span strong {
    margin-top: clamp(2px, .55vh, 5px) !important;
    font-size: clamp(13px, 2.05vh, 17px) !important;
}

.infor-game .btn-red {
    width: min(74%, 145px) !important;
    height: auto !important;
    aspect-ratio: 145 / 55 !important;
    margin: clamp(3px, .85vh, 7px) auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: clamp(13px, 2vh, 18px) !important;
    background-size: 100% 100% !important;
}

.infor-game .btn-infor .infor-user .btn-red {
    width: 100% !important;
    margin-top: clamp(6px, 1.2vh, 10px) !important;
}

.infor-game .btn-red a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 7px !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.infor-game .btn-red i {
    flex: 0 0 auto !important;
}

@media (max-width: 767px) {
    #confirmationModal .modal-content {
        width: min(92vw, 520px) !important;
        padding: 22px 18px !important;
    }

    #confirmationModal .modal-buttons {
        gap: 12px !important;
    }

    #confirmationModal .modal-buttons .btn,
    #confirmationModal .modal-buttons .game-btn {
        height: 58px !important;
        font-size: clamp(22px, 7vw, 30px) !important;
    }

    .lsn .recharge-history-table {
        min-width: 980px !important;
    }

    .infor-game .btn-infor {
        height: min(66.666vh, 560px) !important;
        min-height: 390px !important;
        width: clamp(150px, 22.5vh, 210px) !important;
        right: 8px !important;
    }

    .infor-game .btn-infor.active {
        right: 8px !important;
        transform: translateY(-50%) translateX(calc(100% - 38px)) !important;
    }

    .infor-game .btn-infor .toggle-menu {
        left: -31px !important;
    }
}

@media (max-width: 480px) {
    #confirmationModal .modal-buttons {
        grid-template-columns: 1fr !important;
        max-width: 280px !important;
    }

    .infor-game .btn-infor {
        left: 50% !important;
        right: auto !important;
        width: min(66.666vw, 246px) !important;
        height: min(66.666vh, 560px) !important;
        transform: translate(-50%, -50%) !important;
    }

    .infor-game .btn-infor.active {
        left: 50% !important;
        right: auto !important;
        transform: translate(42vw, -50%) !important;
    }
}

/* ==== PATCH 2026-04-24 v2: mobile toolbar fixed right + compact spacing + mobile slide JPG scale ==== */
@media (max-width: 767px) {
    .infor-game .btn-infor {
        left: auto !important;
        right: 0 !important;
        top: 50% !important;
        width: clamp(122px, 33.333vw, 176px) !important;
        height: min(66.666vh, 520px) !important;
        min-height: 360px !important;
        max-height: 520px !important;
        padding: clamp(30px, 5.5vh, 40px) 8px clamp(22px, 4vh, 30px) !important;
        transform: translateY(-50%) !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        overflow: visible !important;
        background-position: center center !important;
        background-size: 100% 100% !important;
        z-index: 120 !important;
    }

    .infor-game .btn-infor.active {
        left: auto !important;
        right: 0 !important;
        transform: translateY(-50%) translateX(calc(100% - 34px)) !important;
    }

    .infor-game .btn-infor .toggle-menu {
        left: -28px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 3 !important;
        cursor: pointer !important;
    }

    .infor-game .btn-infor .infor-user {
        width: 84% !important;
        max-width: none !important;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
        font-size: clamp(10px, 2.6vw, 13px) !important;
        line-height: 1.18 !important;
    }

    .infor-game .btn-infor .infor-user span {
        margin-bottom: 2px !important;
    }

    .infor-game .btn-infor .infor-user span strong {
        font-size: clamp(11px, 2.9vw, 14px) !important;
        margin-top: 1px !important;
        line-height: 1.1 !important;
    }

    .infor-game .btn-infor .infor-user .danap {
        font-size: clamp(9px, 2.35vw, 11px) !important;
        line-height: 1.15 !important;
    }

    .infor-game .btn-red {
        width: 82% !important;
        max-width: 132px !important;
        aspect-ratio: 145 / 52 !important;
        margin: 2px auto !important;
        font-size: clamp(10px, 2.7vw, 13px) !important;
        line-height: 1 !important;
    }

    .infor-game .btn-infor .infor-user .btn-red {
        width: 100% !important;
        margin-top: 4px !important;
    }

    .infor-game .btn-red a {
        gap: 4px !important;
        padding: 0 5px !important;
        font-size: inherit !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    .infor-game .btn-red i {
        font-size: .95em !important;
    }

    .container .box-down .box-item {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
    }

    .container .box-down .box-item .item {
        flex: 0 0 calc(50% - 4px) !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.page-home .slide-cards .post-image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    body.page-home .slide-cards .post-image img[src$=".jpg"],
    body.page-home .slide-cards .post-image img[src*=".jpg?"],
    body.page-home .slide-cards .slick-slide img[src$=".jpg"],
    body.page-home .slide-cards .slick-slide img[src*=".jpg?"] {
        width: 80% !important;
        max-width: 80% !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .container .box-down .box-item {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .container .box-down .box-item .item {
        flex-basis: calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        min-width: 0 !important;
        height: 44px !important;
    }

    .infor-game .btn-infor {
        left: auto !important;
        right: 0 !important;
        width: clamp(118px, 33.333vw, 150px) !important;
        min-height: 330px !important;
        height: min(66.666vh, 470px) !important;
        padding-top: 26px !important;
        padding-bottom: 18px !important;
        transform: translateY(-50%) !important;
    }

    .infor-game .btn-infor.active {
        left: auto !important;
        right: 0 !important;
        transform: translateY(-50%) translateX(calc(100% - 32px)) !important;
    }

    .infor-game .btn-infor .toggle-menu {
        left: -26px !important;
    }

    .infor-game .btn-red {
        width: 84% !important;
        max-width: 118px !important;
        margin: 1px auto !important;
        font-size: clamp(9px, 2.9vw, 11px) !important;
    }

    .infor-game .btn-infor .infor-user {
        width: 86% !important;
        font-size: clamp(9px, 2.8vw, 11px) !important;
        margin-bottom: 2px !important;
    }

    .infor-game .btn-infor .infor-user span strong {
        font-size: clamp(10px, 3vw, 12px) !important;
    }
}

/* ==== PATCH 2026-04-24 v3: compact right toolbar + mobile home scale cleanup ==== */
.infor-game .btn-infor {
    right: 6px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    padding-top: 18px !important;
    padding-bottom: 20px !important;
    transition: 0.5s all;
}

.infor-game .btn-infor.active {
    right: 6px !important;
    left: auto !important;
    transform: translateY(-50%) translateX(calc(100% - 12px)) !important;
}

.infor-game .btn-infor .toggle-menu {
    left: -32px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
}

.infor-game .btn-infor .infor-user {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.infor-game .btn-infor .infor-user span {
    margin-bottom: 3px !important;
}

.infor-game .btn-red {
    margin: 2px auto !important;
}

.infor-game .btn-infor .infor-user .btn-red {
    margin-top: 5px !important;
}

@media (max-width: 767px) {
    .infor-game .btn-infor {
        left: auto !important;
        right: 4px !important;
        width: min(33.333vw, 164px) !important;
        min-width: 116px !important;
        max-width: 164px !important;
        height: min(66.666vh, 500px) !important;
        min-height: 336px !important;
        max-height: 500px !important;
        padding: 20px 8px 20px !important;
        transition: 0.5s all;
        gap: 1px !important;
    }

    .infor-game .btn-infor.active {
        left: auto !important;
        right: 4px !important;
        transform: translateY(-50%) translateX(calc(100% - 36px)) !important;
    }

    .infor-game .btn-infor .toggle-menu {
        left: -27px !important;
    }

    .infor-game .btn-infor .infor-user {
        width: 84% !important;
        margin-bottom: 4px !important;
        font-size: clamp(9px, 2.45vw, 11px) !important;
        line-height: 1.14 !important;
    }

    .infor-game .btn-infor .infor-user span {
        margin-bottom: 1px !important;
    }

    .infor-game .btn-infor .infor-user span strong {
        font-size: clamp(10px, 2.7vw, 12px) !important;
    }

    .infor-game .btn-red {
        width: 82% !important;
        max-width: 122px !important;
        aspect-ratio: 145 / 50 !important;
        margin: 1px auto !important;
        font-size: clamp(9px, 2.55vw, 11px) !important;
    }

    .infor-game .btn-red a {
        gap: 3px !important;
        padding: 0 4px !important;
        line-height: 1.02 !important;
        white-space: normal !important;
    }

    body.page-home .gt-nv {
        padding: 46px 8px 54px !important;
    }

    body.page-home .gt-nv .bn-champ {
        max-width: 500px !important;
        padding: 16px 12px 18px !important;
    }

    body.page-home .gt-nv .infor-champ {
        gap: 10px !important;
        align-items: center !important;
    }

    body.page-home .gt-nv .left-block .name-champ {
        font-size: clamp(20px, 6vw, 28px) !important;
        line-height: 1.08 !important;
        margin-bottom: 12px !important;
    }

    body.page-home .gt-nv .left-block span {
        font-size: clamp(12px, 3.3vw, 14px) !important;
        line-height: 1.28 !important;
    }

    body.page-home .gt-nv .right-block img.champ-sprite,
    body.page-home .gt-nv .right-block img.champ-sprite[width] {
        width: calc(var(--champ-w, 180px) * 0.8) !important;
        max-width: min(46vw, 168px) !important;
        max-height: 210px !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    body.page-home .slide-cards {
        padding: 74px 10px 60px !important;
        margin-top: -28px !important;
    }

    body.page-home .slide-cards .slide-title {
        width: min(82vw, 320px) !important;
        max-width: 320px !important;
        margin: 0 auto 16px !important;
        left: auto !important;
        transform: none !important;
        padding-bottom: 7px !important;
    }

    body.page-home .slide-cards .slide-title span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 42px !important;
        padding: 6px 22px !important;
        font-size: clamp(15px, 4.7vw, 21px) !important;
        line-height: 1.12 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    body.page-home .slide-cards .card.slider,
    body.page-home .slide-cards .slider {
        width: min(100%, 500px) !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    body.page-home .slide-cards .post-image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    body.page-home .slide-cards .post-image img,
    body.page-home .slide-cards .post-image img[width],
    body.page-home .slide-cards .slick-slide img {
        width: 80% !important;
        max-width: 80% !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}
@media (max-width: 500px) {
    .infor-game .btn-infor.active{
        transform: translateY(-50%) translateX(calc(100% - 7px)) !important;
    }
}

@media (max-width: 480px) {
    .infor-game .btn-infor {
        left: auto !important;
        right: 2px !important;
        width: min(34vw, 150px) !important;
        min-width: 108px !important;
        height: min(66vh, 455px) !important;
        min-height: 318px !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        transform: translateY(-50%) !important;
        transition: 0.5s all;
    }
    .infor-game .btn-infor.active {
        left: auto !important;
        right: 2px !important;
        transform: translateY(-50%) translateX(calc(100% - 32px)) !important;
    }

    .infor-game .btn-infor .toggle-menu {
        left: -25px !important;
    }

    .infor-game .btn-red {
        width: 84% !important;
        max-width: 114px !important;
        font-size: clamp(8px, 2.7vw, 10px) !important;
    }

    body.page-home .gt-nv .right-block img.champ-sprite,
    body.page-home .gt-nv .right-block img.champ-sprite[width] {
        max-width: min(48vw, 156px) !important;
        max-height: 190px !important;
    }

    body.page-home .slide-cards .slide-title {
        width: min(86vw, 286px) !important;
    }

    body.page-home .slide-cards .slide-title span {
        padding: 6px 18px !important;
        font-size: clamp(14px, 4.6vw, 18px) !important;
    }

    body.page-home .slide-cards .post-image img,
    body.page-home .slide-cards .post-image img[width],
    body.page-home .slide-cards .slick-slide img {
        width: 78% !important;
        max-width: 78% !important;
    }
  body.page-home .slide-cards {
        padding: 74px 10px 112px !important;
        margin-top: -28px !important;
    }

}
@media (max-width: 480px) {
    .infor-game .btn-infor.active {
        left: auto !important;
        right: 2px !important;
        transform: translateY(-50%) translateX(calc(100% - 32px)) !important;
    }
}
@media (max-width: 400px) {
     .infor-game .btn-infor.active {
        transform: translateY(-50%) translateX(calc(100% - 5px)) !important;
    }
}