/*
Theme Name: XSKT - Kết Quả Xổ Số
Theme URI: https://xskt.site
Author: BunnyDV
Author URI: https://bunnydv.com
Description: Theme hiển thị kết quả xổ số kiến thiết 3 miền + điện toán, Vietlott, sổ mơ, lịch mở thưởng, thống kê nhanh... Tối ưu tốc độ, chuẩn SEO, giao diện đẹp mắt.    
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xskt
*/

:root {
    --primary-color: #ff6600;
    --primary-dark: #e65c00;
}

body {
    background-color: #f5f6fa;
}

.bg-orange { background-color: var(--primary-color) !important; }
.text-orange { color: var(--primary-color) !important; }

/* Global sticky header (desktop + mobile) */
header.d-none.d-lg-block,
header.d-block.d-lg-none {
    position: sticky;
    top: 0;
    z-index: 1030;
}

a{
	color: #ff6600;
	text-decoration: none;
}

/* DESKTOP HEADER CSS */
.logo-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.logo-center img {
    max-height: 60px;
    width: auto;
    display: block;
}

.time-date-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.flatpickr-weekdays, .dayContainer {
    padding: 10px !important; 
}

.flatpickr-day {
    margin: 3px !important;
}

.hd-nav-home {
    background: #fff;
    color: var(--primary-color);
    padding: 0 20px;
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
}
.hd-nav-home:hover {
    color: var(--primary-dark);
}

.hd-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.hd-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    padding: 0 15px;
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s;
    text-decoration: none;
}
.hd-menu > li > a:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Submenu / Dropdown */
.hd-menu > li {
    position: relative;
}
.hd-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid var(--primary-color);
}
.hd-menu li:hover .submenu {
    display: block;
}
.hd-menu .submenu li {
    border-bottom: 1px solid #f0f0f0;
}
.hd-menu .submenu li:last-child {
    border-bottom: none;
}
.hd-menu .submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 400;
}
.hd-menu .submenu li a i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
    font-size: 13px;
}

.hd-menu .submenu li a .hd-svg-ico {
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex: 0 0 auto;
}
.hd-menu .submenu li a:hover {
    background: #fff5f0;
    color: var(--primary-color);
    padding-left: 20px;
}

.btn-tele {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #229ED9;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}
.btn-tele:hover { color: #fff; opacity: 0.9; }

/* MOBILE HEADER CSS */
.marquee-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}
.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.hm-notice {
    background: #ffdbcc;
}

/* SIDEBAR CSS */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
.sidebar.active { left: 0; }

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    display: none;
}
.sidebar-overlay.active { display: block; }

.mobile-date-drawer {
    position: fixed;
    top: 0;
    right: -330px;
    width: 320px;
    max-width: calc(100vw - 24px);
    height: 100vh;
    background: #fff;
    z-index: 1051;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 6px rgba(0,0,0,0.12);
}

.mobile-date-drawer.active {
    right: 0;
}

.mobile-date-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.mobile-date-drawer-head button {
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-date-drawer-body {
    padding: 10px;
}

.mobile-date-drawer .flatpickr-calendar {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

.mobile-date-drawer .flatpickr-months .flatpickr-month {
    height: 44px;
}

.mobile-date-drawer .flatpickr-current-month {
    font-size: 14px;
    padding-top: 8px;
}

.mobile-date-drawer .flatpickr-weekday {
    font-size: 12px;
}

.mobile-date-drawer .flatpickr-day {
    max-width: 14.2857%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}

.sb-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sb-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}
.sb-menu li a:hover {
    background: #fafafa;
}
.sb-menu li a i {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.sb-menu li a .sb-svg-ico,
.sb-submenu li a .sb-svg-ico {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.sb-submenu li a .sb-svg-ico {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}
.sb-menu li a .status-icon.icon-check,
.sb-submenu li a .status-icon.icon-check {
    background: transparent;
    color: #4caf50;
}

.sb-menu li a .status-icon.icon-check .dashicons,
.sb-submenu li a .status-icon.icon-check .dashicons {
    background: transparent !important;
    color: #4caf50 !important;
    border-radius: 0;
    width: auto;
    height: auto;
    font-size: 18px !important;
}
.sb-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
}
.sb-submenu li a {
    padding-left: 30px;
    font-size: 14px;
    border-bottom: 1px dashed #eaeaea;
}

.sb-submenu li a .sidebar-status {
    margin-left: auto;
}

.sb-submenu li a .sidebar-status .status-time {
    color: #fff;
}

.sb-region-status {
    margin-left: auto;
}

.sidebar-status .status-loading {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 30px;
    justify-content: center;
}

.sidebar-status .status-loading span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9ca3af;
    display: inline-block;
    animation: sb-dot-pulse 1.2s infinite ease-in-out;
}

.sidebar-status .status-loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-status .status-loading span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes sb-dot-pulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-1px);
    }
}
.sb-submenu li:last-child a {
    border-bottom: 1px solid #f0f0f0;
}
.sb-btn-tele {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #e6f3fa;
    color: #229ED9;
    padding: 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 10px;
}
.sb-btn-tele:hover {
    background: #d4eaf5;
}

