/*
Theme Name: WinGo Lottery
Theme URI: https://wingolottery.com/
Author: WinGo Lottery
Description: Lightweight bilingual WinGo Lottery prediction and analysis theme.
Version: 4.0.0
Text Domain: wingo-lottery
*/

:root {
    --wl-bg: #f6f4ff;
    --wl-bg-2: #eef2ff;
    --wl-card: #ffffff;
    --wl-card-soft: #fafbff;
    --wl-text: #101828;
    --wl-muted: #526071;
    --wl-soft-text: #7b8798;
    --wl-line: #e3e8fb;
    --wl-line-strong: #ccd6fb;
    --wl-primary: #5747e9;
    --wl-primary-2: #8d70f7;
    --wl-primary-3: #145dff;
    --wl-green: #12b886;
    --wl-red: #ef3f5f;
    --wl-orange: #ff9f1c;
    --wl-violet: #8b5cf6;
    --wl-footer: #191a1f;
    --wl-footer-soft: #232736;
    --wl-shadow: 0 18px 48px rgba(84, 71, 233, 0.14);
    --wl-shadow-soft: 0 12px 34px rgba(45, 55, 90, 0.08);
    --wl-radius: 22px;
    --wl-radius-sm: 14px;
    --wl-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--wl-text);
    background:
        radial-gradient(circle at 14% 8%, rgba(113, 98, 255, 0.14), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(20, 93, 255, 0.08), transparent 26%),
        linear-gradient(180deg, #f5f2ff 0%, #f8faff 45%, #ffffff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body:lang(hi),
html[lang^="hi"] body {
    font-family: "Noto Sans Devanagari", "Hind", Inter, ui-sans-serif, system-ui, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wl-container {
    width: min(var(--wl-container), calc(100% - 36px));
    margin: 0 auto;
}

.wl-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--wl-primary);
    color: #fff;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.wl-skip-link:focus {
    transform: translateY(0);
}

.wl-site-content {
    min-height: 60vh;
}

.wl-site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(247, 246, 255, 0.84);
    border-bottom: 1px solid rgba(215, 221, 248, 0.76);
    backdrop-filter: blur(18px);
}

.wl-header-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.wl-logo,
.wl-drawer-logo,
.wl-footer-logo {
    display: inline-flex;
    align-items: center;
}

.wl-logo img {
    width: 214px;
    height: auto;
    object-fit: contain;
}

.wl-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.wl-desktop-nav a {
    position: relative;
    color: #485367;
    font-size: 14.5px;
    font-weight: 750;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.wl-desktop-nav a:hover,
.wl-desktop-nav a.is-active {
    color: var(--wl-primary);
}

.wl-desktop-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wl-primary), var(--wl-primary-2));
}

.wl-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wl-telegram-btn,
.wl-lang-btn,
.wl-mobile-telegram,
.wl-drawer-telegram,
.wl-drawer-lang,
.wl-btn,
.wl-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 16px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.wl-telegram-btn {
    min-height: 46px;
    padding: 0 19px;
    color: #fff;
    background: linear-gradient(135deg, var(--wl-primary), var(--wl-primary-2));
    box-shadow: 0 12px 24px rgba(87, 71, 233, 0.25);
    font-size: 14.5px;
}

.wl-lang-btn {
    min-height: 46px;
    padding: 0 14px;
    color: #263348;
    background: #fff;
    border: 1px solid var(--wl-line);
    box-shadow: var(--wl-shadow-soft);
    font-size: 14px;
}

.wl-telegram-btn:hover,
.wl-lang-btn:hover,
.wl-btn:hover,
.wl-mini-btn:hover,
.wl-drawer-telegram:hover,
.wl-drawer-lang:hover {
    transform: translateY(-2px);
}

.wl-menu-toggle,
.wl-mobile-telegram,
.wl-drawer-close {
    display: none;
}

.wl-hero {
    padding: 92px 0 76px;
}

.wl-hero-compact {
    padding-top: 76px;
}

.wl-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: 68px;
}

.wl-hero-copy {
    max-width: 690px;
}

.wl-pill,
.wl-kicker,
.wl-live-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wl-primary);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.01em;
}

