:root{--bg:#070b12;--panel:#101924;--panel2:#142236;--line:#27374b;--text:#f1f6fc;--muted:#97abc2;--gold:#6ebaff}
body{background:radial-gradient(ellipse at 90% 12%,#115ba448,transparent 40%),repeating-linear-gradient(120deg,transparent 0 90px,#8ac6ff04 91px 92px),linear-gradient(145deg,#101927,#05080e 65%);background-attachment:fixed}
.shell{position:relative}.topbar{position:relative;z-index:2;padding-bottom:22px;border-bottom:1px solid #7babdb25}.brand{font-size:20px;letter-spacing:.08em}.brand em{color:#7fc3ff}
.bmw-badge{width:48px;height:48px;flex-shrink:0;display:block;position:relative;border:2px solid #b6c6d7;border-radius:50%;background:#090e15;box-shadow:0 0 0 3px #172638,0 5px 15px #0008}.bmw-badge b{position:absolute;top:2px;left:0;width:100%;text-align:center;font:700 9px Arial,sans-serif;letter-spacing:3px;padding-left:3px;color:white}.bmw-badge i{position:absolute;inset:13px 8px 7px;border:1px solid #d2e4f4;border-radius:50%;background:conic-gradient(#f1f7ff 0 90deg,#1684d5 90deg 180deg,#f1f7ff 180deg 270deg,#1684d5 270deg)}
.hero{position:relative;isolation:isolate;overflow:hidden;padding:78px 0 65px}.hero h1{font-size:clamp(40px,6vw,66px);letter-spacing:.02em;position:relative;z-index:1}.hero h1 span{display:block;font-size:.54em;margin-top:22px;font-weight:600;letter-spacing:.08em}.hero p,.hero .eyebrow{position:relative;z-index:1}.hero-art{position:absolute;inset:0;z-index:-1;pointer-events:none}.hero-watermark{position:absolute;right:-12px;top:25px;font:900 clamp(100px,19vw,240px) Arial,sans-serif;letter-spacing:-.07em;color:#b4d9ff06;font-style:italic}.hero-emblem{position:absolute;right:70px;top:60px;width:190px;height:190px;opacity:.55;transform:rotate(-16deg);box-shadow:0 0 70px #1684d530,0 12px 45px #0008}.hero-emblem b{top:13px;font-size:30px;letter-spacing:12px;padding-left:12px}.hero-emblem i{inset:54px 30px 26px;border-width:3px}.speed-stripes{position:absolute;right:0;bottom:24px;display:flex;gap:9px;transform:skewX(-26deg);opacity:.7}.speed-stripes i{width:36px;height:88px;background:#6cc4f5}.speed-stripes i:nth-child(2){background:#224ba6}.speed-stripes i:nth-child(3){background:#e23d55}
.latest-card,.hk-card,.racing-card{background:linear-gradient(120deg,#142235ee,#0b121eee);border-color:#2b4058;box-shadow:0 12px 40px #0002}.latest-card{border-top:2px solid #4daaff80}.refresh-btn:hover{background:#1684d518}.draw-machine{color:#86c9ff}footer{color:#8394aa}
@media(max-width:650px){.brand{font-size:17px}.hero{padding:58px 0 45px}.hero-emblem{right:-32px;top:55px;opacity:.17;width:150px;height:150px}.hero-emblem b{font-size:22px;top:11px}.hero-emblem i{inset:43px 23px 21px}.hero h1 span{font-size:.48em}.speed-stripes{opacity:.3;bottom:18px}.speed-stripes i{height:42px;width:20px}.hero p{font-size:12px}}
.balls{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:6px}.number-tile{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.number-tile .ball{border-radius:0;width:66px;height:66px;box-shadow:none;font:bold 44px Arial,sans-serif}.number-tile .ball.red{background:#ff0000}.number-tile .ball.blue{background:#0000ff}.number-tile .ball.green{background:#008000}.tile-zodiac{font-size:23px;line-height:1.25;color:var(--text)}.special-plus{align-self:flex-start;line-height:66px;color:#ff334b;font-size:30px;padding:0 5px}.number-tags{display:none}.history-toggle{margin-left:auto}.card-head{gap:12px;flex-wrap:wrap}.history-panel{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.history-panel[hidden]{display:none}.history-panel select{padding:8px;background:#142236;color:white;border:1px solid var(--line);border-radius:5px;margin-right:12px}.history-panel p{color:var(--muted);font-size:13px}.history-entry{padding:12px 0 20px;border-bottom:1px solid var(--line)}.history-panel>.refresh-btn:last-child{margin-top:16px}@media(max-width:650px){.balls{gap:3px}.number-tile{flex:1}.number-tile .ball{width:100%;height:auto;aspect-ratio:1;font-size:clamp(17px,6vw,32px)}.tile-zodiac{font-size:17px}.special-plus{padding:0;line-height:1.6;font-size:22px}.history-panel .balls{max-width:100%}}
.zodiac-analysis{margin:18px 0;padding:18px;border:1px solid #3a6488;background:#112840;border-radius:8px}.zodiac-analysis h3{margin:0 0 12px;font-size:17px}.zodiac-badges{display:flex;flex-wrap:wrap;gap:10px}.zodiac-badges span{display:grid;place-items:center;width:44px;height:44px;border-radius:6px;background:#235780;color:white;font-size:23px}
.omission-item{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:78px}.omission-item small{font-size:13px;color:#bedcf4;white-space:nowrap}
