:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;background:#101820;color:#eef6f3}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 90% 0,#1a3639,#101820 44%);min-height:100vh}main{max-width:850px;margin:auto;padding:20px 22px 36px}header,footer{display:flex;align-items:center;justify-content:space-between;gap:12px}header{font-size:13px;color:#a8c0c0;font-weight:700}.back,footer a{color:#c6ded8;text-decoration:none}.hero{display:flex;align-items:center;justify-content:space-between;padding:28px 0 18px;gap:16px}.hero h1{font-size:clamp(28px,5vw,46px);letter-spacing:-.05em;margin:4px 0 8px}.hero h1 em{font-style:normal;color:#adf362}.hero p{color:#b3c7c7;margin:0}.eyebrow{font-size:11px;letter-spacing:.14em;color:#a9eb80!important;font-weight:800}.hero-ball{width:72px;height:72px;flex:none;border-radius:50%;display:grid;place-items:center;background:#c9f571;color:#203b31;font-size:26px;font-weight:900;box-shadow:0 7px 0 #6ba348}.status{display:grid;gap:4px;background:#1d313b;border:1px solid #385260;border-radius:14px;padding:13px 16px;font-size:13px}.status strong{font-size:15px}.status span{color:#b6cdce}#warning:not(:empty){color:#ffd487}.ticket{margin-top:16px;padding:20px;background:#f7f9ed;color:#1d3030;border-radius:20px;box-shadow:0 12px 35px #0004}.ticket-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ticket-head h2{margin:3px 0;font-size:21px}.ticket .eyebrow{color:#3f754d!important}.games{margin:16px 0;display:grid;gap:8px}.game{display:flex;align-items:center;gap:12px;background:#e6eddd;border-radius:11px;padding:9px}.label{width:90px;flex:none;font-size:12px;font-weight:800}.balls{display:flex;gap:clamp(4px,1.5vw,10px);flex-wrap:nowrap}.ball{width:clamp(29px,6.4vw,43px);height:clamp(29px,6.4vw,43px);display:grid;place-items:center;border-radius:50%;font-size:clamp(13px,3vw,17px);font-weight:900;background:var(--ball);color:var(--ink,#182c31);box-shadow:inset 0 -3px #0002}.note{font-size:12px;color:#546b60}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.actions a{color:#315e42;font-weight:700;font-size:13px}button{font:inherit;font-weight:800;border:0;border-radius:10px;padding:11px 14px;min-height:44px;background:#a6e95d;color:#1b3324;cursor:pointer}button:disabled{opacity:.5;cursor:default}.secondary{background:#d6e2d1}#copy-result{font-size:12px;margin:5px 0 0;color:#315e42}details{margin:18px 0;background:#1b2b35;border:1px solid #354d55;border-radius:14px;padding:15px 17px}summary{cursor:pointer;font-weight:800}details p{line-height:1.65;color:#c0d3d2;font-size:14px}details b{color:#f0f9ee}footer{justify-content:flex-start;flex-wrap:wrap;font-size:13px}footer a{margin-right:12px}@media(max-width:480px){main{padding:14px 14px 24px}.hero{padding:21px 0 14px}.hero-ball{width:54px;height:54px;font-size:21px}.hero p{font-size:13px}.ticket{padding:14px}.label{width:64px;font-size:11px}.game{gap:5px;padding:8px 6px}.ticket-head h2{font-size:18px}button{font-size:13px}.status{padding:10px 12px}.games{margin:10px 0;gap:6px}}

.lotto-disclaimer{padding:10px 12px;border-radius:9px;background:#fff2da;color:#6b4923;font-size:13px;font-weight:700;line-height:1.45}#slip-dialog{width:min(1100px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);border:1px solid #5a757c;border-radius:18px;background:#172a33;color:#edf7f2;padding:18px;box-shadow:0 20px 60px #0009}#slip-dialog::backdrop{background:#000b}.slip-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.slip-header h2{margin:0;font-size:20px}.slip-header p{margin:5px 0;color:#b9cfcc;font-size:13px}.slip-actions{display:flex;align-items:center;gap:12px;margin:12px 0}.slip-actions span{font-size:12px;color:#c4d9d3}.slip-viewport{overflow:auto;max-height:min(65dvh,700px);border:1px solid #49616a;border-radius:10px;background:#e7e4dc}.slip-art{display:block;width:100%;height:auto;min-width:680px}.rotated .slip-art{min-width:0;width:100%}.slip-note{font-size:13px;line-height:1.5;color:#f8dfb5}.slip-note:last-child{margin-bottom:0}@media(max-width:600px){#slip-dialog{padding:13px}.slip-header h2{font-size:18px}.slip-viewport{max-height:58dvh}.rotated .slip-art{min-width:300px}}
