:root {
    --bg: #030806;
    --surface: #08120d;
    --surface-2: #0c1b12;
    --surface-3: #10251a;
    --line: gold;
    --line-soft: gold;
    --lime: gold;
    --green: #67d63c;
    --gold: #ffd34e;
    --text: #f6fff8;
    --muted: #ffffff;
    --shadow: 0 18px 45px rgba(0, 0, 0, .26)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font: 14px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at 52% -15%, #193523 0, #07100b 36%, #020604 78%);
    background-attachment: fixed !important;
    background-size: cover !important;
    background: url(https://pictstage.digital/images/2026/07/22/BG17IPO.jpg) top / 100% no-repeat fixed #186000;
}

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

button {
    font: inherit
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(98, 177, 112, .19);
    background: #0c5300;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
    backdrop-filter: blur(16px)
}

.hamburger {
    width: 42px;
    height: 42px;
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border-radius: 12px;
    cursor: pointer;
    background: transparent;
}

.hamburger span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #dfffc7;
    transition: transform .25s ease, opacity .2s ease
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px
}

.brand img {
    display: block;
    width: auto;
    max-width: 170px;
    height: 48px;
    object-fit: contain
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #102008;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #eaff78, #62c935);
    box-shadow: 0 0 22px rgba(141, 224, 55, .26)
}

.brand strong {
    font-size: 22px;
    color: var(--lime)
}

.desktop-nav {
    display: flex;
    align-self: stretch
}

.desktop-nav a {
    position: relative;
    display: grid;
    place-items: center;
    padding: 0 14px;
    color: gold;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    text-shadow: 1px 1px 1px black;
    letter-spacing: .05em
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #efffcf;
    background: linear-gradient(0deg, rgba(58, 116, 42, .27), transparent)
}

.desktop-nav a.active:after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 2px;
    border-radius: 3px;
    background: var(--lime);
    box-shadow: 0 0 12px var(--lime)
}

.top-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    gap: 5px;
}

.top-actions a {
    padding: 10px 16px;
    border: 1px solid #397a32;
    border-radius: 11px;
    color: #edffdf;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1c4b19, #102b11)
}

.top-actions .login {
    border-color: #2b4333;
    background: #0b1510
}

.shell {
    width: min(1540px, 100%);
    margin: auto;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 18px;
    padding: 14px 16px 90px;
    background: #0000008a;
    transition: grid-template-columns .3s ease
}

.sidebar {
    position: sticky;
    top: 86px;
    align-self: start;
    max-height: calc(100vh - 102px);
    transition: width .3s ease, transform .3s ease
}

.sidebar nav,
.panel,
.hero,
.quick-menu,
.features {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(12, 29, 18, .97), rgba(4, 11, 7, .98));
    box-shadow: inset 0 1px rgba(255, 255, 255, .025), var(--shadow)
}

.sidebar nav {
    padding: 8px 13px
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0px;
    min-height: 50px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--line-soft);
    color: #c0d0c4;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    justify-content: flex-start;
    align-content: center;
}

.sidebar nav a:last-child {
    border: 0
}

.sidebar nav a:hover,
.sidebar nav a.active {
    color: var(--lime);
    text-align: center;
    align-items: center;
}
.sidebar nav span {
    margin-left: 10px;
}
.sidebar nav i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    border: 1px solid #254a2f;
    border-radius: 9px;
    color: var(--lime);
    font-size: 15px;
    font-style: normal;
    background: #0b1b10
}

.sidebar nav a.active i {
    color: gold;
    border-color: gold;
    background: linear-gradient(135deg, #094b01, #076d00);
    box-shadow: 0 0 17px rgba(139, 226, 68, .28)
}

body.sidebar-collapsed .shell {
    grid-template-columns: 70px minmax(0, 1fr)
}

body.sidebar-collapsed .sidebar nav {
    padding: 8px
}

body.sidebar-collapsed .sidebar nav a {
    justify-content: center
}

body.sidebar-collapsed .sidebar nav span {
    width: 0;
    opacity: 0
}

.content {
    min-width: 0
}

.hero {
    position: relative;
    min-height: 306px;
    display: grid;
    place-items: center;
    padding: 30px;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgb(2 10 5 / 8%), rgb(0 0 0 / 0%), rgb(2 10 5 / 0%)), var(--hero, radial-gradient(circle at 65% 50%, rgb(102 214 60 / 34%), transparent 38%));
    background-size: cover;
    box-shadow: 5px 2px 1px black;
    background-position: center
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 49%, rgb(174 255 0 / 0%) 50%, transparent 51%) 0 0 / 44px 100%, radial-gradient(circle at 50% 40%, rgb(255 255 255 / 0%), transparent 43%);
    pointer-events: none
}