/* FOOTER CSS */
.footer-main {
    background-color: #fff;
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid #eee;
}

.footer-main h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-main h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-content-about {
    line-height: 1.6;
    color: #333;
}

.footer-content-about p {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.footer-links li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: var(--primary-color);
}

.footer-widget-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-col ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.footer-widget-col ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.footer-widget-col ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-widget-col ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.social-fb { background-color: #3b5998; }
.social-gg { background-color: #db4437; }
.social-yt { background-color: #ff0000; }
.social-map { background-color: #4285f4; }

.footer-bottom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 0;
    font-size: 13px;
    text-align: center;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.footer-bottom-menu li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.footer-bottom-menu li + li::before {
    content: '-';
    margin: 0 6px;
}

.footer-bottom-menu a {
    color: #fff;
    text-decoration: none;
    margin: 0;
}

.footer-bottom-menu a:hover {
    text-decoration: underline;
}

.footer-bottom-fallback-links a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom-fallback-links a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .footer-main {
        text-align: center;
        padding: 30px 0;
    }
    .footer-main h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links li {
        padding-left: 0;
    }
    .footer-links li::before {
        display: none;
    }
    .footer-widget-col ul li {
        padding-left: 0;
    }
    .footer-widget-col ul li::before {
        display: none;
    }
    .footer-social {
        justify-content: center;
    }
}

/* Standard content templates: single.php, page.php, 404.php */
.xskt-standard-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xskt-standard-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.xskt-standard-title {
    margin: 0 0 10px;
    color: #111827;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.xskt-standard-lead {
    margin: 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.65;
}

.xskt-standard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #6b7280;
    font-size: 15px;
}

.xskt-standard-content {
    color: #111827;
    font-size: 18px;
    line-height: 1.8;
}

.xskt-standard-content p,
.xskt-standard-content ul,
.xskt-standard-content ol,
.xskt-standard-content blockquote,
.xskt-standard-content table {
    margin-bottom: 14px;
}

.xskt-standard-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 18px 0 10px;
}

.xskt-standard-content h3 {
    font-size: 24px;
    line-height: 1.35;
    margin: 16px 0 8px;
}

.xskt-standard-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.xskt-standard-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    margin-top: 14px;
    color: #374151;
    font-size: 15px;
}

.xskt-content-pages {
    margin-top: 12px;
    color: #374151;
    font-size: 15px;
}

.xskt-standard-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.xskt-standard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #e3262f;
    background: #e3262f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.xskt-standard-btn:hover {
    color: #fff;
    background: #c91f28;
    border-color: #c91f28;
}

.xskt-standard-btn-outline {
    background: #fff;
    color: #e3262f;
}

.xskt-standard-btn-outline:hover {
    color: #fff;
}

.xskt-standard-search {
    margin-top: 16px;
}

.xskt-standard-search .search-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.xskt-standard-search .search-field {
    flex: 1 1 260px;
    min-width: 200px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 16px;
}

.xskt-standard-search .search-submit {
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    background: #e3262f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .xskt-standard-card {
        padding: 18px;
    }

    .xskt-standard-title {
        font-size: 28px;
    }

    .xskt-standard-content {
        font-size: 17px;
        line-height: 1.75;
    }

    .xskt-standard-content h2 {
        font-size: 24px;
    }

    .xskt-standard-content h3 {
        font-size: 21px;
    }
}

@media (max-width: 576px) {
    .xskt-standard-card {
        padding: 14px;
        border-radius: 6px;
    }

    .xskt-standard-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .xskt-standard-lead,
    .xskt-standard-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .xskt-standard-content h2 {
        font-size: 21px;
    }

    .xskt-standard-content h3 {
        font-size: 19px;
    }

    .xskt-standard-meta,
    .xskt-standard-footer,
    .xskt-content-pages {
        font-size: 14px;
    }

    .xskt-standard-search .search-field,
    .xskt-standard-search .search-submit,
    .xskt-standard-btn {
        font-size: 14px;
    }
}

/* Posts list page */
.xskt-news-list-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.xskt-news-list-title {
    margin: 0;
    padding: 14px 14px 10px;
    font-size: 30px;
    line-height: 1.25;
    color: #111827;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
}

.xskt-news-item {
    border-bottom: 1px solid #d1d5db;
    padding: 10px 0;
}

.xskt-news-item:last-child {
    border-bottom: none;
}

.xskt-news-item-title {
    margin: 0 0 8px;
    padding: 0 14px;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
}

.xskt-news-item-title a {
    color: #1f2937;
    text-decoration: none;
}

.xskt-news-item-title a:hover {
    color: #e3262f;
}

.xskt-news-item-body {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 10px;
    padding: 0 14px;
}

.xskt-news-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 25 / 14;
    overflow: hidden;
    background: #f3f4f6;
}