.wl-pill {
    padding: 8px 16px;
    border: 1px solid var(--wl-line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(87, 71, 233, 0.08);
}

.wl-hero h1,
.wl-section-head h2,
.wl-reading h2 {
    margin: 0;
    color: #10172f;
    letter-spacing: 0;
    line-height: 1.08;
}

.wl-hero h1 {
    margin-top: 24px;
    max-width: 780px;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
}

.wl-gradient-text {
    color: var(--wl-primary);
    background: linear-gradient(120deg, var(--wl-primary), var(--wl-primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wl-lead {
    margin: 20px 0 0;
    max-width: 690px;
    color: var(--wl-muted);
    font-size: 16px;
    line-height: 1.78;
}

.wl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.wl-btn {
    min-height: 52px;
    padding: 0 22px;
    font-size: 14.5px;
    border: 1px solid transparent;
}

.wl-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--wl-primary), var(--wl-primary-2));
    box-shadow: 0 18px 32px rgba(87, 71, 233, 0.25);
}

.wl-btn-soft {
    color: var(--wl-primary);
    background: rgba(255, 255, 255, 0.76);
    border-color: var(--wl-line-strong);
    box-shadow: var(--wl-shadow-soft);
}

.wl-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: #526071;
    font-size: 14px;
    font-weight: 750;
}

.wl-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.wl-trust-row svg {
    color: var(--wl-green);
}

.wl-hero-visual {
    position: relative;
}

.wl-live-card,
.wl-results-card,
.wl-info-panel,
.wl-tool-card,
.wl-feature-card,
.wl-blog-card,
.wl-mini-stat,
.wl-content-box,
.wl-period-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--wl-line);
    box-shadow: var(--wl-shadow-soft);
}

.wl-live-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 28px;
    box-shadow: var(--wl-shadow);
}

.wl-live-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 92% 12%, rgba(141, 112, 247, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(246, 248, 255, 0.9), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.wl-live-card > * {
    position: relative;
}

.wl-live-top,
.wl-results-head,
.wl-live-bottom,
.wl-period-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wl-live-top h3,
.wl-results-head h3,
.wl-info-panel h3 {
    margin: 5px 0 0;
    color: #111936;
    font-size: 20px;
    line-height: 1.22;
}

.wl-live-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 15px;
    border-radius: 999px;
    color: #07956f;
    background: #dffaf1;
    border: 1px solid #a8ecd9;
    font-size: 13px;
    font-weight: 900;
}

.wl-period-line {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #566176;
    background: #f6f7ff;
    border: 1px solid var(--wl-line);
    font-size: 13.5px;
    font-weight: 800;
}

.wl-period-line strong {
    color: var(--wl-primary);
    font-size: 15px;
}

.wl-draw-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7f8ff, #fff);
    border: 1px solid var(--wl-line-strong);
}

.wl-draw-box span,
.wl-signal-grid span {
    display: block;
    color: #8a96aa;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.wl-draw-box strong {
    display: block;
    margin-top: 5px;
    color: #111936;
    font-size: 17px;
    word-break: break-all;
}

.wl-countdown {
    min-width: 82px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--wl-primary);
    background: #edeaff;
    font-size: 22px;
    font-weight: 950;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.wl-signal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.wl-signal-grid > div {
    min-width: 0;
    padding: 15px 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--wl-line);
}

.wl-signal-grid strong {
    display: block;
    margin-top: 6px;
    color: #111936;
    font-size: 18px;
    font-weight: 950;
    word-break: break-word;
}

.wl-signal-grid [data-live-signal] {
    color: var(--wl-primary);
}

.wl-signal-grid [data-live-number] {
    color: var(--wl-red);
}

.wl-live-bottom {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--wl-line);
    color: #596579;
    font-size: 13.5px;
    font-weight: 750;
}

.wl-live-bottom span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.wl-mini-btn {
    min-height: 40px;
    padding: 0 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--wl-primary), var(--wl-primary-2));
    box-shadow: 0 10px 18px rgba(87, 71, 233, 0.2);
    font-size: 13.5px;
}

.wl-section {
    padding: 72px 0;
}

.wl-soft-band {
    background:
        radial-gradient(circle at 15% 15%, rgba(87, 71, 233, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(242, 240, 255, 0.82), rgba(255, 255, 255, 0.9));
}

.wl-section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.wl-section-head-left {
    margin-left: 0;
    text-align: left;
}

.wl-section-head h2 {
    margin-top: 10px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
}

.wl-section-head p {
    margin: 13px auto 0;
    max-width: 700px;
    color: var(--wl-muted);
    font-size: 15.5px;
    line-height: 1.75;
}

.wl-card-grid {
    display: grid;
    gap: 18px;
}

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

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

.wl-tool-card,
.wl-feature-card,
.wl-blog-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 210px;
    padding: 24px;
    border-radius: var(--wl-radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wl-tool-card:hover,
.wl-feature-card:hover,
.wl-blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--wl-line-strong);
    box-shadow: 0 20px 42px rgba(62, 73, 120, 0.12);
}