.hero-copy {
    position: relative;
    z-index: 1
}

.hero p {
    margin: 0 0 2px;
    color: #e8f6e8;
    font-weight: 900;
    letter-spacing: .12em
}

.hero h1 {
    margin: 0;
    color: gold;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.045em;
    text-shadow: 0 0 8px rgba(255, 255, 255, .72), 0 0 25px rgba(74, 215, 47, .74)
}

.hero h2 {
    margin: 10px 0 0;
    color: #e1eee4;
    font-size: 13px;
    letter-spacing: .04em
}

.trust {
    display: flex;
    justify-content: center;
    gap: 42px;
    margin-top: 30px
}

.trust span {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 8px;
    text-align: left
}

.trust i {
    grid-row: 1/3;
    align-self: center;
    color: var(--lime);
    font-size: 23px;
    font-style: normal
}

.trust b {
    font-size: 11px
}

.trust small {
    color: #a9bbaa;
    font-size: 9px
}

.quick-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-top: 11px;
    padding: 0px;
    border: none;
}

.quick-menu a {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 2px 10px;
    padding: 10px;
    border: 2px solid gold;
    border-radius: 12px;
    background: linear-gradient(145deg, #093d01, #077700);
    transition: transform .2s ease, border-color .2s ease, background .2s ease
}

.quick-menu a:hover {
    transform: translateY(-2px);
    border-color: #65a93f;
    background: #173922
}

.quick-menu i {
    grid-row: 1/3;
    align-self: center;
    color: gold;
    font-size: 24px;
    font-style: normal
}

.quick-menu b {
    text-transform: uppercase;
    font-size: 20px;
}

.quick-menu small {
    color: #91aa98;
    font-size: 9px
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 12px;
    margin-top: 14px
}

.panel {
    margin-top: 12px;
    overflow: hidden
}

.dashboard-grid .panel {
    margin: 0
}

.panel>header {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid gold;
    background: #0c5300;
}

.panel>header div {
    min-width: 0
}

.panel h2 {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .035em;
    color: gold;
    text-shadow: 1px 1px 1px black;
}

.panel header small {
    display: block;
    margin-top: 2px;
    color: white;
    font-size: 9px
}

.slider-status {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid #31543d;
    border-radius: 999px;
    color: gold;
    font-size: 9px;
    background: #0b1a10;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

.carousel {
    scrollbar-width: none;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
    cursor: grab
}

.carousel::-webkit-scrollbar {
    display: none
}

.carousel.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none
}

.market-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 20%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 12px 4px
}

.market-list article,
.market-list .market-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px 5px;
    border-right: 1px solid #173522;
    scroll-snap-align: start;
    background-image: linear-gradient(rgba(5, 15, 8, .72), rgba(5, 15, 8, .93)), var(--market-bg, none);
    background-size: cover;
    background-position: center
}

.market-list article:before,
.market-list .market-card:before,
.rank-list article:before,
.rank-list .rank-card:before,
.result-list article:before,
.result-list .result-card:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 16% -35px;
    height: 70px;
    border-radius: 50%;
    background: var(--market);
    filter: blur(35px);
    opacity: .17
}

.market-list article:last-child,
.market-list .market-card:last-child {
    border-right: 0
}

.market-logo {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--market) 72%, #fff);
    border-radius: 18px;
    background: #0b1710;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--market) 24%, transparent)
}

.market-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 4px
}

.market-logo.fallback {
    color: #f6fff1;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(145deg, color-mix(in srgb, var(--market) 70%, #17251a), #09100b)
}

.market-list>a>b,
.market-list article>b {
    margin-top: 8px;
    font-size: 8px;
}

.market-list small {
    margin-top: 5px;
    color: var(--lime);
    font-size: 9px;
    text-transform: uppercase
}

.market-list time {
    color: var(--gold);
    font-size: 9px
}

.rank-list {
    --row-height: 58px;
    max-height: calc(var(--row-height) * 5);
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    padding: 0 12px
}

