
.home-notice-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.home-notice-popup.show {
    display: flex;
}
.home-notice-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.home-notice-popup-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 30px 28px 24px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, .10), transparent 32%),
        #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .30);
    animation: homeNoticePopupShow .24s ease;
}

@keyframes homeNoticePopupShow {
from {
        opacity: 0;
        transform: translateY(16px) scale(.97);
    }
to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.home-notice-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #f1f5f9;
    cursor: pointer;
    transition: .18s ease;
}
.home-notice-popup-close:hover {
    color: #b91c1c;
    background: #fee2e2;
}
.home-notice-popup-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #166534, #22c55e);
    box-shadow: 0 18px 34px rgba(22, 101, 52, .24);
    font-size: 27px;
}
.home-notice-popup-content {
    text-align: center;
}
.home-notice-popup-content h3 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 900;
}
.home-notice-popup-message {
    margin-top: 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 600;
    word-break: break-word;
}
.home-notice-popup-message p {
    margin: 0 0 10px;
}
.home-notice-popup-message p:last-child {
    margin-bottom: 0;
}
.home-notice-popup-message strong,
.home-notice-popup-message b {
    color: #166534;
    font-weight: 900;
}
.home-notice-popup-message a {
    color: #047857;
    font-weight: 850;
    text-decoration: none;
}
.home-notice-popup-message a:hover {
    text-decoration: underline;
}
.home-notice-popup-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.home-notice-popup-later,
.home-notice-popup-confirm {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
}
.home-notice-popup-later {
    color: #475569;
    border: 1px solid #dbe3ec;
    background: #fff;
}
.home-notice-popup-later:hover {
    color: #0f172a;
    background: #f8fafc;
}
.home-notice-popup-confirm {
    color: #fff;
    border: 1px solid #166534;
    background: linear-gradient(135deg, #166534, #22c55e);
    box-shadow: 0 12px 24px rgba(22, 101, 52, .18);
}
.home-notice-popup-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(22, 101, 52, .24);
}
body.home-notice-popup-open {
    overflow: hidden !important;
}

@media (max-width: 576px) {
.home-notice-popup {
        padding: 12px;
    }
.home-notice-popup-dialog {
        max-height: calc(100vh - 24px);
        padding: 26px 18px 18px;
        border-radius: 22px;
    }
.home-notice-popup-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 15px;
        border-radius: 19px;
        font-size: 23px;
    }
.home-notice-popup-content h3 {
        font-size: 19px;
    }
.home-notice-popup-message {
        font-size: 13px;
        line-height: 1.65;
    }