.wl-icon-box,
.wl-drawer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wl-primary);
    background: #f0edff;
    border: 1px solid #dfe4ff;
}

.wl-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 25px;
}

.wl-tool-card strong,
.wl-feature-card strong,
.wl-blog-card strong {
    color: #10172f;
    font-size: 18px;
    line-height: 1.3;
}

.wl-tool-card span:not(.wl-icon-box),
.wl-feature-card span:not(.wl-icon-box),
.wl-blog-card span:not(.wl-icon-box) {
    color: var(--wl-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.wl-period-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.wl-period-card {
    min-height: 104px;
    padding: 18px;
    border-radius: 20px;
    text-align: left;
    color: #10172f;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.wl-period-card:hover,
.wl-period-card.is-active {
    transform: translateY(-3px);
    border-color: var(--wl-primary-2);
}

.wl-period-card span {
    display: block;
    font-size: 17px;
    font-weight: 900;
}

.wl-period-card small {
    display: block;
    margin-top: 7px;
    color: var(--wl-muted);
    font-size: 13px;
    line-height: 1.45;
}

.wl-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.wl-results-card,
.wl-info-panel,
.wl-content-box {
    padding: 24px;
    border-radius: var(--wl-radius);
}

.wl-score {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--wl-primary);
    background: #edeaff;
    font-weight: 900;
}

.wl-history-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.wl-history-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 64px 86px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 15px;
    background: #f8f9ff;
    border: 1px solid var(--wl-line);
    color: #4b5870;
    font-size: 13.5px;
    font-weight: 750;
}

.wl-history-row b {
    color: #111936;
    font-weight: 900;
}

.wl-history-empty {
    padding: 18px;
    border-radius: 16px;
    color: var(--wl-muted);
    background: #f8f9ff;
    border: 1px dashed var(--wl-line-strong);
    text-align: center;
}

.wl-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 900;
}

.wl-tag-green {
    color: #07845f;
    background: #ddf8ee;
}

.wl-tag-red {
    color: #d92d4a;
    background: #ffe5ea;
}

.wl-tag-violet {
    color: #6741d9;
    background: #eee9ff;
}

.wl-info-panel {
    position: sticky;
    top: 96px;
}

.wl-info-panel p {
    color: var(--wl-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

.wl-check-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.wl-check-list li {
    position: relative;
    padding-left: 25px;
    color: #41506a;
    font-size: 14.5px;
    font-weight: 720;
}

.wl-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--wl-green);
    font-weight: 950;
}

.wl-mini-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.wl-mini-stat {
    padding: 20px;
    border-radius: 20px;
}

.wl-mini-stat span {
    display: block;
    color: var(--wl-soft-text);
    font-size: 12.5px;
    font-weight: 850;
    text-transform: uppercase;
}

.wl-mini-stat strong {
    display: block;
    margin-top: 7px;
    color: #111936;
    font-size: 22px;
    line-height: 1.2;
}

.wl-reading {
    max-width: 900px;
}

.wl-reading h2 {
    margin-top: 32px;
    font-size: 27px;
    font-weight: 900;
}

.wl-reading h2:first-child {
    margin-top: 0;
}

.wl-reading p {
    color: var(--wl-muted);
    font-size: 15.5px;
    line-height: 1.85;
}

.wl-faq-list {
    display: grid;
    gap: 12px;
    max-width: 880px;
    margin: 0 auto;
}

.wl-faq-list details {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--wl-line);
    box-shadow: var(--wl-shadow-soft);
}

.wl-faq-list summary {
    cursor: pointer;
    padding: 18px 20px;
    color: #111936;
    font-size: 15.5px;
    font-weight: 850;
}

.wl-faq-list p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--wl-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

.wl-footer {
    color: #d6dbea;
    background:
        radial-gradient(circle at 18% 0%, rgba(87, 71, 233, 0.18), transparent 28%),
        linear-gradient(180deg, #1d1e24 0%, #17181d 100%);
    padding: 58px 0 24px;
}

.wl-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(160px, 0.65fr));
    gap: 34px;
}

.wl-footer-logo img {
    width: 220px;
    height: auto;
}