.rank-list article,
.rank-list .rank-card {
    position: relative;
    isolation: isolate;
    height: var(--row-height);
    display: flex;
    align-items: center;
    gap: 9px;
    overflow: hidden;
    border-bottom: 1px solid #173522;
    scroll-snap-align: start;
    background-image: linear-gradient(90deg, rgba(6, 15, 9, .88), rgba(6, 15, 9, .97)), var(--market-bg, none);
    background-size: cover;
    background-position: center
}

.rank-list article:last-child,
.rank-list .rank-card:last-child {
    border: 0
}

.rank {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    flex: 0 0 23px;
    border-radius: 50%;
    color: #0d170d;
    font-size: 10px;
    font-weight: 900;
    background: #d7e1d8
}

.rank-list article:nth-child(-n+3) .rank,
.rank-list .rank-card:nth-child(-n+3) .rank {
    background: linear-gradient(135deg, gold, gold);
}

.mini-logo {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--market) 74%, #fff);
    border-radius: 10px;
    background: #0b1710
}

.mini-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 3px
}

.mini-logo.fallback {
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    background: color-mix(in srgb, var(--market) 45%, #0b1710)
}

.row-title {
    display: flex;
    flex-direction: column;
    min-width: 104px;
    margin-right: auto
}

.row-title b {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

.row-title small {
    color: #a8baa9;
    font-size: 11px;
}

.number-boxes {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.number-boxes b {
    width: 27px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--market, #67d63c) 52%, #1c3423);
    border-radius: 6px;
    font-size: 16px;
    background: linear-gradient(#17251b, #050906);
    box-shadow: inset 0 0 9px color-mix(in srgb, var(--market, #67d63c) 17%, transparent)
}

.empty {
    color: var(--muted)
}

.result-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 10px
}

.result-list article,
.result-list .result-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    padding: 11px;
    border: 1px solid color-mix(in srgb, var(--market) 34%, #1c3524);
    border-radius: 12px;
    background-image: linear-gradient(90deg, rgba(7, 17, 10, .91), rgba(7, 17, 10, .97)), var(--market-bg, none);
    background-size: cover;
    background-position: center
}

.result-list article>span,
.result-list .result-card>span {
    display: flex;
    align-items: center;
    gap: 8px
}

.result-list article>span>span,
.result-list .result-card>span>span {
    display: flex;
    min-width: 0;
    flex-direction: column
}

.result-list article b,
.result-list .result-card b {
    font-size: 10px
}

.result-list article small,
.result-list .result-card small {
    color: #a8b8ab;
    font-size: 8px
}

.result-list .mini-logo {
    width: 31px;
    height: 31px;
    flex-basis: 31px
}

.result-list .number-boxes {
    margin-top: 9px
}

.result-list .number-boxes b {
    width: 24px;
    height: 26px;
    font-size: 14px
}

.promo-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px
}

.promo-card {
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid #648320;
    border-radius: 13px;
    background-image: linear-gradient(90deg, rgba(6, 28, 10, .88), rgba(15, 48, 12, .45)), var(--promo, radial-gradient(circle at 80%, #5aaa22, #08260b 54%));
    background-size: cover;
    background-position: center
}

.promo-card small {
    font-size: 14px;
    font-weight: 800
}

.promo-card strong {
    color: var(--gold);
    font-size: 32px;
    line-height: 1.1
}

.promo-card span {
    color: var(--gold);
    font-weight: 800
}

.promo-card.gold {
    background: radial-gradient(circle at 85%, #8f6a08, #143b09 55%)
}

.promo-card.coin {
    background: radial-gradient(circle at 85%, #b67c09, #064514 55%)
}

.jackpot-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 12px
}

.jackpot-card,
.jackpot-page-card {
    overflow: hidden;
    border: 1px solid #23492d;
    border-radius: 13px;
    background: #08150d;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
a.jackpot-card img {
    max-height: 183px;
}

.jackpot-card:hover,
.jackpot-page-card:hover {
    transform: translateY(-3px);
    border-color: #79c84b;
    box-shadow: 0 14px 28px #0005
}

.jackpot-card img,
.jackpot-page-card img,
.jackpot-placeholder {
    display: grid;
    width: 100%;
    aspect-ratio: 800/445;
    place-items: center;
    object-fit: contain;
    color: var(--lime);
    font-size: 36px;
    background: radial-gradient(circle at 50% 30%, #285d2d, #07120b 68%)
}

.jackpot-card strong {
    display: block;
    padding: 12px 13px 14px;
    color: #f1f8f2;
    font-size: 12px;
    line-height: 1.45
}

.panel-empty {
    padding: 28px;
    color: var(--muted);
    text-align: center
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 24px;
    padding: 16px
}

.features span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 11px;
    color: var(--lime);
    font-size: 22px
}

.features b {
    font-size: 11px
}

.features small {
    grid-column: 2;
    color: #aab8ad;
    font-size: 9px
}

.bottom-nav,
.overlay {
    display: none
}

.page-intro {
    position: relative;
    overflow: hidden;
    padding: 38px 34px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #08180d;
    box-shadow: var(--shadow)
}

.page-intro span {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid #477735;
    border-radius: 999px;
    color: var(--lime);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em
}

.page-intro h1 {
    max-width: 700px;
    margin: 12px 0 7px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05
}

.page-intro p {
    max-width: 720px;
    margin: 0;
    color: #a9bbaa
}

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

.listing-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--market, #67d63c) 35%, #1c3524);
    border-radius: 15px;
    background-image: linear-gradient(120deg, rgba(11, 29, 17, .9), rgba(4, 10, 6, .98)), var(--market-bg, none);
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition: transform .2s ease, border-color .2s ease
}

.listing-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--market, #67d63c) 65%, #fff)
}

.listing-card>header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.listing-card>header>span {
    display: flex;
    min-width: 0;
    flex-direction: column
}

.listing-card header b {
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid gold;
    color: gold;
    margin-bottom: 2px;
    padding-bottom: 1px;
}

.listing-card header small {
    color: var(--muted);
    font-size: 9px
}

.listing-card>.number-boxes {
    margin: 18px 0 14px
}

.listing-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 16px
}

.listing-card dl div {
    padding: 8px;
    border: 1px solid var(--line-soft);
    border-radius: 9px;
    background: rgba(0, 0, 0, .14)
}

.listing-card dt {
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase
}

.listing-card dd {
    margin: 2px 0 0;
    font-weight: 800
}

.listing-card em {
    display: block;
    color: var(--lime);
    font-size: 9px;
    font-style: normal;
    font-weight: 800
}

.market-entry {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px
}

.market-entry h2 {
    margin: 0;
    font-size: 14px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid gold;
}

.market-entry p {
    margin: 4px 0 10px;
    color: #a9bbaa;
    font-size: 10px
}

.market-entry span {
    color: var(--muted);
    font-size: 9px
}

.market-entry span b {
    color: var(--gold)
}

.promo-entry {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: linear-gradient(0deg, rgba(2, 8, 4, .98), rgba(3, 12, 6, .2)), var(--promo, radial-gradient(circle at 70%, #4e951f, #08120c 60%));
    background-size: cover;
    background-position: center
}

.promo-entry small {
    color: var(--lime);
    font-weight: 800
}

.promo-entry h2 {
    margin: 7px 0 0;
    font-size: 20px
}

.promo-entry strong {
    color: var(--gold)
}

.promo-entry p {
    overflow: hidden;
    margin: 8px 0;
    color: #b7c6ba;
    font-size: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.jackpot-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #08140c
}

.jackpot-filters a {
    padding: 9px 16px;
    border: 1px solid #285335;
    border-radius: 9px;
    color: #a9b9ac;
    font-size: 10px;
    font-weight: 800
}

.jackpot-filters a:hover,
.jackpot-filters a.active {
    color: #07120a;
    border-color: var(--lime);
    background: var(--lime)
}

.jackpot-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.jackpot-page-card h2 {
    margin: 0;
    padding: 14px 15px 16px;
    color: #f1f8f2;
    font-size: 14px;
    line-height: 1.45
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px 14px;
    color: #8fa392;
    font-size: 10px
}

.breadcrumbs a:hover {
    color: var(--lime)
}

.breadcrumbs b {
    color: #dbe9dd
}

.detail-page {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--market, #67d63c) 38%, #1a3924);
    border-radius: 18px;
    background: #07100b;
    box-shadow: var(--shadow)
}

.detail-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 190px;
    padding: 34px;
    background-image: linear-gradient(90deg, rgba(4, 14, 7, .95), rgba(4, 14, 7, .58)), var(--market-bg, none);
    background-size: cover;
    background-position: center
}

.detail-hero .market-logo {
    width: 78px;
    height: 78px;
    flex: 0 0 78px
}

.detail-hero small {
    color: var(--lime);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.detail-hero h1 {
    margin: 5px 0;
    font-size: clamp(28px, 4vw, 48px)
}

.detail-hero p {
    max-width: 650px;
    margin: 0;
    color: #b6c5b9
}

.detail-numbers,
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 16px
}

.detail-numbers section,
.schedule-grid section {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0b1910
}

.detail-numbers small,
.schedule-grid small,
.result-focus small {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase
}

.detail-numbers strong,
.schedule-grid strong {
    font-size: 18px;
    color: #efffdc
}

.number-boxes.large b {
    width: 34px;
    height: 37px;
    font-size: 21px
}

.number-boxes.giant {
    justify-content: center
}

.number-boxes.giant b {
    width: 58px;
    height: 66px;
    border-radius: 12px;
    font-size: 38px
}

.result-focus {
    padding: 42px 20px;
    text-align: center;
    background: radial-gradient(circle at 50%, color-mix(in srgb, var(--market) 18%, transparent), transparent 50%)
}

.detail-copy {
    padding: 24px;
    border-top: 1px solid var(--line)
}

.detail-copy h1,
.detail-copy h2 {
    margin: 0 0 9px
}

.detail-copy p {
    margin: 0;
    color: #b3c3b7;
    line-height: 1.75
}

.detail-actions {
    display: flex;
    gap: 10px;
    padding: 0 24px 24px
}

.detail-actions a,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #5f9a3d;
    border-radius: 10px;
    color: #eaffd6;
    font-weight: 800;
    background: linear-gradient(#2a6b24, #174319)
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px
}

.related-grid>section {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #09150d
}

.related-grid h2 {
    margin: 0 0 10px;
    font-size: 12px
}

.related-grid a {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 10px
}

.related-grid a b {
    color: var(--gold)
}

.promo-cover {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover
}

.promo-detail .detail-copy {
    border: 0
}

.jackpot-cover {
    margin: 0;
    padding: clamp(8px, 2vw, 18px);
    background: #040a06
}

.jackpot-cover img {
    display: block;
    width: 100%;
    max-height: 650px;
    margin: auto;
    aspect-ratio: 800/445;
    object-fit: contain
}

.jackpot-article {
    max-width: 900px;
    margin: auto;
    padding: 34px
}

.detail-label {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid #477f31;
    border-radius: 999px;
    color: var(--lime);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase
}

.jackpot-article h1 {
    margin: 13px 0 7px;
    color: #f4faf5;
    font-size: clamp(25px, 4vw, 42px);
    line-height: 1.15
}

.jackpot-article time {
    color: var(--muted);
    font-size: 10px
}

.rich-content {
    margin-top: 25px;
    color: #c6d2c8;
    font-size: 13px;
    line-height: 1.8
}

.rich-content h2,
.rich-content h3 {
    margin: 28px 0 10px;
    color: #f1f8f2;
    line-height: 1.25
}

.rich-content h2 { font-size: 24px }
.rich-content h3 { font-size: 18px }
.rich-content p { margin: 0 0 16px }
.rich-content li { margin: 5px 0 }
.rich-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--lime);
    color: #e4eee5;
    background: #0d2113
}

.empty-state {
    margin-top: 14px;
    padding: 70px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: center;
    background: #08120d
}

.empty-state>span {
    color: var(--lime);
    font-size: 44px;
    font-weight: 900
}

.empty-state h1,
.empty-state h2 {
    margin: 5px 0
}

.empty-state p {
    color: var(--muted)
}

.site-footer {
    margin-top: 24px;
    padding: 26px;
    border-top: 1px solid var(--line);
    color: #86988a;
    text-align: center
}

.site-footer strong {
    color: var(--lime);
    font-size: 18px
}

.site-footer p {
    margin: 5px
}

.site-footer small {
    font-size: 9px
}

@media(max-width:1120px) {
    .desktop-nav a {
        padding: 0 8px
    }

    .dashboard-grid {
        grid-template-columns: 1fr
    }

    .result-list {
        grid-template-columns: repeat(3, 1fr)
    }

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

    .detail-numbers {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:760px) {
    body {
        padding-bottom: 70px
    }

    .topbar {
        height: 64px;
        padding: 0 12px;
        gap: 10px;
        border-bottom: 1px solid gold;
    }

    .hamburger {
        width: 40px;
        height: 40px;
        flex-basis: 40px
    }

    .brand {
        min-width: 0
    }

    .brand img {
        height: 40px;
        max-width: 145px
    }

    .brand strong {
        font-size: 19px
    }

    .desktop-nav {
        display: none;
    }
.top-actions a {
    padding: 8px 12px;
    border: 1px solid gold;
    border-radius: 5px;
    color: #edffdf;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1c4b19, #102b11);
}
.top-actions .login {
    border-color: gold;
    background: #0b1510;
}
    .shell,
    .shell:has(.sidebar) {
        display: block;
        padding: 9px 8px 22px
    }

    .sidebar,
    body.sidebar-collapsed .sidebar {
        position: fixed;
        z-index: 70;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(82vw, 290px);
        max-height: none;
        padding: 76px 11px 20px;
        background: #030a06;
        transform: translateX(-105%);
        box-shadow: 22px 0 60px #000a
    }

    .sidebar.open {
        transform: none
    }

    .sidebar nav {
        padding: 8px 13px
    }

    .sidebar nav a {
        justify-content: flex-start
    }

    .sidebar nav span,
    body.sidebar-collapsed .sidebar nav span {
        width: auto;
        opacity: 1
    }

    .overlay {
        position: fixed;
        z-index: 60;
        inset: 0;
        background: rgba(0, 0, 0, .72);
        backdrop-filter: blur(2px)
    }

    .overlay.show {
        display: block
    }

    .hero {
        min-height: 100px;
        padding: 16px
    }

    .hero h1 {
        font-size: 42px
    }

    .hero h2 {
        margin-top: 6px;
        font-size: 9px
    }

    .hero p {
        font-size: 9px
    }

    .trust {
        display: none
    }

    .quick-menu {
        grid-template-columns: repeat(5, 1fr);
        padding: 6px 2px;
        gap: 0
    }

    .quick-menu a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 7px 0;
        border: 0;
        background: none
    }

    .quick-menu a:hover {
        transform: none
    }

    .quick-menu i {
        font-size: 20px
    }

    .quick-menu b {
        font-size: 8px
    }

    .quick-menu small {
        display: none
    }

    .dashboard-grid {
        margin-top: 10px
    }

    .panel {
        border-radius: 13px
    }

    .panel>header {
        min-height: 52px;
        padding: 9px 12px
    }

    .panel header small {
        max-width: 230px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .market-list {
        grid-auto-columns: 20%;
        padding: 9px 2px
    }

    .market-list article {
        padding: 6px 2px
    }

    .market-logo {
        width: 65px;
        height: 56px;
        border-radius: 13px
    }

    .market-list b {
        font-size: 8px
    }

    .market-list time,
    .market-list small {
        font-size: 7px
    }

    .rank-list {
        --row-height: 56px;
        padding: 0 7px
    }

    .rank-list article {
        gap: 7px
    }

    .row-title {
        min-width: 0
    }

    .row-title b {
        font-size: 11px;
        text-transform: uppercase;
        font-weight: bold;
        text-shadow: 1px 1px 1px black;
    }

    .number-boxes {
        gap: 3px
    }

    .number-boxes b {
        width: 25px;
        height: 27px;
        font-size: 15px
    }

    .results {
        margin-top: 10px
    }

    .result-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 8px
    }

    .promo-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory
    }

    .promo-card {
        min-width: 86%;
        min-height: 115px;
        scroll-snap-align: center
    }

    .jackpot-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory
    }

    .jackpot-card {
        min-width: 82%;
        scroll-snap-align: center
    }

    .jackpot-page-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .jackpot-page-card h2 {
        padding: 12px 13px 14px;
        font-size: 12px
    }

    .features {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 8px
    }

    .bottom-nav {
        position: fixed;
        z-index: 55;
        left: 0;
        right: 0;
        bottom: 0;
        height: 66px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid #1b4b27;
        background: rgba(3, 15, 8, .96);
        backdrop-filter: blur(12px)
    }

    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #dbe9da;
        font-size: 18px
    }

    .bottom-nav span {
        font-size: 7px;
        text-transform: uppercase
    }

    .bottom-nav a.active {
        color: var(--lime);
        background: linear-gradient(0deg, #1b4b18, transparent)
    }
}

@media(max-width:430px) {
    .result-list {
        grid-template-columns: 1fr 1fr;
    }

    .rank-list .mini-logo {
        display: none
    }

    .number-boxes b {
        width: 24px
    }

    .features {
        grid-template-columns: 1fr
    }

    .slider-status {
        display: none
    }

    .market-list {
        grid-auto-columns: 25%
    }
}

@media(max-width:760px) {
    .market-list .market-card {
        padding: 6px 2px
    }

    .rank-list .rank-card {
        gap: 7px
    }

    .page-intro {
        padding: 24px 18px;
        border-radius: 14px
    }

    .page-intro h1 {
        font-size: 28px
    }

    .page-intro p {
        font-size: 11px
    }

    .listing-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .listing-card {
        padding: 14px
    }

    .market-entry {
        grid-template-columns: auto 1fr
    }

    .market-entry>em {
        grid-column: 2
    }

    .detail-hero {
        min-height: 150px;
        padding: 20px 16px;
        align-items: flex-start
    }

    .detail-hero .market-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px
    }

    .detail-hero h1 {
        font-size: 26px
    }

    .detail-hero p {
        font-size: 10px
    }

    .detail-numbers,
    .schedule-grid {
        grid-template-columns: 1fr 1fr;
        padding: 10px;
        gap: 7px
    }

    .detail-numbers section:first-child {
        grid-column: 1/-1
    }

    .detail-numbers section,
    .schedule-grid section {
        padding: 12px
    }

    .related-grid {
        grid-template-columns: 1fr;
        padding: 10px
    }

    .detail-copy {
        padding: 18px 16px
    }

    .detail-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0 16px 18px
    }

    .number-boxes.giant b {
        width: 45px;
        height: 52px;
        font-size: 29px
    }

    .promo-cover {
        max-height: 240px
    }

    .jackpot-article {
        padding: 22px 17px
    }

    .jackpot-filters {
        display: grid;
        grid-template-columns: repeat(4, 1fr)
    }

    .jackpot-filters a {
        padding: 8px 5px;
        text-align: center
    }

    .breadcrumbs {
        overflow: hidden;
        white-space: nowrap
    }

    .site-footer {
        padding: 22px 10px
    }
}

