/* เฮงเฮง ลอตโต้ - lotto pages (lobby, bet, yeekee, results, slips). Builds on base.css tokens. */
.lt-flag{width:28px;height:28px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(13,47,143,.18);background:#fff;flex:none}
.lt-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font:500 12px var(--head);white-space:nowrap}
.lt-pill:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.lt-pill.open{background:#e3f7eb;color:var(--green)} .lt-pill.closed{background:#ffe6e9;color:var(--red)} .lt-pill.maint{background:#eef0f5;color:var(--ink-3)}
.lt-cd{font:600 14px var(--head);color:var(--ink);background:var(--bg);border-radius:8px;padding:2px 8px;font-variant-numeric:tabular-nums}
.lt-cd.big{font-size:20px;background:var(--ink);color:#fff;padding:4px 12px}
.lt-num{font-family:var(--head);font-weight:600;letter-spacing:1px}
.lt-h{font-size:18px;margin:0 0 10px}
.lt-band-s{padding-bottom:40px} .lt-band-s h1{margin:0}
.lt-lobby,.lt-results,.lt-rates{padding-bottom:10px}
.lt-tabs{margin-bottom:16px;position:relative;z-index:2}
.lt-tabs small{color:var(--ink-3);font-size:12px}
.lt-grp{margin-bottom:22px}
.lt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.lt-card{position:relative;background:#fff;border-radius:var(--r);box-shadow:var(--sh);border:1.5px solid transparent;transition:transform .12s,border-color .12s}
.lt-card:hover{transform:translateY(-2px);border-color:var(--blue-3)}
.lt-card.maint{opacity:.75}
.lt-card-link{display:flex;flex-direction:column;gap:10px;padding:14px;color:var(--ink)}
.lt-card-top{display:flex;align-items:center;gap:10px;padding-right:34px}
.lt-card-top .lt-flag{width:40px;height:40px}
.lt-card-name{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.lt-card-name b{font:600 16px var(--head);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lt-card-name small{color:var(--ink-3);font-size:13px}
.lt-card-mid{font-size:13px;color:var(--ink-2)} .lt-last b{font-family:var(--head);color:var(--blue);letter-spacing:1px}
.lt-card-bot{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed var(--line);padding-top:10px}
.lt-heart{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;border:0;background:var(--bg);display:grid;place-items:center;color:#b6bfd6}
.lt-heart svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.lt-heart.on{color:var(--red);background:#ffe6e9} .lt-heart.on svg{fill:var(--red)}
.lt-fav-sec{margin-bottom:22px}
.lt-seo{margin:18px 0}
/* results */
.lt-res{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:flex-end}
.lt-res-i{display:flex;flex-direction:column;gap:3px} .lt-res-i small{font:500 12px var(--head);color:var(--ink-3)}
.lt-res-i.wide{flex-basis:100%}
.lt-res .digits b{width:28px;height:34px;font-size:19px}
.lt-rgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.lt-rcard header{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.lt-rcard h3{margin:0;font-size:16px} .lt-rcard h3 a{color:var(--ink)} .lt-rcard header small{color:var(--ink-3)}
.lt-rcard footer{display:flex;justify-content:space-between;margin-top:12px;padding-top:10px;border-top:1px dashed var(--line);font:500 14px var(--head)}
.lt-hero{display:flex;gap:14px;align-items:center;margin-bottom:14px} .lt-hero small{display:block;color:var(--ink-3);margin-bottom:6px}
.lt-htbl td{white-space:nowrap}
.lt-pager{display:flex;justify-content:center;align-items:center;gap:12px;margin:14px 0}
.lt-note{font-size:13px;margin-top:6px}
/* bet page */
.lt-bet>.card,.lt-bet-cols{margin-bottom:12px}
.lt-drawbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;position:relative;z-index:2}
.lt-drawbar .lt-flag{width:44px;height:44px}
.lt-drawbar-t{flex:1;display:flex;flex-direction:column;line-height:1.3;min-width:150px} .lt-drawbar-t b{font:600 18px var(--head)} .lt-drawbar-t small{color:var(--ink-3)}
.lt-drawbar-r{display:flex;flex-direction:column;align-items:flex-end;gap:4px} .lt-drawbar-r small{color:var(--ink-3);font-size:12px}
.lt-yk-link{display:flex;justify-content:space-between;color:var(--ink);background:linear-gradient(90deg,#fff7e0,#fff)}
.lt-bet-cols{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:900px){.lt-bet-cols{grid-template-columns:1.1fr 1fr;align-items:start}.lt-slip{position:sticky;top:76px}}
.lt-kinds{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-bottom:12px}
.lt-kinds button,.lt-size button{display:flex;flex-direction:column;align-items:center;padding:8px 6px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--ink-2)}
.lt-kinds b{font:600 14px var(--head)} .lt-kinds small{font-size:12px;color:var(--ink-3)}
.lt-kinds button.on,.lt-size button.on{border-color:var(--blue);background:var(--blue-3);color:var(--blue)}
.lt-kinds button.on small{color:var(--blue)}
.lt-size{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px} .lt-size button{font:600 14px var(--head)}
.lt-entry{display:flex;gap:8px;margin-bottom:10px}
.lt-num-in{font:600 24px var(--head);letter-spacing:6px;text-align:center}
.lt-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.lt-pad button{padding:12px 0;border-radius:12px;border:0;background:var(--bg);font:600 20px var(--head);color:var(--ink)}
.lt-pad button:active{background:var(--blue-3)} .lt-pad .alt{font-size:15px;color:var(--red)} .lt-pad .ok{background:var(--blue);color:#fff;font-size:16px}
.lt-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.lt-tools button{padding:9px 4px;border-radius:10px;border:1.5px dashed #b9c8f0;background:#f8faff;font:500 14px var(--head);color:var(--blue)}
.lt-hint{font-size:12px;margin:8px 0 0}
.lt-slip-h{display:flex;justify-content:space-between;align-items:center}
.lt-amt{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0 10px;font:500 14px var(--head)}
.lt-amt label{display:flex;align-items:center;gap:8px} .lt-amt input{width:96px;padding:7px 10px}
.lt-quick{display:flex;gap:4px} .lt-quick button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:4px 8px;font:500 13px var(--head)}
.lt-lines{list-style:none;margin:0;padding:0;max-height:420px;overflow:auto;border-top:1px solid var(--line)}
.lt-lines li{display:grid;grid-template-columns:1fr auto auto;gap:4px 8px;align-items:center;padding:8px 2px;border-bottom:1px solid var(--line);font-size:14px}
.lt-lines li.empty{display:block}
.lt-lines .k{color:var(--ink-3);font-size:12px;display:block} .lt-lines .n{font:600 18px var(--head);letter-spacing:2px;color:var(--blue)}
.lt-lines input{width:80px;padding:5px 8px;border:1.5px solid var(--line);border-radius:8px;font:inherit}
.lt-lines .x{border:0;background:#ffe6e9;color:var(--red);width:28px;height:28px;border-radius:50%}
.lt-lines .r{grid-column:1/-1;font-size:12px;color:var(--ink-3)} .lt-lines .r em{color:var(--red);font-style:normal}
.lt-lines li.bad{background:#fff5f6}
.lt-errors{background:#fff5f6;border:1px solid #ffc7cd;color:var(--red);border-radius:10px;padding:8px 12px;margin:10px 0;font-size:14px}
.lt-total{display:flex;justify-content:space-between;gap:10px;margin:12px 0;font:500 15px var(--head)} .lt-total b{color:var(--blue)}
.lt-chips{display:flex;flex-wrap:wrap;gap:6px}
.lt-confirm{max-height:46vh;overflow:auto;margin:8px 0} .lt-confirm td{padding:5px 8px}
/* yeekee */
.lt-yk-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px;position:relative;z-index:2}
.lt-yk-head small{color:var(--ink-3);font:500 14px var(--head)}
.lt-yk-stats{display:flex;flex-direction:column;align-items:flex-end;font-size:14px} .lt-yk-stats b{font-family:var(--head);color:var(--blue)}
.lt-yk-cols{display:grid;gap:12px;margin-bottom:12px}
@media (min-width:860px){.lt-yk-cols{grid-template-columns:1fr 1.2fr;align-items:start}}
.lt-yk-shoot form{display:flex;gap:8px;margin-bottom:6px} .lt-yk-shoot input{flex:1;min-width:0}
.lt-yk-commit{margin-top:12px;font-size:12px;color:var(--ink-3)} .lt-yk-commit code{display:block;word-break:break-all;background:var(--bg);padding:6px 8px;border-radius:8px;font-size:11px;color:var(--ink-2)}
.lt-yk-result{margin-top:12px;padding:12px;border-radius:12px;background:linear-gradient(135deg,#fff7e0,#fff);border:1px solid #ffe3a1}
.lt-yk-result .ok{color:var(--green);font-weight:600} .lt-yk-result .bad{color:var(--red);font-weight:600}
.lt-shots{list-style:none;margin:0;padding:0;max-height:460px;overflow:auto;counter-reset:none}
.lt-shots li{display:flex;justify-content:space-between;align-items:center;padding:7px 4px;border-bottom:1px solid var(--line);font-size:14px;animation:ltIn .25s ease-out}
.lt-shots li i{font-style:normal;color:var(--ink-3);font-size:12px;width:34px} .lt-shots li span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lt-shots li b{font:600 17px var(--head);letter-spacing:2px;color:var(--ink)}
.lt-shots li.me b{color:var(--blue)} .lt-shots li.house{background:#fff7e0} .lt-shots li.r16{background:#ffe6e9}
@keyframes ltIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* my slips */
.lt-my{padding-top:16px} .lt-slipd{padding-top:16px}
.lt-slipl{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.lt-slipc{display:block;color:var(--ink)}
.lt-slipc-t{display:flex;align-items:center;gap:10px} .lt-slipc-t div{flex:1;display:flex;flex-direction:column;line-height:1.3;min-width:0} .lt-slipc-t small{color:var(--ink-3);font-size:12px}
.lt-slipc-b{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-top:10px;padding-top:8px;border-top:1px dashed var(--line);font-size:14px} .lt-slipc-b small{color:var(--ink-3)}
.lt-slipd>*{margin-bottom:12px}
.lt-slipd-h{display:flex;align-items:center;gap:12px} .lt-slipd-h div{flex:1;display:flex;flex-direction:column;line-height:1.4} .lt-slipd-h b{font:600 17px var(--head)} .lt-slipd-h small{color:var(--ink-3)}
.band .wrap{position:relative}
.lt-band-art{position:absolute;right:12px;top:6px;width:110px;height:auto;filter:drop-shadow(0 8px 18px rgba(0,0,0,.25));pointer-events:none}
.band:has(.lt-band-art) h1,.band:has(.lt-band-art) p{margin-right:120px}
@media (min-width:760px){.lt-band-art{width:160px;top:-6px}.band:has(.lt-band-art) h1,.band:has(.lt-band-art) p{margin-right:180px}}
.lt-wonbox{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#fff7e0,#fff)} .lt-wonbox img{width:90px}
.lt-wonbox div{display:flex;flex-direction:column} .lt-wonbox b{font:600 18px var(--head);color:var(--green)}
.lt-results,.lt-rates{padding-top:44px}

/* yeekee shot badges (bot = no player behind the shot) */
.lt-badge{display:inline-block;margin-left:6px;padding:0 6px;border-radius:6px;font:500 10.5px/1.6 var(--head);font-style:normal;vertical-align:1px}
.lt-badge.bot{background:#eef0f5;color:var(--ink-3)}
.lt-badge.house{background:#fff4d6;color:#a86d00}
/* how-to pages */
.lt-howto ol.steps{counter-reset:s;list-style:none;padding:0;margin:0 0 1em}
.lt-howto ol.steps>li{counter-increment:s;position:relative;padding:4px 0 10px 44px}
.lt-howto ol.steps>li:before{content:counter(s);position:absolute;left:0;top:2px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font:600 15px var(--head)}
.lt-howto .ex{background:var(--blue-3);border-radius:var(--r-s);padding:10px 14px;margin:.6em 0}
.lt-howlinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}