:root {
    --bg: #06101c;
    --bg-soft: #0a1726;
    --surface: rgba(10, 25, 41, .82);
    --surface-solid: #0c1a2a;
    --surface-2: rgba(17, 36, 57, .76);
    --line: rgba(163, 201, 231, .15);
    --line-strong: rgba(163, 201, 231, .26);
    --text: #f1f7fd;
    --muted: #95abc0;
    --muted-2: #6f879e;
    --primary: #53e0d1;
    --accent: #ffcc66;
    --danger: #ff6b7c;
    --success: #56e3a4;
    --shadow: 0 28px 80px rgba(0, 0, 0, .34);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(180deg, rgba(4, 13, 24, .45), rgba(4, 13, 24, .88) 58%, #06101c 100%),
        var(--public-bg-desktop);
    background-size: cover, cover;
    background-position: center top, center top;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    line-height: 1.6;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 72%);
    z-index: -1;
}
::selection { background: rgba(83, 224, 209, .28); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 12px 16px;
    background: var(--primary);
    color: #031018;
    border-radius: 10px;
    font-weight: 800;
    transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.site-shell { min-height: 100vh; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 88px 0; }
.section-tight { padding-top: 42px; }
.narrow-container { max-width: 850px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
    background: rgba(5, 15, 27, .86);
    border-color: var(--line);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
    backdrop-filter: blur(20px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
    box-shadow: inset 0 1px rgba(255,255,255,.16), 0 12px 34px rgba(0,0,0,.22);
}
.brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; min-width: 0; line-height: 1.15; }
.brand-copy strong { font-size: 15px; text-transform: uppercase; letter-spacing: .105em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .045em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { position: relative; padding: 10px 13px; color: #a9bdcf; font-size: 13px; font-weight: 700; border-radius: 11px; transition: color .2s ease, background .2s ease; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.055); }
.main-nav a.active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px; border-radius: 10px; background: var(--primary); box-shadow: 0 0 16px var(--primary); }
.main-nav .nav-contact { margin-left: 8px; padding: 10px 17px; border: 1px solid rgba(83,224,209,.35); color: var(--primary); }
.main-nav .nav-contact:hover { background: rgba(83,224,209,.1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 13px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { width: 19px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.flash-stack { position: relative; z-index: 20; display: grid; gap: 10px; padding-top: 16px; }
.flash { padding: 13px 16px; border-radius: 13px; border: 1px solid var(--line); background: rgba(9,22,36,.94); font-size: 14px; box-shadow: var(--shadow); }
.flash-success { border-color: rgba(86,227,164,.38); color: #bdf8db; }
.flash-error { border-color: rgba(255,107,124,.38); color: #ffd0d5; }

.hero-section { min-height: 720px; display: flex; align-items: center; padding-top: 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); gap: 80px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 5px rgba(83,224,209,.1), 0 0 18px rgba(83,224,209,.72); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 9px rgba(83,224,209,0), 0 0 22px rgba(83,224,209,.85); } }
.hero-copy h1 { margin: 22px 0 24px; font-size: clamp(52px, 6vw, 82px); line-height: .94; letter-spacing: -.062em; max-width: 760px; }
.hero-copy h1 span { color: transparent; background: linear-gradient(100deg, var(--accent), #fff0b8 48%, var(--primary)); background-clip: text; -webkit-background-clip: text; }
.hero-copy > p { max-width: 630px; margin: 0; color: #adc0d1; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; font-size: 13px; letter-spacing: .015em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #04131b; background: linear-gradient(135deg, var(--primary), #69b8ff); box-shadow: 0 14px 36px rgba(83,224,209,.16); }
.button-primary:hover { box-shadow: 0 18px 44px rgba(83,224,209,.28); }
.button-ghost { border-color: var(--line-strong); background: rgba(255,255,255,.035); color: #d8e6f2; }
.button-ghost:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.07); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #8199ae; font-size: 12px; font-weight: 650; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row i { width: 18px; height: 18px; display: inline-grid; place-items: center; border: 1px solid rgba(83,224,209,.35); border-radius: 50%; color: var(--primary); font-style: normal; font-size: 10px; }
.hero-panel { position: relative; display: grid; gap: 16px; }
.hero-panel-glow { position: absolute; inset: 10% 15%; background: radial-gradient(circle, rgba(83,224,209,.23), rgba(48,112,255,.12) 38%, transparent 70%); filter: blur(40px); z-index: -1; }
.jackpot-card, .countdown-card, .latest-result-card, .feature-card, .archive-result-card, .filter-card, .timeline-card, .info-card, .frequency-card, .notice-card, .contact-form, .faq-list details {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(16,35,55,.9), rgba(7,19,32,.86));
    box-shadow: inset 0 1px rgba(255,255,255,.055), var(--shadow);
    backdrop-filter: blur(16px);
}
.jackpot-card { padding: 24px 26px; border-radius: 24px; overflow: hidden; position: relative; }
.jackpot-card::after { content: ""; position: absolute; width: 180px; height: 180px; top: -90px; right: -55px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.65), var(--accent) 5%, #f08d26 28%, #43120d 64%); opacity: .18; }
.jackpot-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #a9bdce; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.pill { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(255,204,102,.32); border-radius: 999px; color: var(--accent); background: rgba(255,204,102,.08); font-size: 9px; }
.jackpot-value { display: block; margin-top: 15px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1; letter-spacing: -.045em; color: #fff5d7; text-shadow: 0 0 34px rgba(255,204,102,.2); }
.jackpot-card > small { display: block; margin-top: 10px; color: var(--muted-2); }
.countdown-card { border-radius: 26px; padding: 25px; position: relative; overflow: hidden; }
.countdown-card::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); box-shadow: 0 0 20px var(--primary); }
.countdown-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.countdown-head > div:first-child { display: grid; gap: 5px; }
.mini-label { color: var(--primary); font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.countdown-head > div:first-child strong { font-size: 20px; letter-spacing: -.02em; }
.draw-meta { display: grid; justify-items: end; gap: 2px; }
.draw-meta span { color: var(--muted); font-size: 11px; }
.draw-meta strong { font-size: 18px; color: var(--accent); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.countdown-grid > div { position: relative; min-width: 0; display: grid; place-items: center; padding: 15px 6px 11px; border: 1px solid rgba(162,202,231,.13); border-radius: 15px; background: rgba(1,10,19,.48); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.countdown-grid > div:not(:last-child)::after { content: ":"; position: absolute; right: -8px; top: 20px; color: #587086; font-weight: 800; z-index: 2; }
.countdown-grid strong { font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.countdown-grid span { margin-top: 7px; color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.countdown-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 17px; color: #6f879b; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.signal { display: inline-flex; align-items: center; gap: 7px; }
.signal i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2 { margin: 7px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; }
.section-heading.compact { align-items: center; margin-bottom: 22px; }
.section-heading.compact h2 { font-size: 29px; }
.section-heading.centered { justify-content: center; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #bad0e2; font-size: 13px; font-weight: 750; }
.text-link span { color: var(--primary); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.latest-result-card { border-radius: var(--radius-lg); padding: 30px; overflow: hidden; position: relative; }
.latest-result-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0, rgba(255,204,102,.1), transparent 30%), radial-gradient(circle at 0 100%, rgba(83,224,209,.08), transparent 32%); pointer-events: none; }
.result-card-head, .archive-result-meta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.result-card-head h3, .archive-result-meta h2 { margin: 4px 0 0; font-size: 22px; }
.verified-badge { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid rgba(86,227,164,.25); border-radius: 999px; color: #9cf2ca; background: rgba(86,227,164,.07); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.major-prizes { position: relative; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; margin-top: 26px; }
.prize { min-width: 0; padding: 19px 18px; border: 1px solid rgba(162,202,231,.13); border-radius: 18px; background: rgba(3,14,25,.47); text-align: center; }
.prize span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.prize strong { display: block; margin-top: 8px; font-size: clamp(27px, 4vw, 44px); line-height: 1; letter-spacing: .11em; font-variant-numeric: tabular-nums; }
.prize-first { border-color: rgba(255,204,102,.3); background: linear-gradient(145deg, rgba(255,204,102,.13), rgba(3,14,25,.47)); }
.prize-first strong { color: #fff0bd; text-shadow: 0 0 20px rgba(255,204,102,.18); }
.secondary-prize-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.secondary-prize-grid > div { padding: 18px; border-top: 1px solid var(--line); }
.secondary-prize-grid > div > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.number-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.number-cloud b { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; padding: 7px 9px; border: 1px solid rgba(163,201,231,.15); border-radius: 10px; background: rgba(255,255,255,.035); font-size: 13px; letter-spacing: .08em; }
.number-cloud em { color: var(--muted-2); font-size: 12px; font-style: normal; }
.empty-state { display: grid; place-items: center; text-align: center; padding: 68px 25px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: rgba(9,22,36,.48); }
.empty-state img { opacity: .82; }
.empty-state h3 { margin: 18px 0 6px; font-size: 23px; }
.empty-state p { max-width: 500px; margin: 0; color: var(--muted); }

.schedule-preview-section { position: relative; }
.schedule-preview-section::before { content: ""; position: absolute; left: 0; right: 0; top: 12%; bottom: 12%; background: linear-gradient(90deg, transparent, rgba(83,224,209,.035), transparent); pointer-events: none; }
.schedule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.schedule-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(11,27,44,.68); overflow: hidden; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.schedule-card:hover { transform: translateY(-4px); border-color: rgba(83,224,209,.3); background: rgba(14,34,54,.84); }
.schedule-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -45px; bottom: -48px; border: 1px solid rgba(83,224,209,.16); border-radius: 50%; box-shadow: 0 0 0 18px rgba(83,224,209,.025); }
.schedule-index { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(83,224,209,.23); border-radius: 11px; color: var(--primary); font-size: 10px; font-weight: 800; }
.schedule-card h3 { margin: 0; font-size: 16px; }
.schedule-card p { margin: 3px 0 0; color: var(--muted-2); font-size: 10px; }
.schedule-card > strong { grid-column: 1 / -1; font-size: 29px; letter-spacing: -.03em; color: #dffbfa; }

.feature-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.feature-card { border-radius: 23px; padding: 26px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.feature-large { grid-row: span 2; min-height: 454px; justify-content: center; padding: 42px; background: radial-gradient(circle at 100% 0, rgba(83,224,209,.14), transparent 35%), linear-gradient(145deg, rgba(16,35,55,.93), rgba(7,19,32,.9)); }
.feature-icon { width: 46px; height: 46px; display: inline-grid; place-items: center; margin-bottom: auto; border: 1px solid rgba(83,224,209,.25); border-radius: 15px; color: var(--primary); background: rgba(83,224,209,.07); font-size: 20px; }
.feature-card h2 { margin: 14px 0; font-size: 42px; line-height: 1.03; letter-spacing: -.045em; }
.feature-card h3 { margin: 14px 0 7px; font-size: 19px; }
.feature-card p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.feature-large p { max-width: 510px; font-size: 15px; }
.cta-section { padding-top: 42px; }
.cta-card { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 46px; border: 1px solid rgba(83,224,209,.2); border-radius: 30px; background: radial-gradient(circle at 80% 50%, rgba(83,224,209,.16), transparent 36%), linear-gradient(120deg, rgba(13,32,51,.95), rgba(8,22,36,.88)); box-shadow: var(--shadow); }
.cta-card h2 { margin: 8px 0 0; font-size: clamp(29px, 4vw, 46px); line-height: 1.04; letter-spacing: -.04em; }

.page-hero { padding: 82px 0 58px; }
.page-hero-inner { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 40px 46px; border: 1px solid var(--line); border-radius: 32px; background: radial-gradient(circle at 80% 30%, rgba(83,224,209,.12), transparent 32%), linear-gradient(145deg, rgba(16,35,55,.88), rgba(7,19,32,.76)); box-shadow: var(--shadow); overflow: hidden; }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(42px, 6vw, 70px); line-height: .98; letter-spacing: -.055em; }
.page-hero p { max-width: 610px; margin: 0; color: var(--muted); font-size: 16px; }
.page-orbit { position: relative; width: 260px; height: 180px; flex: 0 0 260px; }
.page-orbit::before, .page-orbit::after { content: ""; position: absolute; inset: 18px 8px; border: 1px solid rgba(83,224,209,.18); border-radius: 50%; transform: rotate(-12deg); }
.page-orbit::after { inset: 42px 32px; transform: rotate(23deg); border-color: rgba(255,204,102,.17); }
.page-orbit span { position: absolute; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #07111f; font-size: 21px; font-weight: 900; background: radial-gradient(circle at 34% 27%, #fff 0 4%, var(--primary) 7%, #2eb0a5 55%, #0a4d50 100%); box-shadow: inset -10px -14px 18px rgba(0,0,0,.3), 0 16px 38px rgba(0,0,0,.35); }
.page-orbit span:nth-child(1) { left: 8px; top: 63px; }
.page-orbit span:nth-child(2) { left: 105px; top: 8px; background: radial-gradient(circle at 34% 27%, #fff 0 4%, var(--accent) 7%, #e6922e 55%, #7d3517 100%); }
.page-orbit span:nth-child(3) { right: 0; bottom: 5px; background: radial-gradient(circle at 34% 27%, #fff 0 4%, #86a8ff 7%, #4b5eca 55%, #25276e 100%); }
.page-content-pad { padding-top: 28px; }
.filter-card { display: flex; align-items: flex-end; gap: 14px; padding: 20px; border-radius: 21px; margin-bottom: 44px; }
.filter-card label { min-width: 190px; flex: 1; display: grid; gap: 7px; }
.filter-card label span, .contact-form label > span { color: #b4c7d8; font-size: 11px; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(3,14,24,.72); color: var(--text); outline: none; padding: 12px 13px; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(83,224,209,.09); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7e95aa 50%), linear-gradient(135deg, #7e95aa 50%, transparent 50%); background-position: calc(100% - 17px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea { resize: vertical; line-height: 1.6; }
.result-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.result-list-heading h2 { margin: 5px 0 0; font-size: 31px; }
.timezone-chip { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.035); font-size: 10px; font-weight: 700; }
.results-stack { display: grid; gap: 18px; }
.archive-result-card { border-radius: 25px; padding: 25px; }
.archive-prize-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; margin-top: 22px; }
.archive-prize { display: grid; gap: 7px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(3,14,24,.42); text-align: center; }
.archive-prize span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.archive-prize strong { font-size: clamp(24px, 3vw, 35px); letter-spacing: .11em; line-height: 1; }
.archive-prize.first { border-color: rgba(255,204,102,.26); background: rgba(255,204,102,.07); }
.archive-prize.first strong { color: #ffedb0; }
.secondary-details { margin-top: 16px; border-top: 1px solid var(--line); }
.secondary-details summary, .faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 3px 0; color: #afc2d3; font-size: 12px; font-weight: 750; }
.secondary-details summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.secondary-details summary span, .faq-list summary span { color: var(--primary); font-size: 19px; transition: transform .2s ease; }
.secondary-details[open] summary span, .faq-list details[open] summary span { transform: rotate(45deg); }
.secondary-details .secondary-prize-grid { margin-top: 5px; }

.schedule-page-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr); gap: 26px; align-items: start; }
.timeline-card { border-radius: 26px; padding: 8px 24px; }
.timeline-row { position: relative; display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 18px; min-height: 102px; border-bottom: 1px solid var(--line); }
.timeline-row:last-child { border-bottom: 0; }
.timeline-row::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline-row:first-child::before { top: 50%; }
.timeline-row:last-child::before { bottom: 50%; }
.timeline-dot { position: relative; z-index: 1; width: 19px; height: 19px; border: 5px solid #0d1d2f; border-radius: 50%; background: #50677d; box-shadow: 0 0 0 1px var(--line-strong); }
.timeline-row.next .timeline-dot { background: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 0 20px rgba(83,224,209,.75); }
.timeline-row > div > span { color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline-row h3 { margin: 2px 0 0; font-size: 18px; }
.timeline-row > strong { font-size: 25px; font-variant-numeric: tabular-nums; }
.timeline-row > em { padding: 5px 8px; border: 1px solid rgba(83,224,209,.28); border-radius: 999px; color: var(--primary); background: rgba(83,224,209,.07); font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sticky-countdown { position: sticky; top: 112px; display: grid; gap: 16px; }
.info-card { border-radius: 22px; padding: 24px; }
.info-card h3 { margin: 10px 0 7px; font-size: 19px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; }
.empty-inline { padding: 28px; text-align: center; color: var(--muted); }

.stats-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 22px; }
.stats-summary-grid article { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: rgba(11,27,44,.72); }
.stats-summary-grid span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.stats-summary-grid strong { display: block; margin: 9px 0 3px; font-size: 36px; line-height: 1; color: #e9fbff; }
.stats-summary-grid small { color: var(--muted-2); font-size: 10px; }
.frequency-card { border-radius: 26px; padding: 28px; }
.frequency-list { display: grid; gap: 15px; margin-top: 28px; }
.frequency-row { display: grid; grid-template-columns: 42px 1fr 50px; gap: 14px; align-items: center; }
.digit-ball { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #04131a; background: radial-gradient(circle at 34% 27%, #fff 0 4%, var(--primary) 8%, #31a99f 60%, #0b4d50 100%); box-shadow: inset -6px -8px 12px rgba(0,0,0,.25); font-weight: 900; }
.frequency-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.055); overflow: hidden; }
.frequency-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #77aaff, var(--accent)); box-shadow: 0 0 16px rgba(83,224,209,.22); }
.frequency-row > strong { text-align: right; font-variant-numeric: tabular-nums; }
.notice-card { display: flex; align-items: flex-start; gap: 15px; margin-top: 18px; padding: 18px 20px; border-radius: 18px; }
.notice-card > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border: 1px solid rgba(255,204,102,.25); border-radius: 50%; color: var(--accent); font-weight: 900; }
.notice-card p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.notice-card strong { color: #e7f1f8; }

.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 30px; }
.editorial-main { padding: 20px 0; }
.editorial-main > h2 { max-width: 720px; margin: 14px 0 22px; font-size: clamp(36px, 5vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.editorial-main > p { max-width: 780px; color: var(--muted); font-size: 16px; }
.step-list { display: grid; gap: 0; margin-top: 42px; border-top: 1px solid var(--line); }
.step-list > div { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.step-list > div > span { color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.step-list h3 { margin: 0 0 7px; font-size: 19px; }
.step-list p { margin: 0; color: var(--muted); font-size: 13px; }
.editorial-side { display: grid; gap: 14px; }
.faq-section { padding-top: 38px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 17px; padding: 0 20px; }
.faq-list summary { padding: 18px 0; color: #e4edf5; font-size: 14px; }
.faq-list details p { margin: 0; padding: 0 0 20px; color: var(--muted); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; align-items: start; }
.contact-copy { padding: 25px 0; }
.contact-copy h2 { margin: 13px 0 15px; font-size: clamp(38px, 5vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.contact-copy > p { color: var(--muted); max-width: 440px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.contact-detail > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(83,224,209,.24); border-radius: 14px; color: var(--primary); background: rgba(83,224,209,.06); font-weight: 800; }
.contact-detail > div { display: grid; }
.contact-detail small { color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail strong, .contact-detail a { margin-top: 3px; font-size: 13px; }
.contact-form { border-radius: 26px; padding: 28px; display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-errors { padding: 14px 16px; border: 1px solid rgba(255,107,124,.32); border-radius: 13px; color: #ffd5da; background: rgba(255,107,124,.08); font-size: 12px; }
.form-errors ul { margin: 8px 0 0; padding-left: 18px; }

.site-footer { margin-top: 50px; border-top: 1px solid var(--line); background: rgba(3,12,22,.72); backdrop-filter: blur(12px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .9fr; gap: 60px; padding-top: 56px; padding-bottom: 45px; }
.footer-brand p { max-width: 480px; margin: 19px 0 0; color: var(--muted); font-size: 13px; }
.brand-static { pointer-events: none; }
.footer-grid h2 { margin: 5px 0 17px; color: #c9d8e5; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(:first-child) a { margin-bottom: 9px; color: var(--muted); font-size: 12px; transition: color .2s ease; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #60778c; font-size: 10px; }

.reveal { animation: reveal-up .7s both cubic-bezier(.2,.7,.2,1); animation-delay: var(--delay, 0ms); }
.reveal-delay { animation-delay: .14s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 1050px) {
    .hero-grid { grid-template-columns: 1fr 430px; gap: 42px; }
    .hero-copy h1 { font-size: 62px; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1.2fr 1fr; }
    .feature-large { grid-row: span 3; }
    .stats-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
    body { background-image: linear-gradient(180deg, rgba(4,13,24,.43), rgba(4,13,24,.9) 48%, #06101c 100%), var(--public-bg-mobile); background-attachment: scroll, scroll; background-position: center top, center top; }
    .container { width: min(100% - 28px, var(--container)); }
    .section-pad { padding: 68px 0; }
    .header-inner { min-height: 74px; }
    .brand-mark { width: 47px; height: 47px; border-radius: 15px; }
    .brand-mark img { width: 38px; height: 38px; }
    .brand-copy small { display: none; }
    .menu-toggle { display: flex; }
    .main-nav { position: absolute; top: calc(100% + 1px); left: 14px; right: 14px; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(5,15,27,.97); box-shadow: var(--shadow); backdrop-filter: blur(22px); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
    .main-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
    .main-nav a { padding: 12px 14px; }
    .main-nav a.active::after { display: none; }
    .main-nav .nav-contact { margin-left: 0; }
    .hero-section { min-height: auto; padding-top: 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .hero-copy { text-align: center; }
    .hero-copy h1 { margin-inline: auto; font-size: clamp(49px, 13vw, 72px); }
    .hero-copy > p { margin-inline: auto; }
    .hero-actions, .trust-row { justify-content: center; }
    .hero-panel { width: min(100%, 560px); margin-inline: auto; }
    .section-heading { align-items: flex-start; }
    .major-prizes { grid-template-columns: 1fr 1fr; }
    .prize-first { grid-column: 1 / -1; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature-large { grid-column: 1 / -1; grid-row: auto; min-height: 390px; }
    .page-hero { padding-top: 48px; }
    .page-hero-inner { min-height: 240px; padding: 32px; }
    .page-orbit { width: 190px; flex-basis: 190px; transform: scale(.82); transform-origin: center right; }
    .filter-card { flex-wrap: wrap; }
    .filter-card label { min-width: calc(50% - 8px); }
    .schedule-page-grid, .editorial-grid, .contact-grid { grid-template-columns: 1fr; }
    .sticky-countdown { position: static; }
    .editorial-side { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.2fr .8fr .9fr; gap: 28px; }
}

@media (max-width: 620px) {
    body::before { background-size: 48px 48px; }
    .container { width: min(100% - 24px, var(--container)); }
    .section-pad { padding: 54px 0; }
    .header-inner { min-height: 68px; }
    .brand-copy strong { max-width: 185px; font-size: 13px; }
    .hero-section { padding-top: 48px; }
    .hero-copy h1 { font-size: clamp(45px, 15vw, 62px); }
    .hero-copy > p { font-size: 15px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .button { width: 100%; }
    .trust-row { gap: 10px 14px; }
    .trust-row span { font-size: 10px; }
    .jackpot-card, .countdown-card { padding: 20px; border-radius: 21px; }
    .jackpot-value { font-size: 40px; }
    .countdown-head > div:first-child strong { font-size: 17px; }
    .countdown-grid { gap: 6px; }
    .countdown-grid > div { padding: 13px 3px 10px; border-radius: 12px; }
    .countdown-grid strong { font-size: 25px; }
    .countdown-grid > div:not(:last-child)::after { right: -5px; top: 16px; }
    .countdown-foot { flex-direction: column; gap: 7px; }
    .section-heading { display: grid; gap: 15px; }
    .section-heading h2 { font-size: 34px; }
    .latest-result-card { padding: 20px; border-radius: 23px; }
    .result-card-head, .archive-result-meta { align-items: flex-start; }
    .verified-badge { padding: 6px 8px; font-size: 8px; }
    .major-prizes, .archive-prize-row { grid-template-columns: 1fr; }
    .prize-first { grid-column: auto; }
    .prize strong { font-size: 34px; }
    .secondary-prize-grid { grid-template-columns: 1fr; gap: 0; }
    .secondary-prize-grid > div { padding-inline: 0; }
    .schedule-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .schedule-card { min-height: 120px; padding: 16px; gap: 10px; border-radius: 18px; }
    .schedule-card p { display: none; }
    .schedule-card h3 { font-size: 13px; }
    .schedule-card > strong { font-size: 24px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-large { min-height: 370px; padding: 28px; }
    .feature-card h2 { font-size: 35px; }
    .cta-card { min-height: 260px; display: grid; padding: 30px 24px; text-align: center; }
    .page-hero { padding: 38px 0 24px; }
    .page-hero-inner { min-height: 220px; padding: 27px 24px; border-radius: 25px; }
    .page-hero h1 { font-size: 44px; }
    .page-hero p { font-size: 14px; }
    .page-orbit { position: absolute; width: 150px; height: 150px; right: -28px; opacity: .2; transform: scale(.75); }
    .filter-card { display: grid; padding: 16px; }
    .filter-card label { min-width: 0; }
    .result-list-heading { align-items: flex-end; }
    .archive-result-card { padding: 19px; }
    .timeline-card { padding: 5px 16px; }
    .timeline-row { grid-template-columns: 24px 1fr auto; gap: 12px; min-height: 88px; }
    .timeline-row > em { display: none; }
    .timeline-row > strong { font-size: 21px; }
    .stats-summary-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .stats-summary-grid article { padding: 17px; }
    .stats-summary-grid strong { font-size: 30px; }
    .frequency-card { padding: 20px; }
    .frequency-row { grid-template-columns: 38px 1fr 38px; gap: 9px; }
    .editorial-main > h2, .contact-copy h2 { font-size: 39px; }
    .editorial-side { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { padding: 17px 0; flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (max-width: 390px) {
    .brand-copy strong { max-width: 140px; }
    .schedule-grid { grid-template-columns: 1fr; }
    .stats-summary-grid { grid-template-columns: 1fr; }
    .countdown-grid strong { font-size: 21px; }
}

.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* v1.1.0 · Multiple markets and 24 daily results */
.market-result-label { display: inline-flex; width: fit-content; margin: 0 8px 7px 0; padding: 5px 8px; border: 1px solid rgba(83,224,209,.22); border-radius: 999px; color: var(--primary); background: rgba(83,224,209,.065); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.schedule-preview-link { display: flex; justify-content: center; margin-top: 24px; }
.schedule-preview-link .button { min-width: 190px; }
.result-public-filter { align-items: flex-end; }
.result-public-filter label { min-width: 185px; }
.result-public-filter label:nth-child(2) { min-width: 160px; }
.public-day-progress { display: grid; grid-template-columns: auto minmax(180px, 390px); align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 24px; padding: 18px 20px; border: 1px solid rgba(83,224,209,.16); border-radius: 17px; background: rgba(83,224,209,.05); }
.public-day-progress > div { display: grid; gap: 4px; }
.public-day-progress span { color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.public-day-progress strong { font-size: 15px; }
.public-day-progress > i { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.07); }
.public-day-progress > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #70a5ff); }

.schedule-overview-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(440px, 1.2fr); gap: 30px; align-items: stretch; margin-bottom: 32px; }
.schedule-overview-copy { display: flex; flex-direction: column; justify-content: center; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(15,35,54,.85), rgba(7,20,34,.88)); box-shadow: var(--shadow); }
.schedule-overview-copy h2 { margin: 9px 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.02; letter-spacing: -.045em; }
.schedule-overview-copy > p { max-width: 620px; margin: 0; color: var(--muted); }
.schedule-overview-stat { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.schedule-overview-stat span { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.schedule-overview-stat strong { color: var(--primary); font-size: 12px; }
.market-schedule-stack { display: grid; gap: 24px; }
.market-schedule-card { overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(145deg, rgba(14,31,49,.94), rgba(7,19,32,.95)); box-shadow: var(--shadow); }
.market-schedule-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 25px 28px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 92% 18%, rgba(83,224,209,.1), transparent 27%); }
.market-schedule-head h2 { margin: 3px 0 5px; font-size: 28px; letter-spacing: -.035em; }
.market-schedule-head p { margin: 0; color: var(--muted); font-size: 12px; }
.market-next-chip { min-width: 190px; display: grid; gap: 5px; padding: 13px 15px; border: 1px solid rgba(83,224,209,.18); border-radius: 14px; background: rgba(83,224,209,.055); text-align: right; }
.market-next-chip span { color: var(--muted-2); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.market-next-chip strong { color: #e7f7f4; font-size: 13px; }
.schedule-24-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px; }
.schedule-24-item { position: relative; min-height: 82px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; overflow: hidden; padding: 13px 15px; border: 1px solid rgba(128,170,205,.13); border-radius: 15px; background: rgba(255,255,255,.025); }
.schedule-24-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent, rgba(255,255,255,.025)); pointer-events: none; }
.schedule-24-item > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(83,224,209,.2); border-radius: 11px; color: var(--primary); background: rgba(83,224,209,.06); font-size: 10px; font-weight: 900; }
.schedule-24-item > div { min-width: 0; display: grid; gap: 3px; }
.schedule-24-item > div strong { overflow: hidden; color: #e2edf6; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-24-item > div small { color: var(--muted-2); font-size: 8px; }
.schedule-24-item time { color: var(--accent); font-size: 19px; font-weight: 850; letter-spacing: -.03em; }
.schedule-24-item > em { position: absolute; right: 8px; top: 6px; padding: 3px 5px; border-radius: 999px; color: #06151d; background: var(--primary); font-size: 6px; font-style: normal; font-weight: 950; letter-spacing: .08em; }
.schedule-24-item.next { border-color: rgba(83,224,209,.38); background: linear-gradient(145deg, rgba(83,224,209,.105), rgba(83,224,209,.025)); box-shadow: inset 3px 0 var(--primary), 0 14px 35px rgba(0,0,0,.13); }

@media (max-width: 1050px) {
    .schedule-overview-grid { grid-template-columns: 1fr; }
    .schedule-24-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
    .result-public-filter { display: grid; grid-template-columns: 1fr 1fr; }
    .result-public-filter label { min-width: 0; }
    .result-public-filter .button { width: 100%; }
}

@media (max-width: 620px) {
    .public-day-progress { grid-template-columns: 1fr; gap: 14px; }
    .schedule-overview-copy { padding: 23px; }
    .schedule-overview-copy h2 { font-size: 35px; }
    .market-schedule-head { align-items: flex-start; flex-direction: column; padding: 22px; }
    .market-next-chip { width: 100%; min-width: 0; text-align: left; }
    .schedule-24-grid { grid-template-columns: 1fr; padding: 12px; }
    .schedule-24-item { min-height: 74px; }
    .result-public-filter { grid-template-columns: 1fr; }
}

/* v1.3.0 · MACAU LOTTERY bright public theme */
:root {
    --bg: #f4f9ff;
    --bg-soft: #edf6fd;
    --surface: rgba(255, 255, 255, .88);
    --surface-solid: #ffffff;
    --surface-2: rgba(246, 251, 255, .88);
    --line: rgba(30, 88, 117, .14);
    --line-strong: rgba(30, 88, 117, .24);
    --text: #102b3b;
    --muted: #536f80;
    --muted-2: #718b9b;
    --primary-ink: #087d75;
    --accent-ink: #9b6500;
    --danger: #d84b61;
    --success: #168c64;
    --shadow: 0 24px 64px rgba(43, 88, 113, .16);
    color-scheme: light;
}

body {
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(180deg, rgba(247, 252, 255, .10) 0%, rgba(247, 252, 255, .42) 42%, rgba(244, 249, 255, .88) 78%, #f4f9ff 100%),
        var(--public-bg-desktop);
    background-size: cover, cover;
    background-position: center top, center top;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
}

body::before {
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 218, 119, .22), transparent 25%),
        radial-gradient(circle at 88% 16%, rgba(56, 211, 205, .14), transparent 28%),
        linear-gradient(90deg, rgba(26, 91, 119, .025) 1px, transparent 1px),
        linear-gradient(rgba(26, 91, 119, .02) 1px, transparent 1px);
    background-size: auto, auto, 76px 76px, 76px 76px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 82%);
}

::selection { background: rgba(30, 187, 174, .25); color: #082b3b; }
.site-shell { background: linear-gradient(180deg, rgba(255,255,255,.01) 0, rgba(247,252,255,.08) 32rem, rgba(244,249,255,.78) 66rem, rgba(244,249,255,.96) 100%); }
.skip-link { color: #07323a; }

.site-header {
    background: rgba(255, 255, 255, .54);
    border-bottom-color: rgba(30, 88, 117, .10);
    box-shadow: 0 8px 30px rgba(37, 91, 118, .08);
    backdrop-filter: blur(18px) saturate(1.12);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .91);
    border-color: var(--line);
    box-shadow: 0 14px 38px rgba(38, 88, 112, .13);
}
.brand-mark {
    border-color: rgba(255, 255, 255, .72);
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,248,252,.82));
    box-shadow: inset 0 1px rgba(255,255,255,1), 0 12px 30px rgba(41,88,111,.16);
}
.brand-copy strong { color: #102b3b; }
.brand-copy small { color: #5d7787; }
.main-nav a { color: #456476; }
.main-nav a:hover,
.main-nav a.active { color: #0b3547; background: rgba(255,255,255,.68); }
.main-nav a.active::after { background: var(--primary); box-shadow: 0 0 13px rgba(16, 169, 156, .36); }
.main-nav .nav-contact { border-color: rgba(16,169,156,.32); color: var(--primary-ink); background: rgba(255,255,255,.45); }
.main-nav .nav-contact:hover { background: rgba(20,180,165,.12); }
.menu-toggle { border-color: var(--line-strong); background: rgba(255,255,255,.78); box-shadow: 0 8px 24px rgba(36,83,105,.10); }
.menu-toggle > span:not(.sr-only) { background: #163e50; }

.flash { background: rgba(255,255,255,.94); color: #173849; }
.flash-success { border-color: rgba(22,140,100,.28); color: #0a704f; }
.flash-error { border-color: rgba(216,75,97,.28); color: #b72e47; }

.hero-section { padding-top: 74px; }
.hero-copy {
    padding: 38px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(247,252,255,.62));
    box-shadow: 0 30px 80px rgba(36, 85, 109, .17), inset 0 1px rgba(255,255,255,.96);
    backdrop-filter: blur(16px) saturate(1.08);
}
.eyebrow,
.mini-label { color: var(--primary-ink); }
.live-dot { box-shadow: 0 0 0 5px rgba(31,183,169,.13), 0 0 18px rgba(31,183,169,.58); }
.hero-copy h1 { color: #102d3d; text-shadow: 0 2px 0 rgba(255,255,255,.55); }
.hero-copy h1 span {
    background: linear-gradient(100deg, #b97800 0%, #e3a82d 42%, #0b8f86 100%);
    background-clip: text;
    -webkit-background-clip: text;
}
.hero-copy > p { color: #3f6072; }
.button-primary {
    color: #063336;
    background: linear-gradient(135deg, var(--primary), #67d7e2);
    box-shadow: 0 14px 34px rgba(15, 156, 148, .22);
}
.button-primary:hover { box-shadow: 0 18px 42px rgba(15, 156, 148, .30); }
.button-ghost { border-color: rgba(27,81,108,.21); background: rgba(255,255,255,.70); color: #173e51; }
.button-ghost:hover { border-color: rgba(27,81,108,.35); background: rgba(255,255,255,.92); }
.trust-row { color: #527082; }
.trust-row i { border-color: rgba(15,156,148,.30); color: var(--primary-ink); background: rgba(255,255,255,.58); }
.hero-panel-glow { background: radial-gradient(circle, rgba(255,209,99,.25), rgba(44,198,192,.16) 40%, transparent 72%); }

.jackpot-card,
.countdown-card,
.latest-result-card,
.feature-card,
.archive-result-card,
.filter-card,
.timeline-card,
.info-card,
.frequency-card,
.notice-card,
.contact-form,
.faq-list details {
    border-color: var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(243,250,254,.88));
    box-shadow: inset 0 1px rgba(255,255,255,.98), var(--shadow);
    backdrop-filter: blur(18px) saturate(1.08);
}
.jackpot-card { background: linear-gradient(145deg, rgba(255,252,241,.96), rgba(255,246,218,.90)); }
.jackpot-card::after { opacity: .12; }
.jackpot-topline { color: #56717f; }
.pill { border-color: rgba(193,132,12,.25); color: var(--accent-ink); background: rgba(255,199,72,.16); }
.jackpot-value { color: #9a6300; text-shadow: 0 0 28px rgba(215,151,27,.18); }
.jackpot-card > small { color: #738894; }
.countdown-card::before { box-shadow: 0 0 18px rgba(24,176,162,.40); }
.draw-meta span { color: var(--muted); }
.draw-meta strong { color: var(--accent-ink); }
.countdown-grid > div {
    border-color: rgba(27,83,108,.12);
    background: rgba(255,255,255,.72);
    box-shadow: inset 0 1px rgba(255,255,255,.95), 0 8px 20px rgba(46,89,108,.07);
}
.countdown-grid > div:not(:last-child)::after { color: #8ca1ac; }
.countdown-grid span { color: #718995; }
.countdown-foot { color: #6f8793; }

.section-heading > p,
.feature-card p,
.page-hero p,
.info-card p,
.notice-card p,
.editorial-main > p,
.step-list p,
.faq-list details p,
.contact-copy > p,
.footer-brand p { color: var(--muted); }
.text-link { color: #294f63; }
.text-link span { color: var(--primary-ink); }
.latest-result-card::before { background: radial-gradient(circle at 90% 0, rgba(255,200,74,.18), transparent 31%), radial-gradient(circle at 0 100%, rgba(37,184,172,.12), transparent 32%); }
.verified-badge { border-color: rgba(22,140,100,.22); color: #0c7754; background: rgba(29,173,123,.10); }
.prize {
    border-color: rgba(27,83,108,.13);
    background: rgba(255,255,255,.72);
}
.prize-first { border-color: rgba(206,146,25,.25); background: linear-gradient(145deg, rgba(255,226,151,.32), rgba(255,255,255,.76)); }
.prize-first strong { color: #996300; text-shadow: 0 0 18px rgba(201,139,18,.15); }
.number-cloud b { border-color: rgba(27,83,108,.14); background: rgba(255,255,255,.72); }
.number-cloud em { color: var(--muted-2); }
.empty-state { background: rgba(255,255,255,.62); }

.schedule-preview-section::before { background: linear-gradient(90deg, transparent, rgba(26,169,156,.06), transparent); }
.schedule-card {
    border-color: var(--line);
    background: rgba(255,255,255,.79);
    box-shadow: 0 14px 34px rgba(42,86,107,.08);
}
.schedule-card:hover { border-color: rgba(18,156,145,.27); background: rgba(255,255,255,.96); }
.schedule-index { border-color: rgba(17,156,145,.25); color: var(--primary-ink); background: rgba(37,188,174,.08); }
.schedule-card > strong { color: #174458; }
.feature-large { background: radial-gradient(circle at 100% 0, rgba(35,190,176,.14), transparent 35%), linear-gradient(145deg, rgba(255,255,255,.97), rgba(239,249,253,.92)); }
.feature-icon { border-color: rgba(16,156,145,.22); color: var(--primary-ink); background: rgba(31,184,171,.10); }
.cta-card {
    border-color: rgba(16,156,145,.20);
    background: radial-gradient(circle at 80% 50%, rgba(36,190,176,.16), transparent 38%), linear-gradient(120deg, rgba(255,255,255,.96), rgba(236,248,253,.90));
    box-shadow: var(--shadow);
}

.page-hero-inner {
    border-color: rgba(255,255,255,.74);
    background: radial-gradient(circle at 80% 30%, rgba(31,184,171,.15), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.94), rgba(242,250,254,.80));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px) saturate(1.08);
}
.page-orbit::before { border-color: rgba(12,144,134,.22); }
.page-orbit::after { border-color: rgba(196,134,15,.20); }
.filter-card label span,
.contact-form label > span { color: #446578; }
input,
select,
textarea {
    border-color: var(--line-strong);
    background: rgba(255,255,255,.86);
    color: var(--text);
    box-shadow: inset 0 1px rgba(255,255,255,.95);
}
input::placeholder,
textarea::placeholder { color: #8ba0ac; }
input:focus,
select:focus,
textarea:focus { box-shadow: 0 0 0 3px rgba(31,184,171,.12); }
select {
    background-image: linear-gradient(45deg, transparent 50%, #597687 50%), linear-gradient(135deg, #597687 50%, transparent 50%);
}
.timezone-chip { color: #587485; background: rgba(255,255,255,.70); }
.archive-prize { border-color: var(--line); background: rgba(255,255,255,.70); }
.archive-prize.first { border-color: rgba(196,134,15,.22); background: rgba(255,205,83,.14); }
.archive-prize.first strong { color: #956000; }
.secondary-details summary,
.faq-list summary { color: #385a6c; }
.timeline-dot { border-color: #ffffff; background: #9cb0ba; box-shadow: 0 0 0 1px var(--line-strong); }
.timeline-row.next .timeline-dot { box-shadow: 0 0 0 1px var(--primary), 0 0 18px rgba(25,172,160,.45); }
.timeline-row > em { border-color: rgba(16,156,145,.24); color: var(--primary-ink); background: rgba(31,184,171,.09); }
.stats-summary-grid article { border-color: var(--line); background: rgba(255,255,255,.76); box-shadow: 0 12px 28px rgba(43,86,107,.07); }
.stats-summary-grid strong { color: #153d50; }
.frequency-track { background: rgba(30,85,111,.09); }
.notice-card strong { color: #244b5f; }
.faq-list summary { color: #274e62; }
.form-errors { color: #b72e47; background: rgba(216,75,97,.08); }

.site-footer {
    border-top-color: var(--line);
    background: rgba(250,253,255,.88);
    box-shadow: 0 -18px 48px rgba(46,88,107,.08);
}
.footer-grid h2 { color: #35596c; }
.footer-bottom { color: #6d8794; }

.market-result-label { border-color: rgba(16,156,145,.22); color: var(--primary-ink); background: rgba(31,184,171,.09); }
.public-day-progress { border-color: rgba(16,156,145,.18); background: rgba(255,255,255,.66); box-shadow: 0 12px 30px rgba(43,86,107,.07); }
.public-day-progress > i { background: rgba(31,83,107,.10); }
.schedule-overview-copy {
    border-color: var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(240,249,253,.88));
    box-shadow: var(--shadow);
}
.schedule-overview-stat strong { color: var(--primary-ink); }
.market-schedule-card {
    border-color: var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,249,253,.92));
    box-shadow: var(--shadow);
}
.market-schedule-head { border-bottom-color: var(--line); background: radial-gradient(circle at 92% 18%, rgba(31,184,171,.13), transparent 28%); }
.market-next-chip { border-color: rgba(16,156,145,.20); background: rgba(31,184,171,.08); }
.market-next-chip strong { color: #20495d; }
.schedule-24-item { border-color: rgba(28,83,107,.13); background: rgba(255,255,255,.72); }
.schedule-24-item::before { background: linear-gradient(115deg, transparent, rgba(26,123,155,.025)); }
.schedule-24-item > span { border-color: rgba(16,156,145,.22); color: var(--primary-ink); background: rgba(31,184,171,.09); }
.schedule-24-item > div strong { color: #244a5d; }
.schedule-24-item time { color: var(--accent-ink); }
.schedule-24-item > em { color: #06383a; }
.schedule-24-item.next { border-color: rgba(16,156,145,.34); background: linear-gradient(145deg, rgba(31,184,171,.15), rgba(255,255,255,.72)); box-shadow: inset 3px 0 var(--primary), 0 14px 32px rgba(43,86,107,.10); }

@media (max-width: 850px) {
    body {
        background-image:
            linear-gradient(180deg, rgba(247,252,255,.08) 0%, rgba(247,252,255,.34) 38%, rgba(244,249,255,.88) 76%, #f4f9ff 100%),
            var(--public-bg-mobile);
        background-attachment: scroll, scroll;
        background-position: center top, center top;
    }
    .main-nav {
        border-color: var(--line);
        background: rgba(255,255,255,.97);
        box-shadow: 0 20px 48px rgba(37,82,104,.18);
    }
    .hero-copy { padding: 32px; }
}

@media (max-width: 620px) {
    .hero-copy { padding: 25px 20px; border-radius: 25px; }
    .site-header { background: rgba(255,255,255,.80); }
    .jackpot-card,
    .countdown-card,
    .latest-result-card,
    .feature-card,
    .archive-result-card,
    .filter-card,
    .timeline-card,
    .info-card,
    .frequency-card,
    .notice-card,
    .contact-form,
    .faq-list details { backdrop-filter: blur(13px) saturate(1.05); }
}

/* v1.6.0 · full horizontal Macau Lottery logo */
.brand-full { gap: 0; }
.brand-logo-full { display: block; width: auto; height: 58px; object-fit: contain; }
.brand-full-footer .brand-logo-full.footer-logo { height: 64px; }
.footer-brand .brand-full-footer { margin-bottom: 10px; }
@media (max-width: 850px) {
  .header-inner { min-height: 80px; gap: 18px; }
  .brand-logo-full { height: 48px; max-width: min(58vw, 240px); }
  .brand-full-footer .brand-logo-full.footer-logo { height: 54px; }
}
@media (max-width: 520px) {
  .brand-logo-full { height: 42px; max-width: 180px; }
  .brand-full-footer .brand-logo-full.footer-logo { height: 46px; }
}