@media(max-width:430px) {

    .detail-numbers,
    .schedule-grid {
        grid-template-columns: 1fr 1fr
    }

    .detail-numbers section:first-child {
        grid-column: auto
    }

    .detail-actions {
        grid-template-columns: 1fr
    }

    .number-boxes.giant b {
        width: 41px;
        height: 48px;
        font-size: 26px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }

    .carousel {
        scroll-snap-type: none
    }
}

.result-market-public-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.result-market-public {
    min-height: 235px;
    display: flex;
    flex-direction: column
}

.result-market-public:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--market) 20%, transparent), transparent 35%)
}

.result-market-public .latest-result {
    margin: 22px 0 17px;
    padding: 13px;
    border: 1px solid color-mix(in srgb, var(--market) 28%, var(--line));
    border-radius: 11px;
    background: rgba(0, 0, 0, .22)
}

.result-market-public .latest-result>small {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase;
    text-align: center;
}

.result-market-public .latest-result>b {
    color: var(--muted);
    font-size: 11px
}

.result-market-public footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto
}

.result-market-public footer span {
    color: gold;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

.result-market-public footer em {
    color: var(--lime);
    font-size: 9px;
    font-style: normal;
    font-weight: 800
}

.market-archive-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    background-image: linear-gradient(100deg, rgba(5, 15, 8, .92), rgba(5, 15, 8, .68)), var(--market-bg, none);
    background-size: cover;
    background-position: center
}