.home-notice-popup-actions {
        grid-template-columns: 1fr;
    }
}
/* Scoped notice styling takes precedence over the shared theme modal rules. */
#homeNoticePopup { padding: 20px; }
#homeNoticePopup .home-notice-popup-backdrop { background: rgba(12, 30, 24, .64); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
#homeNoticePopup .home-notice-popup-dialog { max-width: 520px; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #e2e8e4; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px #10251b33; color: #263b30; scrollbar-width: thin; overscroll-behavior: contain; }
#homeNoticePopup .home-notice-popup-close { width: 36px; height: 36px; top: 16px; right: 18px; border: 0; border-radius: 8px; background: transparent; color: #738078; }
#homeNoticePopup .home-notice-popup-close:hover { background: #e6f2eb; color: #175e40; }
#homeNoticePopup #homeNoticePopupTitle { margin: 0; padding: 22px 64px 20px 28px; border-bottom: 1px solid #edf0ee; text-align: left; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.3px; color: #203d2c; }
#homeNoticePopup .home-notice-popup-message { margin: 0; padding: 28px; border: 0; border-radius: 0; background: transparent; color: #4d5952; font-size: 15px; font-weight: 400; line-height: 1.85; overflow-wrap: anywhere; }
#homeNoticePopup .home-notice-popup-message p { margin: 0 0 14px; }
#homeNoticePopup .home-notice-popup-message p:last-child { margin-bottom: 0; }
#homeNoticePopup .home-notice-popup-message :is(strong, b) { color: #17613f; font-weight: 800; }
#homeNoticePopup .home-notice-popup-message a { display: inline-block; padding: 3px 12px; margin: 3px 2px; border: 1px solid #cbe2d4; border-radius: 8px; background: #eef8f2; color: #185b3c; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#homeNoticePopup .home-notice-popup-message a:hover { background: #dcefe3; }
#homeNoticePopup .home-notice-popup-message :is(img, video, iframe, table) { max-width: 100%; }
#homeNoticePopup .home-notice-popup-message img { height: auto; }
#homeNoticePopup .home-notice-popup-actions { margin-top: 0; padding: 18px 24px; border-top: 1px solid #edf0ee; background: #f8faf9; gap: 12px; grid-template-columns: 1.3fr 1fr; }
#homeNoticePopup :is(.home-notice-popup-later, .home-notice-popup-confirm) { min-height: 44px; padding: 10px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; }
#homeNoticePopup .home-notice-popup-later { background: #fff; border: 1px solid #d4e1d9; color: #4c6054; box-shadow: none; }
#homeNoticePopup .home-notice-popup-later:hover { background: #f0f6f2; }
#homeNoticePopup .home-notice-popup-confirm { background: #246b49; border: 1px solid #246b49; color: #fff; box-shadow: none; }
#homeNoticePopup .home-notice-popup-confirm:hover { background: #194f37; }
#homeNoticePopup :is(button, a):focus-visible { outline: 3px solid #419c70; outline-offset: 3px; }
#homeNoticePopup .home-notice-popup-dialog:focus { outline: none; }
@media (max-width: 576px) {
    #homeNoticePopup { padding: 12px; }
    #homeNoticePopup .home-notice-popup-dialog { max-height: calc(100dvh - 24px); padding: 0; border-radius: 16px; }
    #homeNoticePopup .home-notice-popup-message { padding: 24px 20px; font-size: 14px; }
    #homeNoticePopup .home-notice-popup-actions { padding: 16px; grid-template-columns: 1fr; gap: 10px; }
    #homeNoticePopup .home-notice-popup-confirm { grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
    #homeNoticePopup .home-notice-popup-dialog { max-height: calc(100dvh - 24px); padding: 0; border-radius: 16px; }
    #homeNoticePopup button { transition: none; }
}
.home-shell {
    width:100%;
    max-width:1760px;
    margin:0 auto;
}
.home-section {
    margin-top:26px;
}
.home-section-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:14px;
}
.home-section-title {
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    color:#0f172a;
    font-size:18px;
    line-height:1.3;
    font-weight:900;
    letter-spacing:-.2px;
    text-transform:uppercase;
}
.home-section-title::before {
    content:"";
    width:9px;
    height:26px;
    border-radius:999px;
    background:linear-gradient(180deg,#16a34a,#14532d);
    box-shadow:0 10px 18px rgba(22,101,52,.18);
}
.home-section-sub {
    color:#64748b;
    font-size:13px;
    font-weight:600;
}
.home-guest-card {
    position:relative;
    overflow:hidden;
    border-radius:24px;
    padding:22px 24px;
    margin-top:22px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.14), transparent 32%),
        linear-gradient(135deg,#0f3d22 0%,#116315 42%,#2c8543 100%);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 18px 45px rgba(15,23,42,.14);
}
.home-guest-inner {
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}
.home-brand-mini {
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
}
.home-brand-logo {
    width:62px;
    height:62px;
    flex:0 0 62px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 14px 30px rgba(0,0,0,.16);
}
.home-brand-logo img {
    max-width:46px;
    max-height:46px;
    object-fit:contain;
}
.home-guest-title {
    margin:0;
    color:#fff;
    font-size:26px;
    line-height:1.25;
    font-weight:900;
    letter-spacing:-.5px;
}
.home-guest-title span {
    color:#bbf7d0;
}
.home-guest-desc {
    margin-top:6px;
    color:rgba(255,255,255,.78);
    font-size:14px;
    line-height:1.6;
}
.home-auth-actions {
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}
.home-btn-primary,
.home-btn-soft {
    height:44px;
    padding:0 18px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:13px;
    font-weight:900;
    text-decoration:none!important;
    white-space:nowrap;
    transition:color .14s ease, background-color .14s ease;
}
.home-btn-primary {
    color:#14532d!important;
    background:#fff;
    box-shadow:0 12px 24px rgba(255,255,255,.15);
}
.home-btn-soft {
    color:#fff!important;
    background:rgba(255,255,255,.11);
    border:1px solid rgba(255,255,255,.16);
}
.home-btn-primary:hover,
.home-btn-soft:hover {
    transform:none;
}
.home-top-grid {
    display:grid;
    grid-template-columns:minmax(0,410px) minmax(0,1fr);
    gap:22px;
    align-items:start;
}
.service-table-container {
    background:#fff;
    border:1px solid #e5efe8;
    border-radius:24px;
    box-shadow:0 14px 38px rgba(15,23,42,.055);
    overflow:hidden;
}
.service-table {
    width:100%;
    border-collapse:collapse;
}
.service-table thead th {
    padding:14px 16px;
    color:#fff;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.15), transparent 30%),
        linear-gradient(135deg,#116315fa 0%,#2c8543 42%,#1b7940 100%);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.service-table tbody td {
    padding:13px 16px;
    border-bottom:1px solid #edf5ef;
    color:#334155;
    font-size:13px;
    font-weight:800;
}
.service-table tbody tr:last-child td {
    border-bottom:0;
}
.service-table tbody tr:hover td {
    background:#f7fbf8;
}
.service-table tbody td:nth-child(2) {
    color:#14532d;
    font-weight:950;
    text-align:center;
}
.service-table td.text-right {
    text-align:right;
}
.btn-action {
    width:34px;
    height:34px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#166534!important;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
    text-decoration:none!important;
    transition:color .14s ease, background-color .14s ease, border-color .14s ease;
}
.btn-action:hover {
    color:#fff!important;
    background:#166534;
    transform:none;
}
.api-grid {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}
.api-card {
    position:relative;
    min-height:142px;
    padding:18px 14px;
    border-radius:22px;
    background:linear-gradient(180deg,#fff 0%,#fbfefc 100%);
    border:1px solid #e5efe8;
    box-shadow:0 12px 30px rgba(15,23,42,.052);
    text-align:center;
    cursor:pointer;
    overflow:hidden;
    transition:border-color .14s ease, box-shadow .14s ease;
}
.api-card::before {
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg,#14532d,#22c55e);
}
.api-card:hover {
    transform:none;
    border-color:#bbf7d0;
    box-shadow:0 22px 48px rgba(22,101,52,.12);
}
.api-card img {
    width:42px;
    height:42px;
    object-fit:contain;
    display:block;
    margin:2px auto 8px;
}
.api-card .report-box__indicator,
.api-card .bg-theme-10,
.api-card .bg-theme-24 {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:23px;
    padding:0 9px!important;
    border-radius:999px!important;
    font-size:10px!important;
    font-weight:900!important;
    color:#fff!important;
    margin-top:4px!important;
}
.api-count {
    margin-top:9px;
    color:#14532d;
    font-size:24px;
    line-height:1;
    font-weight:950;
}
.api-title {
    margin-top:7px;
    color:#475569;
    font-size:12px;
    line-height:1.3;
    font-weight:900;
    text-transform:uppercase;
    word-break:break-word;
}
.news-image {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
.news-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.news-card {
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    border:1px solid #e5efe8;
    box-shadow:0 12px 32px rgba(15,23,42,.055);
    cursor:pointer;
    transition:border-color .14s ease, box-shadow .14s ease;
}
.news-card:hover {
    transform:none;
    border-color:#bbf7d0;
    box-shadow:0 24px 55px rgba(22,101,52,.13);
}
.news-image-wrapper {
    height:185px;
    background:#f0fdf4;
    overflow:hidden;
}
.news-content {
    padding:18px;
}
.news-card-title {
    margin:0;
    color:#0f172a;
    font-size:16px;
    line-height:1.45;
    font-weight:900;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.news-read-more {
    margin-top:14px;
    min-height:42px;
    padding:0 16px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#fff!important;
    background:linear-gradient(135deg,#166534,#22c55e);
    font-size:13px;
    font-weight:900;
    text-decoration:none!important;
    box-shadow:0 12px 22px rgba(22,101,52,.16);
}
.news-section {
    padding:0;
    background:transparent;
}
.news-image-wrapper {
    position:relative;
}
.image-overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.18),transparent 46%);
}
.news-card-description {
    margin:10px 0 0;
    color:#64748b;
    font-size:13px;
    line-height:1.7;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.grabbing {
    cursor:grabbing;
}
.stc-coupon-empty.is-hidden {
    display:none;
}
.home-preview-modal {
    margin-top:0;
    margin-left:0;
    padding-left:0;
    z-index:10000;
}

@media(max-width:1400px) {
.api-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.news-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
}
}

@media(max-width:1100px) {
/*
     * Dùng minmax(0,1fr) thay cho 1fr: 1fr = minmax(auto,1fr) nên sàn "auto"
     * lấy min-content của khối mã giảm giá (grid-auto-flow:column) khiến cột
     * bị nở rộng hơn viewport và tràn/bị cắt bên phải trên điện thoại.
     */
.home-top-grid {
    grid-template-columns:minmax(0,1fr);
}
.api-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
}
}

@media(max-width:768px) {
.content {
    padding:14px!important;
}
.api-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.api-card {
    min-height:128px;
    padding:15px 10px;
    border-radius:20px;
}
.news-grid {
    grid-template-columns:1fr;
}
.news-image-wrapper {
    height:190px;
}
.home-section-title {
    font-size:16px;
}
.home-guest-inner {
    align-items:flex-start;
    flex-direction:column;
}
.home-auth-actions {
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
}
.home-btn-primary,
.home-btn-soft {
    width:100%;
    padding:0 12px;
}
.home-guest-card {
    padding:18px;
    border-radius:22px;
}
.home-guest-title {
    font-size:21px;
}
}

@media(max-width:480px) {
.api-title {
    font-size:11px;
}
.api-count {
    font-size:21px;
}
}
* {
    box-sizing: border-box;
}
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}
.wrapper,
.wrapper-box,
.content,
.home-shell,
.home-section,
.home-top-grid,
.service-table-container,
.api-grid,
.news-grid,
.stc-src-grid {
    max-width: 100%;
    min-width: 0;
}
/* Khối mã giảm giá cuộn ngang bên trong, không được kéo rộng cột chứa nó. */
.stc-coupon-box,
.stc-coupon-toolbar,
.stc-coupon-stage,
.stc-coupon-track {
    min-width: 0;
}
.content,
.home-shell {
    overflow-x: hidden;
}
.stc-coupon-box {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    border-radius: 20px;
    border: 1px solid rgba(22, 101, 52, .12);
    background: linear-gradient(180deg, rgba(240, 253, 244, .96), #fff);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .065);
    overflow: hidden;
}
.stc-coupon-toolbar {
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(22, 101, 52, .08);
}
.stc-coupon-title-area {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
}
.stc-coupon-title-icon {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    background: linear-gradient(135deg, #064e3b, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(22, 163, 74, .24);
}
.stc-coupon-title-text {
    min-width: 0;
}
.stc-coupon-title-text h2 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 900;
    white-space: nowrap;
}
.stc-coupon-title-text p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 700;
}
.stc-coupon-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.stc-coupon-tabs {
    padding: 4px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid rgba(22, 101, 52, .1);
    display: flex;
    gap: 4px;
    min-width: 0;
}
.stc-coupon-tab {
    border: 0;
    outline: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 8px 12px;
    background: transparent;
    color: #166534;
    font-size: 11.5px;
    font-weight: 900;
    white-space: nowrap;
}
.stc-coupon-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #047857, #16a34a);
    box-shadow: 0 8px 18px rgba(22, 163, 74, .22);
}
.stc-coupon-nav {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    border: 1px solid rgba(22, 101, 52, .12);
    background: #f0fdf4;
    color: #047857;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.stc-coupon-nav:hover {
    background: #047857;
    color: #fff;
}
.stc-coupon-stage {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 12px 14px 14px;
}
.stc-coupon-track {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 104px);
    grid-auto-columns: minmax(270px, 270px);
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-behavior: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.stc-coupon-track::-webkit-scrollbar {
    height: 6px;
}
.stc-coupon-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(22, 101, 52, .22);
}
.stc-coupon-card {
    width: 270px;
    min-width: 0;
    max-width: 270px;
    height: 104px;
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    overflow: hidden;
    cursor: pointer;
}
.stc-coupon-card:hover {
    border-color: rgba(22, 163, 74, .35);
    box-shadow: 0 15px 32px rgba(15, 23, 42, .10);
}
.stc-coupon-card.is-hot:before {
    content: "VIP";
    position: absolute;
    top: 7px;
    right: 8px;
    z-index: 5;
    height: 19px;
    min-width: 34px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 9.5px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stc-coupon-left {
    position: relative;
    background: linear-gradient(160deg, #064e3b, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.stc-coupon-left:after {
    content: "";
    position: absolute;
    right: -5px;
    top: 0;
    width: 10px;
    height: 100%;
    background-image: radial-gradient(circle at 5px 5px, #fff 4px, transparent 5px);
    background-size: 10px 18px;
    background-repeat: repeat-y;
}
.stc-coupon-badge {
    position: relative;
    z-index: 2;
}
.stc-coupon-badge i {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 13px;
}
.stc-coupon-badge span {
    display: block;
    color: #fff;
    font-size: 7.8px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .35px;
}
.stc-coupon-body,
.stc-coupon-code,
.stc-coupon-desc,
.stc-coupon-discount,
.stc-coupon-date,
.stc-coupon-label {
    min-width: 0;
}
.stc-coupon-body {
    padding: 9px 9px 8px 13px;
}
.stc-coupon-top {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: center;
    margin-bottom: 5px;
    padding-right: 35px;
}
.stc-coupon-label {
    max-width: 90px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 9.5px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stc-coupon-date {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}
.stc-coupon-discount {
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;
}
.stc-coupon-discount span {
    color: #64748b;
    font-size: 10.5px;
    font-weight: 800;
}
.stc-coupon-desc {
    margin-top: 3px;
    height: 26px;
    overflow: hidden;
    color: #64748b;
    font-size: 10.5px;
    line-height: 1.28;
    font-weight: 800;
}
.stc-coupon-code {
    flex: 1;
    height: 26px;
    border-radius: 9px;
    border: 1px dashed rgba(22, 101, 52, .35);
    background: #f8fafc;
    color: #064e3b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    font-size: 10px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stc-coupon-copy {
    width: 28px;
    height: 26px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #047857, #16a34a);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
.stc-coupon-progress {
    position: absolute;
    left: 72px;
    right: 10px;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}
.stc-coupon-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981, #22c55e);
}
.stc-coupon-empty {
    width: 270px;
    height: 104px;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
    padding: 17px 12px;
    font-size: 13px;
    font-weight: 800;
}
.stc-coupon-empty i {
    display: block;
    color: #16a34a;
    font-size: 22px;
    margin-bottom: 7px;
}
.stc-coupon-toast {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 100002;
    max-width: calc(100vw - 32px);
    min-width: 250px;
    padding: 13px 15px;
    border-radius: 15px;
    background: #064e3b;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
    font-size: 13px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: .22s;
}
.stc-coupon-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.stc-modal-custom {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
}
.stc-modal-custom.show {
    display: block;
}
.stc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.stc-modal-wrap {
    position: relative;
    z-index: 2;
    width: min(560px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    margin: 14px auto;
    overflow-y: auto;
    border-radius: 24px;
}
body.stc-modal-open {
    overflow: hidden;
}
.stc-voucher-modal-content {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 85px rgba(15, 23, 42, .32);
}
.stc-voucher-modal-top {
    position: relative;
    height: 92px;
    background: linear-gradient(135deg, #064e3b 0%, #16a34a 62%, #f59e0b 100%);
}
.stc-voucher-close {
    position: absolute;
    top: 15px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}
.stc-voucher-ticket {
    position: relative;
    z-index: 2;
    margin: -42px 20px 0;
    min-height: 116px;
    border-radius: 18px;
    background: #fff;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .15);
}
.stc-voucher-ticket-left {
    position: relative;
    background: linear-gradient(160deg, #064e3b, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.stc-voucher-ticket-left:after {
    content: "";
    position: absolute;
    right: -6px;
    top: 0;
    width: 12px;
    height: 100%;
    background-image: radial-gradient(circle at 6px 6px, #fff 5px, transparent 6px);
    background-size: 12px 22px;
    background-repeat: repeat-y;
}
.stc-voucher-circle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 18px;
}
.stc-voucher-ticket-left strong {
    display: block;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: .45px;
    text-transform: uppercase;
}
.stc-voucher-ticket-body {
    padding: 17px 18px;
    min-width: 0;
}
.stc-voucher-limit {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 9px;
}
.stc-voucher-discount {
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.12;
}
.stc-voucher-discount span:last-child {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}
.stc-voucher-code {
    margin-top: 10px;
    display: inline-flex;
    max-width: 100%;
    min-width: 130px;
    height: 36px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f8fafc;
    border: 1px dashed rgba(22, 101, 52, .35);
    color: #064e3b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stc-voucher-body {
    padding: 20px;
}
.stc-voucher-save {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #f97316;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 16px;
}
.stc-voucher-section {
    margin-bottom: 14px;
}
.stc-voucher-heading {
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.stc-voucher-text,
.stc-voucher-list,
.stc-voucher-rule-row {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}
.stc-voucher-list {
    margin: 0;
    padding-left: 17px;
}
.stc-voucher-list b {
    color: #7c3aed;
}
.stc-voucher-rule {
    display: grid;
    gap: 8px;
}
.stc-voucher-rule-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}
.stc-voucher-rule-row i {
    width: 18px;
    color: #cbd5e1;
}
.stc-voucher-actions {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.stc-voucher-copy,
.stc-voucher-ok {
    height: 44px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}
.stc-voucher-copy {
    border: 1px solid #dbe4ee;
    background: #fff;
    color: #0f172a;
}
.stc-voucher-ok {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #047857, #16a34a);
    box-shadow: 0 12px 24px rgba(22, 163, 74, .22);
}

@media (max-width: 1199px) {
.home-top-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
}
.home-top-grid > * {
    min-width: 0 !important;
}
.api-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
}

@media (max-width: 991px) {
.api-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}

@media (max-width: 768px) {
.wrapper,
.wrapper-box,
.content,
.home-shell {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
.home-section {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.home-section-head {
    align-items: flex-start !important;
}
.home-section-title {
    font-size: 20px !important;
    line-height: 1.25;
}
.service-table-container {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.service-table,
.service-table thead,
.service-table tbody,
.service-table tr,
.service-table td {
    display: block;
    width: 100%;
}
.service-table thead {
    display: none;
}
.service-table tbody {
    display: grid;
    gap: 10px;
}
.service-table tr {
    position: relative;
    padding: 13px 48px 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
    overflow: hidden;
}
.service-table td {
    padding: 0 !important;
    border: 0 !important;
    white-space: normal !important;
}
.service-table td:first-child {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 5px;
    padding-right: 5px !important;
}
.service-table tbody td:nth-child(2) {
    color: #064e3b;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
}
.service-table td:last-child {
    position: absolute;
    top: 50%;
    right: 12px;
    width: auto;
    transform: translateY(-50%);
}
.service-table .btn-action {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.stc-coupon-toolbar {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 13px;
}
.stc-coupon-title-area {
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
}
.stc-coupon-title-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
}
.stc-coupon-title-text h2 {
    font-size: 18px;
    white-space: normal;
}
.stc-coupon-title-text p {
    font-size: 12px;
}
.stc-coupon-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
}
.stc-coupon-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.stc-coupon-tab {
    width: 100%;
    padding: 8px 4px;
    font-size: 11px;
    text-align: center;
}
.stc-coupon-stage {
    padding: 10px 12px 12px;
}
.stc-coupon-track {
    grid-template-rows: repeat(2, 102px);
    grid-auto-columns: minmax(248px, 248px);
    gap: 9px;
}
.stc-coupon-card,
.stc-coupon-empty {
    width: 248px;
    max-width: 248px;
    height: 102px;
    grid-template-columns: 56px minmax(0, 1fr);
}
.stc-coupon-body {
    padding: 8px 8px 8px 12px;
}
.stc-coupon-top {
    padding-right: 32px;
}
.stc-coupon-label {
    max-width: 76px;
    font-size: 9px;
}
.stc-coupon-date {
    font-size: 8.8px;
}
.stc-coupon-discount {
    font-size: 17px;
}
.stc-coupon-discount span {
    font-size: 9.8px;
}
.stc-coupon-desc {
    font-size: 10px;
    height: 25px;
}
.stc-coupon-progress {
    left: 70px;
}
.api-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
    max-width: 100%;
}
.api-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
.stc-modal-wrap {
    width: calc(100vw - 18px);
    margin: 9px auto;
}
.stc-voucher-modal-top {
    height: 80px;
}
.stc-voucher-ticket {
    margin: -36px 12px 0;
    min-height: 106px;
    grid-template-columns: 82px minmax(0, 1fr);
}
.stc-voucher-ticket-body {
    padding: 14px;
}
.stc-voucher-circle {
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin-bottom: 7px;
}
.stc-voucher-ticket-left strong {
    font-size: 9px;
}
.stc-voucher-discount {
    font-size: 21px;
}
.stc-voucher-discount span:last-child {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}
.stc-voucher-code {
    min-width: 0;
    max-width: 100%;
    height: 36px;
    font-size: 13px;
}
.stc-voucher-body {
    padding: 18px 14px;
}
.stc-voucher-section {
    margin-bottom: 12px;
}
.stc-voucher-actions {
    grid-template-columns: 1fr;
}
.stc-coupon-toast {
    top: 14px;
    left: 14px;
    right: 14px;
    min-width: 0;
    max-width: none;
}
}

@media (max-width: 390px) {
.stc-coupon-track {
    grid-auto-columns: minmax(235px, 235px);
}
.stc-coupon-card,
.stc-coupon-empty {
    width: 235px;
    max-width: 235px;
    grid-template-columns: 54px minmax(0, 1fr);
}
.stc-coupon-body {
    padding: 8px 7px 8px 11px;
}
.stc-coupon-label {
    max-width: 70px;
}
.stc-coupon-discount {
    font-size: 16px;
}
.stc-coupon-progress {
    left: 68px;
}
}
.stc-coupon-box {
    overflow: hidden !important;
}
.stc-coupon-toolbar {
    display: block !important;
    padding: 18px 22px 16px !important;
}
.stc-coupon-title-area {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 13px !important;
    width: 100% !important;
    max-width: 100% !important;
}
.stc-coupon-title-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 16px !important;
}
.stc-coupon-title-text {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.stc-coupon-title-text h2 {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
.stc-coupon-title-text p {
    margin: 5px 0 0 !important;
    max-width: 560px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
.stc-coupon-controls {
    margin-top: 16px !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 42px minmax(220px, 420px) 42px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
}
.stc-coupon-tabs {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
    min-width: 0 !important;
}
.stc-coupon-tab {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    padding: 9px 10px !important;
}
.stc-coupon-nav {
    width: 42px !important;
    height: 42px !important;
    border-radius: 16px !important;
}
.stc-coupon-stage {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 14px 18px 20px !important;
}
.stc-coupon-track {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(2, 142px) !important;
    grid-auto-columns: 320px !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 0 10px !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
}
.stc-coupon-card,
.stc-coupon-empty {
    width: 320px !important;
    max-width: 320px !important;
    min-width: 0 !important;
    height: 142px !important;
    scroll-snap-align: start !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
}
.stc-coupon-body {
    padding: 12px 13px 12px 18px !important;
}
.stc-coupon-top {
    margin-bottom: 7px !important;
    padding-right: 42px !important;
}
.stc-coupon-label {
    max-width: 118px !important;
    font-size: 10.5px !important;
}
.stc-coupon-date {
    font-size: 10px !important;
}
.stc-coupon-discount {
    font-size: 22px !important;
    line-height: 1.12 !important;
}
.stc-coupon-discount span {
    font-size: 11.5px !important;
}
.stc-coupon-desc {
    margin-top: 5px !important;
    height: 32px !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
}
.stc-coupon-code {
    height: 32px !important;
    font-size: 11.5px !important;
    border-radius: 11px !important;
}
.stc-coupon-copy {
    width: 34px !important;
    height: 32px !important;
    border-radius: 11px !important;
}
.stc-coupon-progress {
    left: 94px !important;
    right: 14px !important;
    bottom: 7px !important;
}

@media (max-width: 991px) {
.stc-coupon-toolbar {
    padding: 16px 18px 14px !important;
}
.stc-coupon-title-text h2 {
    font-size: 21px !important;
}
.stc-coupon-controls {
    grid-template-columns: 42px minmax(220px, 430px) 42px !important;
    justify-content: center !important;
}
.stc-coupon-track {
    grid-auto-columns: 300px !important;
    grid-template-rows: repeat(2, 140px) !important;
}
.stc-coupon-card,
.stc-coupon-empty {
    width: 300px !important;
    max-width: 300px !important;
    height: 140px !important;
}
}

@media (max-width: 768px) {
.stc-coupon-toolbar {
    padding: 15px 14px 13px !important;
}
.stc-coupon-title-area {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 11px !important;
}
.stc-coupon-title-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 15px !important;
}
.stc-coupon-title-text h2 {
    font-size: 20px !important;
    line-height: 1.18 !important;
}
.stc-coupon-title-text p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
}
.stc-coupon-controls {
    margin-top: 14px !important;
    grid-template-columns: 38px minmax(0, 1fr) 38px !important;
    gap: 8px !important;
}
.stc-coupon-nav {
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
}
.stc-coupon-tabs {
    padding: 4px !important;
}
.stc-coupon-tab {
    padding: 8px 6px !important;
    font-size: 11px !important;
}
.stc-coupon-stage {
    padding: 12px 12px 18px !important;
}
.stc-coupon-track {
    grid-auto-columns: min(330px, calc(100% - 8px)) !important;
    grid-template-rows: repeat(2, 146px) !important;
    gap: 12px !important;
}
.stc-coupon-card,
.stc-coupon-empty {
    width: min(330px, calc(100% - 8px)) !important;
    max-width: min(330px, calc(100% - 8px)) !important;
    height: 146px !important;
    grid-template-columns: 70px minmax(0, 1fr) !important;
}
.stc-coupon-body {
    padding: 12px 12px 12px 17px !important;
}
.stc-coupon-top {
    padding-right: 38px !important;
}
.stc-coupon-label {
    max-width: 150px !important;
    font-size: 10px !important;
}
.stc-coupon-date {
    font-size: 9.5px !important;
}
.stc-coupon-discount {
    font-size: 21px !important;
}
.stc-coupon-desc {
    height: 34px !important;
    font-size: 11px !important;
}
.stc-coupon-code {
    height: 32px !important;
    font-size: 11px !important;
}
.stc-coupon-copy {
    width: 34px !important;
    height: 32px !important;
}
.stc-coupon-progress {
    left: 90px !important;
}
}

@media (max-width: 390px) {
.stc-coupon-track {
    grid-auto-columns: calc(100% - 8px) !important;
}
.stc-coupon-card,
.stc-coupon-empty {
    width: calc(100% - 8px) !important;
    max-width: calc(100% - 8px) !important;
    grid-template-columns: 66px minmax(0, 1fr) !important;
}
.stc-coupon-title-text h2 {
    font-size: 19px !important;
}
.stc-coupon-controls {
    gap: 7px !important;
}
.stc-coupon-tab {
    font-size: 10.5px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}
.stc-coupon-label {
    max-width: 132px !important;
}
.stc-coupon-discount {
    font-size: 20px !important;
}
.stc-coupon-progress {
    left: 84px !important;
}
}
.stc-home-notice {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 52px 16px 18px;
    margin: 14px 0 18px;
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-left: 5px solid #dc2626;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7f7 0%, #ffffff 100%);
    box-shadow: 0 10px 28px rgba(185, 28, 28, 0.08);
    color: #7f1d1d;
    overflow: hidden;
}
.stc-home-notice::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.08);
    pointer-events: none;
}
.stc-home-notice-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fee2e2;
    color: #dc2626;
}
.stc-home-notice-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.4;
}
.stc-home-notice-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.stc-home-notice-track {
    display: flex;
    width: 100%;
    min-width: 0;
    animation: none;
}
.stc-home-notice-content:hover .stc-home-notice-track,
.stc-home-notice-content:focus-within .stc-home-notice-track {
    animation-play-state: paused;
}
@keyframes stc-notice-slide-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.stc-home-notice-text {
    flex: 1 1 auto;
    box-sizing: border-box;
    padding-right: 48px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #7f1d1d;
    white-space: normal;
    overflow-wrap: anywhere;
}
.stc-home-notice-text p {
    margin: 0;
}
@media (prefers-reduced-motion: reduce) {
    .stc-home-notice-track {
        animation: none;
        width: 100%;
        min-width: 0;
        will-change: auto;
    }
    .stc-home-notice-text {
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .stc-home-notice-text[aria-hidden="true"] {
        display: none;
    }
}
.stc-home-notice-text b,
.stc-home-notice-text strong {
    color: #991b1b;
    font-weight: 800;
}
.stc-home-notice-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #b91c1c;
    cursor: pointer;
    transition: color .14s ease, background-color .14s ease;
}
.stc-home-notice-close:hover {
    background: #fee2e2;
    color: #7f1d1d;
}
.stc-home-notice-close svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
.stc-home-notice {
    gap: 12px;
    padding: 14px 46px 14px 14px;
    border-radius: 14px;
    border-left-width: 4px;
    margin: 10px 0 14px;
}
.stc-home-notice-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
}
.stc-home-notice-icon svg {
    width: 19px;
    height: 19px;
}
.stc-home-notice-text {
    font-size: 13px;
    line-height: 1.6;
}
.stc-home-notice-close {
    top: 12px;
    right: 10px;
    width: 28px;
    height: 28px;
}
}

@media (max-width: 480px) {
.stc-home-notice {
    align-items: center;
    padding: 13px 42px 13px 12px;
}
.stc-home-notice-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
}
.stc-home-notice-text {
    font-size: 12.5px;
    line-height: 1.55;
}
}
/* =========================================================
   KHỐI MÃ NGUỒN TRANG CHỦ (SOURCE CODE MỚI NHẤT + NỔI BẬT)
   - Desktop: 5 card / hàng, khối mới nhất 2 hàng (10 card).
   - Danh mục nổi bật: 1 hàng 5 card + nút "Xem tất cả".
   ========================================================= */
.stc-src-block {
    margin-top: 34px;
}
.stc-src-block.is-loading {
    opacity: .55;
    pointer-events: none;
}
.stc-src-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.stc-src-head::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(20, 83, 45, 0), #dbe7de, rgba(20, 83, 45, 0));
}
.stc-src-head-title {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 12px 26px;
    border: 1px solid #e2ece5;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}
.stc-src-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.stc-src-empty {
    grid-column: 1 / -1;
    padding: 34px 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 800;
    text-align: center;
}
.stc-src-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5efe8;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
    transition: border-color .14s ease, box-shadow .14s ease;
}
.stc-src-card:hover {
    transform: none;
    border-color: #bbf7d0;
    box-shadow: 0 22px 52px rgba(22, 101, 52, .13);
}
.stc-src-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0fdf4;
}
.stc-src-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    transition: none;
}
.stc-src-card:hover .stc-src-thumb img {
    transform: none;
}
.stc-src-flag {
    position: absolute;
    top: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.stc-src-flag-pin {
    left: 10px;
    color: #166534;
    background: rgba(255, 255, 255, .94);
}
.stc-src-flag-sale {
    right: 10px;
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
}
.stc-src-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 13px 10px;
}
.stc-src-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-size: 11.5px;
    font-weight: 800;
    font-style: italic;
}
.stc-src-lang-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 2px;
    background: #16a34a;
}
.stc-src-title {
    margin: 8px 0 10px;
    min-height: 57px;
    color: #0f172a;
    font-size: 13.5px;
    line-height: 1.42;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.stc-src-title a {
    color: inherit;
    text-decoration: none;
}
.stc-src-title a:hover {
    color: #047857;
}
.stc-src-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 8px;
}
.stc-src-price-now {
    color: #dc2626;
    font-size: 15px;
    line-height: 1;
    font-weight: 950;
}
.stc-src-price-old {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}
.stc-src-price-free {
    color: #047857;
    font-size: 15px;
    line-height: 1;
    font-weight: 950;
}
.stc-src-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.stc-src-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 800;
}
.stc-src-stars {
    display: inline-flex;
    gap: 1px;
    color: #f59e0b;
    font-size: 10.5px;
}
.stc-src-stars .is-off {
    color: #e2e8f0;
}
.stc-src-view {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 800;
}
.stc-src-foot {
    padding: 9px 13px;
    border-top: 1px solid #eef3f0;
    background: #fbfdfc;
}
.stc-src-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    color: #475569;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
}
.stc-src-author:hover {
    color: #047857;
}
.stc-src-author img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d1fae5;
    background: #ecfdf5;
}
.stc-src-author-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stc-src-pager-wrap,
.stc-src-more {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}
.stc-src-pager {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.stc-src-page {
    min-width: 36px;
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2ece5;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: color .14s ease, background-color .14s ease, border-color .14s ease;
}
.stc-src-page:hover {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #047857;
}
.stc-src-page.is-active {
    border-color: #dc2626;
    background: #dc2626;
    color: #fff;
    cursor: default;
}
.stc-src-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    background: #fff;
    color: #dc2626;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: color .14s ease, background-color .14s ease, border-color .14s ease;
}
.stc-src-more-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
    transform: none;
    box-shadow: 0 14px 28px rgba(220, 38, 38, .22);
}