.wl-footer-brand p {
    max-width: 440px;
    margin: 20px 0 0;
    color: #aeb8cc;
    font-size: 14.5px;
    line-height: 1.75;
}

.wl-footer-contact {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.wl-footer-contact span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dce6ff;
    font-size: 14px;
    font-weight: 750;
}

.wl-footer-contact svg {
    color: #8ea2ff;
}

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

.wl-footer-social a,
.wl-floating-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #b9c7e6;
    background: #263047;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.wl-footer-social a:hover,
.wl-floating-top:hover {
    transform: translateY(-2px);
    color: #fff;
    background: var(--wl-primary);
}

.wl-footer-col h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
}

.wl-footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 10px;
    color: #a9b9d4;
    font-size: 14px;
    font-weight: 750;
    transition: color 0.18s ease, transform 0.18s ease;
}

.wl-footer-col a span {
    color: #7f8ca6;
    font-size: 20px;
    line-height: 1;
}

.wl-footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.wl-footer-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wl-footer-note p {
    max-width: 780px;
    margin: 0;
    color: #94a1b8;
    font-size: 13px;
    line-height: 1.65;
}

.wl-footer-note span {
    color: #b5c0d3;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.wl-floating-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 850;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--wl-primary), var(--wl-primary-2));
    box-shadow: 0 14px 30px rgba(87, 71, 233, 0.28);
    opacity: 0;
    visibility: hidden;
}

.wl-floating-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.wl-drawer-overlay,
.wl-mobile-drawer {
    display: none;
}

body.wl-menu-open {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .wl-desktop-nav {
        gap: 18px;
    }

    .wl-card-grid-4,
    .wl-period-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wl-hero-grid,
    .wl-two-col {
        grid-template-columns: 1fr;
    }

    .wl-info-panel {
        position: relative;
        top: auto;
    }

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

@media (max-width: 860px) {
    html {
        font-size: 14.5px;
    }

    body {
        font-size: 14.5px;
    }

    .wl-container {
        width: min(100% - 28px, var(--wl-container));
    }

    .wl-site-header {
        background: rgba(255, 255, 255, 0.94);
    }

    .wl-header-inner {
        min-height: 62px;
        grid-template-columns: 44px 1fr 44px;
        gap: 8px;
    }

    .wl-logo {
        justify-content: center;
    }

    .wl-logo img {
        width: 178px;
    }

    .wl-desktop-nav,
    .wl-header-actions {
        display: none;
    }

    .wl-menu-toggle,
    .wl-mobile-telegram {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 14px;
        border: 0;
        background: transparent;
        color: #142037;
        font-size: 24px;
    }

    .wl-mobile-telegram {
        color: #fff;
        background: linear-gradient(135deg, var(--wl-primary), var(--wl-primary-2));
        box-shadow: 0 10px 20px rgba(87, 71, 233, 0.24);
        font-size: 20px;
    }

    .wl-drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 920;
        background: rgba(16, 24, 40, 0.56);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    .wl-mobile-drawer {
        display: flex;
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 930;
        width: min(370px, 82vw);
        padding: 20px 24px 24px;
        flex-direction: column;
        background: #fff;
        box-shadow: 28px 0 70px rgba(17, 24, 39, 0.25);
        transform: translateX(-105%);
        transition: transform 0.25s ease;
    }

    body.wl-menu-open .wl-drawer-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.wl-menu-open .wl-mobile-drawer {
        transform: translateX(0);
    }

    .wl-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 18px;
        border-bottom: 1px solid #edf0f7;
    }

    .wl-drawer-logo img {
        width: 186px;
    }

    .wl-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border: 0;
        background: transparent;
        color: #607086;
        font-size: 24px;
    }

    .wl-drawer-nav {
        display: grid;
        gap: 12px;
        padding-top: 24px;
    }

    .wl-drawer-nav a {
        display: grid;
        grid-template-columns: 42px 1fr 20px;
        align-items: center;
        gap: 13px;
        min-height: 50px;
        color: #344155;
        font-size: 15px;
        font-weight: 850;
    }

    .wl-drawer-nav a.is-active {
        color: var(--wl-primary);
    }

    .wl-drawer-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 19px;
    }

    .wl-drawer-nav i {
        color: #c5cedd;
        font-size: 18px;
    }

    .wl-drawer-bottom {
        display: grid;
        gap: 12px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #edf0f7;
    }

    .wl-drawer-telegram {
        min-height: 46px;
        color: #fff;
        background: linear-gradient(135deg, var(--wl-primary), var(--wl-primary-2));
        box-shadow: 0 12px 24px rgba(87, 71, 233, 0.24);
        font-size: 14.5px;
    }

    .wl-drawer-lang {
        min-height: 44px;
        color: var(--wl-primary);
        background: #f4f2ff;
        border: 1px solid #dfdcff;
        font-size: 14px;
    }

    .wl-hero,
    .wl-hero-compact {
        padding: 48px 0 54px;
    }

    .wl-hero h1 {
        margin-top: 18px;
        font-size: clamp(29px, 8vw, 34px);
        line-height: 1.14;
    }

    .wl-lead {
        font-size: 15px;
        line-height: 1.75;
    }

    .wl-hero-actions {
        margin-top: 24px;
    }

    .wl-btn {
        width: 100%;
        min-height: 50px;
    }

    .wl-trust-row {
        gap: 12px;
        font-size: 13.5px;
    }

    .wl-live-card {
        padding: 18px;
        border-radius: 22px;
    }

    .wl-live-top h3,
    .wl-results-head h3,
    .wl-info-panel h3 {
        font-size: 18px;
    }

    .wl-draw-box {
        grid-template-columns: 1fr;
    }

    .wl-countdown {
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }

    .wl-signal-grid {
        grid-template-columns: 1fr;
    }

    .wl-section {
        padding: 52px 0;
    }

    .wl-section-head {
        margin-bottom: 24px;
    }

    .wl-section-head h2 {
        font-size: 25px;
        line-height: 1.18;
    }

    .wl-section-head p {
        font-size: 14.5px;
    }

    .wl-card-grid-3,
    .wl-card-grid-4,
    .wl-period-grid,
    .wl-mini-stats-grid {
        grid-template-columns: 1fr;
    }

    .wl-tool-card,
    .wl-feature-card,
    .wl-blog-card {
        min-height: auto;
        padding: 20px;
        border-radius: 19px;
    }

    .wl-icon-box {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 22px;
    }

    .wl-history-row {
        grid-template-columns: 1fr 52px;
        gap: 8px;
    }

    .wl-history-row span:nth-child(3),
    .wl-history-row span:nth-child(4) {
        grid-column: 1 / -1;
    }

    .wl-results-card,
    .wl-info-panel,
    .wl-content-box {
        padding: 20px;
        border-radius: 20px;
    }

    .wl-reading h2 {
        font-size: 23px;
    }

    .wl-reading p {
        font-size: 14.8px;
    }

    .wl-footer {
        padding-top: 46px;
    }

    .wl-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .wl-footer-logo img {
        width: 210px;
    }

    .wl-footer-note {
        display: grid;
        gap: 12px;
        margin-top: 30px;
    }

    .wl-floating-top {
        right: 14px;
        bottom: 14px;
    }
}
/* ===== WinGo Lottery UI Final Polish Patch ===== */