.market-archive-intro>.market-logo {
    width: 76px;
    height: 76px;
    flex: 0 0 76px
}

.market-archive-intro>div>span {
    margin-bottom: 3px
}

.market-archive-intro>div>small {
    display: block;
    margin-top: 9px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800
}

.result-history {
    margin-top: 13px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--market) 32%, var(--line));
    border-radius: 16px;
    background: #07100b
}

.history-row {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 94px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line-soft);
    background-image: linear-gradient(90deg, rgba(10, 29, 16, .9), rgba(5, 12, 8, .98)), var(--market-bg, none);
    background-size: cover;
    background-position: center;
    transition: .2s ease
}

.history-row:last-child {
    border-bottom: 0
}

.history-row:hover {
    padding-left: 22px;
    background-image: linear-gradient(90deg, color-mix(in srgb, var(--market) 15%, rgba(10, 29, 16, .94)), rgba(5, 12, 8, .98)), var(--market-bg, none)
}

.history-row time {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 9px;
    border: 1px solid color-mix(in srgb, var(--market) 35%, var(--line));
    border-radius: 11px;
    background: rgba(0, 0, 0, .2)
}

.history-row time b {
    color: var(--lime);
    font-size: 23px;
    line-height: 1
}

.history-row time span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase
}

.history-row>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-direction: column;
}