/* Home source actions: match the storefront mint palette. */
.home-shell .stc-src-pager-wrap:empty { display: none; }
html.stc-theme-frontend .home-shell .stc-src-more-btn {
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    gap: 12px;
    border-radius: 12px;
    border-color: var(--stc-green-200, #c7e7d6);
    background: var(--stc-green-50, #f3f9f5);
    color: var(--stc-green-700, #1f6d53);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(30, 94, 75, .05);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
html.stc-theme-frontend .home-shell .stc-src-more-btn:hover {
    background: var(--stc-green-700, #1f6d53);
    border-color: var(--stc-green-700, #1f6d53);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 94, 75, .12);
}
.home-shell .stc-src-more-btn i { font-size: 12px; }
.home-shell .stc-src-more-btn:focus-visible,
.home-shell .stc-src-page:focus-visible {
    outline: 2px solid var(--stc-green-600, #217a59);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    html.stc-theme-frontend .home-shell .stc-src-more-btn { transition: none; }
}

@media (max-width: 1280px) {
.stc-src-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
/* Danh mục nổi bật giữ đúng 1 hàng: card thứ 5 không bị rơi xuống dòng lẻ. */
.stc-src-grid-one {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 1024px) {
.stc-src-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }
.stc-src-grid-one {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
.stc-src-block {
        margin-top: 26px;
    }
.stc-src-head-title {
        padding: 10px 18px;
        font-size: 14px;
    }
.stc-src-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
.stc-src-grid-one {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
.stc-src-title {
        min-height: 52px;
        font-size: 12.5px;
    }
.stc-src-price-now,
.stc-src-price-free {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
.stc-src-head-title {
        font-size: 12.5px;
        letter-spacing: .03em;
    }
.stc-src-body {
        padding: 10px 10px 9px;
    }
.stc-src-foot {
        padding: 8px 10px;
    }
.stc-src-page {
        min-width: 32px;
        min-height: 32px;
        padding: 0 9px;
        font-size: 12px;
    }
}
/* =========================================================
   DỊCH VỤ MMO & TIN TỨC - Đồng bộ hệ card trang chủ
   ========================================================= */
.home-showcase-section {
    position: relative;
    margin-top: 34px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #e2ece5;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(34, 197, 94, .09), transparent 28%),
        linear-gradient(180deg, #fbfefc 0%, #fff 42%);
    box-shadow: 0 14px 38px rgba(15, 23, 42, .05);
}
.home-showcase-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.home-showcase-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.home-showcase-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, #14532d, #22c55e);
    box-shadow: 0 12px 25px rgba(22, 101, 52, .20);
    font-size: 20px;
}
.home-showcase-icon-news {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}
.home-showcase-kicker {
    display: block;
    margin-bottom: 3px;
    color: #16a34a;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.home-showcase-title {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -.02em;
}
.home-showcase-sub {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 650;
}
.home-showcase-all {
    min-height: 38px;
    padding: 0 14px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #166534;
    background: #f0fdf4;
    font-size: 11.5px;
    font-weight: 900;
    text-decoration: none !important;
}
.home-showcase-all {
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.home-showcase-all:hover {
    color: #fff;
    background: #166534;
    transform: translateY(-2px);
}
.home-showcase-section .news-grid {
    gap: 16px;
}
.home-showcase-section .news-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    box-shadow: 0 9px 24px rgba(15, 23, 42, .045);
}
.home-showcase-section .news-image-wrapper {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ecfdf5;
}
.home-showcase-section .news-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: none;
}
.news-card:hover .news-image {
    transform: none;
}
.news-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    min-height: 25px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    color: #166534;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .10);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 9.5px;
    font-weight: 950;
    text-transform: uppercase;
}
.news-card-badge {
    color: #0f766e;
}
.home-showcase-section .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px;
}
.home-showcase-section .news-card-title {
    min-height: 44px;
    font-size: 14px;
    line-height: 1.55;
}

.news-card-meta {
    margin-bottom: 8px;
    color: #16a34a;
    font-size: 10.5px;
    font-weight: 850;
}
.news-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.home-showcase-section .news-card-description {
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
}
.home-showcase-section .news-read-more {
    width: 100%;
    min-height: 36px;
    margin-top: 12px;
    padding: 0 12px;
    border: 1px solid #d1fae5;
    border-radius: 11px;
    color: #166534 !important;
    background: #f0fdf4;
    box-shadow: none;
    font-size: 11.5px;
    transition: color .2s ease, background .2s ease;
}

.home-showcase-section .news-read-more {
    margin-top: auto;
}
.home-showcase-section .news-read-more:hover {
    color: #fff !important;
    background: #166534;
}

/* Backend render 6 card; desktop rộng giữ đúng một hàng 5 card. */
@media (min-width: 1025px) {
.stc-src-grid-one > .stc-src-card:nth-child(n + 6) {
        display: none;
    }
}

@media (max-width: 768px) {
.home-showcase-section {
        margin-top: 26px;
        padding: 16px 12px;
        border-radius: 20px;
    }
.home-showcase-head {
        align-items: flex-start;
        margin-bottom: 16px;
    }
.home-showcase-heading {
        gap: 10px;
    }
.home-showcase-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 14px;
        font-size: 16px;
    }
.home-showcase-title {
        font-size: 17px;
    }
.home-showcase-sub {
        font-size: 11px;
        line-height: 1.4;
    }

.home-showcase-all {
        min-height: 34px;
        padding: 0 10px;
        font-size: 10.5px;
    }
.home-showcase-section .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
.home-showcase-section .news-card {
        border-radius: 15px;
    }
.news-card-badge {
        top: 7px;
        left: 7px;
        min-height: 21px;
        padding: 0 7px;
        font-size: 8px;
    }
.home-showcase-section .news-content {
        padding: 10px;
    }
.home-showcase-section .news-card-title {
        min-height: 39px;
        font-size: 11.5px;
        line-height: 1.45;
    }
.home-showcase-section .news-card-description {
        font-size: 10px;
        line-height: 1.45;
    }
.news-card-meta {
        margin-bottom: 6px;
        font-size: 9px;
    }
.home-showcase-section .news-read-more {
        min-height: 32px;
        margin-top: 9px;
        font-size: 10px;
    }
}

@media (max-width: 420px) {
.home-showcase-kicker {
        font-size: 8.5px;
    }
.home-showcase-all {
        width: 34px;
        padding: 0;
        font-size: 0;
    }
.home-showcase-all i {
        font-size: 11px;
    }
}
/* =========================================================
   HERO TRANG CHỦ - Định vị nền tảng đa dịch vụ
   ========================================================= */
.stc-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 26px;
    margin-top: 6px;
    padding: 30px 32px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid #123c26;
    background:
        radial-gradient(900px 320px at 88% -20%, rgba(34, 197, 94, .30), transparent 62%),
        radial-gradient(560px 240px at 6% 118%, rgba(16, 185, 129, .22), transparent 60%),
        linear-gradient(135deg, #062616 0%, #0d3a24 46%, #093020 100%);
    box-shadow: 0 26px 60px rgba(6, 38, 22, .28);
}
.stc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
}
.stc-hero-main,
.stc-hero-side {
    position: relative;
    z-index: 2;
    min-width: 0;
}
.stc-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .09);
    color: #d1fae5;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.stc-hero-title {
    margin: 16px 0 0;
    color: #fff;
    font-size: 33px;
    line-height: 1.24;
    font-weight: 950;
    letter-spacing: -.7px;
}
.stc-hero-title span {
    background: linear-gradient(90deg, #4ade80, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stc-hero-desc {
    margin: 13px 0 0;
    max-width: 620px;
    color: rgba(226, 240, 232, .78);
    font-size: 13.5px;
    line-height: 1.68;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.stc-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.stc-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .07);
    color: #e6f6ec;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: color .14s ease, background-color .14s ease, border-color .14s ease;
}
.stc-hero-pill i {
    color: #6ee7a8;
    font-size: 12px;
}
.stc-hero-pill:hover {
    transform: none;
    border-color: rgba(110, 231, 168, .55);
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.stc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.stc-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 13px;
    font-size: 13.5px;
    font-weight: 900;
    text-decoration: none;
    transition: color .14s ease, background-color .14s ease, border-color .14s ease;
}
.stc-hero-btn-main {
    color: #06301c;
    background: linear-gradient(135deg, #86efac, #22c55e);
    box-shadow: 0 16px 32px rgba(34, 197, 94, .3);
}
.stc-hero-btn-ghost {
    color: #eafff3;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
}
.stc-hero-btn:hover {
    transform: none;
}
.stc-hero-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(4, 26, 15, .42);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.stc-hero-stat {
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .05);
}
.stc-hero-stat b {
    display: block;
    color: #86efac;
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.5px;
}
.stc-hero-stat span {
    display: block;
    margin-top: 6px;
    color: rgba(219, 236, 226, .74);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
}
.stc-hero-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px dashed rgba(134, 239, 172, .35);
    color: #d1fae5;
    font-size: 11.5px;
    font-weight: 800;
}
.stc-hero-note i {
    color: #6ee7a8;
}
/* =========================================================
   TIÊU ĐỀ SECTION KIỂU BẢNG ĐIỀU KHIỂN
   ========================================================= */
.stc-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
}
.stc-panel-title {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}
.stc-panel-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-size: 17px;
    background: linear-gradient(135deg, #16a34a, #14532d);
    box-shadow: 0 12px 24px rgba(20, 83, 45, .22);
}
.stc-panel-icon-warm {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 12px 24px rgba(234, 88, 12, .22);
}
.stc-panel-icon-blue {
    background: linear-gradient(135deg, #38bdf8, #1d4ed8);
    box-shadow: 0 12px 24px rgba(29, 78, 216, .22);
}
.stc-panel-icon-green {
    background: linear-gradient(135deg, #34d399, #047857);
    box-shadow: 0 12px 24px rgba(4, 120, 87, .22);
}
.stc-panel-icon-slate {
    background: linear-gradient(135deg, #94a3b8, #334155);
    box-shadow: 0 12px 24px rgba(51, 65, 85, .22);
}
.stc-panel-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -.2px;
}
.stc-panel-title p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
}
.stc-panel-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 11px;
    border: 1px solid #d9e7de;
    background: #fff;
    color: #047857;
    font-size: 12.5px;
    font-weight: 900;
    text-decoration: none;
    transition: color .14s ease, background-color .14s ease, border-color .14s ease;
}
.stc-panel-action:hover {
    border-color: #86efac;
    background: #f0fdf4;
    transform: none;
}
/* =========================================================
   THẺ DỊCH VỤ CỦA NGƯỜI DÙNG (thay bảng "Thống kê dịch vụ")
   ========================================================= */
.stc-tile-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.stc-tile {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 16px 15px 14px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e5efe8;
    background: linear-gradient(180deg, #fff 0%, #fbfefc 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    transition: border-color .14s ease, box-shadow .14s ease;
}
.stc-tile::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #14532d, #22c55e);
}
.stc-tile:hover {
    transform: none;
    border-color: #bbf7d0;
    box-shadow: 0 20px 44px rgba(22, 101, 52, .12);
}
.stc-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.stc-tile-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    font-size: 14px;
}
.stc-tile-count {
    color: #14532d;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.5px;
}
.stc-tile-label {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 900;
}
.stc-tile-desc {
    margin: 5px 0 0;
    color: #7c8798;
    font-size: 11.5px;
    line-height: 1.5;
    font-weight: 600;
}
.stc-tile-actions {
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #f0f4f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.stc-tile-link {
    color: #047857;
    font-size: 11.5px;
    font-weight: 900;
    text-decoration: none;
}
.stc-tile-link:hover {
    text-decoration: underline;
}
.stc-tile-manage {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    text-decoration: none;
    transition: color .14s ease, background-color .14s ease, border-color .14s ease;
}
.stc-tile-manage:hover {
    color: #fff;
    background: #166534;
    border-color: #166534;
}

@media (max-width: 1400px) {
.stc-tile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
.stc-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px;
    }
.stc-hero-title {
        font-size: 27px;
    }
}

@media (max-width: 768px) {
.stc-hero {
        margin-top: 2px;
        padding: 20px 18px;
        border-radius: 20px;
    }
.stc-hero-title {
        font-size: 22px;
    }
.stc-hero-desc {
        font-size: 12.5px;
    }
.stc-hero-btn {
        flex: 1;
        justify-content: center;
        min-height: 44px;
        padding: 0 14px;
        font-size: 12.5px;
    }
.stc-hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 13px;
    }
.stc-hero-stat b {
        font-size: 20px;
    }
.stc-panel-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
        font-size: 15px;
    }
.stc-panel-title h2 {
        font-size: 15px;
    }
.stc-panel-title p {
        font-size: 11.5px;
    }
.stc-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }
.stc-tile {
        padding: 13px 12px 12px;
        border-radius: 15px;
    }
.stc-tile-count {
        font-size: 19px;
    }
}

@media (max-width: 420px) {
.stc-hero-pill {
        font-size: 11px;
        padding: 7px 11px;
    }
.stc-hero-side {
        grid-template-columns: minmax(0, 1fr);
    }
}

