/* MiKO News lottery history: contextual full-results links per draw.
   Shares the existing blue/white/pink visual identity and does not change prizes. */
.miko-results .miko-lotto-history .miko-lotto-history-head{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:wrap!important;gap:5px 14px!important;padding:0 12px 10px!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-head h3{
 margin:0!important;line-height:1.45!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-head-note{
 font-size:11px!important;font-weight:700!important;line-height:1.5!important;color:#657f9f!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-row{
 display:grid!important;grid-template-columns:minmax(76px,94px) repeat(4,minmax(0,1fr)) minmax(138px,160px)!important;
 align-items:center!important;gap:8px!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all{
 box-sizing:border-box!important;position:relative!important;z-index:6!important;display:inline-flex!important;
 grid-column:6!important;align-items:center!important;justify-content:center!important;
 gap:6px!important;min-width:0!important;min-height:43px!important;width:100%!important;
 margin:0!important;padding:9px 10px!important;
 border:1px solid #b8d7f5!important;border-radius:12px!important;
 background:radial-gradient(circle at 100% 0%,rgba(252,87,156,.16),transparent 48%),linear-gradient(120deg,#f1f8ff,#e7f3ff)!important;
 box-shadow:0 3px 9px rgba(18,80,156,.09)!important;color:#175fae!important;-webkit-text-fill-color:#175fae!important;
 font:800 11.5px/1.4 "Noto Sans Thai","Leelawadee UI",Tahoma,sans-serif!important;
 text-align:center!important;text-decoration:none!important;white-space:normal!important;
 overflow-wrap:anywhere!important;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all svg{
 display:block!important;flex:0 0 19px!important;width:19px!important;height:19px!important;
 stroke:#196dc6!important;stroke-width:1.9!important;fill:none!important;pointer-events:none!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-row .miko-history-view-arrow{
 flex:none!important;margin-left:1px!important;font-size:20px!important;line-height:1!important;
 font-weight:850!important;color:#ef4386!important;-webkit-text-fill-color:#ef4386!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all:hover{
 border-color:#75b7f1!important;
 background:radial-gradient(circle at 100% 0%,rgba(252,87,156,.2),transparent 48%),linear-gradient(120deg,#e6f5ff,#dceeff)!important;
 box-shadow:0 6px 14px rgba(18,80,156,.14)!important;transform:translateY(-1px)!important;
 text-decoration:none!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all:focus-visible{
 outline:3px solid #368dde!important;outline-offset:3px!important;
}
.miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all:active{transform:translateY(0)!important}
.miko-results .miko-lotto-history .miko-lotto-history-notice{
 margin:8px 0 0!important;color:#7185a0!important;font-size:10px!important;line-height:1.65!important;
}
@media(max-width:1090px){
 .miko-results .miko-lotto-history .miko-lotto-history-row{
  grid-template-columns:minmax(76px,94px) repeat(4,minmax(0,1fr))!important;
 }
 .miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all{
  grid-column:1 / -1!important;justify-self:end!important;width:auto!important;min-width:160px!important;
 }
}
@media(max-width:650px){
 .miko-results .miko-lotto-history .miko-lotto-history-row{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;padding:12px!important;
 }
 .miko-results .miko-lotto-history .miko-lotto-history-row > time{grid-column:1 / -1!important}
 .miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all{
  grid-column:1 / -1!important;justify-self:stretch!important;width:100%!important;
  min-width:0!important;min-height:44px!important;
 }
 .miko-results .miko-lotto-history .miko-lotto-history-head-note{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
 .miko-results .miko-lotto-history .miko-lotto-history-row > a.miko-history-view-all{
  transition:none!important;transform:none!important;
 }
}