/* Lobby WM — ธีมคาสิโนลึกหรู ทอง / มรกต / นาวี */
:root {
    --vela-bg: #05081c;
    --vela-bg-elevated: #0c1436;
    --vela-header-bg: rgba(6, 10, 32, 0.92);
    --vela-blue: #2b8ef2;
    --vela-blue-deep: #1565c0;
    --vela-pink: #ff4d8d;
    --vela-pink-deep: #c2185b;
    --vela-gold: #f2c94c;
    --vela-gold-bright: #ffe08a;
    --vela-ruby: #c41e3a;
    --vela-emerald: #00c896;
    --vela-line: #06c755;
    --vela-line-shadow: rgba(6, 199, 85, 0.4);
    --vela-card-shine: linear-gradient(135deg, rgba(255, 224, 138, 0.14) 0%, transparent 42%, rgba(43, 142, 242, 0.08) 100%);
}

body.wm-clone-mode {
    margin: 0;
    color: #f0f4ff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 108px;
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 200, 80, 0.07), transparent 52%),
        radial-gradient(ellipse 70% 45% at 0% 40%, rgba(196, 30, 58, 0.09), transparent 45%),
        radial-gradient(ellipse 60% 40% at 100% 60%, rgba(43, 142, 242, 0.1), transparent 48%),
        radial-gradient(ellipse 120% 60% at 50% -15%, rgba(26, 115, 232, 0.1), transparent 55%),
        linear-gradient(180deg, #070b24 0%, #040716 45%, #080f28 100%),
        url('https://www.idea-bet.live/theme/wmnew/build/web/igame-index-lobby-wm/img/index-bg.jpg') center top / cover fixed no-repeat;
}
@media (min-width: 992px) {
    body.wm-clone-mode {
        padding-bottom: 0;
    }
}
body.wm-clone-mode .vela-header,
body.wm-clone-mode .vela-footer,
body.wm-clone-mode .vela-mobile-quickbar {
    display: none !important;
}
.wm-clone-page {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}
.wm-clone-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 5, 18, 0.55) 0%, transparent 32%, transparent 68%, rgba(2, 4, 14, 0.65) 100%);
}
.wm-static-headline {
    margin: 0 0 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    background: #050a1e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-align: center;
    letter-spacing: 0.02em;
}
.wm-hero--top-banner {
    margin: 0 0 14px;
}
.wm-clone-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: linear-gradient(180deg, var(--vela-header-bg) 0%, rgba(4, 8, 28, 0.94) 100%);
    border-bottom: 1px solid rgba(242, 201, 76, 0.28);
    box-shadow: 0 4px 0 rgba(242, 201, 76, 0.06), 0 12px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.wm-clone-header-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 12px;
    min-height: 64px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.lobby-topbar__grid {
    width: 100%;
}
.wm-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    min-width: 0;
}
.wm-brand-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    min-width: 0;
}
.wm-brand-menu {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: inline-grid;
    place-items: center;
    color: inherit;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.wm-brand-home img {
    height: 42px;
    width: auto;
}
.wm-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(145deg, #ffe08a 0%, var(--vela-gold) 45%, #c9a227 100%);
    box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.22), 0 4px 14px rgba(0, 0, 0, 0.35);
}
.wm-header-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wm-btn {
    min-height: 39px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    padding: 8px 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.wm-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.wm-btn:focus-visible {
    outline: 2px solid var(--vela-gold-bright);
    outline-offset: 2px;
}
.wm-btn-register {
    background: linear-gradient(180deg, #4a9eff 0%, var(--vela-blue) 42%, var(--vela-blue-deep) 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 22px rgba(43, 142, 242, 0.38);
}
.wm-btn-register--pink {
    background: linear-gradient(90deg, #ff5fa8 0%, #e91e8c 45%, #b30d6e 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 20px rgba(233, 30, 140, 0.45);
    gap: 6px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 0.88rem;
}
.wm-btn-register__ico {
    font-size: 0.95rem;
    opacity: 0.95;
}
.wm-btn-login--compact {
    padding: 7px 12px;
    font-size: 0.8rem;
    min-height: 36px;
}
@media (min-width: 992px) {
    .wm-btn-register--pink {
        background: linear-gradient(180deg, #4a9eff 0%, var(--vela-blue) 42%, var(--vela-blue-deep) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 22px rgba(43, 142, 242, 0.38);
    }
}
.wm-btn-login {
    background: linear-gradient(180deg, #ff6ba8 0%, var(--vela-pink) 40%, var(--vela-pink-deep) 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 22px rgba(255, 77, 141, 0.35);
}
.wm-balance {
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 127, 0.78);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.32);
    color: #ffd975;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.wm-user {
    width: 39px;
    height: 39px;
    border-radius: 10px;
    border: 1px solid rgba(255, 216, 127, 0.65);
    background: rgba(0, 0, 0, 0.35);
    color: #ffd975;
}
.wm-clone-content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 12px 14px 20px;
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 12px;
}
.wm-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    display: grid;
    gap: 10px;
}
.wm-category {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid transparent;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(18, 32, 72, 0.98), rgba(10, 20, 52, 0.98));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 9px 12px;
    text-align: left;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.wm-category img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.wm-category span {
    display: grid;
    gap: 2px;
}
.wm-category strong {
    font-size: 0.97rem;
    line-height: 1.1;
}
.wm-category small {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
}
.wm-category:hover,
.wm-category.is-active {
    border-color: #ffd46c;
    box-shadow: inset 0 0 0 1px rgba(255, 212, 108, 0.35), 0 10px 26px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}
.wm-category.is-active {
    border-left-color: var(--vela-gold);
}
.wm-line-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, #12d76a 0%, var(--vela-line) 38%, #00a344 100%);
    box-shadow: 0 8px 24px var(--vela-line-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wm-line-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--vela-line-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.wm-line-btn__badge {
    font-size: 1.9rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
.wm-line-btn__label small {
    display: block;
    margin-top: 2px;
    font-size: 0.76rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.02em;
}
.wm-main {
    display: grid;
    gap: 16px;
}
.wm-news {
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(180, 140, 255, 0.28);
    background: linear-gradient(92deg, #4a1a6e 0%, #5c2d78 35%, #3d2878 70%, #1e3a7a 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 4px 0 0 rgba(242, 201, 76, 0.45);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
}
.wm-trust-strip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.wm-trust-strip__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 120, 0.18);
    background: linear-gradient(145deg, rgba(22, 32, 72, 0.95), rgba(12, 18, 48, 0.98));
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    min-height: 100%;
}
.wm-trust-strip__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(255, 224, 138, 0.2), rgba(43, 142, 242, 0.12));
    color: var(--vela-gold-bright);
    font-size: 1.05rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.wm-trust-strip__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.wm-trust-strip__text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.wm-trust-strip__text small {
    font-size: 0.78rem;
    color: rgba(220, 232, 255, 0.75);
    line-height: 1.25;
}
.wm-news i {
    color: #ffd16d;
    flex: 0 0 auto;
}
.wm-news__horn {
    color: var(--vela-gold-bright) !important;
    opacity: 0.95;
    font-size: 1.05rem;
    filter: drop-shadow(0 0 6px rgba(242, 201, 76, 0.35));
}
.wm-news-marquee {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}
.wm-news-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 44px;
    animation: wmNewsMarquee 28s linear infinite;
}
.wm-news-marquee:hover .wm-news-marquee-track {
    animation-play-state: paused;
}
.wm-news-marquee-item {
    white-space: nowrap;
    font-size: 0.95rem;
    opacity: 0.98;
}
.wm-hero {
    border: 1px solid rgba(255, 200, 100, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(14, 24, 62, 0.98), rgba(6, 10, 34, 0.99));
    padding: 16px 16px 14px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), 0 0 80px rgba(43, 142, 242, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    position: relative;
    overflow: hidden;
}
.wm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--vela-card-shine);
    opacity: 0.85;
}
.wm-hero h1,
.wm-hero--top-banner .wm-hero-page-title {
    margin: 0 0 14px;
    position: relative;
    z-index: 1;
    font-size: clamp(1.05rem, 2.5vw, 1.85rem);
    line-height: 1.45;
    font-weight: 600;
    color: rgba(255, 250, 245, 0.96);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.01em;
}
.wm-hero-brand {
    display: inline;
    font-weight: 800;
    background: linear-gradient(90deg, #fff8e7, var(--vela-gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 1px 10px rgba(242, 201, 76, 0.35));
}
.wm-hero-highlight {
    font-weight: 800;
    background: linear-gradient(90deg, #7ce9ff, #5cb8ff 40%, #b388ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .wm-hero-brand,
    .wm-hero-highlight {
        color: var(--vela-gold-bright);
        background: none;
    }
}
.wm-hero-slider {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 212, 120, 0.2);
    background: linear-gradient(180deg, #0c2758, #06183c);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.35);
}
.wm-hero-slide {
    display: none;
}
.wm-hero-slide.is-active {
    display: block;
    animation: wmHeroFade 0.45s ease;
}
.wm-hero-slide img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
}
.wm-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    display: inline-grid;
    place-items: center;
    z-index: 2;
}
.wm-hero-nav.is-prev {
    left: 10px;
}
.wm-hero-nav.is-next {
    right: 10px;
}
.wm-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.wm-hero-dot {
    width: 20px;
    height: 4px;
    border-radius: 3px;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.wm-hero-dot.is-active {
    background: #ffffff;
    width: 32px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}
.wm-intro-text {
    text-align: center;
    margin: 0 auto;
    max-width: 52rem;
    padding: 16px 18px;
    color: rgba(226, 239, 255, 0.94);
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.55;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(16, 26, 58, 0.5), rgba(8, 14, 36, 0.35));
}
.wm-intro-lead {
    font-weight: 700;
    color: var(--vela-gold-bright);
}
.wm-provider-section {
    border: 1px solid rgba(255, 200, 100, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(16, 28, 62, 0.97), rgba(8, 12, 36, 0.99));
    padding: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.wm-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 200, 100, 0.12);
}
.wm-title img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(242, 201, 76, 0.25));
}
.wm-title h2 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #a8e6ff, #6eb8ff 35%, var(--vela-gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
.wm-title--hot h2 {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: clamp(1.05rem, 3.2vw, 1.45rem);
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}
.wm-title__main {
    font-weight: 700;
    color: #f2f6ff;
}
.wm-title__hot {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ff6b35, #e85d04);
    color: #fff;
    vertical-align: middle;
    box-shadow: 0 2px 10px rgba(232, 93, 4, 0.45);
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .wm-title:not(.wm-title--hot) h2 {
        color: #93d4ff;
    }
}
.wm-featured-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.wm-featured-row--slot {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.wm-featured-card--slot .wm-featured-image {
    height: 96px;
    min-height: 96px;
}
.wm-featured-card--slot .wm-featured-name {
    font-size: 0.82rem;
}
.wm-featured-card--slot .wm-featured-sub {
    font-size: 0.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wm-drawer-quick {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.wm-drawer-quick__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s ease, color 0.15s ease;
}
.wm-drawer-quick__link:hover {
    color: #fff;
    background: rgba(242, 201, 76, 0.12);
}
.wm-drawer-quick__link i {
    font-size: 1.1rem;
    color: var(--vela-gold-bright);
}
@media (min-width: 992px) {
    .wm-drawer-quick {
        display: none !important;
    }
}
.wm-featured-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 130, 0.2);
    background: linear-gradient(180deg, #141e4e, #0a1028);
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}
.wm-featured-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    background: linear-gradient(125deg, transparent 40%, rgba(255, 230, 160, 0.08) 48%, transparent 56%);
}
.wm-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 224, 140, 0.55);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 32px rgba(242, 201, 76, 0.12);
}
.wm-featured-card:hover::after {
    opacity: 1;
}
.wm-featured-card button {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
}
.wm-featured-card .wm-featured-image {
    height: 132px;
    min-height: 132px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.12);
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}
.wm-featured-card .wm-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.wm-featured-card .wm-featured-meta {
    padding: 8px 10px;
}
.wm-featured-card .wm-featured-name {
    display: block;
    font-size: 0.95rem;
}
.wm-featured-card .wm-featured-sub {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 3px;
    font-size: 0.78rem;
}
.wm-toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.wm-toolbar h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #eaf2ff;
    text-shadow: 0 0 24px rgba(124, 200, 255, 0.2);
}
.wm-toolbar input {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    padding: 10px 16px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}
.wm-toolbar input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.wm-toolbar input:focus {
    outline: none;
    border-color: rgba(147, 212, 255, 0.55);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(100, 180, 255, 0.2);
}
.wm-toolbar span {
    color: var(--vela-gold);
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
}
.wm-provider-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
}
.wm-provider {
    border-radius: 16px;
    border: 1px solid rgba(242, 201, 76, 0.35);
    background: linear-gradient(180deg, #0d1638, #142252);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.wm-provider:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 230, 160, 0.85);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 200, 100, 0.12);
}
.wm-provider button {
    width: 100%;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
    padding: 8px;
    display: grid;
    gap: 6px;
}
.wm-provider .wm-provider-image {
    height: 92px;
    min-height: 92px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
}
.wm-provider .wm-provider-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ทดลองเล่น (iframe) */
.wm-demo-modal-shell {
    background: #0a0f24;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.wm-demo-modal-header {
    background: linear-gradient(180deg, #121c48, #0d1536);
}
.wm-demo-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #050814;
}
.wm-demo-iframe {
    flex: 1;
    width: 100%;
    min-height: 60vh;
    border: 0;
    display: block;
    background: #000;
}
.wm-demo-note {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.35);
}
.wm-demo-note a {
    text-decoration: underline;
}
.wm-provider .wm-provider-name {
    display: block;
    font-size: 0.84rem;
    line-height: 1.25;
}
.wm-provider .wm-provider-tag {
    justify-self: start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 4px 10px;
    background: linear-gradient(180deg, #ffe9a8, var(--vela-gold) 45%, #c9a227);
    color: #1a1204;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.wm-empty {
    grid-column: 1 / -1;
    min-height: 140px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 210, 120, 0.35);
    background: rgba(8, 14, 40, 0.45);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    padding: 20px 16px;
}
.wm-empty--soft {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(20, 30, 68, 0.65), rgba(10, 16, 42, 0.5));
}
.wm-empty__inner {
    display: grid;
    gap: 8px;
    justify-items: center;
    max-width: 26rem;
}
.wm-empty__icon {
    font-size: 1.75rem;
    color: var(--vela-gold-bright);
    opacity: 0.9;
    margin-bottom: 2px;
}
.wm-empty__msg {
    font-size: 1.02rem;
    font-weight: 600;
}
.wm-empty__hint {
    font-size: 0.88rem;
    color: rgba(220, 232, 255, 0.78);
    line-height: 1.45;
}
.wm-empty__hint strong {
    color: var(--vela-gold-bright);
    font-weight: 700;
}
@keyframes wmNewsMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@keyframes wmHeroFade {
    from {
        opacity: 0.25;
    }
    to {
        opacity: 1;
    }
}
@media (max-width: 1550px) {
    .wm-provider-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
@media (max-width: 1250px) {
    .wm-provider-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .wm-trust-strip--hide-narrow {
        display: none !important;
    }
}
/* มือถือ/แท็บเล็ต ≤991px: คอลัมน์หมวดแคบ + เนื้อหา (แบบ wmnew) — แฮมเบอร์เกอร์เปิดเมนูเต็ม */
.wm-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1250;
    background: rgba(0, 10, 28, 0.52);
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
body.wm-drawer-open .wm-drawer-backdrop {
    display: block;
}
@media (max-width: 991px) {
    body.wm-clone-mode {
        background-attachment: scroll;
        overflow-x: hidden;
    }
    .wm-clone-header-inner {
        padding: 8px 10px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .wm-header-action {
        flex-shrink: 0;
        justify-content: flex-end;
    }
    .wm-clone-content {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 8px;
        padding: 10px 10px 104px;
        align-items: start;
    }
    .wm-main {
        min-width: 0;
        grid-column: 2;
    }
    .wm-static-headline {
        font-size: 0.72rem;
        padding: 7px 10px;
        margin-bottom: 8px;
    }
    .wm-hero--top-banner {
        padding: 10px;
        border-radius: 14px;
        border: 1px solid rgba(255, 200, 100, 0.12);
        background: linear-gradient(180deg, rgba(12, 20, 52, 0.96), rgba(6, 10, 30, 0.98));
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }
    .wm-hero--top-banner .wm-hero-slider {
        border-radius: 12px;
    }
    .wm-hero--top-banner .wm-hero-slide img {
        width: 100%;
        height: auto;
        min-height: 140px;
        max-height: min(50vw, 240px);
        object-fit: cover;
    }
    .wm-trust-strip {
        grid-template-columns: 1fr;
    }
    .wm-featured-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .wm-hero-nav {
        width: 32px;
        height: 32px;
    }
    .wm-hero-dots {
        bottom: 8px;
    }
    .wm-provider-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .wm-toolbar {
        grid-template-columns: 1fr;
    }
    .wm-sidebar {
        position: sticky;
        top: 62px;
        align-self: start;
        width: 52px;
        z-index: 25;
        transform: none;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        overflow: visible;
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 6px;
        padding: 6px 4px 10px;
        margin: 0;
        border-radius: 12px;
        background: rgba(6, 12, 36, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
        grid-column: 1;
        grid-row: 1;
    }
    .wm-sidebar .wm-drawer-quick {
        display: none;
    }
    body.wm-drawer-open .wm-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 88vw);
        z-index: 1260;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: max(52px, calc(env(safe-area-inset-top) + 44px)) 14px calc(100px + env(safe-area-inset-bottom)) 14px;
        border-radius: 0 14px 14px 0;
        border-left: none;
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.55);
        background: linear-gradient(180deg, #0e1842, #070b22 45%);
    }
    body.wm-drawer-open .wm-sidebar .wm-drawer-quick {
        display: grid;
    }
    .wm-sidebar .wm-line-btn {
        display: none;
    }
    body.wm-drawer-open .wm-sidebar .wm-line-btn {
        display: flex;
        margin-top: 6px;
    }
    .wm-sidebar > button.wm-category:nth-of-type(n + 4):not(.is-active) {
        display: none;
    }
    body.wm-drawer-open .wm-sidebar > button.wm-category {
        display: grid !important;
    }
    body:not(.wm-drawer-open) .wm-sidebar > button.wm-category.is-active {
        box-shadow: 0 0 0 2px rgba(242, 201, 76, 0.85), 0 4px 14px rgba(43, 142, 242, 0.25);
        border-color: rgba(255, 224, 140, 0.45);
    }
    .wm-sidebar .wm-category {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 7px 2px;
        border-radius: 10px;
        border-left-width: 1px;
    }
    .wm-sidebar .wm-category img {
        width: 26px;
        height: 26px;
    }
    .wm-sidebar .wm-category strong {
        display: none;
    }
    .wm-sidebar .wm-category small {
        font-size: 0.55rem;
        line-height: 1.1;
        font-weight: 700;
    }
    body.wm-drawer-open .wm-sidebar .wm-category {
        grid-template-columns: 36px 1fr;
        justify-items: stretch;
        text-align: left;
        padding: 10px 12px;
    }
    body.wm-drawer-open .wm-sidebar .wm-category strong {
        display: block;
    }
    body.wm-drawer-open .wm-sidebar .wm-category small {
        font-size: 0.84rem;
    }
    body.wm-drawer-open .wm-sidebar .wm-category img {
        width: 34px;
        height: 34px;
    }
    body.wm-drawer-open .wm-clone-content {
        grid-template-columns: minmax(0, 1fr);
    }
    body.wm-drawer-open .wm-main {
        grid-column: 1;
    }
    .wm-featured-row--slot {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .wm-provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 992px) {
    .wm-static-headline {
        font-size: 0.88rem;
        padding: 10px 16px;
        margin-bottom: 12px;
    }
    .wm-hero--top-banner {
        padding: 16px 16px 14px;
    }
    .wm-hero--top-banner .wm-hero-slide img {
        height: 245px;
        min-height: 0;
        max-height: none;
    }
    .wm-featured-row--slot {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .wm-drawer-backdrop {
        display: none !important;
    }
    .wm-brand-menu {
        display: none;
    }
}

/* --- โครงสร้างหน้าใหม่ (lobby-app) --- */
.lobby-topbar.wm-clone-header {
    border-bottom-color: rgba(242, 201, 76, 0.22);
}
.lobby-panel {
    scroll-margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .wm-news-marquee-track {
        animation: none;
    }
    .wm-hero-slide.is-active {
        animation: none;
    }
    .wm-btn:hover,
    .wm-featured-card:hover,
    .wm-provider:hover {
        transform: none;
    }
}

/* แถบล่างมือถือ — สไตล์ WM reference */
.wm-mobile-dock--casino {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1400;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: flex-end;
    justify-items: center;
    padding: 8px max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
    gap: 0;
    background: linear-gradient(180deg, rgba(30, 70, 160, 0.35) 0%, rgba(12, 32, 88, 0.94) 42%, #071238 100%);
    border-top: 1px solid rgba(120, 170, 255, 0.25);
    box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.5);
}
.wm-mobile-dock--casino .wm-mobile-dock__item,
.wm-mobile-dock--casino .wm-mobile-dock__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    min-height: 52px;
    padding: 4px 2px 2px;
    border-radius: 10px;
    border: 0;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.wm-mobile-dock--casino .wm-mobile-dock__item:hover,
.wm-mobile-dock--casino .wm-mobile-dock__item.is-active,
.wm-mobile-dock--casino .wm-mobile-dock__btn:hover {
    color: #ffffff;
}
.wm-mobile-dock__icon {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}
.wm-mobile-dock__item--line .wm-mobile-dock__icon {
    background: linear-gradient(180deg, #2ee066, var(--vela-line) 50%, #00a344);
    color: #ffffff;
    font-size: 1.35rem;
    border-radius: 10px;
}
.wm-mobile-dock--casino .wm-mobile-dock__fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    z-index: 2;
    padding: 0;
    margin-top: 0;
}
.wm-mobile-dock__fab-inner {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin-top: -26px;
    margin-bottom: 2px;
    display: grid;
    place-items: center;
    background: linear-gradient(165deg, #ffb347 0%, #ff7b1c 40%, #e85d04 100%);
    box-shadow:
        0 8px 28px rgba(232, 93, 4, 0.55),
        0 0 0 4px rgba(5, 14, 40, 0.92),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #fff;
    position: relative;
    font-size: 1.25rem;
}
.wm-mobile-dock__fab-flame {
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}
.wm-mobile-dock__fab-heart2 {
    position: absolute;
    font-size: 0.55rem;
    opacity: 0.92;
    transform: translate(10px, -6px);
    color: #fff;
}
.wm-mobile-dock__fab-label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
    max-width: 4.2rem;
    line-height: 1.1;
    text-align: center;
}
@media (min-width: 992px) {
    .wm-mobile-dock--casino {
        display: none !important;
    }
}