.history-row>div>small {
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase
}

.history-row em {
    color: var(--lime);
    font-size: 9px;
    font-style: normal;
    font-weight: 800
}

.public-empty {
    padding: 55px;
    text-align: center;
    color: var(--muted)
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px
}

.pagination a,
.pagination span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 10px
}

.pagination a {
    color: #eaffd6;
    border-color: #4e8439;
    background: linear-gradient(#1d4d1c, #112e14);
    font-weight: 800
}

.pagination span {
    color: var(--muted);
    background: #08120d
}

.listing-search {
    margin: 14px 0 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(15, 39, 22, .94), rgba(5, 18, 10, .96));
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2)
}

.listing-search>label {
    display: block;
    margin-bottom: 8px;
    color: #eaffd6;
    font-size: 12px;
    font-weight: 800
}

.listing-search>div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px
}

.listing-search input {
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #2d5d38;
    border-radius: 10px;
    outline: 0;
    color: #fff;
    background: #06150b
}

.listing-search input:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(120, 217, 0, .13)
}

.listing-search button,
.listing-search a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer
}

.listing-search button {
    color: #071006;
    background: var(--lime)
}

.listing-search a {
    color: #d9ead9;
    background: #183221
}

.listing-search>small {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 10px
}

@media(max-width:1120px) {
    .result-market-public-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:760px) {
    .result-market-public-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px
    }

    .result-market-public {
        min-height: 205px
    }

    .result-market-public .latest-result {
        margin: 14px 0 12px;
        padding: 10px;
        text-align: center;
        background: #000000db;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .result-market-public .number-boxes b {
        width: 25px;
        height: 28px;
        font-size: 15px
    }

    .market-archive-intro {
        padding: 21px 16px;
        gap: 12px
    }

    .market-archive-intro>.market-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px
    }

    .history-row {
        grid-template-columns: 57px minmax(0, 1fr);
        gap: 10px;
        min-height: 82px;
        padding: 10px
    }

    .history-row>div {
        gap: 5px
    }

    .history-row>div>small {
        display: none
    }

    .history-row>em {
        display: none
    }

    .history-row time {
        padding: 7px 4px
    }

    .history-row time b {
        font-size: 19px
    }

    .history-row .number-boxes.large b {
        width: 30px;
        height: 33px;
        font-size: 18px
    }

    .pagination {
        justify-content: space-between
    }

    .pagination a,
    .pagination span {
        padding: 8px;
        font-size: 8px
    }

    .listing-search>div {
        grid-template-columns: minmax(0, 1fr) auto
    }

    .listing-search a {
        grid-column: 1 / -1;
        min-height: 38px
    }
}

@media(max-width:390px) {
    .result-market-public-grid {
        grid-template-columns: 1fr
    }

    .result-market-public {
        min-height: 185px
    }

    .result-market-public .latest-result {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .result-market-public .latest-result>small {
        margin: 0
    }
}
.result-list .result-card {
    transition:
        opacity 0.24s ease,
        transform 0.24s ease,
        border-color 0.24s ease;
    will-change: opacity, transform;
}

.result-list .result-card.is-result-leaving {
    opacity: 0;
    transform: translateX(-16px) scale(0.97);
    pointer-events: none;
}

.result-list .result-card.is-result-entering {
    opacity: 0;
    transform: translateX(16px) scale(0.97);
}

.result-list .result-card.is-result-entering-active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.result-list .result-card[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .result-list .result-card {
        transition: none;
    }
}