/* 右侧信息卡更精致 */
.wl-info-panel {
    overflow: hidden;
    padding: 26px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 8%, rgba(141, 112, 247, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.96));
    border: 1px solid #e2e7fb;
    box-shadow: 0 18px 48px rgba(45, 55, 90, 0.1);
}

.wl-info-panel .wl-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 22px;
    color: #5747e9;
    background: linear-gradient(145deg, #f2efff, #e9e7ff);
}

.wl-info-panel h3 {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.25;
}

.wl-info-panel p {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.72;
}

/* 首页右侧 Today Live Reference 三格重新优化 */
.wl-mini-stats-grid {
    gap: 12px;
}

.wl-mini-stat {
    min-width: 0;
    padding: 16px 14px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid #dfe6fb;
    box-shadow: 0 12px 26px rgba(45, 55, 90, 0.07);
}

.wl-mini-stat span {
    color: #7b8798;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.wl-mini-stat strong {
    margin-top: 8px;
    color: #111936;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 950;
    word-break: normal;
    overflow-wrap: anywhere;
}

.wl-mini-stats-stack {
    grid-template-columns: 1fr;
}

.wl-mini-stats-stack .wl-mini-stat {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 12px;
}

.wl-mini-stats-stack .wl-mini-stat strong {
    margin-top: 0;
    font-size: 19px;
}

/* 结果列表更轻，不要太粗太大 */
.wl-results-card {
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 10%, rgba(87, 71, 233, 0.08), transparent 24%),
        #ffffff;
    box-shadow: 0 18px 48px rgba(45, 55, 90, 0.09);
}

