/*
Theme Name: Xoso Theme
Description: Giao diện kết quả xổ số cho xosomien.vn, tích hợp quản trị dữ liệu và index local.
Version: 0.8.0
Requires PHP: 7.4
Text Domain: xoso-theme
*/
:root{--xoso-primary:#d43226;--xoso-accent:#85460a;--border:#d4d4d4}*{box-sizing:border-box}body{margin:0;background:#f9f9f9;color:#111;font:14px Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--xoso-accent);text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}.site-shell{max-width:1090px;margin:auto}.site-header{background:white}.brand-row{height:106px;display:flex;align-items:center;justify-content:space-between;padding:14px 10px}.brand img{display:block}.login-link{color:#555;font-weight:bold;font-size:13px}.main-nav{background:var(--xoso-primary);color:white}.nav-list{display:flex;padding:0;margin:0;list-style:none}.nav-list>li{position:relative;flex-grow:1}.nav-list a{display:block;padding:17px 16px;text-align:center;font-size:15px;font-weight:bold;color:white;border-right:1px solid #ffffff66;white-space:nowrap}.nav-list a:hover,.nav-list .current-menu-item>a{background:#b82219;text-decoration:none}.nav-list .sub-menu{display:none;position:absolute;top:100%;left:0;padding:0;list-style:none;background:var(--xoso-primary);min-width:170px;z-index:10}.nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu{display:block}.page-grid{display:grid;grid-template-columns:180px minmax(0,635px) 265px;gap:5px;margin:5px 0 25px;align-items:start}.main-content{min-width:0;padding:0 5px}.widget{background:#fff;margin-bottom:16px}.widget-title{padding:10px;margin:0;background:var(--xoso-primary);color:white;font-size:14px;font-weight:normal;text-transform:uppercase;border-radius:5px 5px 0 0}.left-sidebar .widget-title{background:#f0f0f0;color:#b13528;text-transform:none;font-weight:bold;border-radius:0;border:1px solid #ddd}.sidebar-list{list-style:none;margin:0;padding:0}.sidebar-list a{display:block;padding:7px 9px;line-height:1.3}.sidebar-list a:before{content:'» ';color:#555}.sidebar-list li{border-bottom:1px solid #eee}.date-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px;background:white;border:1px solid #e6e6e6;border-radius:10px 10px 0 0}.date-controls button,.date-controls input,.date-controls select{padding:10px;border:1px solid #ddd;border-radius:7px;color:#414957;background:#fff;max-width:180px}.date-controls button{background:#f5f5f5;font-weight:bold}.utility-nav{display:flex;background:#f7f9fb;border:1px solid #e3e5e8;border-top:0;border-radius:0 0 10px 10px;margin-bottom:0}.utility-nav a{flex:1;padding:10px 5px;text-align:center;font-weight:bold;font-size:13px;border-right:1px solid #e2e4e6}.utility-nav a:last-child{border:0}.utility-nav span{display:block;font-size:18px;border-radius:50%;background:#fce8ce;color:#bc722e;width:40px;height:40px;line-height:40px;margin:0 auto 6px}.utility-nav a:nth-child(2) span{background:#dae7ff;color:#314abe}.utility-nav a:nth-child(3) span{background:#ebdafa;color:#9651d9}.home-title{font-size:19px;padding:11px;margin:0 0 10px;background:#fdf6df;text-align:center}.page-title{font-size:18px;padding:12px;margin:0 0 15px;background:#fdf6df}.breadcrumbs{font-size:12px;padding:12px 0;color:#555}.xoso-result-card{margin:0 0 20px;background:#fff}.xoso-result-card>h2{margin:0;background:#707977;color:#fff;font-size:18px;text-align:center;padding:12px 6px}.result-table,.loto-table,.source-content table{border-collapse:collapse;width:100%;background:white;table-layout:fixed}.result-table th,.result-table td,.loto-table th,.loto-table td,.source-content table td,.source-content table th{border:1px solid var(--border);padding:6px;vertical-align:middle;text-align:center}.result-table tr>th:first-child{width:78px;font-weight:normal;font-size:13px}.result-table .province-row th{font-size:16px;font-weight:bold}.number-grid{display:grid;grid-template-columns:1fr;gap:8px;min-height:20px}.draw-number{display:block;font-weight:bold;font-size:24px;font-variant-numeric:tabular-nums;line-height:1.28}.region-mb .count-2{grid-template-columns:repeat(2,1fr)}.region-mb .count-3,.region-mb .count-6{grid-template-columns:repeat(3,1fr)}.region-mb .count-4{grid-template-columns:repeat(4,1fr)}.prize-1 .draw-number,.region-mn .prize-9 .draw-number,.region-mt .prize-9 .draw-number{color:#b54836}.region-mb .prize-1 .draw-number{font-size:34px}.digit-controls{display:flex;justify-content:flex-end;gap:12px;padding:8px;background:white}.digit-controls button{background:none;border:0;padding:3px;color:#666}.digit-controls button:before{content:'○ ';font-size:15px}.digit-controls button.active:before{content:'◉ ';color:var(--xoso-primary)}.loto-tabs{display:flex;background:#eee;border-bottom:1px solid #bbb}.loto-tabs button{border:0;background:none;padding:10px;font-weight:bold;color:#555;flex:1}.loto-tabs button[aria-selected=true]{background:#fff;color:#b13b2e;border-bottom:2px solid var(--xoso-primary)}.loto-panel[hidden]{display:none}.loto-panel h3{font-size:15px;font-weight:normal;text-align:center;margin:0;padding:10px;background:#707977;color:white}.loto-numbers{font-size:21px;font-weight:bold;word-spacing:12px;line-height:1.65;text-align:center;padding:10px 12px;font-variant-numeric:tabular-nums;border:1px solid #ddd}.loto-table th{width:45px;font-weight:normal}.loto-table thead{background:#eee}.loto-table td{font-size:16px;text-align:left}.xoso-source{padding:8px 10px;margin:0;background:#f3f3f3;font-size:11px;color:#777}.xoso-source a{text-decoration:none}.xoso-empty,.xoso-placeholder{padding:20px;background:white;border:1px solid #ddd;color:#555}.xoso-history{background:#fff;padding:12px;border:1px solid #ddd;margin:15px 0}.xoso-history h2{font-size:16px;margin:0 0 10px}.xoso-history ul{display:flex;gap:8px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.xoso-history a{display:block;padding:7px;border:1px solid #ddd;color:#ad4034}.xoso-vietlott-numbers{display:flex;justify-content:center;gap:12px;padding:20px}.xoso-vietlott-numbers strong{background:#d3382b;color:#fff;border-radius:50%;width:48px;height:48px;line-height:48px;text-align:center;font-size:20px}.source-content{overflow-wrap:anywhere}.source-content table caption{background:#707977;color:white;padding:10px}.source-content table caption h2{font-size:18px;margin:0}.source-content .number{display:inline-block;margin:3px 6px;font-weight:bold;font-size:20px}.source-content .after-content,.after-content{padding:15px;background:white;line-height:1.6}.after-content h2{font-size:18px}.source-content .caption{font-size:18px}.source-content p{line-height:1.6}.source-content a{color:#ad4034}.source-content .table-result-lottery{margin-bottom:14px}.source-content .number-dot{font-size:12px}.source-content .block-result{margin-bottom:18px}.source-content .results{font-weight:bold}.source-content .quantity-of-number{display:flex;flex-wrap:wrap;justify-content:space-around}.lookup-form{display:flex;flex-wrap:wrap;gap:10px;background:white;padding:20px}.lookup-form input,.lookup-form select,.lookup-form button{display:block;padding:9px;max-width:160px;border:1px solid #ddd;margin-top:8px}.lookup-form button{background:var(--xoso-primary);color:white;align-self:end}.site-footer{background:#121d30;color:#b7c3d4;padding:0 15px}.footer-link-hub{display:flex;flex-wrap:wrap;gap:8px;padding:25px 0;border-bottom:1px solid #ffffff18}.footer-link-hub a{padding:9px 14px;background:#1e304b;border:1px solid #ffffff22;border-radius:6px;color:#e6edf7}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px;padding:30px 0}.site-footer h2,.site-footer h3{color:#fff}.site-footer h2{font-size:26px}.site-footer p{line-height:1.8}.site-footer a:hover{color:#fff}.footer-disclaimer{border:1px solid #ffffff22;background:#19283e;border-radius:8px;padding:15px;font-size:13px;line-height:1.7}.footer-bottom{border-top:1px solid #ffffff22;margin-top:20px;padding:18px 0;font-size:12px}.menu-toggle{display:none}.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}#mobile-menu[hidden]{display:none}.source-content .prize-pool{font-size:14px}.source-content .wrap-text{padding:2px 6px}.content-card{background:white;padding:15px;margin:15px 0}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #2873cc;outline-offset:2px}
@media(max-width:991px){.site-shell{width:100%;max-width:100%}.page-grid{display:block;margin:5px 0}.left-sidebar,.right-sidebar{display:none}.main-content{padding:0 5px;max-width:700px;margin:auto}.brand-row{height:44px;padding:3px 12px;background:var(--xoso-primary);color:white}.brand img{width:96px;height:34px}.menu-toggle{display:block;color:white;background:none;border:0;font-size:25px;padding:0}.login-link{color:white;font-size:12px}.main-nav{background:#854b20}.nav-list a{font-size:13px;padding:13px 15px;border:0}.footer-grid{grid-template-columns:1fr}.draw-number{font-size:22px}.home-title{font-size:16px}.date-controls{border-radius:0;padding:10px;gap:8px}.date-controls input{width:145px}.date-controls select{max-width:130px}.xoso-result-card>h2{font-size:16px}.utility-nav a{font-size:12px}.utility-nav span{width:38px;height:38px;line-height:38px}#mobile-menu{position:fixed;top:44px;left:0;width:300px;max-width:90vw;bottom:0;overflow-y:auto;background:white;z-index:50;box-shadow:0 4px 30px #0005;padding:12px}.xoso-vietlott-numbers{gap:7px;padding:18px 6px}.xoso-vietlott-numbers strong{width:39px;height:39px;line-height:39px;font-size:18px}.result-table th,.result-table td{padding:5px}.loto-numbers{font-size:19px;word-spacing:10px}.result-table .province-row th{font-size:14px}.source-content{overflow-x:auto}.source-content table{font-size:12px}.source-content .number{font-size:17px}}
@media(max-width:400px){.draw-number{font-size:18px}.region-mb .draw-number{font-size:21px}.result-table tr>th:first-child{width:65px;font-size:12px}.date-controls button{padding:10px 6px}.main-nav a{padding:13px 10px}}
.live-message{margin:0;padding:10px;color:#ed0909;font-size:15px;font-weight:bold;line-height:1.4}.loading-dots{display:inline-flex;align-items:center;justify-content:center;gap:2px;height:30px;min-width:35px}.loading-dots i{width:3px;height:3px;border-radius:50%;background:#ff3348;animation:xoso-dot 1s infinite ease-in-out}.loading-dots i:nth-child(2){animation-delay:.15s;background:#ff6035}.loading-dots i:nth-child(3){animation-delay:.3s}.loading-dots i:nth-child(4){animation-delay:.45s;background:#ff3278}.is-waiting{min-height:30px}.just-announced{animation:xoso-announced 1.6s ease-out}.connection-cached .xoso-source:after{content:' · Đang kết nối lại';color:#94630c}@keyframes xoso-dot{0%,80%,100%{transform:translateY(0);opacity:.45}40%{transform:translateY(-3px);opacity:1}}@keyframes xoso-announced{0%{background:#fff1bd}100%{background:transparent}}@media(prefers-reduced-motion:reduce){.loading-dots i,.just-announced{animation:none}}

.left-sidebar .region-group .widget-title{background:#ee0909;color:white;text-transform:uppercase;font-weight:normal;border:0;border-radius:5px 5px 0 0}

.left-sidebar .widget-title{background:#ee0909;color:#fff;text-transform:uppercase;border:0;border-radius:5px 5px 0 0;font-weight:normal}.sidebar-list li{border:0}.widget .sidebar-list{padding:7px 0}.widget{border-radius:5px}.source-content [hidden]{display:none!important}

.report-form{display:flex;flex-wrap:wrap;gap:12px;padding:15px;background:white;border:1px solid #ddd;margin-bottom:10px;align-items:end}.report-form label{display:grid;gap:5px;font-weight:bold;font-size:13px}.report-form input,.report-form select{padding:8px;max-width:185px;border:1px solid #ccc;border-radius:4px}.report-form button{padding:9px 15px;border:0;border-radius:4px;background:var(--xoso-primary);color:white}.report-summary{padding:9px;background:#fff6de;margin:0 0 12px;font-weight:bold}.report-data,.table-scroll{max-width:100%;overflow-x:auto}.report-data table{table-layout:auto;min-width:100%;margin-bottom:15px}.report-data th,.report-data td{white-space:nowrap;font-size:13px}.report-data .number{font-size:16px;white-space:nowrap;margin:0}.report-data .block-result:has(>.col-left){display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px}.report-data .col-left,.report-data .col-right{min-width:0}.report-tabs{display:flex;gap:5px;margin-bottom:12px;border-bottom:2px solid #ddd}.report-tabs button{flex:1;padding:10px;border:0;background:#eee}.report-tabs button[aria-selected=true]{background:var(--xoso-primary);color:white}.report-filter{display:flex;gap:10px;align-items:center;background:white;padding:12px}.report-filter input{padding:8px;border:1px solid #ccc;width:180px}.report-data .caption{font-size:16px;font-weight:bold;padding:10px;background:#eee}.report-data .text-red,.report-data .sunday{color:#d02020}.report-data h2{font-size:17px}.report-data h3{font-size:15px}.report-panel[hidden]{display:none!important}.report-data .loto,.report-data .first-digit,.report-data .lasted-digit,.report-data .sum-digit{font-size:12px}.report-data .first-digit:before{content:'Đầu '}.report-data .lasted-digit:before{content:'Đuôi '}.report-data .sum-digit:before{content:'Tổng '}.report-data .loto:before{content:'Lô tô '}
@media(max-width:600px){.report-form{gap:8px;padding:10px}.report-form input,.report-form select{max-width:160px}.report-data .block-result:has(>.col-left){grid-template-columns:1fr}.report-data .col-right{margin-bottom:20px}}

.vietlott-tabs{display:flex;gap:5px;margin:0 0 15px;background:#fff;border-bottom:1px solid #ddd}.vietlott-tabs a{flex:1;padding:10px 4px;text-align:center;font-weight:bold;color:#333}.vietlott-tabs a[aria-current]{background:var(--xoso-primary);color:white}.vietlott-page table{table-layout:auto}.vietlott-page .block-result{margin-bottom:24px}.vietlott-page .vietlott{padding:14px 0 8px}.vietlott-page .vietlott ul{list-style:none;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:12px;margin:0 0 15px;padding:0}.vietlott-page .vietlott .number{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:46px;margin:0;border-radius:50%;background:#e20d14;color:#fff;font-size:24px;line-height:1;font-weight:normal}.vietlott-page .vietlott .number[data-prize="7"]{margin-left:8px;background:#f8ce42;color:#111}.vietlott-page .vietlott>span{display:block;font-size:12px;line-height:1.5;overflow-wrap:normal}.vietlott-page .prize-pool td{padding:11px 5px;font-size:14px;white-space:nowrap;overflow-wrap:normal}.vietlott-page .prize-pool td:first-child{width:18%}.vietlott-page .prize-pool:first-of-type{font-weight:bold}.vietlott-page .circle i{display:inline-block;width:12px;height:12px;background:#e20d14;border-radius:50%;margin:1px}.vietlott-page .circle i.special{background:#f8ce42}.vietlott-page caption h2{line-height:1.4}.report-data .hidden-xs.hidden-sm{display:inline}.report-data .hidden-lg.hidden-md{display:none}
@media(max-width:600px){.vietlott-page .vietlott ul{gap:7px}.vietlott-page .vietlott .number{width:37px;height:37px;font-size:20px}.vietlott-page .vietlott .number[data-prize="7"]{margin-left:3px}.vietlott-page .prize-pool td{font-size:11px;padding:8px 3px}.vietlott-page .circle i{width:8px;height:8px;margin:1px}.vietlott-tabs a{font-size:12px}.vietlott-page caption h2{font-size:15px}}

.nav-list a{font-size:14px;padding:17px 12px}.nav-list .menu-item-has-children>a{padding-right:25px}.nav-submenu-toggle{border:0;background:transparent;color:inherit;position:absolute;right:4px;top:17px;padding:0 3px;line-height:17px}.nav-list .sub-menu{min-width:200px;box-shadow:0 4px 12px #0002}.nav-list .sub-menu a{font-size:14px;text-align:left;border:0;padding:10px 12px;font-weight:normal}.nav-list li.submenu-open>.sub-menu{display:block}.nav-list>li:nth-last-child(-n+3) .sub-menu{left:auto;right:0}.mobile-nav-list{list-style:none;padding:0;margin:0 0 20px}.mobile-nav-list>li{position:relative;border-bottom:1px solid #eee}.mobile-nav-list a{display:block;padding:12px;color:#111}.mobile-nav-list .sub-menu{display:none;list-style:none;padding:0 0 0 14px;background:#f8f8f8}.mobile-nav-list .submenu-open>.sub-menu{display:block}.mobile-nav-list .nav-submenu-toggle{top:12px;right:4px;color:#333;font-size:20px;padding:0 10px}.lottery-introduction{margin:25px 0 20px}.lottery-introduction h2{font-size:20px;line-height:1.4;margin:0 0 20px}.introduction-body{padding:20px;background:white;font-size:16px;line-height:1.6}.introduction-body p{margin:0 0 24px}.introduction-body p:last-child{margin-bottom:0}.introduction-body strong,.introduction-body a{color:#d43226}
@media(max-width:991px){.brand-row{justify-content:center;position:relative}.menu-toggle{position:absolute;left:12px}.nav-list a{font-size:13px;padding:13px 15px}.nav-list .menu-item-has-children>a{padding-right:15px}.admin-bar #mobile-menu{top:90px}.lottery-introduction h2{font-size:18px}.introduction-body{font-size:15px;padding:15px}}

.source-content>h1.caption{font-size:18px;padding:12px;margin:0 0 15px;background:#fdf6df}.report-data th{white-space:normal}.xoso-report[data-report="chu-ky-giai-dac-biet"] td,.xoso-report[data-report="chu-ky-loto-khong-ra"] td{white-space:normal}.report-data [data-loto][hidden]{display:none!important}

.home-results .live-message{display:none}.home-live-banner{background:white}.home-live-banner[hidden]{display:none}
/* ===== Component Kết quả bóng đá - World Cup ===== */
.wc-wrap {
    font-size: 13px;
    color: #222;
}
.brand img{width:240px;height:68px;object-fit:contain;object-position:left center}
@media(max-width:991px){.brand-row{height:50px}.brand img{width:152px;height:46px}#mobile-menu{top:50px}.admin-bar #mobile-menu{top:96px}}

.wc-wrap a {
    color: #1565c0;
    text-decoration: none;
}

.wc-wrap .wc-score-link:not(.sched) {
    color: #fff;
}

.wc-wrap a:hover {
    text-decoration: none;
}

.wc-tabs {
    margin: 8px 0 14px;
    border-bottom: 2px solid #d32f2f;
}

.wc-tabs a {
    display: inline-block;
    padding: 7px 5px;
    margin-right: 4px;
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    font-weight: 600;
    color: #333;
}

.wc-tabs a.active {
    background: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

/* Thanh nhảy nhanh tới bảng A..L (dính ở đầu khi cuộn) */
html {
    scroll-behavior: smooth;
}

.wc-jump {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    position: sticky;
    top: 40px;
    z-index: 50;
    background: #fff;
    padding: 9px 0;
    margin: 0 0 16px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 3px 5px -3px rgba(0, 0, 0, .2);
}

.wc-jump-label {
    font-weight: 600;
    color: #555;
    font-size: 13px;
    margin-right: 2px;
}

.wc-jump a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f7f7f7;
    color: #d32f2f;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: background .15s, color .15s;
}

.wc-jump a:hover {
    background: #fdecec;
    border-color: #d32f2f;
}

.wc-jump a.active {
    background: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

.wc-group {
    margin-bottom: 22px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    scroll-margin-top: var(--wc-scroll-margin, 96px);
}

.wc-group-title {
    background: #d32f2f;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

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

.wc-table th,
.wc-table td {
    padding: 7px 6px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.wc-table th {
    background: #fafafa;
    font-size: 12px;
    color: #555;
    font-weight: 600;
}

.wc-table td.team {
    text-align: left;
    white-space: nowrap;
}

.wc-table tr.qualified td:first-child {
    box-shadow: inset 3px 0 0 #2e7d32;
}

.wc-table .pts {
    font-weight: 700;
    color: #d32f2f;
}

.wc-table tbody tr:hover {
    background: #fff8e1;
}

.wc-flag {
    width: 22px;
    height: 15px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
    border: 1px solid #ddd;
}

.wc-form {
    display: inline-flex;
    gap: 3px;
}

.wc-form span {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.wc-form .W {
    background: #2e7d32;
}

.wc-form .D {
    background: #f9a825;
}

.wc-form .L {
    background: #c62828;
}

/* Thanh chọn cách xem */
.wc-viewbar {
    margin: 10px 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-viewbar label {
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.wc-viewbar select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    min-width: 230px;
}

/* Lịch thi đấu */
.wc-round-title {
    background: #263238;
    color: #fff;
    padding: 9px 12px;
    margin: 18px 0 0;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px 4px 0 0;
}

.wc-matchlist {
    border: 1px solid #e0e0e0;
    border-top: none;
}

.wc-match-row {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 1px solid #f0f0f0;
}

.wc-match-row:hover {
    background: #fafafa;
}

.wc-match-date {
    width: 132px;
    font-size: 12px;
    color: #777;
}

.wc-badge {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 6px;
    border-radius: 3px;
    background: #eceff1;
    color: #455a64;
    font-size: 11px;
    font-weight: 600;
}

.wc-match-teams {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.wc-match-live-status {
    grid-column: 1 / span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wc-match-sub {
    grid-column: 1 / span 3;
    text-align: center;
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

.wc-ball-spin {
    display: inline-block;
    animation: wcSpin 2s linear infinite;
    font-size: 12px;
}

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

.wc-live-playing {
    color: #e53935;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    animation: wcLiveBlink 1s infinite alternate;
}

.wc-match-teams .t {
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.wc-match-teams .home {
    flex-direction: column-reverse;
    text-align: center;
}

.wc-match-teams .away {
    flex-direction: column;
    text-align: center;
}

.wc-match-teams .t .wc-flag {
    margin: 0 0 5px 0 !important;
}

.wc-match-score {
    min-width: 56px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    background: #2e7d32;
    color: #fff;
    border-radius: 12px;
    padding: 3px 10px;
}

.wc-match-score.sched {
    background: #eee;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.wc-match-score.live {
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    padding: 3px 8px;
    text-transform: uppercase;
    animation: wcLivePulse 1.5s infinite alternate;
}

@keyframes wcLivePulse {
    from {
        box-shadow: 0 0 2px rgba(229, 57, 53, 0.4);
    }

    to {
        box-shadow: 0 0 10px rgba(229, 57, 53, 1);
    }
}

.bk-live-badge {
    color: #e53935;
    font-weight: 800;
    animation: wcLiveBlink 1s infinite alternate;
}

@keyframes wcLiveBlink {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.wc-match-row.live-highlight {
    background: #fff5f5 !important;
    box-shadow: inset 4px 0 0 #e53935;
}

.bk-card.live-highlight {
    border-color: #e53935 !important;
    box-shadow: 0 0 8px rgba(229, 57, 53, 0.3) !important;
}

.wc-score-link {
    cursor: pointer;
    text-decoration: none;
}

.wc-score-link:hover {
    filter: brightness(1.08);
}

/* ===== Modal kết quả trận đấu ===== */
.wc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 12px;
    overflow: auto;
}

.wc-modal {
    background: #fff;
    width: 720px;
    max-width: 96%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.wc-modal-head {
    background: #c0566b;
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.wc-modal-close {
    color: #fff;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
}

.wc-modal-body {
    padding: 16px 20px 20px;
}

/* nội dung popup */
.wc-pp-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 6px;
}

.wc-pp-team {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 38%;
    font-size: 16px;
}

.wc-pp-team.away {
    justify-content: flex-end;
    text-align: right;
}

.wc-pp-team img {
    width: 52px;
    height: auto;
    border: 1px solid #eee;
}

.wc-pp-score {
    flex: 1;
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    color: #2e7d32;
}

.wc-pp-period {
    text-align: center;
    color: #555;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.wc-pp-meta {
    text-align: center;
    color: #666;
    font-size: 13px;
    line-height: 1.9;
}

.wc-pp-updating {
    text-align: center;
    color: #888;
    margin: 14px 0;
}

/* Timeline diễn biến (vạch dọc ở giữa) */
.wc-tl {
    position: relative;
    margin-top: 12px;
}

.wc-tl::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e6e6e6;
    transform: translateX(-50%);
}

.wc-tl-row {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.wc-tl-side {
    width: calc(50% - 9px);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #222;
}

.wc-tl-side .nm {
    flex: 1;
    line-height: 1.3;
}

.wc-tl-side.home {
    text-align: right;
}

.wc-tl-side.home .nm {
    order: 0;
}

/* icon | name | min */
.wc-tl-side.away {
    text-align: left;
}

.wc-tl-side .ic {
    flex: 0 0 auto;
    font-size: 14px;
}

.wc-tl-min {
    flex: 0 0 auto;
    color: #888;
    font-size: 12px;
    white-space: nowrap;
}

.wc-tl-dot {
    flex: 0 0 18px;
    display: flex;
    justify-content: center;
}

.wc-tl-dot::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cfcfcf;
    box-shadow: 0 0 0 2px #fff;
}

.wc-pp-detail {
    display: block;
    text-align: center;
    background: #2f4f9f;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 14px;
}

.wc-pp-detail:hover {
    background: #26408a;
}

/* Dòng tỉ số chi tiết xuống hẳn dòng riêng bên dưới, căn giữa */
.wc-match-sub {
    flex: 0 0 100%;
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.wc-match-tv {
    width: 140px;
    text-align: center;
    font-size: 11px;
}

.wc-tv {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
    white-space: nowrap;
}

.wc-tv i {
    font-style: normal;
}

.wc-match-detail-link {
    width: auto;
    min-width: 50px;
    text-align: right;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.wc-mobile-br {
    display: none;
}

@media (max-width: 640px) {
    .wc-match-tv {
        display: none;
    }

    .wc-mobile-br {
        display: inline;
    }

    .wc-match-date {
        width: auto;
        min-width: 50px;
        max-width: 50px;
        white-space: normal;
        word-break: break-word;
        flex-shrink: 0;
        font-size: 11px;
    }

    .wc-match-teams .t {
        width: auto;
    }

    .wc-match-detail-link {
        width: auto;
        margin-left: 8px;
    }
}

/* ===== Sơ đồ nhánh đấu (bracket) ===== */
.bk-scroll {
    overflow-x: auto;
    padding-bottom: 6px;
}

.bk {
    display: flex;
    min-width: 1060px;
    min-height: 1560px;
}

.bk-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 206px;
    padding: 0 14px;
}

.bk-col-title {
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #d32f2f;
    padding: 2px 0 10px;
    text-transform: uppercase;
}

.bk-cells {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bk-cell {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.bk-card {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e2ea;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    position: relative;
    z-index: 1;
}

.bk-card:hover {
    border-color: #d32f2f;
    box-shadow: 0 2px 8px rgba(211, 47, 47, .2);
}

.bk-head {
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #d32f2f;
    border-bottom: 1px solid #f0f0f0;
    letter-spacing: .2px;
}

.bk-team {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 6px 9px;
    color: #2b2b3a;
    line-height: 1.3;
    gap: 6px;
}

.bk-team+.bk-team {
    border-top: 1px solid #f2f2f5;
}

/* Tên/nguồn vào: XUỐNG DÒNG khi quá dài (không cắt chữ) */
.bk-name {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    flex: 1;
}

.bk-nm {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bk-flag {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border: 1px solid #ddd;
    flex: 0 0 auto;
    border-radius: 2px;
    margin-top: 1px;
}

.bk-flag-ph {
    background: #e7e9ef;
    border-color: #dcdee6;
}

.bk-tbd .bk-nm {
    color: #9aa0ad;
    font-weight: 600;
}

.bk-win {
    background: #f1f8e9;
}

.bk-win .bk-nm {
    font-weight: 700;
}

.bk-score {
    font-weight: 700;
    color: #d32f2f;
    min-width: 14px;
    text-align: right;
    flex: 0 0 auto;
}

/* ===== Đường nối các nhánh (màu đỏ) =====
   Đường NGANG vẽ trên .bk-cell và chạy xuyên qua thẻ; phần giữa bị thẻ (z-index cao,
   nền trắng) che, nên chỉ lộ 2 đầu trong khe -> tạo "cuống" nối trái/phải.
   Đường DỌC nối từng cặp đặt ở khe phải (nửa dưới cho ô lẻ, nửa trên cho ô chẵn). */
.bk-cell::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -14px;
    right: -14px;
    height: 2px;
    background: #ee7d2e;
    z-index: 0;
}

.bk-col:first-child .bk-cell::before {
    left: 50%;
}

/* cột đầu: bỏ cuống trái */
.bk-col:last-child .bk-cell::before {
    right: 50%;
}

/* cột cuối: bỏ cuống phải */
.bk-col:not(:last-child) .bk-cell:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    height: 50%;
    border-right: 2px solid #ee7d2e;
    z-index: 0;
}

.bk-col:not(:last-child) .bk-cell:nth-child(even)::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 0;
    height: 50%;
    border-right: 2px solid #ee7d2e;
    z-index: 0;
}

.bk-third {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #ddd;
}

.bk-third-title {
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #455a64;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bk-note {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-top: 12px;
}

/* Chi tiết trận đấu */
.wc-md-head {
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
    color: #fff;
    padding: 18px;
    border-radius: 6px;
    text-align: center;
}

.wc-md-head .teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.wc-md-head .team {
    width: 38%;
    font-size: 16px;
    font-weight: 700;
}

.wc-md-head .team img {
    display: block;
    margin: 0 auto 6px;
    width: 54px;
    height: auto;
}

.wc-md-head .score {
    font-size: 34px;
    font-weight: 800;
}

.wc-md-head .meta {
    margin-top: 10px;
    font-size: 12px;
    opacity: .9;
}

.wc-events {
    display: flex;
    margin-top: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.wc-events .col {
    flex: 1;
    padding: 10px;
}

.wc-events .col.home {
    text-align: right;
    border-right: 1px solid #eee;
}

.wc-events .ev {
    padding: 5px 0;
    font-size: 13px;
}

.wc-events .min {
    color: #d32f2f;
    font-weight: 700;
}

.wc-ico {
    font-size: 13px;
}

/* Danh sách cầu thủ */
.wc-coach {
    margin: 4px 0 2px;
    font-size: 14px;
    color: #333;
    background: #f1f8e9;
    border-left: 4px solid #2e7d32;
    padding: 8px 12px;
    border-radius: 3px;
}

.wc-squad-pos {
    background: #263238;
    color: #fff;
    padding: 7px 12px;
    margin: 16px 0 0;
    font-weight: 700;
    border-radius: 4px 4px 0 0;
}

.wc-squad {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
}

.wc-squad th,
.wc-squad td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.wc-squad th {
    background: #fafafa;
    text-align: left;
    color: #555;
}

.wc-squad td.num {
    text-align: center;
    width: 40px;
    color: #777;
}

.wc-squad .captain-badge {
    background: #d32f2f;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
}

/* Responsive layout on mobile screens */
@media (max-width: 576px) {
    .wc-match-teams {
        gap: 6px;
    }
}/* World Cup component fit for the local three-column theme. */
.source-content .wc-wrap{max-width:100%;overflow:visible;color:#222;}
.source-content .wc-wrap h1{font-size:18px;margin:6px 0;line-height:1.35;}
.source-content .wc-match-row{min-width:0;}
.source-content .wc-match-teams{min-width:0;}
.source-content .wc-match-detail-link{width:58px;text-align:center;font-size:11px;}
@media(max-width:640px){
 .source-content .wc-jump{top:44px;}
 .source-content .wc-match-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:4px;padding:9px 6px;}
 .source-content .wc-match-date{width:auto;grid-row:1 / span 2;font-size:11px;}
 .source-content .wc-match-teams{grid-column:2;}
 .source-content .wc-match-tv,.source-content .wc-match-detail-link{grid-column:2;width:auto;text-align:center;margin-top:4px;}
 .source-content .wc-match-teams .t{font-size:12px;}
 .source-content .wc-match-score{min-width:48px;padding:3px 5px;font-size:13px;}
 .source-content .wc-viewbar select{min-width:0;max-width:100%;}
}
/* Source-style footer with a quick-link band, four content columns and disclaimer card. */
.site-footer{padding:0;background:#121d30;color:#b7c3d4;}
.footer-container{max-width:1090px;margin:auto;padding-left:15px;padding-right:15px;}
.footer-seo-hub{background:#fff;color:#27364b;border-bottom:1px solid #e5e8ed;}
.seo-hub-header{display:flex;align-items:center;gap:12px;padding:17px 0 10px;font-size:14px;font-weight:700;color:#d43226;}
.seo-hub-rule{height:1px;background:#e5e8ed;flex:1;}
.seo-hub-tags{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 18px;}
.seo-hub-tags a{padding:7px 11px;border:1px solid #e1e5eb;border-radius:4px;background:#f7f9fb;color:#38485b;font-size:13px;}
.seo-hub-tags a:hover{background:#d43226;color:#fff;text-decoration:none;border-color:#d43226;}
.footer-main{background:#121d30;}
.footer-grid{grid-template-columns:1.55fr 1fr 1fr 1fr;gap:28px;padding-top:34px;padding-bottom:26px;}
.footer-col h2{margin:0 0 12px;color:#fff;font-size:27px;}
.footer-col h3{margin:0 0 12px;color:#fff;font-size:16px;}
.footer-col p{margin:0 0 10px;line-height:1.7;}
.footer-col ul{list-style:none;margin:0;padding:0;}
.footer-col li{padding:5px 0;border-bottom:1px solid #ffffff14;}
.footer-col li a:before{content:'» ';color:#f06a5d;}
.footer-meta{font-size:12px;color:#91a2b8;}
.footer-disclaimer-section{background:#121d30;}
.footer-disclaimer{background:#19283e;border:1px solid #ffffff20;border-radius:7px;padding:15px 17px;color:#bac7d8;font-size:13px;line-height:1.7;}
.footer-disclaimer h2{margin:0 0 12px;color:#fff;font-size:20px;line-height:1.35;}
.footer-disclaimer p{margin:0 0 10px;}
.footer-disclaimer p:last-child{margin-bottom:0;}
.footer-legal-note{padding-top:10px;border-top:1px solid #ffffff20;color:#91a2b8;font-size:12px;}
.footer-disclaimer strong{color:#ff8b80;}
.footer-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #ffffff20;margin-top:24px;padding-top:17px;padding-bottom:20px;font-size:12px;}
.footer-bottom a{color:#dbe5f2;}
@media(max-width:991px){.footer-grid{grid-template-columns:1fr 1fr;gap:22px;}.footer-brand{grid-column:1/-1;}}
@media(max-width:560px){.footer-grid{grid-template-columns:1fr;}.footer-brand{grid-column:auto;}.footer-bottom{display:block;line-height:2;}.footer-bottom span{display:block;}.seo-hub-tags a{font-size:12px;padding:6px 8px;}}
/* The source leaves an empty modal mount point; it must not cover the page. */
.source-content .wc-modal-overlay{display:none!important;}
.source-content a.breadcrumb{display:none!important;}
/* Homepage draw cards follow the source table hierarchy: strong station tabs,
   slate loto headers and readable number grids. */
.home-results .xoso-result-card>h2{font-size:20px;padding:14px 8px;}
.home-results .result-table .province-row th{font-size:20px;padding:12px 6px;color:#555;background:#f2f2f2;}
.home-results .loto-tabs button{font-size:16px;padding:12px 8px;}
.home-results .loto-panel h3{font-size:19px;padding:13px 10px;}
.home-results .loto-numbers{font-size:28px;line-height:1.7;padding:20px 14px;}
.home-results .loto-table th,.home-results .loto-table td{font-size:16px;padding:9px 7px;}
@media(max-width:640px){
 .home-results .xoso-result-card>h2{font-size:17px;padding:11px 6px;}
 .home-results .result-table .province-row th{font-size:15px;padding:8px 4px;}
 .home-results .loto-tabs button{font-size:13px;padding:10px 5px;}
 .home-results .loto-panel h3{font-size:16px;padding:10px 6px;}
 .home-results .loto-numbers{font-size:21px;padding:15px 8px;}
 .home-results .loto-table th,.home-results .loto-table td{font-size:13px;padding:6px 4px;}
}
/* Loto cards mirror the compact source demo. */
.home-results .loto-tabs{display:flex;align-items:flex-end;gap:0;background:transparent;border:0;margin:9px 0 0;padding-left:0;}
.home-results .loto-tabs button{flex:0 0 auto;min-width:142px;background:#707977;color:#fff;border:0;border-radius:10px 10px 0 0;font-size:17px;font-weight:700;padding:12px 18px;}
.home-results .loto-tabs button[aria-selected=true]{background:#fff;color:#111;border:2px solid #707977;border-bottom:0;padding:11px 17px;}
.home-results .loto-panel h3{margin:0;background:#707977;color:#fff;font-size:20px;font-weight:700;padding:14px 10px;text-align:center;}
.home-results .loto-title-highlight{background:#fff900;color:#000;padding:0 2px;}
.home-results .loto-title-date{color:#fff;}
.home-results .loto-number-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));background:#fff;border:1px solid #d2d2d2;border-top:0;}
.home-results .loto-number{display:flex;align-items:center;justify-content:center;min-height:70px;border-right:1px solid #d2d2d2;border-bottom:1px solid #d2d2d2;color:#000;font-weight:800;font-size:31px;line-height:1;}
.home-results .loto-number:nth-child(9n){border-right:0;}
.home-results .loto-number:nth-last-child(-n+9){border-bottom:0;}
.home-results .loto-number.is-special{color:#c83d2f;}
.home-results .loto-table thead{background:#707977;color:#fff;}
.home-results .loto-table thead th{font-weight:700;}
.home-results .loto-table th,.home-results .loto-table td{font-size:20px;font-weight:700;padding:10px 8px;}
a,a:hover,.source-content a:hover{ text-decoration:none!important; }
@media(max-width:640px){
 .home-results .loto-tabs button{min-width:0;flex:1;font-size:14px;padding:10px 5px;}
 .home-results .loto-tabs button[aria-selected=true]{padding:9px 4px;}
 .home-results .loto-panel h3{font-size:16px;padding:11px 5px;}
 .home-results .loto-number{min-height:43px;font-size:20px;}
 .home-results .loto-table th,.home-results .loto-table td{font-size:13px;padding:7px 4px;}
}
/* The realtime/archive page uses source-content instead of home-results;
   keep the same demo-style loto cards on both templates. */
.source-content .xoso-result-card>h2{font-size:20px;padding:14px 8px;}
.source-content .loto-tabs{display:flex;align-items:flex-end;gap:0;background:transparent;border:0;margin:9px 0 0;padding-left:0;}
.source-content .loto-tabs button{flex:0 0 auto;min-width:142px;background:#707977;color:#fff;border:0;border-radius:10px 10px 0 0;font-size:17px;font-weight:700;padding:12px 18px;}
.source-content .loto-tabs button[aria-selected=true]{background:#fff;color:#111;border:2px solid #707977;border-bottom:0;padding:11px 17px;}
.source-content .loto-panel h3{margin:0;background:#707977;color:#fff;font-size:20px;font-weight:700;padding:14px 10px;text-align:center;}
.source-content .loto-title-highlight{background:#fff900;color:#000;padding:0 2px;}
.source-content .loto-title-date{color:#fff;}
.source-content .loto-number-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));background:#fff;border:1px solid #d2d2d2;border-top:0;}
.source-content .loto-number{display:flex;align-items:center;justify-content:center;min-height:70px;border-right:1px solid #d2d2d2;border-bottom:1px solid #d2d2d2;color:#000;font-weight:800;font-size:31px;line-height:1;}
.source-content .loto-number:nth-child(9n){border-right:0;}
.source-content .loto-number:nth-last-child(-n+9){border-bottom:0;}
.source-content .loto-number.is-special{color:#c83d2f;}
.source-content .loto-table{border-collapse:collapse;width:100%;background:#fff;table-layout:fixed;}
.source-content .loto-table thead{background:#707977;color:#fff;}
.source-content .loto-table thead th{font-weight:700;}
.source-content .loto-table th,.source-content .loto-table td{font-size:20px;font-weight:700;padding:10px 8px;border:1px solid var(--border);vertical-align:middle;text-align:center;}
@media(max-width:640px){
 .source-content .xoso-result-card>h2{font-size:17px;padding:11px 6px;}
 .source-content .loto-tabs button{min-width:0;flex:1;font-size:14px;padding:10px 5px;}
 .source-content .loto-tabs button[aria-selected=true]{padding:9px 4px;}
 .source-content .loto-panel h3{font-size:16px;padding:11px 5px;}
 .source-content .loto-number{min-height:43px;font-size:20px;}
 .source-content .loto-table th,.source-content .loto-table td{font-size:13px;padding:7px 4px;}
}
/* Editorial/news templates */
.news-layout{align-items:start}.news-archive h1,.post-single h1{margin-top:0;color:#202a38}.archive-intro{font-size:16px;line-height:1.65;color:#526174;margin:0 0 22px}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.news-card{display:flex;min-width:0;border:1px solid #e1e6ec;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #1e2d3d0a}.news-thumb{display:block;flex:0 0 145px}.news-thumb img{display:block;width:100%;height:100%;min-height:145px;object-fit:cover}.news-card-body{padding:15px}.news-meta,.post-meta{font-size:12px;color:#718096}.news-card h2{font-size:19px;line-height:1.3;margin:7px 0}.news-card h2 a{color:#1d2939}.news-card p{font-size:14px;line-height:1.55;color:#526174;margin:0 0 9px}.news-read{font-size:14px;font-weight:700;color:var(--xoso-primary)}.pagination{margin-top:24px}.pagination ul{display:flex;gap:7px;list-style:none;padding:0}.pagination a,.pagination span{display:inline-block;padding:7px 11px;border:1px solid #d9e0e8;border-radius:4px}.post-single article h1{font-size:34px;line-height:1.2}.post-meta{display:flex;gap:14px;margin:-7px 0 20px}.post-featured img{display:block;width:100%;height:auto;border-radius:6px}.post-content{font-size:17px;line-height:1.75;color:#283548}.post-content img{max-width:100%;height:auto}.related-posts{margin-top:30px;border-top:1px solid #e1e6ec;padding-top:18px}.related-posts h2{font-size:22px}.related-posts ul{list-style:none;margin:0;padding:0}.related-posts li{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #edf0f3}.related-posts time{color:#718096;font-size:12px;white-space:nowrap}@media(max-width:760px){.news-grid{grid-template-columns:1fr}.news-card{display:block}.news-thumb{height:170px}.post-single article h1{font-size:27px}.post-meta{display:block;line-height:1.8}}
.news-layout .content-card{padding:20px;min-width:0;background:#fff;border:1px solid #e6e6e6;border-radius:6px}.news-layout .news-grid{grid-template-columns:1fr}.news-layout .news-card{box-shadow:none}.news-layout .news-card h2{font-size:20px}.news-layout .post-content a,.source-content .contact-form a{color:var(--xoso-primary)}.post-single .post-meta{flex-wrap:wrap;gap:6px 14px;line-height:1.6}.contact-form{display:grid;gap:10px;max-width:620px;margin:20px 0}.contact-form>label{font-weight:700}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;padding:11px;border:1px solid #bbb;border-radius:5px;font:inherit}.contact-form textarea{resize:vertical}.contact-consent{font-size:14px;line-height:1.6;font-weight:normal!important}.contact-form button{justify-self:start;padding:12px 20px;border:0;border-radius:5px;background:var(--xoso-primary);color:white;font-weight:700}.contact-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.contact-notice{padding:14px;background:#eef7ed;border-left:4px solid #357940}.source-content:has(.contact-form),.source-content:has(.legal-updated){font-size:16px;line-height:1.7;padding:18px}.legal-updated{color:#687583;font-size:13px;border-top:1px solid #ddd;padding-top:15px}.not-found{background:white;padding:35px;margin:20px 0}.not-found input[type=search]{padding:10px;max-width:100%}.news-archive .page-numbers{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0}.news-archive .page-numbers li a,.news-archive .page-numbers li span{padding:8px 12px;border:1px solid #ddd}.skip-link:focus{position:fixed!important;left:10px!important;top:10px!important;clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;background:#fff;padding:12px;z-index:1000}.nav-list a{padding-left:10px;padding-right:10px}.news-card a:focus-visible,.contact-form :focus-visible{outline:2px solid var(--xoso-accent);outline-offset:3px}@media(max-width:760px){.news-layout .content-card{padding:15px}.news-layout .news-card{display:block}.news-layout .post-single h1{font-size:26px}.source-content:has(.contact-form),.source-content:has(.legal-updated){padding:12px;font-size:15px}}
@media(max-width:760px){.post-single .post-meta{display:flex;flex-direction:column;gap:3px}.post-single .post-meta>span{display:block}}

/* Keep every primary menu item available on touch screens. */
.date-controls{gap:8px;flex-wrap:wrap}
.date-controls select{width:110px;min-width:0}
.date-controls input{width:145px;min-width:0}
.date-shortcut{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;background:#f7f9fc;color:#46546a;border:1px solid #dfe6f0;border-radius:9px;font-weight:bold;white-space:nowrap}
.date-shortcut:hover{background:#edf2fc;color:#2048df}
.date-shortcut.is-active{background:#2048df;color:#fff;border-color:#2048df}
@media(max-width:991px){
 .nav-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}
 .nav-list>li{min-width:0;border-right:1px solid #ffffff40;border-bottom:1px solid #ffffff40}
 .nav-list>li>a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 6px;font-size:13px;white-space:normal}
 .nav-list .menu-item-has-children>a{padding-right:24px}
 .main-nav .nav-submenu-toggle{display:block;top:0;right:0;width:24px;min-height:46px;padding:0;line-height:1}
 .nav-list .sub-menu{min-width:210px;width:max-content;max-width:calc(100vw - 16px);z-index:60}
 .nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu{display:none}
 .nav-list li.submenu-open>.sub-menu{display:block}
 .nav-list>li:nth-child(5n) .sub-menu{left:auto;right:0}
 .nav-list .sub-menu a{white-space:normal}
}
@media(max-width:600px){
 .nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nav-list>li:nth-child(5n) .sub-menu{left:0;right:auto}
 .nav-list>li:nth-child(3n) .sub-menu,.nav-list>li:nth-last-child(-n+3) .sub-menu{left:auto;right:0}
 .nav-list>li:nth-child(3n+1) .sub-menu{left:0;right:auto}
 .date-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 10px;gap:8px}
 .date-controls select{width:100%;max-width:none;height:44px;padding:8px 5px}
 .date-shortcut{padding:10px 6px}
 .date-controls input{grid-column:span 2;width:100%;max-width:none;height:44px}
 .date-controls button{min-height:44px}
}

.xoso-spin-tool{background:#fff;border:1px solid #ddd;padding:12px;margin:0 0 18px}.xoso-spin-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}.xoso-spin-controls label{display:flex;flex-direction:column;gap:5px;font-weight:bold;color:#555}.xoso-spin-controls select{min-width:150px;padding:9px;border:1px solid #ddd;border-radius:5px;background:#fff}.xoso-spin-button{padding:10px 16px;border:0;border-radius:5px;background:var(--xoso-primary);color:#fff;font-weight:bold}.spin-result-table{border-collapse:collapse;width:100%;table-layout:fixed}.spin-result-table th,.spin-result-table td{border:1px solid var(--border);padding:9px;text-align:center}.spin-result-table thead th{background:#707977;color:#fff;font-size:17px}.spin-result-table tbody th{width:105px;font-weight:normal}.spin-numbers{display:flex;flex-wrap:wrap;justify-content:space-around;gap:8px}.spin-numbers span{font-size:22px;font-weight:bold;min-width:42px;color:#333}@media(max-width:600px){.xoso-spin-controls{align-items:stretch;flex-direction:column}.xoso-spin-controls select,.xoso-spin-button{width:100%}.spin-result-table tbody th{width:78px}.spin-numbers span{font-size:18px;min-width:34px}}