.xskt-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.xskt-news-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
}

.xskt-news-item-excerpt {
    font-size: 18px;
    line-height: 1.45;
    color: #374151;
}

.xskt-news-empty {
    margin: 0;
    padding: 14px;
    color: #4b5563;
    font-size: 16px;
}

.xskt-news-pagination {
    padding: 14px;
    border-top: 1px solid #e5e7eb;
}

.xskt-news-pagination .page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.xskt-news-pagination .page-numbers li {
    margin: 0;
}

.xskt-news-pagination .page-numbers a,
.xskt-news-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    background: #fff;
}

.xskt-news-pagination .page-numbers .current {
    background: #e3262f;
    border-color: #e3262f;
    color: #fff;
    font-weight: 700;
}

.xskt-news-pagination .page-numbers a:hover {
    border-color: #e3262f;
    color: #e3262f;
}

@media (max-width: 991px) {
    .xskt-news-list-title {
        font-size: 26px;
    }

    .xskt-news-item-title {
        font-size: 26px;
    }

    .xskt-news-item-excerpt {
        font-size: 20px;
    }

    .xskt-news-item-body {
        grid-template-columns: 210px 1fr;
    }
}

@media (max-width: 576px) {
    .xskt-news-list-title {
        font-size: 20px;
        padding: 12px;
    }

    .xskt-news-item {
        padding: 10px 0 12px;
    }

    .xskt-news-item-title {
        font-size: 21px;
        padding: 0 12px;
    }

    .xskt-news-item-body {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 12px;
    }

    .xskt-news-item-excerpt {
        font-size: 16px;
        line-height: 1.55;
    }
}

/* All Games Spotlight (5 games: Mega 6/45, Power 6/55, 6x36, DT123, TT4) */
.home-all-games-spotlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 10px;
}

.home-game-spotlight {
    margin-bottom: 0;
}

/* Vietlott specific */
.home-game-spotlight.game-mega6x45 .mg645-card,
.home-game-spotlight.game-power6x55 .pw655-card {
    margin-bottom: 0;
}

/* Dien Toan specific */
.home-game-spotlight.game-d6x36 .dt-result-box,
.home-game-spotlight.game-d123 .dt-result-box,
.home-game-spotlight.game-dtt4 .dt-result-box {
    margin-bottom: 0;
}

.vietlott-title-link {
    color: inherit;
    text-decoration: none;
}

.vietlott-title-link:hover,
.vietlott-title-link:focus {
    color: inherit;
    text-decoration: none;
    font-size: 22px;
}

/* Quay thu pages (mb/mt/mn): shared styles */
.qt-page__toolbar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 16px;
}

.qt-page__toolbar h1 {
    margin: 0 0 8px;
    font-size: 24px;
}

.qt-page__toolbar p {
    margin: 0 0 12px;
}

.qt-page__action-btn {
    background: #fff;
    border: 1px solid #d32f2f;
    color: #d32f2f;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    width: 100%;
}

.qt-page__action-btn:hover {
    background: #d32f2f;
    color: #fff;
}

.qt-page__action-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.qt-page__extra-card,
.qt-page__prediction-card {
    background: #fff;
    border: 1px solid #d9dde3;
    margin-top: 14px;
}

.qt-page__section-title {
    margin: 0;
    padding: 10px 14px;
    font-weight: 700;
    color: #d32f2f;
    border-bottom: 1px solid #d9dde3;
    font-size: 22px;
}

.qt-page__link-list {
    list-style: none;
    margin: 0;
    padding: 8px 14px 10px;
}

.qt-page__link-list li {
    margin: 0;
    border-bottom: 1px solid #eceff3;
}

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

.qt-page__link-list a {
    display: block;
    padding: 10px 0;
    color: #1f2937;
    text-decoration: none;
}

.qt-page__link-list a::before {
    content: '\203A';
    color: #555;
    font-size: 16px;
    margin-right: 10px;
}

.qt-page__link-list a:hover {
    color: #ff6600;
}

.qt-page__prediction-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
}

.qt-page__prediction-thumb {
    width: 132px;
    min-width: 132px;
    height: 74px;
    display: block;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.qt-page__prediction-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qt-page__prediction-thumb-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
}

.qt-page__prediction-item-title {
    margin: 0;
    line-height: 1.35;
}

.qt-page__prediction-item-title a {
    color: #111827;
    text-decoration: none;
    font-size: 20px;
}

.qt-page__prediction-item-title a:hover {
    color: #ff6600;
}

.qt-page__prediction-empty {
    margin: 0;
    padding: 12px 14px 6px;
    color: #475569;
}

.qt-page__prediction-more {
    display: inline-block;
    margin: 0 14px 12px;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.qt-char-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    margin: 0 1px;
    vertical-align: middle;
}

.qt-char-sep {
    display: inline-block;
    margin: 0 2px;
    font-size: inherit;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .qt-page__prediction-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .qt-page__prediction-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}
