/* MiKO News · compact search-bar checker + complete L6 prize table.
 * Purposefully scoped so the homepage lottery block keeps its original look.
 */
.miko-lottery-hub--check .miko-lhub-embedded {
  padding:5px!important;
  border-radius:17px!important;
  border-color:#f4d5e8!important;
  background:linear-gradient(120deg,#fff9fc,#f2f8ff)!important;
  box-shadow:0 8px 22px rgba(39,91,165,.06)!important;
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-results {
  position:relative!important;
  min-width:0!important;
  padding:5px!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-results-top,
.miko-lottery-hub--check .miko-lhub-embedded .miko-prizes,
.miko-lottery-hub--check .miko-lhub-embedded .miko-lotto-art,
.miko-lottery-hub--check .miko-lhub-embedded .miko-lotto-numbers-bg,
.miko-lottery-hub--check .miko-lhub-embedded .miko-lotto-shortcuts,
.miko-lottery-hub--check .miko-lhub-embedded .miko-lotto-history,
.miko-lottery-hub--check .miko-lhub-embedded .miko-results-footer {
  display:none!important;
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-results .miko-checker {
  display:grid!important;
  grid-template-columns:minmax(160px,290px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:clamp(8px,1.3vw,16px)!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:6px!important;
  border:0!important;border-radius:12px!important;
  background:rgba(255,255,255,.83)!important;
  box-shadow:none!important;
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-intro {
  display:flex!important;gap:9px!important;align-items:center!important;min-width:0!important;
  padding:2px 4px!important;margin:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-emblem {
  flex:0 0 37px!important;width:37px!important;height:37px!important;
  border-radius:11px!important;background:#ffe8f2!important;
  display:grid!important;place-items:center!important;
  color:#e72c87!important
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-emblem svg {
  width:19px!important;height:19px!important;stroke:currentColor!important
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-intro>div {min-width:0!important}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-intro label {
  display:block!important;color:#183a67!important;font-size:clamp(12px,1.1vw,15px)!important;
  font-weight:900!important;line-height:1.4!important;margin:0 0 2px!important
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-intro p {
  margin:0!important;max-width:100%!important;
  color:#7991af!important;font-size:10px!important;line-height:1.5!important;
  overflow-wrap:anywhere!important;
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(120px,205px)!important;
  align-items:stretch!important;gap:9px!important;width:100%!important;
  min-width:0!important;max-width:100%!important;
  background:transparent!important;border:0!important;padding:0!important;margin:0!important;
}
.miko-lottery-hub--check .miko-lhub-embedded #miko-ticket-number {
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:48px!important;min-height:48px!important;
  border:1px solid #bed8f4!important;border-radius:11px!important;
  padding:0 16px!important;background:#fff!important;
  color:#173763!important;font-size:16px!important;font-weight:800!important;
  letter-spacing:.055em!important;font-variant-numeric:tabular-nums!important;
  box-shadow:inset 0 1px 2px rgba(42,107,178,.03)!important;
  -webkit-appearance:none!important;appearance:none!important;
}
.miko-lottery-hub--check .miko-lhub-embedded #miko-ticket-number:focus {
  outline:2px solid #83bcf9!important;outline-offset:1px!important;border-color:#489def!important;
}
.miko-lottery-hub--check .miko-lhub-embedded #miko-ticket-number::placeholder {
  color:#8995a6!important;font-size:13px!important;font-weight:650!important;letter-spacing:0!important
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls>button {
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;min-width:0!important;min-height:48px!important;height:48px!important;
  width:100%!important;max-width:100%!important;padding:10px 14px!important;
  border:0!important;border-radius:11px!important;
  background:linear-gradient(125deg,#ff338d,#e50072)!important;
  box-shadow:0 6px 17px rgba(233,34,118,.17)!important;
  color:#fff!important;font-size:13px!important;font-weight:900!important;
  cursor:pointer!important;white-space:nowrap!important;
  transition:filter .18s,transform .18s!important;
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls>button:hover {
  filter:brightness(1.06)!important;transform:translateY(-1px)!important
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls>button svg {
  flex:0 0 17px!important;width:17px!important;height:17px!important;
  stroke:#fff!important;fill:none!important
}
.miko-lottery-hub--check .miko-lhub-embedded .miko-checker-output {grid-column:1/-1}
.miko-lottery-hub--check .miko-lhub-embedded .miko-check-modal[hidden] {display:none!important}

/* Full results board */
.miko-full-board {
  scroll-margin-top:85px;
  margin:16px auto 10px;max-width:100%;min-width:0;
  padding:clamp(14px,2.4vw,27px);
  border:1px solid #cfe3f7;border-radius:22px;
  background:linear-gradient(140deg,#fafdff 0%,#fff 65%,#fff8fc);
  box-shadow:0 10px 26px rgba(24,80,143,.065);
  color:#193e6b;
}
.miko-full-board * {box-sizing:border-box}
.miko-full-board__head {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.miko-full-board__heading {flex:1;min-width:0}
.miko-full-board__eyebrow {color:#d22978;font-size:10px;font-weight:900;letter-spacing:.08em}
.miko-full-board__head h2 {margin:6px 0 6px!important;color:#173d72!important;font-size:clamp(22px,2.5vw,32px)!important;line-height:1.35!important;font-weight:950!important}
.miko-full-board__head h2 em {color:#ea2c85;font-style:normal}
.miko-full-board__heading>p {margin:0!important;color:#6c86a3!important;font-size:12px!important;line-height:1.7!important}
.miko-full-board__draw {flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:44%;text-align:right;padding:10px 15px;border-radius:13px;background:#eaf5ff;border:1px solid #cce5fe}
.miko-full-board__draw span {color:#6d8caa;font-size:10px;font-weight:750}
.miko-full-board__draw strong {color:#18528a;font-size:14px;font-weight:900;line-height:1.3}
.miko-full-board__draw small {color:#24877d;font-size:10px;line-height:1.4}
.miko-full-board__status {padding:10px 13px;margin-bottom:14px;border:1px solid #d1eadf;background:#effbf5;border-radius:11px;color:#377965;font-size:11px;font-weight:750;line-height:1.65}
.miko-full-board.is-incomplete .miko-full-board__status {background:#fff9ee;border-color:#eddcb6;color:#946b31}
.miko-full-board__top {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:13px;align-items:stretch;margin-bottom:14px}
.miko-full-prize {position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:22px 15px;border:1.5px solid #e6c272;border-radius:17px;background:
  radial-gradient(ellipse at 20% 0%,rgba(255,255,255,.85),transparent 58%),
  linear-gradient(115deg,#fffbe7,#ffebae 65%,#ffe4a8);
  box-shadow:0 6px 18px rgba(197,139,37,.11);text-align:center
}
.miko-full-prize__ornament {position:absolute;left:14px;top:8px;color:rgba(185,131,29,.26);font-size:55px}
.miko-full-prize__top {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px 10px;color:#77551a;z-index:1}
.miko-full-prize__top>span {font-weight:900;font-size:15px}
.miko-full-prize__top>small {font-size:11px;color:#a07424}
.miko-full-prize>strong {position:relative;color:#b91651;font:950 clamp(37px,4.5vw,60px)/1.12 "Poppins",Tahoma,sans-serif;letter-spacing:.055em;font-variant-numeric:tabular-nums;text-shadow:0 2px rgba(255,255,255,.8);overflow-wrap:anywhere}
.miko-full-prize__hint {font-size:10px;color:#896021;font-weight:800}
.miko-full-board__minors {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.miko-full-minor {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;padding:14px 9px;border:1px solid #cce5fb;border-radius:15px;background:linear-gradient(160deg,#fff,#eaf5ff);text-align:center}
.miko-full-minor--two {border-color:#f2cbe4;background:linear-gradient(155deg,#fff,#fff0f9)}
.miko-full-minor>span {color:#37618c;font-size:11px;font-weight:850;line-height:1.4}
.miko-full-minor>strong {color:#164c93;font:900 clamp(13px,1.3vw,19px)/1.45 "Poppins",Tahoma,sans-serif;white-space:normal;overflow-wrap:anywhere}
.miko-full-minor--two strong {color:#d6217d}
.miko-full-minor>small {color:#7b95ac;font-size:9px;line-height:1.3}
.miko-full-board__groups {display:grid;gap:12px;min-width:0}
.miko-full-group {min-width:0;overflow:hidden;border:1px solid #d7e7fa;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(30,84,156,.04)}
.miko-full-group__heading {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:linear-gradient(105deg,#f1f7ff,#e3f0ff);border-bottom:1px solid #d7e7fa}
.miko-full-group--second .miko-full-group__heading {background:linear-gradient(100deg,#f2f6ff,#e5efff)}
.miko-full-group--third .miko-full-group__heading {background:linear-gradient(100deg,#eff9ff,#dfeeff)}
.miko-full-group--fourth .miko-full-group__heading {background:linear-gradient(100deg,#f0f7ff,#e5f0ff)}
.miko-full-group--fifth .miko-full-group__heading {background:linear-gradient(100deg,#f7f1ff,#eee4ff);border-color:#e5ddf3}
.miko-full-group--adjacent .miko-full-group__heading {background:linear-gradient(100deg,#fff8e6,#ffedc4);border-color:#f1dfae}
.miko-full-group__heading>div {display:flex;align-items:center;gap:11px;min-width:0}
.miko-full-group__icon {display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:10px;background:#fff;color:#2362aa;font-weight:950;font-size:21px;border:1px solid rgba(132,172,221,.25)}
.miko-full-group--adjacent .miko-full-group__icon {color:#a87917}
.miko-full-group--fifth .miko-full-group__icon {color:#7d4dca}
.miko-full-group__heading h3 {margin:0!important;color:#214c7b!important;font-size:14px!important;font-weight:900!important;line-height:1.4!important}
.miko-full-group__heading p {margin:2px 0 0!important;color:#6481a3!important;font-size:11px!important;line-height:1.4!important}
.miko-full-group__count {flex:0 0 auto;padding:6px 9px;border-radius:100px;background:#fff;color:#557eb3;font-size:10px;font-weight:900;white-space:nowrap}
.miko-full-group__numbers {display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;min-width:0;max-width:100%;padding:13px}
.miko-full-group__numbers--adjacent {grid-template-columns:repeat(2,minmax(0,1fr))}
.miko-full-group__numbers--second {grid-template-columns:repeat(5,minmax(0,1fr))}
.miko-full-group__numbers--third {grid-template-columns:repeat(5,minmax(0,1fr))}
.miko-full-number {display:grid;place-items:center;min-width:0;max-width:100%;min-height:34px;padding:7px 3px;border:1px solid #e1eaf6;border-radius:8px;background:#f9fcff;color:#1d4a80;font:850 clamp(11px,.95vw,15px)/1.1 "Poppins",Tahoma,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.012em;white-space:nowrap}
.miko-full-number:nth-child(even) {background:#f2f7ff}
.miko-full-group__unavailable {grid-column:1/-1;padding:14px 12px!important;margin:0!important;color:#98733e!important;font-size:12px!important;background:#fffaf2;border-radius:8px;line-height:1.6!important;text-align:center}
.miko-full-number.is-hit,.miko-full-prize>strong.is-hit,.miko-full-minor>strong.is-hit {color:#a05b07!important;background:linear-gradient(125deg,#fff3b8,#fff9db)!important;border-color:#e4ae3b!important;box-shadow:0 0 0 3px rgba(242,196,81,.2)!important;border-radius:7px}
.miko-full-board__bottom {display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px;padding:15px;border-radius:13px;background:#f2f8ff;border:1px solid #d8e8f7}
.miko-full-board__bottom>div:first-child {min-width:0}
.miko-full-board__bottom strong {display:block;color:#254d7c;font-size:12px}
.miko-full-board__bottom p {margin:4px 0 0!important;color:#6f86a3!important;font-size:11px!important;line-height:1.7!important}
.miko-full-board__buttons {display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;flex:0 0 auto}
.miko-full-board__link {display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:10px 13px;border:1px solid #c5dbf3;background:#fff;border-radius:9px;color:#1b5dab!important;font-size:11px;font-weight:900;white-space:nowrap}
.miko-full-board__link--official {color:#fff!important;background:#1966b9;border-color:#1966b9}
.miko-full-board__link:hover {filter:brightness(1.05)}
body > .miko-check-modal .miko-check-modal-buttons .miko-full-scroll-btn {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:40px!important;padding:9px 13px!important;border-radius:11px!important;
  border:1px solid #afd4fd!important;background:#e8f4ff!important;color:#1a5da5!important;
  font:900 11px/1.45 "Noto Sans Thai",Tahoma,sans-serif!important;cursor:pointer!important;
}
@media(max-width:1024px){
  .miko-full-group__numbers {grid-template-columns:repeat(7,minmax(0,1fr))}
  .miko-full-group__numbers--second,.miko-full-group__numbers--third {grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:760px){
  .miko-full-board__top {grid-template-columns:1fr}
  .miko-full-prize {padding:18px 12px}
  .miko-full-prize>strong {font-size:clamp(39px,8vw,55px)}
  .miko-full-board__minors {grid-template-columns:repeat(3,minmax(0,1fr))}
  .miko-full-group__numbers {grid-template-columns:repeat(5,minmax(0,1fr))}
  .miko-full-group__numbers--adjacent {grid-template-columns:repeat(2,minmax(0,1fr))}
  .miko-full-group__numbers--second,.miko-full-group__numbers--third {grid-template-columns:repeat(5,minmax(0,1fr))}
  .miko-full-number {font-size:13px}
  .miko-full-board__bottom {flex-direction:column;align-items:stretch}
  .miko-full-board__buttons {justify-content:flex-start}
}
@media(max-width:620px){
  .miko-lottery-hub--check .miko-lhub-embedded .miko-results .miko-checker {grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
  .miko-lottery-hub--check .miko-lhub-embedded .miko-checker-intro {padding:2px 4px!important}
  .miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls {grid-template-columns:minmax(0,1fr) minmax(110px,.48fr)!important;gap:6px!important}
  .miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls>button {font-size:11px!important;padding-inline:8px!important}
  .miko-lottery-hub--check .miko-lhub-embedded #miko-ticket-number {height:45px!important;min-height:45px!important;padding-inline:12px!important}
  .miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls>button {height:45px!important;min-height:45px!important}
  .miko-full-board {margin-top:12px;padding:14px;border-radius:17px}
  .miko-full-board__draw {padding:8px 10px}
  .miko-full-group__heading {padding:10px 11px}
  .miko-full-group__numbers {grid-template-columns:repeat(4,minmax(0,1fr));padding:10px;gap:5px}
  .miko-full-group__numbers--adjacent {grid-template-columns:repeat(2,minmax(0,1fr))}
  .miko-full-group__numbers--second,.miko-full-group__numbers--third {grid-template-columns:repeat(4,minmax(0,1fr))}
  .miko-full-number {font-size:12px;min-height:32px}
}
@media(max-width:395px){
  .miko-full-board__head {flex-direction:column;gap:8px}
  .miko-full-board__draw {max-width:100%;align-items:flex-start;text-align:left;width:100%}
  .miko-full-board__minors {grid-template-columns:repeat(2,minmax(0,1fr))}
  .miko-full-minor--two {grid-column:1/-1}
  .miko-full-group__numbers,.miko-full-group__numbers--second,.miko-full-group__numbers--third {grid-template-columns:repeat(3,minmax(0,1fr))}
  .miko-full-group__numbers--adjacent {grid-template-columns:repeat(2,minmax(0,1fr))}
  .miko-full-number {font-size:13px}
}
@media(max-width:330px){
  .miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls {grid-template-columns:minmax(0,1fr)!important}
  .miko-lottery-hub--check .miko-lhub-embedded .miko-checker-controls>button {width:100%!important}
  .miko-full-board {padding:10px}
  .miko-full-board__head h2 {font-size:22px!important}
  .miko-full-prize>strong {font-size:35px}
  .miko-full-group__heading h3 {font-size:12px!important}
  .miko-full-group__heading p {font-size:10px!important}
  .miko-full-group__count {font-size:9px}
  .miko-full-number {font-size:12px}
  .miko-full-board__buttons {flex-direction:column;align-items:stretch}
}
@media(prefers-reduced-motion:reduce){
  .miko-full-number,.miko-full-prize {animation:none!important;transition:none!important}
}