.wl-results-head h3 {
    font-size: 19px;
}

.wl-score {
    font-size: 15px;
    padding: 8px 13px;
}

.wl-history-row {
    min-height: 58px;
    border-radius: 16px;
    background: #f8f9ff;
    font-size: 13.5px;
}

.wl-history-row b {
    font-size: 14px;
}

.wl-tag {
    min-height: 26px;
    padding: 0 11px;
    font-size: 12px;
}

/* 长内容区域改成卡片，不再裸露 */
.wl-content-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(246, 244, 255, 0.55));
}

.wl-reading {
    max-width: 980px;
    padding: 34px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e7fb;
    box-shadow: 0 18px 48px rgba(45, 55, 90, 0.08);
}

.wl-reading h2 {
    position: relative;
    margin-top: 30px;
    padding-left: 18px;
    color: #10172f;
    font-size: 25px;
    line-height: 1.25;
}

.wl-reading h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 5px;
    height: 0.95em;
    border-radius: 999px;
    background: linear-gradient(180deg, #5747e9, #8d70f7);
}

.wl-reading p {
    margin-top: 12px;
    color: #526071;
    font-size: 15px;
    line-height: 1.82;
}

/* 内容卡片区更统一 */
.wl-content-box {
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 12%, rgba(141, 112, 247, 0.1), transparent 28%),
        #ffffff;
    border: 1px solid #e2e7fb;
    box-shadow: 0 18px 48px rgba(45, 55, 90, 0.08);
}

.wl-content-box h2 {
    margin: 10px 0 12px;
    color: #10172f;
    font-size: 25px;
    line-height: 1.25;
}

/* Hero 右侧预测卡更像参考站 */
.wl-live-card {
    border-radius: 28px;
    border-color: #dfe5fb;
    background:
        radial-gradient(circle at 90% 8%, rgba(141, 112, 247, 0.16), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.wl-live-top h3 {
    font-size: 20px;
}

.wl-draw-box strong {
    font-size: 16px;
}

.wl-countdown {
    font-size: 20px;
}

.wl-signal-grid strong {
    font-size: 17px;
    line-height: 1.25;
}

/* 卡片统一增强 */
.wl-tool-card,
.wl-feature-card,
.wl-blog-card {
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 10%, rgba(87, 71, 233, 0.07), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid #e2e7fb;
}

.wl-tool-card strong,
.wl-feature-card strong,
.wl-blog-card strong {
    font-size: 17.5px;
}

.wl-tool-card span:not(.wl-icon-box),
.wl-feature-card span:not(.wl-icon-box),
.wl-blog-card span:not(.wl-icon-box) {
    font-size: 14.2px;
}

/* 手机端优化 */
@media (max-width: 860px) {
    .wl-info-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .wl-info-panel h3 {
        font-size: 18px;
    }

    .wl-mini-stats-stack .wl-mini-stat {
        grid-template-columns: 82px 1fr;
    }

    .wl-mini-stat strong {
        font-size: 17px;
    }

    .wl-reading {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .wl-reading h2 {
        font-size: 22px;
        line-height: 1.28;
    }

    .wl-reading p {
        font-size: 14.5px;
        line-height: 1.78;
    }

    .wl-history-row {
        min-height: auto;
        padding: 12px;
    }

    .wl-live-top h3,
    .wl-results-head h3 {
        font-size: 18px;
    }

    .wl-signal-grid strong {
        font-size: 16px;
    }
}
/* ===== 彩色历史号码 ===== */

.wl-history-issue {
    min-width: 0;
    color: #071331;
    font-size: 13.8px;
    font-weight: 900;
    word-break: break-all;
}

.wl-number-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(17, 24, 39, 0.14);
}

.wl-number-green {
    background: linear-gradient(145deg, #19c892, #07996f);
}

.wl-number-red {
    background: linear-gradient(145deg, #ff5570, #d92d4a);
}

.wl-number-red-violet {
    background: linear-gradient(135deg, #ef3f5f 0%, #ef3f5f 48%, #8b5cf6 52%, #6d4bdb 100%);
}

.wl-number-green-violet {
    background: linear-gradient(135deg, #12b886 0%, #12b886 48%, #8b5cf6 52%, #6d4bdb 100%);
}

.wl-history-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

@media (max-width: 860px) {
    .wl-history-row {
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .wl-number-ball {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .wl-history-row .wl-tag {
        width: fit-content;
    }

    .wl-history-colors {
        grid-column: 1 / -1;
    }
}