/*
Theme Name: Minh Lottery Results
Theme URI: https://example.com/
Author: Minh
Description: Giao diện hiển thị kết quả xổ số, đọc dữ liệu từ Minh Lottery Checker Core.
Version: 1.28.51
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: minh-lottery-results
*/

:root{
  --mlr-red:#b80d0d;
  --mlr-red-dark:#930808;
  --mlr-yellow:#ffd52a;
  --mlr-blue:#0787c1;
  --mlr-bg:#eef1f5;
  --mlr-card:#ffffff;
  --mlr-border:#d7dde6;
  --mlr-text:#152033;
  --mlr-muted:#6b7280;
  --mlr-shadow:0 12px 32px rgba(15,23,42,.09);
  --mlr-max-width:1040px;
  --mlr-number-size:22px;
  --mlr-special-size:31px;
  --mlr-mobile-number-size:19px;
  --mlr-mobile-special-size:27px;
  --mlr-radius:16px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;min-height:100%}

body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:linear-gradient(180deg,#f8fafc 0,var(--mlr-bg) 100%);
  color:var(--mlr-text);
  -webkit-font-smoothing:antialiased;
}

button,input{font:inherit}
.mlr-site{min-height:100vh}

.mlr-top{
  position:sticky;
  top:0;
  z-index:20;
  background:linear-gradient(135deg,#111827,#1f2937);
  color:#fff;
  box-shadow:0 5px 20px rgba(15,23,42,.15);
}

.mlr-top-inner{
  max-width:var(--mlr-max-width);
  min-height:64px;
  margin:0 auto;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.mlr-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:20px;
  font-weight:850;
}

.mlr-brand::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--mlr-red);
  box-shadow:0 0 0 5px color-mix(in srgb,var(--mlr-red) 18%,transparent);
}

.mlr-content{
  max-width:var(--mlr-max-width);
  margin:0 auto;
  padding:22px 16px 46px;
}

.mlr-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  padding:12px;
  background:rgba(255,255,255,.9);
  border:1px solid #e2e8f0;
  border-radius:14px;
  box-shadow:0 4px 16px rgba(15,23,42,.045);
}

.mlr-tabs{
  display:flex;
  gap:7px;
}

.mlr-tabs button{
  min-height:40px;
  border:1px solid #d8dee8;
  background:#fff;
  padding:0 14px;
  border-radius:10px;
  color:#344054;
  cursor:pointer;
  font-weight:750;
  transition:.18s ease;
}

.mlr-tabs button:hover{
  border-color:var(--mlr-red);
  color:var(--mlr-red);
}

.mlr-tabs button.active{
  background:var(--mlr-red);
  border-color:var(--mlr-red);
  color:#fff;
  box-shadow:0 5px 14px color-mix(in srgb,var(--mlr-red) 22%,transparent);
}

.mlr-date-input{
  min-height:40px;
  min-width:160px;
  border:1px solid #d8dee8;
  border-radius:10px;
  background:#fff;
  color:#101828;
  padding:0 12px;
  outline:none;
}

.mlr-date-input:focus{
  border-color:#8cb6ff;
  box-shadow:0 0 0 3px rgba(59,130,246,.12);
}

.mlr-container{
  transition:opacity .15s ease;
}

.mlr-container.is-loading{
  opacity:.48;
  pointer-events:none;
}

.mlr-board{
  overflow:hidden;
  border:1px solid var(--mlr-border);
  border-radius:var(--mlr-radius);
  background:#fff;
  box-shadow:var(--mlr-shadow);
}

.mlr-header{
  display:flex;
  justify-content:space-between;
  align-items:stretch;
  background:linear-gradient(135deg,var(--mlr-red-dark),var(--mlr-red));
  color:#fff;
}

.mlr-title{
  display:flex;
  align-items:center;
  padding:15px 18px;
  font-size:18px;
  font-weight:900;
}

.mlr-date-box{
  min-width:88px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#172033;
  border-left:1px solid rgba(255,255,255,.13);
}

.mlr-date-box strong{font-size:16px;line-height:1}
.mlr-date-box span{margin-top:5px;font-size:11px;opacity:.82}

.mlr-subbar{
  background:var(--mlr-yellow);
  padding:8px 18px;
  color:#7c2d12;
  font-size:12px;
  font-weight:800;
  font-style:italic;
  border-bottom:1px solid color-mix(in srgb,var(--mlr-yellow) 75%,#9a7600);
}

.mlr-scroll{overflow-x:auto}

.mlr-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.mlr-table th,
.mlr-table td{
  border-right:1px solid var(--mlr-border);
  border-bottom:1px solid var(--mlr-border);
  text-align:center;
  vertical-align:middle;
  padding:7px 8px;
}

.mlr-table th:last-child,
.mlr-table td:last-child{border-right:0}

.mlr-table thead th{
  padding:10px 8px;
  background:#fbfcfe;
  color:var(--mlr-red);
  font-size:15px;
  font-weight:900;
}

.mlr-prize{
  width:78px;
  text-align:center!important;
  background:#fbfcfe;
  color:#26364a!important;
  font-weight:900;
}

.mlr-number{
  display:block;
  color:#111827;
  font-size:var(--mlr-number-size);
  line-height:1.18;
  font-weight:850;
  letter-spacing:.35px;
}

.mlr-row-g8 .mlr-number,
.mlr-row-db .mlr-number{
  color:var(--mlr-red);
  font-size:var(--mlr-special-size);
  font-weight:950;
}

.mlr-row-g7 .mlr-number{color:var(--mlr-blue)}

.mlr-empty{
  padding:50px 18px;
  text-align:center;
  color:var(--mlr-muted);
}

.mlr-actions{
  display:flex;
  justify-content:center;
  gap:10px;
  padding:14px;
  background:#f8fafc;
  border-top:1px solid #e8edf3;
}

.mlr-btn{
  min-height:40px;
  border:0;
  border-radius:10px;
  padding:0 16px;
  color:#fff;
  background:#0d9ecf;
  font-weight:800;
  cursor:pointer;
}

.mlr-btn.mlr-print{background:var(--mlr-red)}



/* MOBILE */
@media(max-width:760px){
  .mlr-top{position:static}

  .mlr-top-inner{
    min-height:54px;
    padding:0 10px;
  }

  .mlr-brand{
    font-size:16px;
  }

  .mlr-content{
    padding:8px 4px 24px;
  }

  .mlr-toolbar{
    margin-bottom:8px;
    padding:7px;
    border-radius:9px;
    flex-direction:column;
    align-items:stretch;
    gap:7px;
  }

  .mlr-tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
  }

  .mlr-tabs button{
    min-height:36px;
    padding:0 3px;
    font-size:11px;
    border-radius:7px;
  }

  .mlr-date-input{
    width:100%;
    min-width:0;
    min-height:36px;
    font-size:13px;
  }

  .mlr-board{
    width:100%;
    border-radius:8px;
    box-shadow:0 4px 14px rgba(15,23,42,.07);
  }

  .mlr-header{
    min-height:42px;
  }

  .mlr-title{
    padding:10px 8px;
    font-size:12px;
  }

  .mlr-date-box{
    min-width:60px;
  }

  .mlr-date-box strong{
    font-size:12px;
  }

  .mlr-date-box span{
    margin-top:3px;
    font-size:9px;
  }

  .mlr-subbar{
    padding:5px 8px;
    font-size:9px;
  }

  .mlr-scroll{
    width:100%;
    overflow-x:hidden;
  }

  .mlr-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
  }

  .mlr-table th,
  .mlr-table td{
    padding:3px 2px;
    border-right:1px solid var(--mlr-border);
    border-bottom:1px solid var(--mlr-border);
  }

  .mlr-table thead th{
    padding:5px 2px;
    font-size:11px;
    line-height:1.05;
    word-break:break-word;
  }

  .mlr-prize{
    width:44px;
    min-width:44px;
    max-width:44px;
    padding-left:1px!important;
    padding-right:1px!important;
    font-size:10px;
  }

  .mlr-number{
    font-size:var(--mlr-mobile-number-size);
    line-height:1.08;
    letter-spacing:0;
    white-space:nowrap;
  }

  .mlr-row-g8 .mlr-number,
  .mlr-row-db .mlr-number{
    font-size:var(--mlr-mobile-special-size);
    line-height:1.04;
  }

  .mlr-row-g7 .mlr-number{
    color:var(--mlr-blue);
  }

  .mlr-row-g6 td:not(.mlr-prize),
  .mlr-row-g4 td:not(.mlr-prize),
  .mlr-row-g3 td:not(.mlr-prize){
    padding-top:4px;
    padding-bottom:4px;
  }

  .mlr-actions{
    padding:8px;
    gap:6px;
  }

  .mlr-btn{
    flex:1;
    min-height:36px;
    padding:0 8px;
    font-size:11px;
    border-radius:7px;
  }
}

@media(max-width:390px){
  .mlr-prize{
    width:40px;
    min-width:40px;
    max-width:40px;
    font-size:9px;
  }

  .mlr-table thead th{
    font-size:10px;
  }

  .mlr-number{
    font-size:calc(var(--mlr-mobile-number-size) - 1px);
  }

  .mlr-row-g8 .mlr-number,
  .mlr-row-db .mlr-number{
    font-size:calc(var(--mlr-mobile-special-size) - 2px);
  }
}

@media print{
  .mlr-top,.mlr-toolbar,.mlr-actions{display:none!important}
  body{background:#fff}
  .mlr-content{max-width:none;padding:0}
  .mlr-board{box-shadow:none;border-radius:0}
}


/* v1.3.0 ticker */
.mlr-ticker{
  position:relative;
  overflow:hidden;
  min-height:34px;
  display:flex;
  align-items:center;
}

.mlr-ticker-text{
  display:inline-block;
  transition:opacity .25s ease, transform .25s ease;
  opacity:1;
  transform:translateY(0);
}

.mlr-ticker-text.is-changing{
  opacity:0;
  transform:translateY(-8px);
}

@media(max-width:760px){
  .mlr-ticker{
    min-height:30px;
  }

  .mlr-ticker-text{
    font-size:11px;
  }
}


/* v1.4.0 - A4 four-up print */
.mlr-print-source{
  display:none;
}

@page{
  size:A4 portrait;
  margin:7mm;
}

@media print{
  body.mlr-printing-four-up *{
    visibility:hidden !important;
  }

  body.mlr-printing-four-up .mlr-print-source,
  body.mlr-printing-four-up .mlr-print-source *{
    visibility:visible !important;
  }

  body.mlr-printing-four-up .mlr-print-source{
    display:grid !important;
    position:absolute;
    inset:0;
    width:196mm;
    min-height:283mm;
    grid-template-columns:1fr 1fr;
    grid-template-rows:1fr 1fr;
    gap:5mm 5mm;
    margin:0;
    padding:0;
    background:#fff;
  }

  .mlr-print-ticket{
    display:block;
    overflow:hidden;
    width:95.5mm;
    height:138.5mm;
    border:0;
    break-inside:avoid;
    page-break-inside:avoid;
  }

  .mlr-print-table{
    width:100%;
    height:auto;
    border-collapse:collapse;
    table-layout:fixed;
    font-family:Arial,Helvetica,sans-serif;
    color:#000;
    background:#fff;
  }

  .mlr-print-table th,
  .mlr-print-table td{
    border:.35mm solid #111;
    padding:.6mm .8mm;
    text-align:center;
    vertical-align:middle;
    line-height:1.02;
  }

  .mlr-print-table thead th{
    font-size:7.8pt;
    font-weight:800;
  }

  .mlr-print-prize-head,
  .mlr-print-prize-name{
    width:13mm;
  }

  .mlr-print-tagline-row td{
    padding:.7mm;
    font-size:5.8pt;
    font-style:italic;
    font-weight:700;
  }

  .mlr-print-prize-name{
    font-size:5.8pt;
    font-weight:700;
  }

  .mlr-print-number{
    display:block;
    font-size:8.8pt;
    font-weight:800;
    line-height:1.03;
    white-space:nowrap;
  }

  .mlr-print-row-g8 .mlr-print-number,
  .mlr-print-row-db .mlr-print-number{
    font-size:12.8pt;
    font-weight:900;
  }

  .mlr-print-row-g4 .mlr-print-number,
  .mlr-print-row-g3 .mlr-print-number,
  .mlr-print-row-g6 .mlr-print-number{
    font-size:8.2pt;
  }

  .mlr-print-footer-row td{
    padding:.7mm;
    font-size:5.8pt;
    font-weight:700;
  }
}


/* v1.5.0 - KQXS Page Template */
.mlr-brand-link{
  color:#fff;
  text-decoration:none;
}

.mlr-brand-link:hover{
  color:#fff;
}

.mlr-seo-page{
  margin-bottom:16px;
}

.mlr-seo-header h1{
  margin:0 0 12px;
  color:var(--mlr-text);
  font-size:30px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:-.4px;
}

.mlr-seo-content{
  padding:16px 18px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#fff;
  color:#475467;
  font-size:15px;
  line-height:1.7;
  box-shadow:0 4px 14px rgba(15,23,42,.035);
}

.mlr-seo-content > :first-child{
  margin-top:0;
}

.mlr-seo-content > :last-child{
  margin-bottom:0;
}

@media(max-width:760px){
  .mlr-seo-header h1{
    margin-bottom:9px;
    font-size:22px;
  }

  .mlr-seo-content{
    padding:12px;
    border-radius:9px;
    font-size:14px;
    line-height:1.6;
  }
}


/* v1.6.0 - top dashboard */
.mlr-top-dashboard{
  display:grid;
  grid-template-columns:280px minmax(0,1fr) 280px;
  gap:14px;
  margin-bottom:16px;
}

.mlr-live-card,
.mlr-banner-card,
.mlr-calendar-card{
  overflow:hidden;
  min-height:240px;
  border:1px solid #dce2ea;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 18px rgba(15,23,42,.06);
}

.mlr-side-head{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  background:var(--mlr-red);
  color:#fff;
  font-size:14px;
  font-weight:900;
}

.mlr-live-list{
  display:flex;
  flex-direction:column;
}

.mlr-live-item{
  min-height:38px;
  display:grid;
  grid-template-columns:24px 1fr 22px;
  align-items:center;
  gap:6px;
  padding:0 12px;
  border:0;
  border-bottom:1px solid #edf0f4;
  background:#fff;
  color:#334155;
  text-align:left;
  cursor:pointer;
  font-size:13px;
}

.mlr-live-item:hover{
  background:#fff8f8;
}

.mlr-live-item.is-muted{
  color:#667085;
  cursor:default;
}

.mlr-live-icon{
  color:var(--mlr-red);
  font-size:18px;
}

.mlr-live-status{
  width:18px;
  height:18px;
  border:2px solid #d9dee6;
  border-radius:50%;
  justify-self:end;
}

.mlr-live-status.is-on{
  border-color:#0ea5e9;
  box-shadow:inset 0 0 0 4px #fff;
  background:#0ea5e9;
}

.mlr-banner-card{
  display:flex;
  align-items:stretch;
  justify-content:center;
}

.mlr-banner-card a{
  display:block;
  width:100%;
}

.mlr-banner-card img{
  width:100%;
  height:100%;
  min-height:240px;
  display:block;
  object-fit:cover;
}

.mlr-banner-placeholder{
  width:100%;
  min-height:240px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:24px;
  text-align:center;
  color:#fff;
  background:
    radial-gradient(circle at 15% 25%,rgba(255,213,42,.55),transparent 18%),
    radial-gradient(circle at 85% 30%,rgba(255,164,0,.45),transparent 20%),
    linear-gradient(135deg,#7d0707,#d51414);
}

.mlr-banner-placeholder strong{
  font-size:26px;
  font-weight:950;
}

.mlr-banner-placeholder span{
  font-size:16px;
  font-weight:800;
}

.mlr-banner-placeholder small{
  opacity:.85;
}

.mlr-calendar-body{
  padding:12px;
}

.mlr-calendar-month{
  margin-bottom:10px;
  text-align:center;
  color:var(--mlr-red);
  font-size:14px;
  font-weight:900;
}

.mlr-calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:4px;
  text-align:center;
}

.mlr-calendar-weekdays{
  margin-bottom:7px;
  color:#64748b;
  font-size:10px;
  font-weight:800;
}

.mlr-calendar-days span{
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  color:#475569;
  font-size:12px;
}

.mlr-calendar-days .is-today{
  background:#ff7417;
  color:#fff;
  font-weight:900;
  box-shadow:0 4px 9px rgba(255,116,23,.25);
}

.mlr-calendar-days .is-empty{
  visibility:hidden;
}

@media(max-width:1000px){
  .mlr-top-dashboard{
    grid-template-columns:230px minmax(0,1fr);
  }

  .mlr-calendar-card{
    grid-column:1 / -1;
    min-height:0;
  }

  .mlr-calendar-body{
    max-width:420px;
    margin:0 auto;
  }
}

@media(max-width:760px){
  .mlr-top-dashboard{
    display:flex;
    flex-direction:column;
    gap:9px;
    margin-bottom:10px;
  }

  .mlr-live-card,
  .mlr-banner-card,
  .mlr-calendar-card{
    min-height:0;
    border-radius:10px;
  }

  .mlr-live-card{
    order:2;
  }

  .mlr-banner-card{
    order:1;
  }

  .mlr-banner-card img,
  .mlr-banner-placeholder{
    min-height:150px;
  }

  .mlr-side-head{
    min-height:36px;
    font-size:12px;
  }

  .mlr-live-item{
    min-height:36px;
    font-size:12px;
  }
}


/* v1.7.0 - interactive calendar */
.mlr-calendar-nav{
  display:grid;
  grid-template-columns:34px 1fr 34px;
  align-items:center;
  gap:6px;
  margin-bottom:10px;
}

.mlr-calendar-month{
  margin:0;
}

.mlr-calendar-prev,
.mlr-calendar-next{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:50%;
  background:#f1f5f9;
  color:#475569;
  font-size:20px;
  cursor:pointer;
}

.mlr-calendar-prev:hover,
.mlr-calendar-next:hover{
  background:#e2e8f0;
}

.mlr-calendar-days .mlr-calendar-day{
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#475569;
  font-size:12px;
  cursor:pointer;
  transition:.15s ease;
}

.mlr-calendar-days .mlr-calendar-day:hover{
  background:#fff0ec;
  color:var(--mlr-red);
}

.mlr-calendar-days .mlr-calendar-day.is-today{
  outline:2px solid #ff9b64;
  outline-offset:-2px;
  font-weight:900;
}

.mlr-calendar-days .mlr-calendar-day.is-selected{
  background:#ff7417;
  color:#fff;
  font-weight:900;
  box-shadow:0 4px 9px rgba(255,116,23,.25);
}

.mlr-calendar-days .mlr-calendar-day.is-today.is-selected{
  outline:2px solid #d94c00;
}



/* v1.8.0 - featured posts */
.mlr-right-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}

.mlr-right-stack .mlr-calendar-card{
  min-height:0;
}

.mlr-news-card{
  overflow:hidden;
  border:1px solid #dce2ea;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 18px rgba(15,23,42,.06);
}

.mlr-news-list{
  padding:6px 10px 8px;
}

.mlr-news-item{
  min-height:60px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:7px 4px;
  border-bottom:1px solid #eef1f5;
  color:#475569;
  text-decoration:none;
}

.mlr-news-item:last-child{
  border-bottom:0;
}

.mlr-news-item:hover{
  color:var(--mlr-red);
  background:#fffafa;
}

.mlr-news-thumb{
  width:48px;
  height:48px;
  display:block;
  overflow:hidden;
  border-radius:5px;
  background:#eef2f6;
}

.mlr-news-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.mlr-news-no-thumb{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--mlr-red),#ec5858);
  color:#fff;
  font-size:12px;
  font-weight:900;
}

.mlr-news-title{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:12px;
  line-height:1.45;
}

.mlr-news-empty{
  padding:18px 8px;
  text-align:center;
  color:#667085;
  font-size:12px;
}

@media(max-width:1000px){
  .mlr-right-stack{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .mlr-right-stack .mlr-calendar-card{
    grid-column:auto;
  }
}

@media(max-width:760px){
  .mlr-right-stack{
    display:flex;
    flex-direction:column;
    order:3;
  }

  .mlr-news-card{
    border-radius:10px;
  }

  .mlr-news-list{
    padding:4px 8px 6px;
  }

  .mlr-news-item{
    min-height:58px;
    grid-template-columns:46px minmax(0,1fr);
  }

  .mlr-news-thumb{
    width:46px;
    height:46px;
  }

  .mlr-news-title{
    font-size:12px;
  }
}


/* v1.8.1 - persistent right sidebar layout */
.mlr-content{
  max-width:1280px;
}

.mlr-page-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 288px;
  gap:14px;
  align-items:start;
}

.mlr-page-main{
  min-width:0;
}

.mlr-top-main{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:14px;
  margin-bottom:16px;
}

.mlr-page-sidebar{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
  position:sticky;
  top:78px;
}

.mlr-page-sidebar .mlr-calendar-card,
.mlr-page-sidebar .mlr-news-card{
  width:100%;
  min-height:0;
}

.mlr-page-sidebar .mlr-calendar-body{
  padding:12px;
}

.mlr-page-main .mlr-toolbar{
  margin-top:0;
}

@media(max-width:1100px){
  .mlr-page-grid{
    grid-template-columns:minmax(0,1fr) 260px;
  }

  .mlr-top-main{
    grid-template-columns:230px minmax(0,1fr);
  }
}

@media(max-width:900px){
  .mlr-page-grid{
    display:flex;
    flex-direction:column;
  }

  .mlr-page-main{
    width:100%;
  }

  .mlr-page-sidebar{
    width:100%;
    position:static;
    display:grid;
    grid-template-columns:1fr 1fr;
    order:2;
  }

  .mlr-top-main{
    grid-template-columns:220px minmax(0,1fr);
  }
}

@media(max-width:760px){
  .mlr-page-grid{
    gap:10px;
  }

  .mlr-top-main{
    display:flex;
    flex-direction:column;
    gap:9px;
    margin-bottom:10px;
  }

  .mlr-top-main .mlr-banner-card{
    order:1;
  }

  .mlr-top-main .mlr-live-card{
    order:2;
  }

  .mlr-page-sidebar{
    display:flex;
    flex-direction:column;
    gap:9px;
  }

  .mlr-page-sidebar .mlr-calendar-card,
  .mlr-page-sidebar .mlr-news-card{
    border-radius:10px;
  }
}


/* v1.8.2 - three-column desktop layout */
.mlr-content{
  max-width:1440px;
}

.mlr-page-grid-three{
  display:grid;
  grid-template-columns:280px minmax(0,1fr) 288px;
  gap:14px;
  align-items:start;
}

.mlr-left-sidebar{
  min-width:0;
  position:sticky;
  top:78px;
}

.mlr-left-sidebar .mlr-live-card{
  width:100%;
  min-height:0;
}

.mlr-page-main{
  min-width:0;
}

.mlr-main-banner{
  width:100%;
  margin-bottom:16px;
  min-height:0;
}

.mlr-main-banner img{
  width:100%;
  height:auto;
  max-height:310px;
  min-height:220px;
  object-fit:cover;
}

.mlr-page-sidebar{
  position:sticky;
  top:78px;
}

@media(max-width:1220px){
  .mlr-page-grid-three{
    grid-template-columns:235px minmax(0,1fr) 250px;
    gap:10px;
  }

  .mlr-live-item{
    padding-left:9px;
    padding-right:9px;
    font-size:12px;
  }
}

@media(max-width:980px){
  .mlr-page-grid-three{
    grid-template-columns:220px minmax(0,1fr);
  }

  .mlr-page-sidebar{
    grid-column:1 / -1;
    position:static;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .mlr-left-sidebar{
    position:static;
  }
}

@media(max-width:760px){
  .mlr-page-grid-three{
    display:flex;
    flex-direction:column;
    gap:9px;
  }

  .mlr-left-sidebar{
    width:100%;
    order:2;
  }

  .mlr-page-main{
    width:100%;
    order:1;
  }

  .mlr-page-sidebar{
    width:100%;
    order:3;
    display:flex;
    flex-direction:column;
    gap:9px;
  }

  .mlr-main-banner{
    margin-bottom:9px;
  }

  .mlr-main-banner img{
    min-height:150px;
    max-height:none;
  }
}


/* v1.9.0 - two-level red navigation header */
.mlr-main-header{
  width:100%;
  background:#bf1518;
  color:#fff;
  box-shadow:0 2px 10px rgba(15,23,42,.14);
}

.mlr-header-row-one{
  background:#b91518;
  border-bottom:1px solid rgba(255,255,255,.18);
}

.mlr-header-row-two{
  background:#cf2023;
}

.mlr-header-inner{
  max-width:1440px;
  min-height:72px;
  margin:0 auto;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:24px;
}

.mlr-agency-brand{
  min-width:270px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
}

.mlr-header-logo{
  width:46px;
  height:46px;
  object-fit:contain;
  border-radius:50%;
  background:#fff;
}

.mlr-header-logo-fallback{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  color:var(--mlr-red);
  font-size:20px;
}

.mlr-agency-copy{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}

.mlr-agency-copy strong{
  font-size:18px;
  font-weight:900;
}

.mlr-agency-copy small{
  margin-top:5px;
  font-size:12px;
  opacity:.92;
}

.mlr-main-nav{
  flex:1;
  display:flex;
  justify-content:center;
  gap:10px;
}

.mlr-main-nav a{
  padding:10px 9px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:750;
  white-space:nowrap;
}

.mlr-main-nav a:hover{
  background:rgba(255,255,255,.1);
  border-radius:7px;
}

.mlr-auth-actions{
  display:flex;
  gap:8px;
}

.mlr-auth-btn{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 15px;
  border-radius:5px;
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}

.mlr-login-btn{
  border:1px solid #fff;
}

.mlr-register-btn{
  background:#13bf63;
}

.mlr-mobile-menu-toggle{
  display:none;
  border:0;
  background:transparent;
  color:#fff;
  font-size:25px;
  cursor:pointer;
}

.mlr-tools-row{
  min-height:56px;
  justify-content:space-between;
  gap:18px;
}

.mlr-lookup-tool,
.mlr-print-tool{
  display:flex;
  align-items:center;
  gap:8px;
}

.mlr-lookup-tool strong,
.mlr-print-tool strong{
  font-size:12px;
  white-space:nowrap;
}

.mlr-tools-row input,
.mlr-tools-row select{
  height:36px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:4px;
  background:#fff;
  color:#334155;
  padding:0 10px;
  font-size:12px;
}

.mlr-header-lookup-date,
.mlr-header-print-date{
  width:142px;
}

.mlr-header-station{
  width:115px;
}

.mlr-header-ticket-number{
  width:105px;
}

.mlr-header-print-region{
  width:112px;
}

.mlr-header-print-count{
  width:70px;
}

.mlr-header-check-btn,
.mlr-header-print-btn{
  min-height:36px;
  border:0;
  border-radius:4px;
  padding:0 15px;
  color:#651c00;
  background:#f0a000;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}

.mlr-header-print-btn{
  background:#ffd400;
}

@media(max-width:1180px){
  .mlr-agency-brand{
    min-width:220px;
  }

  .mlr-main-nav{
    gap:3px;
  }

  .mlr-main-nav a{
    padding-left:6px;
    padding-right:6px;
    font-size:12px;
  }

  .mlr-tools-row{
    flex-wrap:wrap;
    padding-top:9px;
    padding-bottom:9px;
  }
}

@media(max-width:900px){
  .mlr-header-row-one .mlr-header-inner{
    min-height:60px;
  }

  .mlr-agency-brand{
    min-width:0;
    flex:1;
  }

  .mlr-main-nav{
    display:none;
    position:absolute;
    top:60px;
    left:0;
    right:0;
    z-index:100;
    padding:8px;
    background:#a80f12;
    flex-direction:column;
  }

  .mlr-main-nav.is-open{
    display:flex;
  }

  .mlr-main-nav a{
    padding:11px 14px;
  }

  .mlr-auth-actions{
    display:none;
  }

  .mlr-mobile-menu-toggle{
    display:block;
  }

  .mlr-tools-row{
    display:grid;
    grid-template-columns:1fr;
  }

  .mlr-lookup-tool,
  .mlr-print-tool{
    overflow-x:auto;
    padding-bottom:2px;
  }
}

@media(max-width:600px){
  .mlr-header-inner{
    padding-left:9px;
    padding-right:9px;
  }

  .mlr-header-logo,
  .mlr-header-logo-fallback{
    width:38px;
    height:38px;
  }

  .mlr-agency-copy strong{
    font-size:14px;
  }

  .mlr-agency-copy small{
    font-size:10px;
  }

  .mlr-tools-row{
    gap:7px;
  }

  .mlr-lookup-tool,
  .mlr-print-tool{
    gap:5px;
  }

  .mlr-tools-row input,
  .mlr-tools-row select,
  .mlr-header-check-btn,
  .mlr-header-print-btn{
    height:34px;
    min-height:34px;
    font-size:11px;
  }
}


/* v1.9.1 - correct browser date + mobile header optimization */
@media(max-width:900px){
  .mlr-main-header{
    position:relative;
  }

  .mlr-header-row-one .mlr-header-inner{
    min-height:58px;
    gap:10px;
  }

  .mlr-agency-brand{
    min-width:0;
    max-width:calc(100% - 46px);
  }

  .mlr-agency-copy{
    min-width:0;
  }

  .mlr-agency-copy strong,
  .mlr-agency-copy small{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .mlr-header-row-two{
    padding:8px 0 10px;
  }

  .mlr-tools-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:start;
    gap:8px;
    min-height:0;
    padding-top:0;
    padding-bottom:0;
  }

  .mlr-lookup-tool,
  .mlr-print-tool{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    overflow:visible;
    padding:8px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:9px;
    background:rgba(130,0,0,.14);
  }

  .mlr-lookup-tool > strong,
  .mlr-print-tool > strong{
    grid-column:1 / -1;
    font-size:11px;
    line-height:1;
    opacity:.95;
  }

  .mlr-tools-row input,
  .mlr-tools-row select,
  .mlr-header-check-btn,
  .mlr-header-print-btn{
    width:100% !important;
    min-width:0 !important;
    height:36px;
    min-height:36px;
    border-radius:6px;
    font-size:11px;
  }

  .mlr-header-ticket-number,
  .mlr-header-check-btn,
  .mlr-header-print-count,
  .mlr-header-print-btn{
    width:100% !important;
  }
}

@media(max-width:640px){
  .mlr-header-row-one .mlr-header-inner{
    min-height:54px;
    padding-left:8px;
    padding-right:8px;
  }

  .mlr-header-logo,
  .mlr-header-logo-fallback{
    width:36px;
    height:36px;
    flex:0 0 36px;
  }

  .mlr-agency-copy strong{
    font-size:13px;
  }

  .mlr-agency-copy small{
    margin-top:3px;
    font-size:9px;
  }

  .mlr-mobile-menu-toggle{
    flex:0 0 36px;
    width:36px;
    padding:0;
    text-align:center;
  }

  .mlr-tools-row{
    grid-template-columns:1fr;
    gap:7px;
  }

  .mlr-lookup-tool,
  .mlr-print-tool{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:7px;
  }

  .mlr-main-nav{
    top:54px;
  }
}

@media(max-width:390px){
  .mlr-lookup-tool,
  .mlr-print-tool{
    grid-template-columns:1fr;
  }

  .mlr-lookup-tool > strong,
  .mlr-print-tool > strong{
    grid-column:1;
  }
}


/* v1.10.0 - XSKT submenu */
.mlr-main-nav{
  align-items:center;
}

.mlr-nav-item{
  position:relative;
}

.mlr-nav-item > a{
  display:flex;
  align-items:center;
  gap:4px;
}

.mlr-nav-caret{
  font-size:12px;
  line-height:1;
}

.mlr-submenu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  z-index:300;
  min-width:180px;
  padding:4px 0;
  background:#fff;
  border:1px solid #ead7d7;
  border-radius:0 0 6px 6px;
  box-shadow:0 10px 24px rgba(15,23,42,.16);
}

.mlr-submenu a{
  display:block!important;
  padding:10px 14px!important;
  color:#374151!important;
  background:#fff!important;
  border-radius:0!important;
  font-size:13px!important;
  font-weight:500!important;
}

.mlr-submenu a:hover{
  background:#fff1f1!important;
  color:#c4161c!important;
}

.mlr-nav-item.has-submenu:hover > .mlr-submenu,
.mlr-nav-item.has-submenu:focus-within > .mlr-submenu{
  display:block;
}

@media(max-width:900px){
  .mlr-nav-item{
    width:100%;
  }

  .mlr-nav-item > a{
    width:100%;
  }

  .mlr-submenu{
    position:static;
    display:block;
    min-width:0;
    margin-left:12px;
    border:0;
    border-left:2px solid rgba(255,255,255,.28);
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }

  .mlr-submenu a{
    color:#fff!important;
    background:transparent!important;
    padding:9px 14px!important;
  }

  .mlr-submenu a:hover{
    background:rgba(255,255,255,.1)!important;
    color:#fff!important;
  }
}


/* v1.11.0 - Thông Tin Vé Dò */
.mlr-ticket-info-wrap{
  max-width:1120px;
  margin:30px auto 50px;
  padding:0 16px;
}

.mlr-ticket-info-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 430px;
  gap:18px;
  align-items:start;
}

.mlr-ticket-config-card,
.mlr-ticket-preview-card{
  border:1px solid #e1e6ed;
  border-radius:10px;
  background:#fff;
  box-shadow:0 5px 18px rgba(15,23,42,.05);
}

.mlr-ticket-tabs{
  display:flex;
  gap:4px;
  padding:10px 10px 0;
  border-bottom:1px solid #eceff3;
}

.mlr-ticket-tabs button{
  border:0;
  border-radius:5px 5px 0 0;
  padding:8px 12px;
  background:#ef8d20;
  color:#fff;
  cursor:pointer;
  font-size:12px;
  font-weight:800;
}

.mlr-ticket-tabs button.active{
  background:#fff;
  color:#d71920;
  box-shadow:0 -1px 0 #eceff3,1px 0 0 #eceff3,-1px 0 0 #eceff3;
}

.mlr-ticket-form{
  padding:14px;
}

.mlr-ticket-tab-panel{
  display:none;
}

.mlr-ticket-tab-panel.active{
  display:block;
}

.mlr-ticket-region-block{
  margin-top:22px;
}

.mlr-ticket-region-block h3,
.mlr-ticket-tab-panel h3{
  margin:0 0 10px;
  font-size:13px;
}

.mlr-ticket-field{
  display:grid;
  grid-template-columns:100px minmax(0,1fr);
  gap:8px;
  align-items:center;
  margin-bottom:8px;
}

.mlr-ticket-field label{
  font-size:12px;
  font-weight:700;
}

.mlr-ticket-field input{
  width:100%;
  min-height:34px;
  border:1px solid #cfd5df;
  border-radius:4px;
  padding:0 8px;
}

.mlr-ticket-layout-options{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:12px 0;
}

.mlr-ticket-layout-options label{
  font-size:13px;
}

.mlr-ticket-save-btn,
.mlr-ticket-test-print{
  border:0;
  border-radius:5px;
  background:#ed8616;
  color:#fff;
  padding:9px 13px;
  font-weight:800;
  cursor:pointer;
}

.mlr-ticket-saved,
.mlr-ticket-readonly{
  margin:12px 14px 0;
  padding:10px 12px;
  border-radius:6px;
  font-size:12px;
}

.mlr-ticket-saved{
  background:#ecfdf3;
  color:#067647;
}

.mlr-ticket-readonly{
  background:#fff7ed;
  color:#9a3412;
}

.mlr-ticket-preview-card{
  padding:12px;
}

.mlr-ticket-preview-tools{
  margin-bottom:12px;
  font-size:12px;
}

.mlr-ticket-preview-sheet{
  position:relative;
  border:1px solid #111;
  background:#fff;
  color:#000;
  font-family:Arial,Helvetica,sans-serif;
}

.mlr-ticket-preview-title{
  padding:7px 70px 3px 7px;
  text-align:center;
  font-size:15px;
  font-weight:900;
}

.mlr-ticket-preview-date{
  position:absolute;
  top:4px;
  right:6px;
  text-align:center;
  font-size:14px;
  font-weight:900;
}

.mlr-ticket-preview-date small{
  display:block;
  font-size:9px;
}

.mlr-ticket-preview-sub{
  padding:2px 6px;
  text-align:center;
  font-size:8px;
}

.mlr-ticket-preview-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  margin-top:3px;
}

.mlr-ticket-preview-table th,
.mlr-ticket-preview-table td{
  border:1px solid #111;
  text-align:center;
  vertical-align:middle;
  padding:2px;
}

.mlr-ticket-preview-table th{
  font-size:8px;
}

.mlr-ticket-preview-table td:first-child{
  width:35px;
  font-size:7px;
}

.mlr-ticket-preview-table td span{
  display:block;
  font-size:var(--ticket-font);
  line-height:1.02;
  font-weight:800;
}

.mlr-ticket-preview-row-g8 td span,
.mlr-ticket-preview-row-db td span{
  font-size:var(--ticket-special);
  font-weight:950;
}

.mlr-ticket-preview-footer{
  font-size:8px!important;
  font-weight:700;
}

.mlr-ticket-preview-empty{
  padding:40px 15px;
  text-align:center;
  font-size:12px;
  color:#666;
}

.mlr-ticket-preview-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  font-size:11px;
  color:#667085;
}

@media(max-width:900px){
  .mlr-ticket-info-grid{
    grid-template-columns:1fr;
  }

  .mlr-ticket-preview-card{
    max-width:520px;
    width:100%;
  }
}

@media(max-width:600px){
  .mlr-ticket-info-wrap{
    margin-top:14px;
    padding:0 8px;
  }

  .mlr-ticket-tabs{
    overflow-x:auto;
    white-space:nowrap;
  }

  .mlr-ticket-tabs button{
    flex:0 0 auto;
  }

  .mlr-ticket-field{
    grid-template-columns:1fr;
  }
}

@media print{
  body.mlr-ticket-info-page .mlr-main-header,
  body.mlr-ticket-info-page .mlr-ticket-config-card,
  body.mlr-ticket-info-page .mlr-ticket-preview-tools,
  body.mlr-ticket-info-page .mlr-ticket-preview-actions{
    display:none!important;
  }

  body.mlr-ticket-info-page .mlr-ticket-info-wrap{
    max-width:none;
    margin:0;
    padding:0;
  }

  body.mlr-ticket-info-page .mlr-ticket-info-grid{
    display:block;
  }

  body.mlr-ticket-info-page .mlr-ticket-preview-card{
    border:0;
    box-shadow:none;
    padding:0;
    max-width:none;
  }
}


/* v1.11.1 - ticket preview correct region/date data */
.mlr-ticket-preview-filter{
  display:grid;
  grid-template-columns:1fr 1.2fr 1fr;
  gap:8px;
}

.mlr-ticket-preview-filter label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:11px;
  font-weight:700;
}

.mlr-ticket-preview-filter select,
.mlr-ticket-preview-filter input{
  width:100%;
  min-height:34px;
  border:1px solid #cfd5df;
  border-radius:5px;
  background:#fff;
  padding:0 7px;
}

.mlr-ticket-preview-container{
  transition:opacity .15s ease;
}

.mlr-ticket-preview-container.is-loading{
  opacity:.45;
  pointer-events:none;
}

.mlr-ticket-preview-loading{
  padding:48px 15px;
  border:1px solid #d9dee6;
  text-align:center;
  color:#667085;
  font-size:12px;
}

@media(max-width:600px){
  .mlr-ticket-preview-filter{
    grid-template-columns:1fr;
  }
}


/* v1.12.0 - Kết quả điện toán */
.mlr-electronic-wrap{
  max-width:900px;
  margin:24px auto 50px;
  padding:0 10px;
}

.mlr-electronic-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
  margin-bottom:12px;
  border:1px solid #e1e6ed;
  border-radius:12px;
  background:#fff;
}

.mlr-electronic-tabs a{
  padding:14px 8px 10px;
  color:#5d6675;
  text-align:center;
  text-decoration:none;
  border-bottom:3px solid transparent;
}

.mlr-electronic-tabs a.active{
  color:#d00b15;
  border-bottom-color:#d00b15;
}

.mlr-electronic-tabs strong,
.mlr-electronic-tabs small{
  display:block;
}

.mlr-electronic-tabs small{
  margin-top:5px;
  color:#9aa3b2;
  font-size:11px;
}

.mlr-electronic-card{
  overflow:hidden;
  border:1px solid #dce2ea;
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 18px rgba(15,23,42,.06);
}

.mlr-electronic-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 18px;
  background:#ca0b14;
  color:#fff;
}

.mlr-type-power655 .mlr-electronic-head{background:#d04b1a}
.mlr-type-max3d .mlr-electronic-head{background:#c20a7b}
.mlr-type-max3dpro .mlr-electronic-head{background:#a70069}

.mlr-electronic-head h1{
  margin:0;
  font-size:18px;
}

.mlr-electronic-head span{
  font-size:12px;
}

.mlr-electronic-summary{
  padding:12px 18px 4px;
  font-size:14px;
}

.mlr-electronic-summary p{
  margin:4px 0;
}

.mlr-number-balls{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  padding:24px 12px;
  background:#211f7b;
}

.mlr-number-balls span{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#ef2b2b;
  color:#fff;
  font-size:21px;
  font-weight:900;
}

.mlr-number-balls.power{
  background:#fff;
}

.mlr-number-balls.power span{
  width:46px;
  height:46px;
  border:2px solid #f59e0b;
  background:#fff;
  color:#111827;
}

.mlr-number-balls.power span:last-child{
  background:#f59e0b;
  color:#fff;
}

.mlr-jackpot-box{
  max-width:340px;
  margin:16px auto;
  padding:12px;
  border-radius:30px;
  background:#ef2b2b;
  color:#ffe800;
  text-align:center;
  font-size:20px;
  font-weight:900;
}

.mlr-jackpot-dual{
  display:grid;
  gap:10px;
  max-width:360px;
  margin:16px auto;
}

.mlr-jackpot-dual div{
  text-align:center;
}

.mlr-jackpot-dual small,
.mlr-jackpot-dual strong{
  display:block;
}

.mlr-jackpot-dual strong{
  margin-top:7px;
  padding:10px;
  border-radius:30px;
  background:#ffc126;
  color:#ef2b2b;
  font-size:18px;
}

.mlr-electronic-table,
.mlr-max3dpro-table{
  width:100%;
  border-collapse:collapse;
}

.mlr-electronic-table th,
.mlr-electronic-table td,
.mlr-max3dpro-table th,
.mlr-max3dpro-table td{
  border:1px solid #dce2ea;
  padding:10px 12px;
  text-align:center;
}

.mlr-electronic-table thead th,
.mlr-max3dpro-table thead th{
  background:#1f2c3d;
  color:#fff;
}

.mlr-electronic-table td:last-child{
  font-weight:800;
}

.mlr-max3d-grid{
  display:grid;
  grid-template-columns:1fr 2.4fr 1fr;
}

.mlr-max3d-side{
  display:flex;
  flex-direction:column;
  border-right:1px solid #dce2ea;
}

.mlr-max3d-side strong,
.mlr-max3d-side small{
  padding:12px 8px;
  border-bottom:1px solid #dce2ea;
  text-align:center;
}

.mlr-max3d-side small{
  flex:1;
  color:#5d6675;
}

.mlr-max3d-side b{
  color:#d400d4;
}

.mlr-max3d-main{
  padding:16px;
  text-align:center;
}

.mlr-max3d-title{
  font-weight:800;
}

.mlr-max3d-special{
  margin:18px 0;
  color:#db3fe7;
  font-size:28px;
  font-weight:900;
}

.mlr-max3d-list{
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7b8493;
}

.mlr-max3d-bottom-title{
  padding:8px;
  background:#8722d7;
  color:#fff;
  text-align:center;
  font-weight:900;
}

.mlr-max3dpro-table td.special{
  color:#df3de7;
  font-size:28px;
  font-weight:900;
}

@media(max-width:700px){
  .mlr-electronic-wrap{
    margin-top:12px;
    padding:0 6px;
  }

  .mlr-electronic-tabs{
    grid-template-columns:repeat(2,1fr);
  }

  .mlr-electronic-tabs a{
    padding:10px 6px 8px;
    font-size:12px;
  }

  .mlr-number-balls{
    gap:6px;
  }

  .mlr-number-balls span{
    width:42px;
    height:42px;
    font-size:17px;
  }

  .mlr-max3d-grid{
    grid-template-columns:76px minmax(0,1fr) 76px;
  }

  .mlr-max3d-side strong,
  .mlr-max3d-side small{
    padding:8px 4px;
    font-size:10px;
  }

  .mlr-electronic-table th,
  .mlr-electronic-table td,
  .mlr-max3dpro-table th,
  .mlr-max3dpro-table td{
    padding:7px 5px;
    font-size:11px;
  }
}


/* v1.12.1 - đúng lịch ngày quay điện toán */
.mlr-electronic-datebar{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  padding:10px 12px;
  border:1px solid #e1e6ed;
  border-radius:10px;
  background:#fff;
}

.mlr-electronic-datebar-label{
  flex:0 0 auto;
  color:#475569;
  font-size:12px;
  font-weight:800;
}

.mlr-electronic-date-chips{
  flex:1;
  display:flex;
  gap:6px;
  overflow-x:auto;
}

.mlr-electronic-date-chips a{
  flex:0 0 auto;
  min-width:58px;
  padding:7px 9px;
  border:1px solid #d8dee7;
  border-radius:7px;
  background:#fff;
  color:#475569;
  text-align:center;
  text-decoration:none;
  font-size:12px;
  font-weight:750;
}

.mlr-electronic-date-chips a.active{
  border-color:#d00b15;
  background:#d00b15;
  color:#fff;
}

.mlr-electronic-date-picker{
  min-height:34px;
  border:1px solid #d8dee7;
  border-radius:7px;
  background:#fff;
  padding:0 8px;
  color:#334155;
}

@media(max-width:700px){
  .mlr-electronic-datebar{
    align-items:stretch;
    flex-direction:column;
    gap:7px;
  }

  .mlr-electronic-date-chips{
    width:100%;
  }

  .mlr-electronic-date-picker{
    width:100%;
  }
}


/* v1.13.0 - read electronic crawl database */
.mlr-electronic-no-db{padding:10px 14px;background:#fff7ed;color:#9a3412;border-bottom:1px solid #fed7aa;font-size:12px;font-weight:700}
.mlr-max3d-numbers-live{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 18px}
.mlr-max3d-numbers-live span{font-size:20px;font-weight:850;color:#0f172a}
@media(max-width:700px){
  .mlr-max3d-numbers-live{gap:5px 10px}
  .mlr-max3d-numbers-live span{font-size:16px}
}


/* v1.13.1 - show latest result until next draw is available */
.mlr-electronic-fallback-note{
  padding:10px 14px;
  background:#eff6ff;
  color:#1e40af;
  border-bottom:1px solid #bfdbfe;
  font-size:12px;
  line-height:1.45;
}


/* v1.13.2 - polished electronic result UI */
.mlr-electronic-page{
  background:#f3f6fa;
}

.mlr-electronic-wrap{
  max-width:920px;
  margin:22px auto 56px;
  padding:0 14px;
}

.mlr-electronic-tabs{
  gap:0;
  overflow:hidden;
  margin-bottom:12px;
  border:1px solid #e4e9f0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 20px rgba(15,23,42,.05);
}

.mlr-electronic-tabs a{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:76px;
  padding:11px 12px;
  border-bottom:3px solid transparent;
  color:#566172;
  transition:.18s ease;
}

.mlr-electronic-tabs a:hover{
  background:#fafbfc;
  color:#111827;
}

.mlr-electronic-tabs a.active{
  background:#fff;
  color:#d10b15;
}

.mlr-electronic-tab-icon{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  border-radius:50%;
  background:#f6f7f9;
  border:1px solid #e2e7ee;
  color:#c90e18;
  font-size:11px;
  font-weight:950;
}

.mlr-tab-power655 .mlr-electronic-tab-icon{
  color:#d97706;
}

.mlr-tab-max3d .mlr-electronic-tab-icon,
.mlr-tab-max3dpro .mlr-electronic-tab-icon{
  color:#b10c7a;
}

.mlr-electronic-tab-copy{
  min-width:0;
  text-align:left;
}

.mlr-electronic-tabs strong{
  font-size:14px;
  font-weight:900;
}

.mlr-electronic-tabs small{
  margin-top:4px;
  font-size:10px;
}

.mlr-electronic-datebar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) 160px;
  align-items:center;
  gap:10px;
  margin-bottom:13px;
  padding:10px 12px;
  border:1px solid #e3e8ef;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.035);
}

.mlr-electronic-datebar-label{
  color:#344054;
  font-size:12px;
  font-weight:900;
}

.mlr-electronic-date-chips{
  gap:6px;
  scrollbar-width:none;
}

.mlr-electronic-date-chips::-webkit-scrollbar{
  display:none;
}

.mlr-electronic-date-chips a{
  min-width:58px;
  padding:7px 9px;
  border:1px solid #d8dee7;
  border-radius:8px;
  background:#fff;
  color:#475467;
  font-size:11px;
  font-weight:800;
  transition:.15s ease;
}

.mlr-electronic-date-chips a:hover{
  border-color:#f29b9f;
  color:#c80e18;
  background:#fff7f7;
}

.mlr-electronic-date-chips a.active{
  border-color:#d10b15;
  background:#d10b15;
  color:#fff;
  box-shadow:0 4px 10px rgba(209,11,21,.18);
}

.mlr-electronic-date-picker{
  width:160px;
  min-height:36px;
  border:1px solid #d8dee7;
  border-radius:8px;
  padding:0 10px;
  background:#fff;
  color:#344054;
  font-weight:700;
}

.mlr-electronic-card{
  overflow:hidden;
  border:1px solid #e2e7ee;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}

.mlr-electronic-head{
  min-height:72px;
  padding:14px 18px;
  background:linear-gradient(135deg,#d20b14,#b20b14);
}

.mlr-type-power655 .mlr-electronic-head{
  background:linear-gradient(135deg,#db5a16,#b33b13);
}

.mlr-type-max3d .mlr-electronic-head{
  background:linear-gradient(135deg,#cf0a87,#a7056c);
}

.mlr-type-max3dpro .mlr-electronic-head{
  background:linear-gradient(135deg,#b20477,#830557);
}

.mlr-electronic-head-copy small,
.mlr-electronic-head-date small{
  display:block;
  color:rgba(255,255,255,.78);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}

.mlr-electronic-head h1{
  margin-top:3px;
  font-size:20px;
  line-height:1.1;
}

.mlr-electronic-head-date{
  min-width:92px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:9px;
  background:rgba(0,0,0,.10);
  text-align:center;
}

.mlr-electronic-head-date strong{
  display:block;
  margin-top:2px;
  color:#fff;
  font-size:13px;
}

.mlr-electronic-summary{
  padding:15px 18px 8px;
  color:#344054;
  font-size:13px;
}

.mlr-electronic-summary p{
  margin:4px 0;
}

.mlr-electronic-summary strong{
  color:#101828;
}

.mlr-electronic-summary b{
  color:#f59e0b;
}

.mlr-number-balls{
  position:relative;
  gap:12px;
  padding:24px 14px 26px;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.08),transparent 36%),
    linear-gradient(135deg,#242187,#171664);
}

.mlr-number-balls span{
  width:54px;
  height:54px;
  border:3px solid rgba(255,255,255,.18);
  background:linear-gradient(145deg,#ff3b37,#dc1e22);
  color:#fff;
  font-size:20px;
  box-shadow:0 7px 16px rgba(0,0,0,.2);
}

.mlr-number-balls.power{
  background:linear-gradient(180deg,#fff,#fafafa);
}

.mlr-number-balls.power span{
  width:50px;
  height:50px;
  border:2px solid #f59e0b;
  background:#fff;
  color:#111827;
  box-shadow:0 5px 12px rgba(15,23,42,.09);
}

.mlr-number-balls.power span:last-child{
  border-color:#f59e0b;
  background:linear-gradient(145deg,#ffb20f,#ee8900);
  color:#fff;
}

.mlr-jackpot-box{
  max-width:350px;
  margin:16px auto 18px;
  padding:12px 20px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff3838,#dc2026);
  color:#fff200;
  font-size:21px;
  box-shadow:0 7px 16px rgba(220,32,38,.18);
}

.mlr-jackpot-dual{
  gap:12px;
  max-width:420px;
  margin:16px auto 20px;
}

.mlr-jackpot-dual div{
  padding:10px 12px 12px;
  border-radius:12px;
  background:#fff8e8;
  border:1px solid #fde3a5;
}

.mlr-jackpot-dual small{
  color:#7a5a13;
  font-weight:800;
}

.mlr-jackpot-dual strong{
  margin-top:7px;
  padding:10px 12px;
  background:linear-gradient(135deg,#ffc728,#f4a900);
  color:#df2328;
  box-shadow:0 6px 14px rgba(244,169,0,.17);
}

.mlr-electronic-table{
  border-top:1px solid #dfe5ec;
}

.mlr-electronic-table th,
.mlr-electronic-table td{
  padding:11px 12px;
  border-color:#dfe5ec;
}

.mlr-electronic-table thead th{
  background:#1f2b3b;
  color:#fff;
  font-size:12px;
  font-weight:900;
}

.mlr-electronic-table tbody tr:nth-child(even){
  background:#fafbfd;
}

.mlr-electronic-table tbody tr:hover{
  background:#fff8f8;
}

.mlr-electronic-table td{
  color:#263244;
  font-size:13px;
}

.mlr-electronic-table td:last-child{
  color:#0f172a;
}

.mlr-electronic-fallback-note{
  padding:11px 16px;
  background:#eef6ff;
  color:#1e4d8d;
  border-bottom:1px solid #cfe4ff;
  font-size:12px;
}

.mlr-electronic-no-db{
  padding:11px 16px;
  background:#fff7ed;
  color:#9a3412;
}

.mlr-max3d-grid{
  background:#fff;
}

.mlr-max3d-side{
  background:#fafbfc;
}

.mlr-max3d-side strong{
  background:#f4f6f8;
  color:#344054;
  font-size:12px;
}

.mlr-max3d-side small{
  color:#667085;
}

.mlr-max3d-main{
  min-height:360px;
  padding:18px 20px;
}

.mlr-max3d-title{
  color:#475467;
  font-size:12px;
  letter-spacing:.04em;
}

.mlr-max3d-special{
  margin:16px 0 18px;
  color:#d83be5;
  font-size:30px;
  letter-spacing:.06em;
  text-shadow:0 2px 8px rgba(216,59,229,.12);
}

.mlr-max3d-numbers-live{
  max-width:310px;
  margin:0 auto;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 18px;
}

.mlr-max3d-numbers-live span{
  padding:8px 10px;
  border:1px solid #e2e8f0;
  border-radius:8px;
  background:#fff;
  font-size:19px;
  box-shadow:0 2px 6px rgba(15,23,42,.04);
}

.mlr-max3d-bottom-title{
  padding:9px;
  background:linear-gradient(135deg,#8d25dc,#6f18bb);
  letter-spacing:.03em;
}

.mlr-max3dpro-table th{
  background:#6f0c58;
}

.mlr-max3dpro-table td{
  padding:11px 10px;
}

.mlr-max3dpro-table td.special{
  color:#d83be5;
  font-size:29px;
  text-shadow:0 2px 8px rgba(216,59,229,.12);
}

@media(max-width:700px){
  .mlr-electronic-wrap{
    margin-top:10px;
    padding:0 7px;
  }

  .mlr-electronic-tabs{
    grid-template-columns:repeat(4,minmax(116px,1fr));
    overflow-x:auto;
    border-radius:12px;
  }

  .mlr-electronic-tabs a{
    min-height:64px;
    justify-content:flex-start;
    padding:8px 10px;
  }

  .mlr-electronic-tab-icon{
    width:30px;
    height:30px;
    flex-basis:30px;
  }

  .mlr-electronic-tabs strong{
    font-size:12px;
  }

  .mlr-electronic-tabs small{
    font-size:9px;
  }

  .mlr-electronic-datebar{
    grid-template-columns:1fr;
    gap:8px;
    padding:9px;
  }

  .mlr-electronic-date-picker{
    width:100%;
  }

  .mlr-electronic-card{
    border-radius:12px;
  }

  .mlr-electronic-head{
    min-height:62px;
    padding:11px 12px;
  }

  .mlr-electronic-head h1{
    font-size:17px;
  }

  .mlr-number-balls{
    gap:7px;
    padding:18px 8px 20px;
  }

  .mlr-number-balls span,
  .mlr-number-balls.power span{
    width:42px;
    height:42px;
    font-size:16px;
  }

  .mlr-electronic-table th,
  .mlr-electronic-table td{
    padding:8px 5px;
    font-size:11px;
  }

  .mlr-jackpot-box{
    max-width:280px;
    font-size:17px;
  }

  .mlr-jackpot-dual{
    margin-left:10px;
    margin-right:10px;
  }

  .mlr-max3d-main{
    min-height:300px;
    padding:14px 8px;
  }

  .mlr-max3d-special{
    font-size:24px;
  }

  .mlr-max3d-numbers-live{
    gap:6px 8px;
  }

  .mlr-max3d-numbers-live span{
    padding:7px 5px;
    font-size:15px;
  }
}


/* v1.14.0 - live draw animation */
.mlr-live-placeholder-table{display:none}
.mlr-live-placeholder-table.is-live{display:block}
.mlr-pending-number{min-width:2em;color:#98a2b3;opacity:.7;font-variant-numeric:tabular-nums}
.mlr-pending-number.is-rolling{
  color:#d80d18;opacity:1;
  animation:mlr-live-pulse .45s ease-in-out infinite alternate;
}
.mlr-board:has(.mlr-pending-number.is-rolling) .mlr-title::after{
  content:' • ĐANG XỔ';color:#ffe600;font-size:.64em;font-weight:900;letter-spacing:.04em;
}
@keyframes mlr-live-pulse{
  from{transform:translateY(-1px) scale(.98);filter:blur(.15px)}
  to{transform:translateY(1px) scale(1.035);filter:blur(0)}
}
@media(prefers-reduced-motion:reduce){.mlr-pending-number.is-rolling{animation:none}}


/* v1.15.0 - News page */
.mlr-news-page{
  min-height:70vh;
  padding:24px 0 54px;
  background:#f3f6fa;
}

.mlr-news-shell{
  width:min(980px,calc(100% - 24px));
  margin:0 auto;
}

.mlr-news-heading-card{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:74px;
  padding:0 22px;
  margin-bottom:14px;
  border:1px solid #e5e9f0;
  border-radius:13px;
  background:#fff;
  box-shadow:0 3px 12px rgba(15,23,42,.05);
}

.mlr-news-heading-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0da8ff;
}

.mlr-news-heading-card h1{
  margin:0;
  color:#111827;
  font-size:24px;
  line-height:1.2;
  font-weight:850;
}

.mlr-news-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.mlr-news-card{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:16px;
  min-height:142px;
  padding:15px 16px;
  border:1px solid #e3e8ef;
  border-radius:13px;
  background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.05);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.mlr-news-card:hover{
  transform:translateY(-1px);
  border-color:#d5dce6;
  box-shadow:0 8px 22px rgba(15,23,42,.075);
}

.mlr-news-thumb{
  display:block;
  width:160px;
  height:112px;
  overflow:hidden;
  align-self:start;
  border-radius:8px;
  background:#eef2f6;
}

.mlr-news-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.mlr-news-thumb-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#f1f5f9,#e2e8f0);
  color:#94a3b8;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}

.mlr-news-content{
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:1px 0 0;
}

.mlr-news-title{
  margin:0;
  font-size:18px;
  line-height:1.3;
  font-weight:850;
}

.mlr-news-title a{
  color:#0f172a;
  text-decoration:none;
}

.mlr-news-title a:hover{
  color:#d10b15;
}

.mlr-news-excerpt{
  margin:9px 0 8px;
  color:#344054;
  font-size:13px;
  line-height:1.48;
}

.mlr-news-meta{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  color:#98a2b3;
  font-size:11px;
}

.mlr-news-calendar-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#98a2b3;
}

.mlr-news-pagination{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  margin-top:20px;
}

.mlr-news-pagination .page-numbers{
  min-width:36px;
  height:36px;
  padding:0 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d9e0e8;
  border-radius:8px;
  background:#fff;
  color:#344054;
  text-decoration:none;
  font-size:12px;
  font-weight:750;
}

.mlr-news-pagination .page-numbers.current{
  border-color:#d10b15;
  background:#d10b15;
  color:#fff;
}

.mlr-news-empty{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:32px 20px;
  border:1px solid #e3e8ef;
  border-radius:13px;
  background:#fff;
  text-align:center;
  color:#667085;
}

.mlr-news-empty strong{
  color:#101828;
  font-size:17px;
}

@media(max-width:700px){
  .mlr-news-page{
    padding:12px 0 34px;
  }

  .mlr-news-shell{
    width:min(100% - 14px,980px);
  }

  .mlr-news-heading-card{
    min-height:64px;
    padding:0 15px;
    margin-bottom:10px;
    border-radius:11px;
  }

  .mlr-news-heading-card h1{
    font-size:20px;
  }

  .mlr-news-list{
    gap:10px;
  }

  .mlr-news-card{
    grid-template-columns:128px minmax(0,1fr);
    gap:12px;
    min-height:126px;
    padding:12px;
    border-radius:11px;
  }

  .mlr-news-thumb{
    width:128px;
    height:96px;
    border-radius:7px;
  }

  .mlr-news-title{
    font-size:15px;
    line-height:1.32;
  }

  .mlr-news-excerpt{
    margin:6px 0 5px;
    font-size:12px;
    line-height:1.4;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .mlr-news-meta{
    font-size:10px;
  }
}

@media(max-width:460px){
  .mlr-news-card{
    grid-template-columns:105px minmax(0,1fr);
    gap:10px;
    padding:10px;
  }

  .mlr-news-thumb{
    width:105px;
    height:82px;
  }

  .mlr-news-title{
    font-size:14px;
  }

  .mlr-news-excerpt{
    -webkit-line-clamp:2;
  }
}


/* v1.15.1 - News page uses the same lottery site shell/header */
.mlr-news-body{margin:0;background:var(--mlr-background,#eef1f5)}
.mlr-news-main-content{min-height:calc(100vh - 130px)}
.mlr-news-main-content .mlr-news-page{padding-top:18px}
@media(max-width:700px){.mlr-news-main-content .mlr-news-page{padding-top:10px}}


/* v1.15.2 - Fix right sidebar featured-news overflow */
.mlr-right-sidebar,
.mlr-sidebar-right,
.mlr-side-right,
.mlr-layout-right{
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
}

.mlr-news-widget,
.mlr-featured-news,
.mlr-home-news,
.mlr-sidebar-news,
.mlr-news-box{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}

.mlr-news-widget *,
.mlr-featured-news *,
.mlr-home-news *,
.mlr-sidebar-news *,
.mlr-news-box *{
  box-sizing:border-box;
  min-width:0;
}

.mlr-news-widget .mlr-news-items,
.mlr-featured-news .mlr-news-items,
.mlr-home-news .mlr-news-items,
.mlr-sidebar-news .mlr-news-items,
.mlr-news-box .mlr-news-items{
  width:100% !important;
  max-width:100% !important;
  display:block !important;
  overflow:hidden !important;
}

.mlr-news-widget article,
.mlr-news-widget .mlr-news-item,
.mlr-featured-news article,
.mlr-featured-news .mlr-news-item,
.mlr-home-news article,
.mlr-home-news .mlr-news-item,
.mlr-sidebar-news article,
.mlr-sidebar-news .mlr-news-item,
.mlr-news-box article,
.mlr-news-box .mlr-news-item{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}

.mlr-news-widget a,
.mlr-featured-news a,
.mlr-home-news a,
.mlr-sidebar-news a,
.mlr-news-box a{
  max-width:100% !important;
  overflow:hidden;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* If the widget uses a horizontal flex/slider, force one item per row in sidebar. */
.mlr-right-sidebar .mlr-news-list,
.mlr-right-sidebar .mlr-news-track,
.mlr-right-sidebar .mlr-news-slider,
.mlr-sidebar-right .mlr-news-list,
.mlr-sidebar-right .mlr-news-track,
.mlr-sidebar-right .mlr-news-slider{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  max-width:100% !important;
  transform:none !important;
  translate:none !important;
  gap:8px !important;
  overflow:hidden !important;
}

.mlr-right-sidebar .mlr-news-list > *,
.mlr-right-sidebar .mlr-news-track > *,
.mlr-right-sidebar .mlr-news-slider > *,
.mlr-sidebar-right .mlr-news-list > *,
.mlr-sidebar-right .mlr-news-track > *,
.mlr-sidebar-right .mlr-news-slider > *{
  flex:0 0 auto !important;
  width:100% !important;
  max-width:100% !important;
}

/* Featured news card: title area + content stay inside the sidebar card. */
.mlr-featured-news-title,
.mlr-news-widget-title,
.mlr-sidebar-news-title{
  width:100% !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow:hidden !important;
}

.mlr-featured-news-content,
.mlr-news-widget-content,
.mlr-sidebar-news-content{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:hidden !important;
}

/* Common two-column item pattern */
.mlr-right-sidebar .mlr-news-item,
.mlr-sidebar-right .mlr-news-item{
  display:grid !important;
  grid-template-columns:76px minmax(0,1fr) !important;
  gap:9px !important;
  align-items:start !important;
  padding:8px !important;
  background:#fff !important;
}

.mlr-right-sidebar .mlr-news-item img,
.mlr-sidebar-right .mlr-news-item img{
  width:76px !important;
  height:58px !important;
  max-width:76px !important;
  object-fit:cover !important;
  border-radius:6px !important;
}

.mlr-right-sidebar .mlr-news-item h3,
.mlr-right-sidebar .mlr-news-item h4,
.mlr-right-sidebar .mlr-news-item .title,
.mlr-sidebar-right .mlr-news-item h3,
.mlr-sidebar-right .mlr-news-item h4,
.mlr-sidebar-right .mlr-news-item .title{
  margin:0 !important;
  font-size:12px !important;
  line-height:1.35 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}

/* Absolute safety: never let the sidebar create page-level horizontal scroll. */
body{
  overflow-x:hidden;
}

@media(max-width:900px){
  .mlr-right-sidebar,
  .mlr-sidebar-right,
  .mlr-side-right,
  .mlr-layout-right{
    width:100% !important;
  }
}


/* v1.15.3 - Featured News sidebar exact compact list */
.mlr-featured-news-card{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid #dfe5ec;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.06);
}

.mlr-featured-news-head{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  background:#be0d12;
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:900;
}

.mlr-featured-news-head-icon{
  width:14px;
  flex:0 0 14px;
  color:#fff;
  font-size:12px;
  line-height:1;
}

.mlr-featured-news-list{
  width:100%;
  display:flex;
  flex-direction:column;
  padding:7px 10px 9px;
  background:#fff;
}

.mlr-featured-news-item{
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:7px 0;
  border:0;
  border-bottom:1px solid #f0f2f5;
  background:#fff;
  color:#475467;
  text-decoration:none;
}

.mlr-featured-news-item:last-child{
  border-bottom:0;
}

.mlr-featured-news-item:hover{
  background:#fff;
}

.mlr-featured-news-thumb{
  width:48px;
  height:48px;
  display:block;
  overflow:hidden;
  border-radius:5px;
  background:#eef2f6;
}

.mlr-featured-news-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.mlr-featured-news-no-thumb{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef2f6;
  color:#98a2b3;
  font-size:10px;
  font-weight:900;
}

.mlr-featured-news-title{
  min-width:0;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  color:#475467;
  font-size:13px;
  line-height:1.45;
  font-weight:500;
  white-space:normal;
  overflow-wrap:anywhere;
}

.mlr-featured-news-item:hover .mlr-featured-news-title{
  color:#b90d13;
}

.mlr-featured-news-empty{
  padding:18px 10px;
  color:#98a2b3;
  text-align:center;
  font-size:12px;
}

/* Never inherit the full /tin-tuc/ card rules */
.mlr-page-sidebar .mlr-featured-news-card,
.mlr-right-sidebar .mlr-featured-news-card{
  display:block !important;
  grid-template-columns:none !important;
}

@media(max-width:1000px){
  .mlr-featured-news-title{
    font-size:12px;
  }
}

@media(max-width:760px){
  .mlr-featured-news-card{
    border-radius:10px;
  }

  .mlr-featured-news-head{
    min-height:38px;
    padding:0 11px;
    font-size:12px;
  }

  .mlr-featured-news-list{
    padding:5px 9px 7px;
  }

  .mlr-featured-news-item{
    grid-template-columns:46px minmax(0,1fr);
    gap:8px;
    padding:6px 0;
  }

  .mlr-featured-news-thumb{
    width:46px;
    height:46px;
  }
}


/* v1.15.5 - Global Roboto typography */
:root{
  --mlr-font-family:'Roboto', Arial, Helvetica, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
table,
th,
td,
a,
p,
span,
div,
label,
small,
strong,
b,
h1,
h2,
h3,
h4,
h5,
h6{
  font-family:var(--mlr-font-family) !important;
}

body,
.mlr-main-header,
.mlr-main-nav,
.mlr-header-row-one,
.mlr-header-row-two,
.mlr-agency-copy,
.mlr-board,
.mlr-table,
.mlr-calendar,
.mlr-featured-news-card,
.mlr-news-page,
.mlr-electronic-page,
.mlr-ticket-preview-sheet,
.mlr-sidebar,
.mlr-right-sidebar,
.mlr-left-sidebar{
  font-family:var(--mlr-font-family) !important;
}

input::placeholder,
textarea::placeholder{
  font-family:var(--mlr-font-family) !important;
}

button,
input[type="button"],
input[type="submit"],
.button,
.mlr-auth-btn,
.mlr-region-tab,
.mlr-electronic-tabs a{
  font-family:var(--mlr-font-family) !important;
}

/* Normalize Vietnamese text rendering */
body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

.mlr-table,
.mlr-number,
.mlr-electronic-table,
.mlr-number-balls span,
.mlr-max3d-numbers-live span{
  font-variant-numeric:tabular-nums;
}


/* v1.15.8 - Clickable news cards + single post page */
.mlr-news-card[data-url]{
  cursor:pointer;
}

.mlr-news-card[data-url]:focus-visible{
  outline:2px solid #d10b15;
  outline-offset:2px;
}

.mlr-single-news-page{
  min-height:70vh;
  padding:24px 0 54px;
  background:#f3f6fa;
}

.mlr-single-news-shell{
  width:min(980px,calc(100% - 24px));
  margin:0 auto;
}

.mlr-single-news-article{
  overflow:hidden;
  border:1px solid #e3e8ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 26px rgba(15,23,42,.06);
}

.mlr-single-news-breadcrumb{
  display:flex;
  align-items:center;
  gap:7px;
  padding:12px 22px;
  border-bottom:1px solid #eef1f5;
  color:#98a2b3;
  font-size:12px;
}

.mlr-single-news-breadcrumb a{
  color:#c80e18;
  font-weight:700;
  text-decoration:none;
}

.mlr-single-news-breadcrumb span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.mlr-single-news-header{
  padding:22px 24px 14px;
}

.mlr-single-news-header h1{
  margin:0;
  color:#101828;
  font-size:30px;
  line-height:1.25;
  font-weight:850;
}

.mlr-single-news-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
  color:#98a2b3;
  font-size:12px;
}

.mlr-single-news-meta-item{
  display:flex;
  align-items:center;
  gap:6px;
}

.mlr-single-news-meta a{
  color:#667085;
  text-decoration:none;
}


/* v1.20.3 - author profile on single news */
.mlr-single-news-author{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
  padding:11px 13px;
  border:1px solid #e6eaf0;
  border-radius:10px;
  background:#f8fafc;
}

.mlr-single-news-author-avatar{
  flex:0 0 auto;
  line-height:0;
}

.mlr-single-news-author-avatar img{
  width:48px;
  height:48px;
  display:block;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 2px #fff,0 1px 5px rgba(15,23,42,.12);
}

.mlr-single-news-author-body{
  min-width:0;
}

.mlr-single-news-author-label{
  margin-bottom:1px;
  color:#98a2b3;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.mlr-single-news-author-name{
  display:inline-block;
  color:#101828;
  text-decoration:none;
  font-size:14px;
  line-height:1.35;
  font-weight:800;
}

.mlr-single-news-author-name:hover{
  color:#c80e18;
}

.mlr-single-news-author-role{
  margin-top:1px;
  color:#c80e18;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}

.mlr-single-news-author-bio{
  margin-top:3px;
  color:#667085;
  font-size:12px;
  line-height:1.5;
}

.mlr-single-news-author-more{
  display:inline-block;
  margin-top:4px;
  color:#667085;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
}

.mlr-single-news-author-more:hover{
  color:#c80e18;
}

.mlr-single-news-hero{
  margin:0;
  padding:0 24px 8px;
}

.mlr-single-news-hero img{
  width:100%;
  height:auto;
  display:block;
  max-height:560px;
  object-fit:cover;
  border-radius:10px;
}

.mlr-single-news-content{
  padding:18px 24px 26px;
  color:#344054;
  font-size:16px;
  line-height:1.75;
}

.mlr-single-news-content > *:first-child{
  margin-top:0;
}

.mlr-single-news-content img{
  max-width:100%;
  height:auto;
  border-radius:8px;
}

.mlr-single-news-content a{
  color:#c80e18;
}

.mlr-single-news-content h2,
.mlr-single-news-content h3,
.mlr-single-news-content h4{
  color:#101828;
  line-height:1.35;
}

.mlr-single-news-content blockquote{
  margin:20px 0;
  padding:14px 18px;
  border-left:4px solid #d10b15;
  background:#fff7f7;
  color:#475467;
}

.mlr-single-news-actions{
  padding:0 24px 24px;
}

.mlr-single-news-back{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border:1px solid #d8dee7;
  border-radius:8px;
  background:#fff;
  color:#344054;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}

.mlr-single-news-back:hover{
  border-color:#d10b15;
  color:#d10b15;
}

.mlr-related-news{
  margin-top:16px;
  padding:18px;
  border:1px solid #e3e8ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 20px rgba(15,23,42,.05);
}

.mlr-related-news h2{
  margin:0 0 14px;
  color:#101828;
  font-size:18px;
}

.mlr-related-news-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.mlr-related-news-card{
  min-width:0;
  color:#344054;
  text-decoration:none;
}

.mlr-related-news-thumb{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  border-radius:8px;
  background:#eef2f6;
}

.mlr-related-news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.mlr-related-news-no-thumb{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#98a2b3;
  font-size:11px;
  font-weight:900;
}

.mlr-related-news-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin-top:8px;
  color:#344054;
  font-size:13px;
  line-height:1.4;
  font-weight:700;
}

.mlr-related-news-card:hover .mlr-related-news-title{
  color:#d10b15;
}

@media(max-width:760px){
  .mlr-single-news-page{
    padding:10px 0 34px;
  }

  .mlr-single-news-shell{
    width:calc(100% - 14px);
  }

  .mlr-single-news-article,
  .mlr-related-news{
    border-radius:11px;
  }

  .mlr-single-news-breadcrumb{
    padding:10px 13px;
  }

  .mlr-single-news-header{
    padding:16px 14px 10px;
  }

  .mlr-single-news-header h1{
    font-size:23px;
  }


  .mlr-single-news-author{
    gap:10px;
    margin-top:12px;
    padding:10px 11px;
  }

  .mlr-single-news-author-avatar img{
    width:42px;
    height:42px;
  }

  .mlr-single-news-author-bio{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }

  .mlr-single-news-hero{
    padding:0 14px 6px;
  }

  .mlr-single-news-content{
    padding:14px 14px 20px;
    font-size:15px;
    line-height:1.7;
  }

  .mlr-single-news-actions{
    padding:0 14px 18px;
  }

  .mlr-related-news{
    padding:14px;
  }

  .mlr-related-news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
}


/* v1.16.0 - true live draw board */
.mlr-live-placeholder-table{
  display:block;
}

.mlr-live-wait-message{
  padding:10px 14px;
  background:#fff8e6;
  color:#8a5a00;
  border-bottom:1px solid #fde5a7;
  font-size:12px;
  text-align:center;
}

.mlr-pending-number{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:2.5em;
  min-height:1.25em;
  color:transparent;
  opacity:1;
}

/* Before draw time: small rotating ring like live lottery sites. */
.mlr-pending-number:not(.is-rolling)::before{
  content:'';
  width:12px;
  height:12px;
  border:2px dashed #a8dff7;
  border-radius:50%;
  animation:mlr-live-spinner .85s linear infinite;
}

.mlr-row-db .mlr-pending-number:not(.is-rolling)::before{
  border-color:#f2b1b5;
}

.mlr-pending-number.is-rolling{
  color:#d30b17;
  font-weight:900;
  opacity:1;
  font-variant-numeric:tabular-nums;
  animation:mlr-number-flip .12s linear infinite alternate;
}

.mlr-pending-number.is-rolling::before{
  display:none;
}

.mlr-final-number{
  position:relative;
  z-index:1;
}

.mlr-board:has(.mlr-pending-number.is-rolling) .mlr-title::after{
  content:'  •  ĐANG XỔ TRỰC TIẾP';
  color:#ffeb00;
  font-size:.62em;
  font-weight:900;
  letter-spacing:.035em;
}

@keyframes mlr-live-spinner{
  to{transform:rotate(360deg)}
}

@keyframes mlr-number-flip{
  from{transform:translateY(-1px);opacity:.74}
  to{transform:translateY(1px);opacity:1}
}

@media(prefers-reduced-motion:reduce){
  .mlr-pending-number:not(.is-rolling)::before,
  .mlr-pending-number.is-rolling{animation:none}
}


/* v1.16.1 - browser-authoritative live date + clearer rolling state */
.mlr-live-wait-message{
  margin:0;
  padding:9px 12px;
  border-radius:0;
  background:#fff8e6;
  color:#8a5a00;
  font-size:12px;
  font-weight:700;
}

.mlr-pending-number:not(.is-rolling){
  position:relative;
  color:transparent !important;
}

.mlr-pending-number:not(.is-rolling)::before{
  content:'';
  display:inline-block;
  width:12px;
  height:12px;
  border:2px dashed #b9c2ce;
  border-radius:50%;
  vertical-align:middle;
  animation:mlr-pending-spin 1s linear infinite;
}

.mlr-pending-number.is-rolling{
  display:inline-block;
  min-width:2.4em;
  text-align:center;
  color:#d10b15 !important;
  font-weight:850;
}

@keyframes mlr-pending-spin{
  to{transform:rotate(360deg)}
}


/* v1.16.2 - refined live draw animation */
.mlr-pending-number{
  min-width:2.7em;
  color:transparent !important;
  font-variant-numeric:tabular-nums;
  font-weight:700;
}

/* Future prizes: compact spinner only */
.mlr-pending-number.is-waiting{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  min-height:24px;
  color:transparent !important;
}

.mlr-pending-number.is-waiting::before{
  content:'';
  width:11px;
  height:11px;
  border:2px solid #d8e0e8;
  border-top-color:#63b3e6;
  border-radius:50%;
  animation:mlr-live-soft-spin .85s linear infinite;
}

/* Only current prize row shows rolling numbers */
.mlr-current-draw-row{
  background:linear-gradient(90deg,#fbfdff,#f6fbff,#fbfdff) !important;
}

.mlr-current-draw-row .mlr-prize{
  position:relative;
  color:#0f4f75;
  font-weight:900;
}

.mlr-current-draw-row .mlr-prize::after{
  content:'ĐANG QUAY';
  display:block;
  margin-top:2px;
  color:#4aa3d2;
  font-size:8px;
  line-height:1;
  letter-spacing:.05em;
  font-weight:800;
}

.mlr-pending-number.is-rolling{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:3.2em;
  min-height:28px;
  padding:2px 5px;
  border:1px solid #d9eaf4;
  border-radius:6px;
  background:#f4fbff;
  color:#69a9ca !important;
  opacity:.92;
  font-size:.9em;
  font-weight:800;
  text-align:center;
  text-shadow:none !important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.03);
  animation:mlr-live-number-soft .55s ease-in-out infinite alternate;
}

/* Do not underline / decorate rolling values */
.mlr-pending-number.is-rolling::after{
  display:none !important;
}

@keyframes mlr-live-soft-spin{
  to{transform:rotate(360deg)}
}

@keyframes mlr-live-number-soft{
  from{
    opacity:.55;
    transform:translateY(-1px);
    filter:blur(.25px);
  }
  to{
    opacity:1;
    transform:translateY(1px);
    filter:blur(0);
  }
}

/* Real results remain visually dominant */
.mlr-final-number{
  opacity:1 !important;
  filter:none !important;
}

/* Replace aggressive global live title marker with compact badge */
.mlr-board:has(.mlr-current-draw-row) .mlr-title::after{
  content:' • ĐANG XỔ TRỰC TIẾP';
  color:#ffe55c;
  font-size:.58em;
  font-weight:900;
  letter-spacing:.025em;
}

@media(max-width:760px){
  .mlr-pending-number.is-rolling{
    min-width:2.8em;
    min-height:25px;
    padding:1px 4px;
    font-size:.82em;
  }

  .mlr-current-draw-row .mlr-prize::after{
    font-size:7px;
  }
}

@media(prefers-reduced-motion:reduce){
  .mlr-pending-number.is-waiting::before,
  .mlr-pending-number.is-rolling{
    animation:none !important;
  }
}


/* v1.16.4 auth pages + protected ticket info */
.mlr-auth-page {
    min-height: 100vh;
    background: #eef0f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.mlr-auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    padding: 34px 36px 28px;
}
.mlr-auth-card h1 {
    margin: 0 0 10px;
    text-align: center;
    color: #c70f10;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}
.mlr-auth-subtitle {
    margin: 0 0 26px;
    text-align: center;
    color: #667085;
    font-size: 15px;
}
.mlr-auth-alert {
    margin-bottom: 16px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
}
.mlr-auth-alert.error { background: #fff1f1; color: #b42318; border: 1px solid #f8d5d5; }
.mlr-auth-alert.success { background: #ecfdf3; color: #027a48; border: 1px solid #b7e4c7; }
.mlr-auth-form .mlr-auth-field { margin-bottom: 16px; }
.mlr-auth-form label { display:block; margin-bottom:8px; font-weight:700; color:#12223d; font-size:14px; }
.mlr-auth-form input[type="text"],
.mlr-auth-form input[type="email"],
.mlr-auth-form input[type="password"] {
    width:100%;
    height:44px;
    border:1px solid #d0d5dd;
    border-radius:10px;
    padding:0 14px;
    font-size:15px;
}
.mlr-auth-form input:focus { outline:none; border-color:#c70f10; box-shadow:0 0 0 3px rgba(199,15,16,.12); }
.mlr-auth-remember { display:flex; align-items:center; gap:8px; margin-bottom:16px; color:#344054; font-size:14px; }
.mlr-auth-submit {
    width:100%; height:46px; border:none; border-radius:10px; background:#c40000; color:#fff; font-size:16px; font-weight:800; cursor:pointer;
}
.mlr-auth-submit:hover { background:#ab0000; }
.mlr-auth-footer { margin-top:18px; text-align:center; font-size:14px; color:#667085; }
.mlr-auth-footer a { color:#c40000; font-weight:700; text-decoration:none; }
.mlr-auth-footer a:hover { text-decoration:underline; }
.mlr-auth-top-link { text-align:center; margin-top:14px; font-size:13px; }
.mlr-auth-top-link a { color:#475467; text-decoration:none; }
.mlr-auth-top-link a:hover { text-decoration:underline; }
.mlr-auth-user-btn { background:#0d62ff; color:#fff; }
.mlr-auth-user-btn:hover { background:#094fcc; }


/* v1.16.6 electronic result restyle — compact look inspired by target layout */
.mlr-electronic-wrap{
  max-width:680px;
  margin:10px auto 48px;
  padding:0 8px;
}

.mlr-electronic-tabs{
  border-radius:12px;
  margin-bottom:12px;
  box-shadow:0 4px 14px rgba(15,23,42,.05);
}

.mlr-electronic-tabs a{
  min-height:88px;
  padding:10px 8px 14px;
  flex-direction:column;
  gap:5px;
  text-align:center;
}

.mlr-electronic-tab-copy{
  text-align:center;
}

.mlr-electronic-tab-icon{
  position:relative;
  width:auto;
  height:22px;
  min-width:48px;
  flex:0 0 auto;
  padding:0 7px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#e10d19;
  font-size:9px;
  font-weight:950;
  line-height:22px;
}
.mlr-electronic-tab-icon::before,
.mlr-electronic-tab-icon::after{
  content:"";
  position:absolute;
  top:1px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#ffcd24;
  box-shadow:0 0 0 1px rgba(0,0,0,.04);
}
.mlr-electronic-tab-icon::before{left:5px}
.mlr-electronic-tab-icon::after{right:5px;background:#ff5b35}
.mlr-electronic-tab-icon{
  text-shadow:0 1px 0 #fff;
  z-index:1;
}
.mlr-tab-power655 .mlr-electronic-tab-icon{
  color:#b97709;
}
.mlr-tab-max3d .mlr-electronic-tab-icon,
.mlr-tab-max3dpro .mlr-electronic-tab-icon{
  color:#c30c82;
}

.mlr-electronic-tabs strong{
  font-size:14px;
}
.mlr-electronic-tabs small{
  font-size:10px;
  margin-top:0;
}
.mlr-electronic-tabs a.active{
  border-bottom-color:#e10d19;
}

.mlr-electronic-datebar{
  padding:8px 10px;
  border-radius:10px;
  box-shadow:none;
  margin-bottom:12px;
}
.mlr-electronic-datebar-label{
  font-size:11px;
}
.mlr-electronic-date-chips a{
  min-width:52px;
  padding:6px 8px;
  border-radius:7px;
  font-size:10px;
}
.mlr-electronic-date-picker{
  min-height:34px;
  height:34px;
  font-size:12px;
}

.mlr-electronic-card{
  border-radius:12px;
  box-shadow:0 10px 28px rgba(15,23,42,.10);
  border-color:#e3e8ef;
}

.mlr-electronic-head{
  min-height:60px;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  background:#cf0b12 !important;
}
.mlr-electronic-brandmark{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
  color:#fff;
  font-size:11px;
  font-weight:900;
}
.mlr-electronic-brandmark strong{
  font-size:11px;
}
.mlr-electronic-brand-balls{
  position:relative;
  display:inline-block;
  width:28px;
  height:20px;
}
.mlr-electronic-brand-balls::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ffd12d;
  box-shadow:8px -3px 0 #ff5a36, 15px 3px 0 #ffffff;
}
.mlr-electronic-head-copy{
  min-width:0;
}
.mlr-electronic-head h1{
  margin:0;
  color:#fff;
  font-size:15px;
  font-weight:900;
  line-height:1.25;
}

.mlr-electronic-summary{
  padding:13px 16px 12px;
  font-size:12px;
  color:#172033;
  border-bottom:0;
}
.mlr-electronic-summary p{
  margin:4px 0;
}
.mlr-electronic-summary strong{
  color:#f2a300;
}
.mlr-electronic-summary b{
  color:#f2a300;
  font-weight:900;
}

.mlr-number-balls{
  gap:10px;
  padding:23px 10px 25px;
  background:#171b73;
}
.mlr-number-balls span{
  width:50px;
  height:50px;
  border:0;
  background:#f12c2c;
  box-shadow:0 3px 0 #b91c1c, 0 7px 14px rgba(0,0,0,.14);
  font-size:19px;
  font-weight:900;
}

.mlr-jackpot-area{
  padding:14px 12px 15px;
  text-align:center;
  background:#fff;
}
.mlr-jackpot-label{
  margin-bottom:8px;
  color:#475467;
  font-size:12px;
}
.mlr-jackpot-box{
  max-width:255px;
  margin:0 auto;
  padding:9px 18px 10px;
  border-radius:999px;
  background:#ed2e2e;
  color:#ffe900;
  font-size:20px;
  font-weight:950;
  box-shadow:none;
}
.mlr-jackpot-pending{
  display:inline-block;
  min-width:180px;
  padding:9px 18px;
  border-radius:999px;
  background:#f2f4f7;
  color:#667085;
  font-size:13px;
  font-weight:800;
}

.mlr-electronic-table{
  border-top:1px solid #cfd8e3;
}
.mlr-electronic-table th,
.mlr-electronic-table td{
  padding:9px 11px;
  border-color:#d7dee7;
}
.mlr-electronic-table thead th{
  background:#1e2a3a;
  color:#fff;
  font-size:11px;
}
.mlr-electronic-table td{
  font-size:12px;
  color:#101828;
}
.mlr-electronic-table td:first-child{
  text-align:left;
}
.mlr-electronic-table td:last-child{
  text-align:right;
  font-weight:800;
}
.mlr-electronic-table tbody tr:nth-child(even){
  background:#f7f9fc;
}

.mlr-electronic-no-db,
.mlr-electronic-fallback-note{
  margin:0;
  border-radius:0;
  font-size:11px;
}

/* Power shares the same compact result-card language */
.mlr-number-balls.power{
  padding:22px 10px 24px;
  background:#fff;
}
.mlr-number-balls.power span{
  width:46px;
  height:46px;
  border:2px solid #d8a10d;
  background:#fff;
  box-shadow:0 3px 8px rgba(15,23,42,.08);
}
.mlr-number-balls.power span:last-child{
  background:#f5a400;
  color:#fff;
}
.mlr-jackpot-dual{
  max-width:520px;
  margin:12px auto 14px;
  padding:0 10px;
}

@media(max-width:700px){
  .mlr-electronic-wrap{
    max-width:100%;
    padding:0 6px;
  }
  .mlr-electronic-tabs{
    grid-template-columns:repeat(4,minmax(95px,1fr));
  }
  .mlr-electronic-tabs a{
    min-height:76px;
    padding:8px 6px 11px;
  }
  .mlr-electronic-tab-icon{
    min-width:42px;
  }
  .mlr-electronic-tabs strong{
    font-size:12px;
  }
  .mlr-electronic-head{
    padding:10px 12px;
  }
  .mlr-electronic-brandmark strong{
    display:none;
  }
  .mlr-electronic-head h1{
    font-size:14px;
  }
  .mlr-number-balls{
    gap:7px;
    padding:19px 6px 21px;
  }
  .mlr-number-balls span{
    width:43px;
    height:43px;
    font-size:17px;
  }
  .mlr-jackpot-box{
    max-width:235px;
    font-size:18px;
  }
}


/* v1.16.7 electronic UI correction */
.mlr-electronic-wrap{
  max-width:760px;
  margin:14px auto 52px;
  padding:0 10px;
}

/* Clean tab icons: ornament only, no overlapping 45/55/3D text */
.mlr-electronic-tab-icon{
  width:54px !important;
  min-width:54px !important;
  height:24px !important;
  padding:0 !important;
  font-size:0 !important;
  line-height:0 !important;
  text-shadow:none !important;
}
.mlr-electronic-tab-icon::before,
.mlr-electronic-tab-icon::after{
  width:15px !important;
  height:15px !important;
  top:4px !important;
}
.mlr-electronic-tab-icon::before{
  left:12px !important;
  background:#ffc21c !important;
}
.mlr-electronic-tab-icon::after{
  right:12px !important;
  background:#ff5a39 !important;
}
.mlr-tab-max3d .mlr-electronic-tab-icon::before,
.mlr-tab-max3dpro .mlr-electronic-tab-icon::before{
  background:#f5b400 !important;
}
.mlr-tab-max3d .mlr-electronic-tab-icon::after,
.mlr-tab-max3dpro .mlr-electronic-tab-icon::after{
  background:#e91e63 !important;
}

/* Keep historical date access, but stop it dominating the design */
.mlr-electronic-datebar{
  justify-content:flex-end !important;
  min-height:42px;
  padding:4px 0 8px !important;
  background:transparent !important;
  border:0 !important;
}
.mlr-electronic-datebar-label,
.mlr-electronic-date-chips{
  display:none !important;
}
.mlr-electronic-date-picker{
  width:160px !important;
  min-height:36px !important;
  height:36px !important;
  background:#fff;
  border:1px solid #d9e0e8;
  border-radius:8px;
  padding:0 10px;
  font-size:13px !important;
}

.mlr-electronic-card{
  border-radius:12px;
  overflow:hidden;
}

.mlr-electronic-head{
  min-height:58px !important;
  padding:12px 18px !important;
  gap:8px !important;
}
.mlr-electronic-brandmark{
  width:40px;
  justify-content:center;
}
.mlr-electronic-brandmark strong{
  display:none !important;
}
.mlr-electronic-brand-balls{
  width:34px !important;
}
.mlr-electronic-head h1{
  font-size:16px !important;
  letter-spacing:-.1px;
}

.mlr-electronic-summary{
  padding:14px 18px 13px !important;
  font-size:13px !important;
  line-height:1.45;
}
.mlr-electronic-summary p{
  margin:3px 0 !important;
}

.mlr-number-balls{
  min-height:102px;
  gap:12px !important;
  padding:24px 12px 27px !important;
}
.mlr-number-balls span{
  width:52px !important;
  height:52px !important;
  font-size:20px !important;
}

.mlr-jackpot-area{
  padding:15px 12px 16px !important;
}
.mlr-jackpot-label{
  font-size:13px !important;
  margin-bottom:9px !important;
}
.mlr-jackpot-box{
  max-width:290px !important;
  padding:10px 22px 11px !important;
  font-size:22px !important;
}
.mlr-jackpot-pending{
  min-width:200px !important;
  background:#f3f4f6 !important;
  color:#667085 !important;
}

.mlr-electronic-table th{
  font-size:12px !important;
  padding:10px 12px !important;
}
.mlr-electronic-table td{
  font-size:13px !important;
  padding:10px 12px !important;
}
.mlr-electronic-table td:nth-child(2),
.mlr-electronic-table td:nth-child(3){
  text-align:center;
}
.mlr-electronic-table td:last-child{
  text-align:right;
  font-weight:800;
}

@media(max-width:700px){
  .mlr-electronic-wrap{
    padding:0 6px;
  }
  .mlr-electronic-datebar{
    padding-right:4px !important;
  }
  .mlr-electronic-tabs a{
    min-height:80px !important;
  }
  .mlr-electronic-tabs strong{
    font-size:12px !important;
  }
  .mlr-electronic-tab-icon{
    width:44px !important;
    min-width:44px !important;
  }
  .mlr-electronic-tab-icon::before{left:8px !important}
  .mlr-electronic-tab-icon::after{right:8px !important}
  .mlr-electronic-head{
    min-height:54px !important;
    padding:10px 12px !important;
  }
  .mlr-electronic-head h1{
    font-size:14px !important;
  }
  .mlr-number-balls{
    gap:7px !important;
  }
  .mlr-number-balls span{
    width:43px !important;
    height:43px !important;
    font-size:17px !important;
  }
}


/* v1.16.9 live sidebar links */
.mlr-live-list a.mlr-live-item{
  text-decoration:none;
  color:inherit;
}
.mlr-live-list a.mlr-live-item:hover{
  background:#f8fafc;
  color:#c20d12;
}


/* v1.17.0 live video page */
.mlr-live-video-page{
  background:#eef1f5;
  min-height:70vh;
  padding:28px 14px 60px;
  font-family:'Roboto',sans-serif;
}
.mlr-live-video-shell{
  max-width:1080px;
  margin:0 auto;
}
.mlr-live-video-card{
  background:#fff;
  border:1px solid #dfe5ec;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.mlr-live-video-head{
  min-height:58px;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#c80e13;
  color:#fff;
}
.mlr-live-video-head>div{
  display:flex;
  align-items:center;
  gap:9px;
}
.mlr-live-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.18);
  animation:mlrLivePulse 1.2s infinite;
}
@keyframes mlrLivePulse{
  0%,100%{opacity:1}
  50%{opacity:.35}
}
.mlr-live-video-date{
  font-size:13px;
  opacity:.92;
}
.mlr-live-video-tabs{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  border-bottom:1px solid #e4e7ec;
  background:#fff;
}
.mlr-live-video-tabs a{
  padding:14px 8px;
  text-align:center;
  text-decoration:none;
  color:#475467;
  font-size:13px;
  font-weight:700;
  border-bottom:3px solid transparent;
}
.mlr-live-video-tabs a:hover,
.mlr-live-video-tabs a.active{
  color:#c80e13;
  background:#fff8f8;
  border-bottom-color:#c80e13;
}
.mlr-live-video-title{
  padding:18px 20px 14px;
}
.mlr-live-video-title h1{
  margin:0 0 5px;
  font-size:22px;
  color:#111827;
}
.mlr-live-video-title p{
  margin:0;
  color:#667085;
  font-size:14px;
}
.mlr-live-video-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#0b1020;
}
.mlr-live-video-frame iframe,
.mlr-live-video-frame video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  object-fit:contain;
  background:#000;
}
.mlr-live-video-meta{
  min-height:58px;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid #e4e7ec;
}
.mlr-live-status-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#067647;
  font-size:13px;
  font-weight:700;
}
.mlr-live-status-pill i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#12b76a;
}
.mlr-live-video-meta a{
  color:#c80e13;
  font-weight:700;
  text-decoration:none;
}
.mlr-live-video-empty{
  padding:70px 20px 76px;
  text-align:center;
  background:linear-gradient(180deg,#f8fafc,#fff);
}
.mlr-live-video-placeholder{
  width:76px;
  height:76px;
  margin:0 auto 16px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#c80e13;
  color:#fff;
  font-size:28px;
  padding-left:4px;
  box-shadow:0 10px 24px rgba(200,14,19,.18);
}
.mlr-live-video-empty h2{
  margin:0 0 7px;
  font-size:20px;
}
.mlr-live-video-empty p{
  margin:0 0 18px;
  color:#667085;
}
.mlr-live-video-setup-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:8px;
  background:#c80e13;
  color:#fff !important;
  text-decoration:none;
  font-weight:800;
}
.mlr-live-video-note{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid #e4e7ec;
  border-radius:10px;
  background:#fff;
  color:#475467;
  font-size:13px;
}
.mlr-live-video-note strong{
  color:#111827;
}
.mlr-live-video-note p{
  margin:5px 0 0;
}
@media(max-width:900px){
  .mlr-live-video-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .mlr-live-video-page{
    padding:14px 6px 40px;
  }
  .mlr-live-video-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .mlr-live-video-tabs a{
    font-size:12px;
    padding:11px 6px;
  }
  .mlr-live-video-head{
    padding:0 12px;
  }
  .mlr-live-video-title{
    padding:14px 12px 12px;
  }
  .mlr-live-video-title h1{
    font-size:18px;
  }
}


/* v1.17.1 ticket lookup result modal */
html.mlr-modal-open{
  overflow:hidden;
}
.mlr-check-modal[hidden]{
  display:none !important;
}
.mlr-check-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  place-items:center;
  padding:20px;
}
.mlr-check-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.52);
  backdrop-filter:blur(2px);
}
.mlr-check-modal-dialog{
  position:relative;
  z-index:1;
  width:min(440px,100%);
  background:#fff;
  border-radius:16px;
  padding:28px 26px 24px;
  box-shadow:0 24px 70px rgba(15,23,42,.24);
  text-align:center;
}
.mlr-check-modal-close{
  position:absolute;
  top:10px;
  right:12px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#667085;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.mlr-check-modal-icon{
  width:64px;
  height:64px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:34px;
  font-weight:900;
}
.mlr-check-modal h3{
  margin:0 0 8px;
  font-size:22px;
  font-weight:900;
}
.mlr-check-modal-message{
  color:#475467;
  font-size:14px;
  line-height:1.5;
}
.mlr-check-modal-results{
  display:grid;
  gap:8px;
  margin-top:16px;
  text-align:left;
}
.mlr-check-win-row{
  padding:11px 12px;
  border:1px solid #d7eadc;
  border-radius:10px;
  background:#f2fbf5;
}
.mlr-check-win-row strong{
  display:block;
  margin-bottom:3px;
  color:#067647;
  font-size:15px;
}
.mlr-check-win-row span{
  color:#475467;
  font-size:13px;
}
.mlr-check-modal-ok{
  min-width:120px;
  margin-top:20px;
  padding:10px 20px;
  border:0;
  border-radius:9px;
  background:#c80e13;
  color:#fff;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.mlr-check-modal.is-win .mlr-check-modal-icon{
  background:#dcfae6;
  color:#079455;
}
.mlr-check-modal.is-win h3{
  color:#067647;
}
.mlr-check-modal.is-lose .mlr-check-modal-icon{
  background:#fee4e2;
  color:#d92d20;
}
.mlr-check-modal.is-lose h3{
  color:#b42318;
}
.mlr-check-modal.is-no-data .mlr-check-modal-icon,
.mlr-check-modal.is-error .mlr-check-modal-icon{
  background:#fff4cc;
  color:#b54708;
}
.mlr-check-modal.is-no-data h3,
.mlr-check-modal.is-error h3{
  color:#93370d;
}
.mlr-header-check-btn:disabled{
  opacity:.7;
  cursor:wait;
}


/* v1.17.2 live page: chỉ hiển thị video */
.mlr-live-video-page,
.mlr-live-video-card,
.mlr-live-video-head,
.mlr-live-video-tabs,
.mlr-live-video-title,
.mlr-live-video-meta,
.mlr-live-video-note,
.mlr-live-video-empty{
  display:none !important;
}

.mlr-live-video-only-page{
  background:#eef1f5;
  min-height:calc(100vh - 150px);
  padding:22px 12px 50px;
}

.mlr-live-video-only-shell{
  width:min(1180px,100%);
  margin:0 auto;
}

.mlr-live-video-only-frame{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  background:#000;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(15,23,42,.10);
}

.mlr-live-video-only-frame iframe,
.mlr-live-video-only-frame video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  object-fit:contain;
  background:#000;
}

.mlr-live-video-only-empty{
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#fff;
  color:#667085;
  font-size:15px;
}

@media(max-width:700px){
  .mlr-live-video-only-page{
    padding:10px 0 30px;
  }
  .mlr-live-video-only-frame{
    border-radius:0;
  }
  .mlr-live-video-only-empty{
    min-height:260px;
    border-radius:0;
  }
}


/* v1.17.3 standalone live page: bỏ header/footer mặc định của WordPress theme */
body.mlr-live-video-standalone{
  margin:0;
}
body.mlr-live-video-standalone > header.site-header,
body.mlr-live-video-standalone > footer.site-footer,
body.mlr-live-video-standalone .site-info{
  display:none !important;
}


/* v1.17.4 configurable site footer */
.mlr-site-footer{
  margin-top:44px;
  background:#b90c0f;
  color:#fff;
  font-family:'Roboto',sans-serif;
}
.mlr-site-footer-inner{
  width:min(1260px,calc(100% - 36px));
  margin:0 auto;
}
.mlr-footer-main{
  display:grid;
  grid-template-columns:1.45fr .85fr .85fr;
  gap:72px;
  padding:40px 0 38px;
}
.mlr-footer-company{
  min-width:0;
}
.mlr-footer-logo{
  display:block;
  width:58px;
  height:58px;
  object-fit:contain;
  margin-bottom:8px;
}
.mlr-footer-agency{
  display:block;
  margin-bottom:14px;
  font-size:16px;
  font-weight:900;
  color:#fff;
}
.mlr-footer-info-row{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:10px 0;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  line-height:1.45;
}
a.mlr-footer-info-row:hover{
  color:#ffd768;
}
.mlr-footer-info-icon{
  width:15px;
  flex:0 0 15px;
  text-align:center;
  font-size:15px;
  line-height:1.3;
}
.mlr-footer-links-column h3{
  margin:5px 0 18px;
  color:#fff;
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
}
.mlr-footer-links-column nav{
  display:grid;
  gap:12px;
}
.mlr-footer-links-column a{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  line-height:1.35;
}
.mlr-footer-links-column a span{
  font-size:19px;
  line-height:1;
}
.mlr-footer-links-column a:hover{
  color:#ffd768;
  transform:translateX(2px);
}
.mlr-footer-bottom{
  padding:16px 0 18px;
  border-top:1px solid rgba(255,255,255,.18);
  text-align:center;
  color:#fff;
  font-size:13px;
  font-weight:600;
}

/* Mobile footer */
@media(max-width:800px){
  .mlr-site-footer{
    margin-top:28px;
  }
  .mlr-site-footer-inner{
    width:min(100% - 28px,680px);
  }
  .mlr-footer-main{
    grid-template-columns:1fr;
    gap:26px;
    padding:30px 0 26px;
  }
  .mlr-footer-company{
    text-align:left;
  }
  .mlr-footer-logo{
    width:54px;
    height:54px;
  }
  .mlr-footer-agency{
    font-size:16px;
  }
  .mlr-footer-info-row{
    font-size:14px;
    margin:9px 0;
  }
  .mlr-footer-links-column{
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.16);
  }
  .mlr-footer-links-column h3{
    margin:0 0 13px;
    font-size:14px;
  }
  .mlr-footer-links-column nav{
    grid-template-columns:1fr 1fr;
    gap:10px 14px;
  }
  .mlr-footer-links-column a{
    font-size:13px;
  }
  .mlr-footer-bottom{
    font-size:12px;
    line-height:1.5;
  }
}

@media(max-width:480px){
  .mlr-site-footer-inner{
    width:calc(100% - 24px);
  }
  .mlr-footer-main{
    padding-top:24px;
  }
  .mlr-footer-links-column nav{
    grid-template-columns:1fr;
  }
}


/* v1.17.5 footer render/layout fix */
.mlr-site-footer{
  display:block !important;
  width:100% !important;
  clear:both !important;
  margin:44px 0 0 !important;
  padding:0 !important;
  background:#b90c0f !important;
  color:#fff !important;
  box-sizing:border-box !important;
}
.mlr-site-footer,
.mlr-site-footer *{
  box-sizing:border-box !important;
}
.mlr-site-footer-inner{
  display:block !important;
  width:min(1260px, calc(100% - 36px)) !important;
  max-width:1260px !important;
  margin:0 auto !important;
  padding:0 !important;
}
.mlr-footer-main{
  display:grid !important;
  grid-template-columns:minmax(280px,1.45fr) minmax(190px,.85fr) minmax(190px,.85fr) !important;
  align-items:start !important;
  gap:64px !important;
  padding:38px 0 34px !important;
}
.mlr-footer-company,
.mlr-footer-links-column{
  min-width:0 !important;
}
.mlr-site-footer img.mlr-footer-logo{
  display:block !important;
  width:58px !important;
  height:58px !important;
  max-width:58px !important;
  max-height:58px !important;
  min-width:58px !important;
  min-height:58px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 0 8px !important;
  padding:0 !important;
  border:0 !important;
}
.mlr-footer-agency{
  display:block !important;
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:16px !important;
  line-height:1.35 !important;
  font-weight:900 !important;
}
.mlr-footer-info-row{
  display:flex !important;
  align-items:flex-start !important;
  gap:9px !important;
  margin:9px 0 !important;
  padding:0 !important;
  color:#fff !important;
  text-decoration:none !important;
  font-size:14px !important;
  line-height:1.45 !important;
}
.mlr-footer-info-row span:last-child{
  min-width:0 !important;
  overflow-wrap:anywhere !important;
}
.mlr-footer-info-icon{
  width:16px !important;
  flex:0 0 16px !important;
  color:#fff !important;
  text-align:center !important;
  font-size:15px !important;
  line-height:1.3 !important;
}
.mlr-footer-links-column h3{
  margin:4px 0 18px !important;
  padding:0 !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:1.3 !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}
.mlr-footer-links-column nav{
  display:grid !important;
  gap:12px !important;
}
.mlr-footer-links-column a{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
  text-decoration:none !important;
  font-size:14px !important;
  line-height:1.4 !important;
}
.mlr-footer-links-column a:hover,
.mlr-footer-info-row:hover{
  color:#ffd768 !important;
}
.mlr-footer-bottom{
  display:block !important;
  width:100% !important;
  padding:16px 0 18px !important;
  border-top:1px solid rgba(255,255,255,.18) !important;
  color:#fff !important;
  text-align:center !important;
  font-size:13px !important;
  line-height:1.45 !important;
  font-weight:600 !important;
}
@media(max-width:800px){
  .mlr-site-footer{
    margin-top:28px !important;
  }
  .mlr-site-footer-inner{
    width:calc(100% - 28px) !important;
  }
  .mlr-footer-main{
    grid-template-columns:1fr !important;
    gap:24px !important;
    padding:28px 0 24px !important;
  }
  .mlr-footer-links-column{
    padding-top:18px !important;
    border-top:1px solid rgba(255,255,255,.16) !important;
  }
  .mlr-footer-links-column nav{
    grid-template-columns:1fr 1fr !important;
    gap:10px 14px !important;
  }
}
@media(max-width:480px){
  .mlr-site-footer-inner{
    width:calc(100% - 22px) !important;
  }
  .mlr-footer-links-column nav{
    grid-template-columns:1fr !important;
  }
  .mlr-footer-info-row,
  .mlr-footer-links-column a{
    font-size:13px !important;
  }
}


/* v1.17.7 footer information pages */
.mlr-info-page{
  min-height:62vh;
  background:#eef1f5;
  padding:34px 14px 54px;
}
.mlr-info-shell{
  width:min(1080px,100%);
  margin:0 auto;
}
.mlr-info-card{
  overflow:hidden;
  background:#fff;
  border:1px solid #e1e6ed;
  border-radius:14px;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.mlr-info-head{
  padding:24px 28px 22px;
  border-bottom:1px solid #e7ebf0;
  background:linear-gradient(180deg,#fff,#fafbfc);
}
.mlr-info-head-kicker{
  display:block;
  margin-bottom:7px;
  color:#c70f13;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}
.mlr-info-head h1{
  margin:0;
  color:#101828;
  font-size:28px;
  line-height:1.25;
  font-weight:900;
}
.mlr-info-content{
  padding:28px;
  color:#344054;
  font-size:15px;
  line-height:1.75;
}
.mlr-info-content h2,
.mlr-info-content h3{
  color:#101828;
  line-height:1.3;
}
.mlr-info-content h2{
  margin:0 0 14px;
  font-size:22px;
}
.mlr-info-content h3{
  margin:24px 0 10px;
  font-size:18px;
}
.mlr-info-content p{
  margin:0 0 14px;
}
.mlr-info-content ul,
.mlr-info-content ol{
  margin:10px 0 16px 22px;
}
.mlr-info-content a{
  color:#c70f13;
  font-weight:700;
}
.mlr-info-content img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}

@media(max-width:700px){
  .mlr-info-page{
    padding:18px 8px 36px;
  }
  .mlr-info-head{
    padding:18px 16px 16px;
  }
  .mlr-info-head h1{
    font-size:22px;
  }
  .mlr-info-content{
    padding:18px 16px;
    font-size:14px;
  }
}


/* v1.17.8 dedicated about page */
.mlr-about-page{
  background:#f4f6f8;
  color:#172033;
  font-family:'Roboto',Arial,sans-serif;
}
.mlr-about-shell{
  width:min(1240px,calc(100% - 36px));
  margin:0 auto;
}
.mlr-about-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 35%, rgba(218,23,28,.18), transparent 33%),
    linear-gradient(135deg,#fff 0%,#fff5f4 60%,#ffe4df 100%);
  border-bottom:1px solid #f0d6d3;
}
.mlr-about-hero::after{
  content:"";
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:-120px;
  height:180px;
  background:#fff;
  border-radius:50% 50% 0 0 / 100% 100% 0 0;
  opacity:.6;
}
.mlr-about-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  align-items:center;
  min-height:355px;
  gap:40px;
  padding:44px 0 54px;
}
.mlr-about-eyebrow,
.mlr-about-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#c70f13;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
}
.mlr-about-eyebrow::before,
.mlr-about-eyebrow::after,
.mlr-about-kicker::before{
  content:"";
  width:28px;
  height:2px;
  background:#d71419;
}
.mlr-about-kicker::before{width:22px}
.mlr-about-hero h1{
  margin:12px 0 8px;
  color:#101828;
  font-size:48px;
  line-height:1.08;
  letter-spacing:-.035em;
}
.mlr-about-hero h1 em{
  color:#c70f13;
  font-style:normal;
}
.mlr-about-tagline{
  margin:0 0 13px;
  color:#475467;
  font-size:19px;
  font-weight:800;
}
.mlr-about-lead{
  max-width:700px;
  margin:0;
  color:#667085;
  font-size:15px;
  line-height:1.7;
}
.mlr-about-actions{
  display:flex;
  gap:12px;
  margin-top:22px;
}
.mlr-about-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:43px;
  padding:0 18px;
  border-radius:9px;
  text-decoration:none!important;
  font-weight:800;
}
.mlr-about-btn.primary{
  background:#c70f13;
  color:#fff!important;
}
.mlr-about-btn.ghost{
  border:1px solid #e0b5b6;
  background:#fff;
  color:#c70f13!important;
}
.mlr-about-btn.wide{min-width:160px}
.mlr-about-hero-visual{
  position:relative;
  min-height:270px;
}
.mlr-about-lucky-orb{
  position:absolute;
  right:95px;
  top:15px;
  width:210px;
  height:210px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:radial-gradient(circle at 30% 25%,#ff6464,#d20d16 60%,#9e0007);
  box-shadow:0 20px 50px rgba(199,15,19,.25), inset 0 0 0 12px rgba(255,255,255,.08);
}
.mlr-about-lucky-orb img{
  width:132px;
  height:132px;
  object-fit:contain;
  border-radius:50%;
  background:#fff;
}
.mlr-about-lucky-orb span{
  color:#fff;
  font-size:54px;
  font-weight:950;
}
.mlr-about-ball{
  position:absolute;
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:26px;
  font-weight:950;
  border:5px solid rgba(255,255,255,.38);
  box-shadow:0 10px 18px rgba(0,0,0,.14);
}
.mlr-about-ball.ball-a{right:275px;bottom:7px;background:#1465b8}
.mlr-about-ball.ball-b{right:72px;bottom:4px;background:#44a04c}
.mlr-about-ball.ball-c{right:2px;bottom:32px;background:#e59a19}
.mlr-about-gold{
  position:absolute;
  width:22px;
  height:9px;
  border-radius:50%;
  background:linear-gradient(#ffe875,#d89a00);
  transform:rotate(-24deg);
}
.mlr-about-gold.g1{right:335px;top:60px}
.mlr-about-gold.g2{right:12px;top:80px;transform:rotate(34deg)}
.mlr-about-gold.g3{right:320px;bottom:82px;transform:rotate(12deg)}

.mlr-about-section{
  padding:30px 0;
}
.mlr-about-section.soft{
  background:#f8fafc;
  border-top:1px solid #e8edf2;
  border-bottom:1px solid #e8edf2;
}
.mlr-about-intro-grid{
  display:grid;
  grid-template-columns:280px 1.25fr .9fr;
  gap:30px;
  align-items:stretch;
  padding:18px;
  background:#fff;
  border:1px solid #e4e8ee;
  border-radius:15px;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.mlr-about-brand-panel{
  min-height:250px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:24px;
  border-radius:12px;
  background:
    linear-gradient(rgba(170,0,0,.12),rgba(170,0,0,.12)),
    linear-gradient(135deg,#d01218,#8d0208);
  color:#fff;
  text-align:center;
}
.mlr-about-brand-logo{
  width:112px;
  height:112px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}
.mlr-about-brand-logo img{
  width:96px;
  height:96px;
  object-fit:contain;
  border-radius:50%;
}
.mlr-about-brand-logo span{
  color:#c70f13;
  font-size:32px;
  font-weight:950;
}
.mlr-about-brand-panel strong{font-size:20px}
.mlr-about-brand-panel small{margin-top:5px;opacity:.9}
.mlr-about-story{
  padding:12px 0;
}
.mlr-about-story h2,
.mlr-about-section-head h2,
.mlr-about-reasons h2,
.mlr-about-contact h2{
  margin:8px 0 12px;
  color:#172033;
  font-size:28px;
  line-height:1.2;
}
.mlr-about-story p,
.mlr-about-section-head p,
.mlr-about-contact p{
  color:#667085;
  font-size:14px;
  line-height:1.7;
}
.mlr-about-editor-content p{margin:0 0 10px}
.mlr-about-highlights{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.mlr-about-highlight{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:105px;
  padding:14px;
  border-radius:12px;
}
.mlr-about-highlight.pink{background:#fff0f0}
.mlr-about-highlight.yellow{background:#fff9e7}
.mlr-about-highlight.blue{background:#eef6ff}
.mlr-about-highlight.green{background:#eefbf2}
.mlr-about-icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.8);
  color:#c70f13;
  font-size:20px;
  font-weight:900;
}
.mlr-about-highlight strong{
  display:block;
  margin-bottom:3px;
  color:#c70f13;
  font-size:14px;
}
.mlr-about-highlight small{
  color:#667085;
  line-height:1.45;
}

.mlr-about-section-head{
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:end;
  margin-bottom:18px;
}
.mlr-about-section-head>p{
  max-width:420px;
}
.mlr-about-services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}
.mlr-about-service{
  display:flex;
  flex-direction:column;
  min-height:245px;
  padding:20px;
  border:1px solid #e4e8ee;
  border-radius:13px;
  background:#fff;
  color:#172033!important;
  text-decoration:none!important;
  transition:.18s ease;
}
.mlr-about-service:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
}
.service-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin-bottom:16px;
  border-radius:50%;
  color:#fff;
  font-size:24px;
  font-weight:900;
}
.service-icon.red{background:#e73339}
.service-icon.orange{background:#f4a51c}
.service-icon.coral{background:#eb3943}
.service-icon.purple{background:#8e32d2}
.mlr-about-service h3{
  margin:0 0 8px;
  color:#d01419;
  font-size:18px;
}
.mlr-about-service p{
  margin:0 0 16px;
  color:#667085;
  font-size:14px;
  line-height:1.55;
}
.mlr-about-service b{
  margin-top:auto;
  display:block;
  padding:9px 12px;
  border-radius:8px;
  background:#fff0f0;
  color:#d01419;
  text-align:center;
  font-size:13px;
}

.mlr-about-bottom-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.mlr-about-reasons,
.mlr-about-contact{
  padding:25px;
  border:1px solid #e4e8ee;
  border-radius:14px;
  background:#fff;
}
.mlr-about-contact{
  background:linear-gradient(135deg,#fff,#fff0f0);
}
.mlr-about-checks{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 24px;
  margin-top:18px;
}
.mlr-about-checks span{
  color:#475467;
  font-size:14px;
  font-weight:600;
}
.mlr-about-checks span::first-letter{color:#e21c25}
.mlr-about-contact-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:18px 0;
}
.mlr-about-contact-row a{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px;
  border-radius:10px;
  background:#fff;
  color:#172033!important;
  text-decoration:none!important;
  border:1px solid #f0dada;
}
.mlr-about-contact-row>a>span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#c70f13;
  color:#fff;
}
.mlr-about-contact-row small{display:block;color:#667085}
.mlr-about-contact-row strong{
  display:block;
  margin-top:2px;
  color:#c70f13;
  font-size:16px;
  overflow-wrap:anywhere;
}

@media(max-width:1000px){
  .mlr-about-hero-grid{grid-template-columns:1fr}
  .mlr-about-hero-visual{display:none}
  .mlr-about-intro-grid{grid-template-columns:1fr}
  .mlr-about-brand-panel{min-height:200px}
  .mlr-about-services{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .mlr-about-shell{width:calc(100% - 20px)}
  .mlr-about-hero-grid{min-height:auto;padding:30px 0 38px}
  .mlr-about-hero h1{font-size:34px}
  .mlr-about-tagline{font-size:16px}
  .mlr-about-actions{flex-direction:column;align-items:stretch}
  .mlr-about-section{padding:20px 0}
  .mlr-about-intro-grid{padding:12px;gap:18px}
  .mlr-about-highlights{grid-template-columns:1fr}
  .mlr-about-section-head{display:block}
  .mlr-about-services{grid-template-columns:1fr}
  .mlr-about-bottom-grid{grid-template-columns:1fr}
  .mlr-about-checks{grid-template-columns:1fr}
  .mlr-about-contact-row{grid-template-columns:1fr}
  .mlr-about-story h2,
  .mlr-about-section-head h2,
  .mlr-about-reasons h2,
  .mlr-about-contact h2{font-size:23px}
}


/* v1.17.9 customer account button/dropdown */
.mlr-account-menu{
  position:relative;
  display:inline-block;
}
.mlr-account-toggle{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  max-width:240px;
  padding:7px 11px!important;
  cursor:pointer;
  border:0;
}
.mlr-account-avatar{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#0d62ff;
  font-size:13px;
  font-weight:900;
}
.mlr-account-name{
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mlr-account-caret{
  font-size:11px;
}
.mlr-account-dropdown[hidden]{
  display:none!important;
}
.mlr-account-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:99999;
  width:320px;
  overflow:hidden;
  border:1px solid #e4e7ec;
  border-radius:12px;
  background:#fff;
  color:#172033;
  box-shadow:0 18px 48px rgba(15,23,42,.18);
  text-align:left;
}
.mlr-account-dropdown::before{
  content:"";
  position:absolute;
  right:24px;
  top:-7px;
  width:14px;
  height:14px;
  transform:rotate(45deg);
  background:#fff;
  border-left:1px solid #e4e7ec;
  border-top:1px solid #e4e7ec;
}
.mlr-account-dropdown-head{
  padding:16px 18px 13px;
  border-bottom:1px solid #eef1f4;
  background:#fafbfc;
}
.mlr-account-dropdown-head strong{
  display:block;
  color:#101828;
  font-size:16px;
  line-height:1.35;
}
.mlr-account-dropdown-head small{
  display:block;
  margin-top:3px;
  color:#667085;
  font-size:12px;
}
.mlr-account-info-list{
  padding:10px 18px;
}
.mlr-account-info-list>div{
  display:grid;
  grid-template-columns:95px minmax(0,1fr);
  gap:10px;
  padding:8px 0;
  border-bottom:1px dashed #edf0f3;
}
.mlr-account-info-list>div:last-child{
  border-bottom:0;
}
.mlr-account-info-list span{
  color:#667085;
  font-size:12px;
}
.mlr-account-info-list b{
  min-width:0;
  color:#172033;
  font-size:13px;
  font-weight:700;
  overflow-wrap:anywhere;
}
.mlr-account-info-list .mlr-account-agency b{
  color:#c70f13;
}
.mlr-account-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid #eef1f4;
}
.mlr-account-links a{
  padding:12px 10px;
  color:#172033!important;
  text-align:center;
  text-decoration:none!important;
  font-size:13px;
  font-weight:800;
}
.mlr-account-links a:first-child{
  border-right:1px solid #eef1f4;
}
.mlr-account-links a:hover{
  background:#fff5f5;
  color:#c70f13!important;
}

@media(max-width:700px){
  .mlr-account-name{
    max-width:100px;
  }
  .mlr-account-dropdown{
    position:fixed;
    top:74px;
    left:12px;
    right:12px;
    width:auto;
    max-width:none;
  }
  .mlr-account-dropdown::before{
    display:none;
  }
}


/* v1.18.0 editable about images */
.mlr-about-hero.has-custom-image{
  background:
    linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 46%,rgba(255,246,244,.72) 100%),
    var(--mlr-about-hero-image) center/cover no-repeat;
}
.mlr-about-hero-photo{
  width:100%;
  max-width:470px;
  margin-left:auto;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 46px rgba(15,23,42,.16);
  border:7px solid rgba(255,255,255,.82);
}
.mlr-about-hero-photo img{
  display:block;
  width:100%;
  height:280px;
  object-fit:cover;
}
.mlr-about-brand-logo.has-photo{
  width:100%;
  height:160px;
  border-radius:10px;
  overflow:hidden;
}
.mlr-about-brand-logo.has-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
}
@media(max-width:1000px){
  .mlr-about-hero.has-custom-image .mlr-about-hero-visual{
    display:block;
    min-height:auto;
  }
  .mlr-about-hero-photo{
    margin:0 auto;
    max-width:620px;
  }
}
@media(max-width:700px){
  .mlr-about-hero-photo img{
    height:210px;
  }
}


/* v1.18.1 mobile header/tools redesign */
.mlr-mobile-tool-tabs{
  display:none;
}

@media(max-width:640px){
  .mlr-main-header{
    box-shadow:0 2px 8px rgba(15,23,42,.12);
  }

  .mlr-header-row-one .mlr-header-inner{
    min-height:64px !important;
    padding:7px 12px !important;
    gap:10px !important;
  }

  .mlr-agency-brand{
    max-width:calc(100% - 48px) !important;
    gap:9px !important;
  }

  .mlr-header-logo,
  .mlr-header-logo-fallback{
    width:43px !important;
    height:43px !important;
    flex:0 0 43px !important;
  }

  .mlr-agency-copy strong{
    font-size:16px !important;
    line-height:1.2 !important;
  }

  .mlr-agency-copy small{
    margin-top:3px !important;
    font-size:10px !important;
  }

  .mlr-mobile-menu-toggle{
    width:40px !important;
    height:40px !important;
    flex:0 0 40px !important;
    display:grid !important;
    place-items:center !important;
    font-size:27px !important;
    border-radius:8px !important;
  }

  .mlr-header-row-two{
    padding:0 10px 10px !important;
    background:#cf2023 !important;
  }

  .mlr-mobile-tool-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px;
    max-width:520px;
    margin:0 auto;
    padding:8px 0 6px;
  }

  .mlr-mobile-tool-tabs button{
    height:38px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:8px;
    background:rgba(130,0,0,.16);
    color:#fff;
    font-size:13px;
    font-weight:800;
  }

  .mlr-mobile-tool-tabs button.is-active{
    background:#fff;
    color:#c70f13;
    border-color:#fff;
    box-shadow:0 4px 10px rgba(80,0,0,.12);
  }

  .mlr-tools-row{
    display:block !important;
    min-height:0 !important;
    padding:0 !important;
    max-width:520px !important;
  }

  .mlr-lookup-tool,
  .mlr-print-tool{
    display:none !important;
    grid-template-columns:1fr 1fr !important;
    gap:7px !important;
    margin:0 !important;
    padding:9px !important;
    border:1px solid rgba(255,255,255,.23) !important;
    border-radius:10px !important;
    background:rgba(120,0,0,.13) !important;
    overflow:visible !important;
  }

  .mlr-lookup-tool.is-mobile-active,
  .mlr-print-tool.is-mobile-active{
    display:grid !important;
  }

  .mlr-lookup-tool > strong,
  .mlr-print-tool > strong{
    grid-column:1 / -1 !important;
    margin-bottom:1px !important;
    font-size:12px !important;
    line-height:1.2 !important;
  }

  .mlr-tools-row input,
  .mlr-tools-row select,
  .mlr-header-check-btn,
  .mlr-header-print-btn{
    width:100% !important;
    min-width:0 !important;
    height:42px !important;
    min-height:42px !important;
    margin:0 !important;
    padding-left:11px !important;
    padding-right:11px !important;
    border-radius:8px !important;
    font-size:13px !important;
  }

  .mlr-header-lookup-date,
  .mlr-header-print-date{
    grid-column:1 / -1 !important;
  }

  .mlr-header-station,
  .mlr-header-ticket-number{
    grid-column:auto !important;
  }

  .mlr-header-check-btn{
    grid-column:1 / -1 !important;
    background:#f4a000 !important;
    color:#662000 !important;
    font-size:14px !important;
  }

  .mlr-header-print-region,
  .mlr-header-print-count{
    grid-column:auto !important;
  }

  .mlr-header-print-btn{
    grid-column:1 / -1 !important;
    background:#ffd21a !important;
    color:#6c3200 !important;
    font-size:14px !important;
  }

  /* Avoid iOS date controls creating excessive vertical height. */
  .mlr-tools-row input[type="date"]{
    line-height:42px !important;
    -webkit-appearance:none;
    appearance:none;
  }

  .mlr-main-nav{
    top:64px !important;
    padding:8px 10px !important;
  }

  .mlr-main-nav a{
    min-height:42px;
    display:flex;
    align-items:center;
    padding:10px 12px !important;
    border-radius:7px;
  }

  /* Main page spacing under the compact mobile header */
  .mlr-dashboard,
  .mlr-site-main,
  .mlr-page-shell{
    margin-top:0 !important;
  }
}

@media(max-width:390px){
  /* Keep a compact 2-column form even on small iPhones. */
  .mlr-lookup-tool,
  .mlr-print-tool{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }

  .mlr-header-station,
  .mlr-header-ticket-number,
  .mlr-header-print-region,
  .mlr-header-print-count{
    grid-column:auto !important;
  }

  .mlr-header-lookup-date,
  .mlr-header-print-date,
  .mlr-header-check-btn,
  .mlr-header-print-btn{
    grid-column:1 / -1 !important;
  }

  .mlr-agency-copy strong{
    font-size:15px !important;
  }
}

/* Make homepage banner fit mobile cleanly without touching desktop */
@media(max-width:640px){
  .mlr-top-banner,
  .mlr-banner-wrap,
  .mlr-center-banner{
    border-radius:10px !important;
    overflow:hidden !important;
  }

  .mlr-top-banner img,
  .mlr-banner-wrap img,
  .mlr-center-banner img{
    width:100% !important;
    height:auto !important;
    object-fit:cover !important;
    display:block !important;
  }
}


/* v1.18.2 mobile iOS form overflow + tool tab fix */
@media(max-width:640px){
  .mlr-header-row-two *,
  .mlr-header-row-two *::before,
  .mlr-header-row-two *::after{
    box-sizing:border-box;
  }

  .mlr-tools-row input[type="date"]{
    inline-size:100% !important;
    max-inline-size:100% !important;
    min-inline-size:0 !important;
  }

  .mlr-tools-row .mlr-lookup-tool:not(.is-mobile-active),
  .mlr-tools-row .mlr-print-tool:not(.is-mobile-active){
    display:none !important;
  }

  .mlr-mobile-tool-tabs button:not(.is-active){
    background:rgba(120,0,0,.22) !important;
    color:#fff !important;
  }
}


/* v1.18.3 mobile print form polish */
@media(max-width:640px){
  /* Print form: stack every control full width for a clean mobile layout. */
  .mlr-tools-row .mlr-print-tool{
    grid-template-columns:1fr !important;
  }

  .mlr-tools-row .mlr-print-tool > strong,
  .mlr-header-print-region,
  .mlr-header-print-date,
  .mlr-header-print-count,
  .mlr-header-print-btn{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:100% !important;
  }

  .mlr-header-print-region,
  .mlr-header-print-count{
    height:44px !important;
    min-height:44px !important;
    padding:0 42px 0 14px !important;
    border:1px solid #d8dee8 !important;
    border-radius:9px !important;
    background-color:#fff !important;
    font-size:14px !important;
    font-weight:500 !important;
  }

  .mlr-header-print-date{
    height:44px !important;
    min-height:44px !important;
  }

  .mlr-header-print-btn{
    height:46px !important;
    min-height:46px !important;
    margin-top:2px !important;
    border-radius:9px !important;
    font-size:15px !important;
    font-weight:800 !important;
  }
}


/* v1.18.9 calendar state fix */
.mlr-calendar-day.is-selected{
  background:#c70f13 !important;
  border-color:#c70f13 !important;
  color:#fff !important;
  font-weight:900 !important;
}
.mlr-calendar-day.is-today:not(.is-selected){
  background:#fff !important;
  border:2px solid #f97316 !important;
  color:#c2410c !important;
  font-weight:900 !important;
}


/* =========================================================
   v1.19.0 — Print Layout Studio
   ========================================================= */

.mlr-print-studio{
  padding:24px 18px 42px;
  background:
    radial-gradient(circle at 90% 4%,rgba(199,15,19,.055),transparent 24%),
    linear-gradient(180deg,#f7f9fc 0%,#eef2f7 100%);
}

.mlr-print-studio-shell{
  width:min(1500px,100%);
  margin:0 auto;
}

.mlr-print-studio-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}

.mlr-print-studio-head h1{
  margin:6px 0 4px;
  font-size:30px;
  line-height:1.15;
  color:#101828;
  letter-spacing:-.025em;
}

.mlr-print-studio-head p{
  margin:0;
  color:#667085;
  font-size:14px;
}

.mlr-print-kicker{
  color:#c70f13;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.12em;
}

.mlr-print-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.mlr-print-save-state{
  margin-right:5px;
  padding:7px 10px;
  border-radius:999px;
  background:#edf7ef;
  color:#28713b;
  font-size:12px;
  font-weight:800;
}

.mlr-print-save-state.is-dirty{
  background:#fff4e5;
  color:#9a5a00;
}

.mlr-print-notice{
  margin-bottom:16px;
  border-radius:10px;
}

.mlr-print-studio-grid{
  display:grid;
  grid-template-columns:minmax(0,560px) minmax(620px,1fr);
  gap:20px;
  align-items:start;
}

.mlr-print-editor,
.mlr-print-preview-card{
  border:1px solid #e1e6ed;
  border-radius:16px;
  background:#fff;
  box-shadow:0 14px 40px rgba(15,23,42,.07);
  overflow:hidden;
}

.mlr-print-editor{
  min-width:0;
}

.mlr-print-editor-tabs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  padding:8px;
  border-bottom:1px solid #e8ebf0;
  background:#f8fafc;
}

.mlr-print-editor-tabs button{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:44px;
  margin:0;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#667085;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.mlr-print-editor-tabs button span{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:7px;
  background:#eaecf0;
  color:#667085;
  font-size:10px;
  font-weight:900;
}

.mlr-print-editor-tabs button.active{
  background:#fff;
  color:#c70f13;
  box-shadow:0 3px 12px rgba(15,23,42,.08);
}

.mlr-print-editor-tabs button.active span{
  background:#c70f13;
  color:#fff;
}

.mlr-print-form{
  padding:16px;
}

.mlr-ticket-tab-panel{
  display:none;
}

.mlr-ticket-tab-panel.active{
  display:block;
}

.mlr-print-section-card{
  margin-bottom:14px;
  padding:16px;
  border:1px solid #e6eaf0;
  border-radius:13px;
  background:#fff;
}

.mlr-print-section-card:last-child{
  margin-bottom:0;
}

.mlr-print-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.mlr-print-section-title>div:first-child{
  display:flex;
  align-items:center;
  min-width:0;
  gap:11px;
}

.mlr-print-section-title h2{
  margin:0;
  color:#172033;
  font-size:15px;
  line-height:1.3;
}

.mlr-print-section-title p{
  margin:3px 0 0;
  color:#98a2b3;
  font-size:11px;
  line-height:1.4;
}

.mlr-print-section-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#f2f4f7;
  color:#344054;
  font-size:11px;
  font-weight:950;
}

.mlr-print-region-card.red .mlr-print-section-icon{
  background:#fff0f0;
  color:#c70f13;
}

.mlr-print-region-card.orange .mlr-print-section-icon{
  background:#fff7e6;
  color:#c97700;
}

.mlr-print-region-card.blue .mlr-print-section-icon{
  background:#edf5ff;
  color:#0d63b8;
}

.mlr-print-mini-btn{
  min-height:30px;
  padding:0 10px;
  border:1px solid #d9dee7;
  border-radius:8px;
  background:#fff;
  color:#475467;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}

.mlr-print-mini-btn:hover{
  border-color:#c70f13;
  color:#c70f13;
}

.mlr-print-region-fields{
  display:grid;
  gap:10px;
}

.mlr-print-field{
  display:grid;
  gap:6px;
}

.mlr-print-field label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#344054;
  font-size:12px;
  font-weight:800;
}

.mlr-print-field label small{
  color:#98a2b3;
  font-size:10px;
  font-weight:600;
}

.mlr-print-field input[type="text"],
.mlr-print-field input[type="number"]{
  width:100%;
  height:42px;
  padding:0 12px;
  border:1px solid #d8dee8;
  border-radius:9px;
  background:#fff;
  color:#172033;
  font-size:13px;
  outline:0;
  transition:.15s ease;
}

.mlr-print-field input:focus{
  border-color:#e58a8d;
  box-shadow:0 0 0 3px rgba(199,15,19,.08);
}

.mlr-print-layout-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.mlr-print-layout-card{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  min-height:150px;
  padding:13px;
  border:1px solid #e1e6ed;
  border-radius:12px;
  background:#fff;
  text-align:center;
  cursor:pointer;
  transition:.17s ease;
}

.mlr-print-layout-card:hover{
  border-color:#efafb2;
  transform:translateY(-1px);
}

.mlr-print-layout-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.mlr-print-layout-card:has(input:checked){
  border:2px solid #c70f13;
  background:#fff8f8;
  box-shadow:0 6px 18px rgba(199,15,19,.08);
}

.mlr-layout-thumb{
  width:72px;
  height:92px;
  display:grid;
  gap:3px;
  padding:5px;
  border:1px solid #bfc7d2;
  border-radius:4px;
  background:#f9fafb;
  box-shadow:0 3px 8px rgba(15,23,42,.07);
}

.mlr-layout-thumb i{
  display:block;
  min-width:0;
  min-height:0;
  border:1px solid #d3d8df;
  background:#fff;
}

.mlr-layout-thumb.layout-1{
  grid-template-columns:1fr;
}

.mlr-layout-thumb.layout-4{
  grid-template-columns:repeat(2,1fr);
  grid-template-rows:repeat(2,1fr);
}

.mlr-layout-thumb.layout-6{
  grid-template-columns:repeat(2,1fr);
  grid-template-rows:repeat(3,1fr);
}

.mlr-print-layout-card strong{
  color:#172033;
  font-size:13px;
}

.mlr-print-layout-card small{
  color:#98a2b3;
  font-size:10px;
  line-height:1.35;
}

.mlr-print-presets{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
}

.mlr-print-presets button{
  padding:12px 10px;
  border:1px solid #e1e6ed;
  border-radius:10px;
  background:#f9fafb;
  text-align:left;
  cursor:pointer;
}

.mlr-print-presets button:hover{
  border-color:#c70f13;
  background:#fff8f8;
}

.mlr-print-presets strong,
.mlr-print-presets small{
  display:block;
}

.mlr-print-presets strong{
  color:#172033;
  font-size:12px;
}

.mlr-print-presets small{
  margin-top:3px;
  color:#98a2b3;
  font-size:10px;
}

.mlr-print-range-grid{
  display:grid;
  gap:18px;
}

.mlr-print-range-field{
  padding:14px;
  border:1px solid #e6eaf0;
  border-radius:11px;
  background:#f9fafb;
}

.mlr-print-range-field>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.mlr-print-range-field label{
  color:#344054;
  font-size:12px;
  font-weight:800;
}

.mlr-print-range-field output{
  min-width:50px;
  padding:5px 8px;
  border-radius:7px;
  background:#172033;
  color:#fff;
  text-align:center;
  font-size:11px;
  font-weight:900;
}

.mlr-print-range-field input[type="range"]{
  width:100%;
  accent-color:#c70f13;
}

.mlr-print-range-field>small{
  display:block;
  margin-top:6px;
  color:#98a2b3;
  font-size:10px;
}

.mlr-print-editor-footer{
  position:sticky;
  bottom:0;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:16px -16px -16px;
  padding:12px 16px;
  border-top:1px solid #e4e8ee;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
}

.mlr-print-editor-footer strong,
.mlr-print-editor-footer small{
  display:block;
}

.mlr-print-editor-footer strong{
  color:#344054;
  font-size:11px;
}

.mlr-print-editor-footer small{
  margin-top:2px;
  color:#98a2b3;
  font-size:9px;
}

.mlr-print-footer-buttons{
  display:flex;
  gap:7px;
}

.mlr-print-btn{
  min-height:38px;
  padding:0 14px;
  border:1px solid transparent;
  border-radius:9px;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  text-decoration:none!important;
}

.mlr-print-btn.primary{
  background:#c70f13;
  border-color:#c70f13;
  color:#fff!important;
}

.mlr-print-btn.secondary{
  background:#fff;
  border-color:#d8dee8;
  color:#344054!important;
}

.mlr-print-btn.subtle{
  background:#f2f4f7;
  border-color:#f2f4f7;
  color:#475467!important;
}

.mlr-print-preview-panel{
  position:sticky;
  top:18px;
  min-width:0;
}

.mlr-print-preview-card{
  overflow:visible;
}

.mlr-print-preview-card-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px 13px;
  border-bottom:1px solid #e7ebf0;
}

.mlr-print-preview-card-head h2{
  margin:4px 0 0;
  color:#172033;
  font-size:18px;
}

.mlr-preview-live-dot{
  display:flex;
  align-items:center;
  gap:6px;
  color:#667085;
  font-size:10px;
  font-weight:700;
}

.mlr-preview-live-dot i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#18a957;
  box-shadow:0 0 0 4px rgba(24,169,87,.1);
}

.mlr-print-preview-toolbar{
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid #e8ebf0;
  background:#fbfcfd;
}

.mlr-print-preview-toolbar .mlr-ticket-preview-filter{
  flex:1;
  display:grid;
  grid-template-columns:1fr 1.25fr 1fr .8fr;
  gap:8px;
}

.mlr-print-preview-toolbar label{
  display:grid;
  gap:5px;
  color:#667085;
  font-size:9px;
  font-weight:800;
}

.mlr-print-preview-toolbar label>span{
  padding-left:1px;
}

.mlr-print-preview-toolbar select,
.mlr-print-preview-toolbar input{
  width:100%;
  min-width:0;
  height:38px;
  padding:0 10px;
  border:1px solid #d8dee8;
  border-radius:8px;
  background:#fff;
  color:#172033;
  font-size:11px;
  font-weight:700;
  outline:0;
}

.mlr-preview-refresh{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border:1px solid #d8dee8;
  border-radius:8px;
  background:#fff;
  color:#475467;
  font-size:18px;
  cursor:pointer;
}

.mlr-print-paper-stage{
  min-height:590px;
  padding:16px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    #e8edf3;
  background-size:20px 20px;
}

.mlr-print-paper-ruler{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
  color:#8290a4;
  font-size:9px;
  font-weight:800;
  letter-spacing:.04em;
}

.mlr-print-paper-stage .mlr-ticket-preview-container{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  min-height:520px;
  padding:18px;
  overflow:auto;
  border-radius:10px;
  background:#dfe5ec;
}

.mlr-print-paper-stage .mlr-ticket-preview-sheet{
  width:min(100%,760px);
  margin:0 auto;
  border:1px solid #b7bec8;
  background:#fff;
  box-shadow:
    0 1px 2px rgba(15,23,42,.08),
    0 18px 40px rgba(15,23,42,.14);
  transition:transform .16s ease;
}

.mlr-print-preview-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 16px;
  border-top:1px solid #e8ebf0;
  background:#fff;
}

.mlr-print-preview-actions>div:first-child strong,
.mlr-print-preview-actions>div:first-child span{
  display:block;
}

.mlr-print-preview-actions>div:first-child strong{
  color:#344054;
  font-size:11px;
}

.mlr-print-preview-actions>div:first-child span{
  margin-top:2px;
  color:#98a2b3;
  font-size:9px;
}

.mlr-print-preview-actions>div:last-child{
  display:flex;
  gap:7px;
}

@media(max-width:1180px){
  .mlr-print-studio-grid{
    grid-template-columns:1fr;
  }

  .mlr-print-preview-panel{
    position:static;
  }
}

@media(max-width:720px){
  .mlr-print-studio{
    padding:14px 10px 28px;
  }

  .mlr-print-studio-head{
    display:block;
  }

  .mlr-print-studio-head h1{
    font-size:24px;
  }

  .mlr-print-head-actions{
    justify-content:flex-start;
    margin-top:12px;
  }

  .mlr-print-editor-tabs{
    overflow-x:auto;
    grid-template-columns:repeat(3,minmax(135px,1fr));
  }

  .mlr-print-layout-cards,
  .mlr-print-presets{
    grid-template-columns:1fr;
  }

  .mlr-print-preview-toolbar{
    align-items:stretch;
  }

  .mlr-print-preview-toolbar .mlr-ticket-preview-filter{
    grid-template-columns:1fr 1fr;
  }

  .mlr-preview-refresh{
    align-self:flex-end;
  }

  .mlr-print-paper-stage{
    min-height:420px;
    padding:10px;
  }

  .mlr-print-paper-stage .mlr-ticket-preview-container{
    min-height:360px;
    padding:10px;
  }

  .mlr-print-preview-actions{
    align-items:flex-start;
    flex-direction:column;
  }

  .mlr-print-editor-footer{
    align-items:flex-start;
    flex-direction:column;
  }

  .mlr-print-footer-buttons{
    width:100%;
  }

  .mlr-print-footer-buttons .mlr-print-btn{
    flex:1;
  }
}

@media print{
  body.mlr-print-studio-page .mlr-main-header,
  body.mlr-print-studio-page .mlr-site-footer,
  body.mlr-print-studio-page .mlr-print-studio-head,
  body.mlr-print-studio-page .mlr-print-editor,
  body.mlr-print-studio-page .mlr-print-preview-card-head,
  body.mlr-print-studio-page .mlr-print-preview-toolbar,
  body.mlr-print-studio-page .mlr-print-paper-ruler,
  body.mlr-print-studio-page .mlr-print-preview-actions{
    display:none!important;
  }

  body.mlr-print-studio-page .mlr-print-studio,
  body.mlr-print-studio-page .mlr-print-studio-shell,
  body.mlr-print-studio-page .mlr-print-studio-grid,
  body.mlr-print-studio-page .mlr-print-preview-panel,
  body.mlr-print-studio-page .mlr-print-preview-card,
  body.mlr-print-studio-page .mlr-print-paper-stage,
  body.mlr-print-studio-page .mlr-ticket-preview-container{
    margin:0!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
    background:#fff!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    display:block!important;
  }

  body.mlr-print-studio-page .mlr-ticket-preview-sheet{
    transform:none!important;
    box-shadow:none!important;
    border:1px solid #000!important;
    width:100%!important;
    max-width:none!important;
  }
}


/* =========================================================
   v1.19.1 — Portrait A4 preview polish
   ========================================================= */

.mlr-print-paper-stage{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.mlr-print-paper-stage .mlr-ticket-preview-container{
  width:min(100%, 520px);
  max-width:520px;
  margin:0 auto;
  padding:22px 16px;
  min-height:700px;
  aspect-ratio:210 / 297;
  border:1px solid #c9d2dd;
  border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(252,253,255,1) 100%);
  box-shadow:
    0 1px 1px rgba(15,23,42,.03),
    0 18px 44px rgba(15,23,42,.10);
  overflow:auto;
}

.mlr-print-paper-stage .mlr-ticket-preview-sheet{
  width:100%;
  max-width:none;
  margin:0 auto;
}

.mlr-ticket-preview-loading,
.mlr-ticket-preview-empty{
  width:100%;
  min-height:calc(100% - 4px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#667085;
  font-size:13px;
  font-weight:700;
}

@media (max-width: 1180px){
  .mlr-print-paper-stage .mlr-ticket-preview-container{
    width:min(100%, 500px);
    min-height:680px;
  }
}

@media (max-width: 720px){
  .mlr-print-paper-stage .mlr-ticket-preview-container{
    width:100%;
    max-width:440px;
    min-height:620px;
    padding:16px 12px;
    border-radius:12px;
  }
}


/* =========================================================
   v1.19.2 — Real A4 print preview
   ========================================================= */

/* Workspace around paper */
.mlr-print-paper-stage .mlr-ticket-preview-container{
  width:100%;
  max-width:none;
  min-height:760px;
  aspect-ratio:auto;
  margin:0;
  padding:22px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  overflow:auto;
  border:0;
  border-radius:12px;
  background:#dfe6ee;
  box-shadow:none;
}

/* The white object itself is the A4 sheet, 210:297 */
.mlr-a4-page{
  width:min(100%, 560px);
  aspect-ratio:210 / 297;
  min-height:0;
  flex:0 0 auto;
  padding:18px;
  background:#fff;
  border:1px solid #bfc8d3;
  border-radius:2px;
  box-shadow:
    0 1px 2px rgba(15,23,42,.08),
    0 16px 38px rgba(15,23,42,.18);
  overflow:hidden;
  transition:transform .15s ease;
}

/* Print-area grid */
.mlr-a4-layout{
  width:100%;
  height:100%;
  min-height:0;
  display:grid;
  gap:8px;
}

/* 1 per A4: ticket fills the printable area */
.mlr-a4-layout[data-a4-layout="1"]{
  grid-template-columns:1fr;
  grid-template-rows:1fr;
}

/* 4 per A4: 2 x 2 */
.mlr-a4-layout[data-a4-layout="4"]{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
}

/* 6 per A4: 2 x 3 */
.mlr-a4-layout[data-a4-layout="6"]{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(3,minmax(0,1fr));
}

.mlr-a4-ticket-slot{
  min-width:0;
  min-height:0;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  justify-content:stretch;
}

/* Important: the actual ticket now fills its assigned A4 cell */
.mlr-a4-ticket-slot .mlr-ticket-preview-sheet{
  width:100%!important;
  max-width:none!important;
  height:100%;
  margin:0!important;
  display:flex;
  flex-direction:column;
  border:1px solid #111!important;
  box-shadow:none!important;
  transform:none!important;
  overflow:hidden;
}

/* Keep header compact but proportional */
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-title{
  padding:16px 90px 5px 12px;
  font-size:20px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-date{
  top:10px;
  right:12px;
  font-size:18px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-date small{
  font-size:10px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub{
  padding:3px 10px;
  font-size:10px;
}

/* Table occupies remaining height of 1/A4 page */
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table{
  flex:1 1 auto;
  height:100%;
  margin-top:6px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table th{
  font-size:10px;
  padding:4px 3px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td{
  padding:3px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td:first-child{
  width:48px;
  font-size:9px;
}

/* Make 1/A4 numbers visibly larger */
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td span{
  font-size:max(var(--ticket-font), 14px);
  line-height:1.05;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g8 td span,
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-db td span{
  font-size:max(var(--ticket-special), 22px);
}

/* 4/A4 and 6/A4 scale typography down automatically */
.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-title,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-title{
  padding:5px 40px 2px 4px;
  font-size:9px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-date,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-date{
  top:3px;
  right:3px;
  font-size:8px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-date small,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-date small{
  font-size:5px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-sub,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-sub{
  padding:1px 3px;
  font-size:5px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-table,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-table{
  flex:1 1 auto;
  height:100%;
  margin-top:2px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-table th,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-table th{
  padding:1px;
  font-size:5px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-table td,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-table td{
  padding:1px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-table td:first-child,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-table td:first-child{
  width:22px;
  font-size:4.5px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-table td span{
  font-size:6px;
  line-height:1;
}

.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-table td span{
  font-size:5px;
  line-height:.98;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-row-g8 td span,
.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-row-db td span{
  font-size:9px;
}

.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-row-g8 td span,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-row-db td span{
  font-size:8px;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-footer,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-footer{
  font-size:4.5px!important;
  padding:1px!important;
}

/* Loading/empty should stay centered on the actual paper */
.mlr-a4-layout > .mlr-ticket-preview-loading,
.mlr-a4-layout > .mlr-ticket-preview-empty{
  grid-column:1/-1;
  grid-row:1/-1;
  align-self:center;
  justify-self:center;
  min-height:0;
}

@media(max-width:720px){
  .mlr-print-paper-stage .mlr-ticket-preview-container{
    min-height:520px;
    padding:12px;
  }

  .mlr-a4-page{
    width:min(100%, 420px);
    padding:10px;
  }

  .mlr-a4-layout{
    gap:5px;
  }
}

/* Exact A4 printing */
@media print{
  @page{
    size:A4 portrait;
    margin:8mm;
  }

  html,
  body.mlr-print-studio-page{
    width:210mm!important;
    min-height:297mm!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }

  body.mlr-print-studio-page .mlr-print-paper-stage .mlr-ticket-preview-container{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    background:#fff!important;
  }

  body.mlr-print-studio-page .mlr-a4-page{
    width:194mm!important;
    height:281mm!important;
    aspect-ratio:auto!important;
    margin:0 auto!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    transform:none!important;
    overflow:hidden!important;
  }

  body.mlr-print-studio-page .mlr-a4-layout{
    width:100%!important;
    height:100%!important;
  }

  body.mlr-print-studio-page .mlr-a4-ticket-slot .mlr-ticket-preview-sheet{
    height:100%!important;
  }
}


/* =========================================================
   v1.19.3 — Ticket print visual polish
   ========================================================= */

/* Nâng cảm giác "mẫu in chuyên nghiệp" nhưng vẫn in đen trắng đẹp */
.mlr-ticket-preview-sheet{
  border:1.35px solid #111;
}

.mlr-ticket-preview-table thead th{
  background:#f3f4f6;
  font-weight:800;
}

.mlr-ticket-preview-table tbody td:first-child{
  background:#fafafa;
  font-weight:700;
}

.mlr-ticket-preview-footer{
  background:#fafafa;
  letter-spacing:.1px;
}

/* Bản 1/A4: làm đẹp hơn, cân đối hơn mẫu cũ */
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sheet{
  border-width:1.6px!important;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-title{
  padding:14px 88px 4px 12px;
  font-size:19px;
  line-height:1.08;
  font-weight:900;
  letter-spacing:.2px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-date{
  top:10px;
  right:12px;
  font-size:17px;
  line-height:1;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-date small{
  margin-top:3px;
  font-size:10px;
  letter-spacing:.4px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub{
  padding:2px 10px;
  font-size:10px;
  color:#2f2f2f;
  line-height:1.18;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub:last-of-type{
  padding-bottom:7px;
  font-style:italic;
  font-weight:700;
  border-bottom:1.4px solid #111;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table{
  margin-top:0;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table th,
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td{
  border-color:#111;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table thead th{
  padding:5px 4px;
  font-size:10px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table thead th:first-child{
  width:54px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td{
  padding:4px 4px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td:first-child{
  width:54px;
  font-size:9px;
  font-weight:700;
  color:#333;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td span{
  font-size:max(var(--ticket-font), 13px);
  line-height:1.04;
  letter-spacing:.1px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g8 td span,
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-db td span{
  font-size:max(var(--ticket-special), 21px);
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g8 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-db td:not(:first-child){
  padding-top:9px;
  padding-bottom:9px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g6 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g3 td:not(:first-child){
  padding-top:8px;
  padding-bottom:8px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g2 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g1 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g7 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g5 td:not(:first-child){
  padding-top:7px;
  padding-bottom:7px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-footer{
  padding:6px 4px!important;
  font-size:9px!important;
  font-weight:700;
}

/* 4/A4 và 6/A4 cũng gọn gàng hơn chút */
.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-table thead th,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-table thead th{
  background:#f5f5f5;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-sub:last-of-type,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-sub:last-of-type{
  font-style:italic;
  font-weight:700;
}


/* =========================================================
   v1.19.4 — Header alignment polish
   ========================================================= */

/* Căn lại phần đầu mẫu in để tiêu đề/subtitle nhìn đều và cân giữa hơn */
.mlr-ticket-preview-date{
  width:72px;
  text-align:center;
}

.mlr-ticket-preview-title,
.mlr-ticket-preview-sub{
  text-align:center;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-title{
  width:calc(100% - 156px);
  margin:0 auto;
  padding:14px 0 4px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub{
  width:calc(100% - 26px);
  margin-left:auto;
  margin-right:auto;
  padding-left:0;
  padding-right:0;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub:first-of-type{
  margin-top:1px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub:last-of-type{
  padding-bottom:7px;
}

/* Các layout nhỏ cũng căn giữa đồng đều */
.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-title,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-title{
  width:calc(100% - 54px);
  margin:0 auto;
  text-align:center;
}

.mlr-a4-layout[data-a4-layout="4"] .mlr-ticket-preview-sub,
.mlr-a4-layout[data-a4-layout="6"] .mlr-ticket-preview-sub{
  width:calc(100% - 10px);
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}


/* =========================================================
   v1.19.5 — Print table chuẩn theo mẫu
   ========================================================= */
.mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-names th{
  background:#fff;
  font-weight:800;
  padding-top:6px;
  padding-bottom:4px;
}

.mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-codes th{
  background:#fff;
  font-size:8.5px;
  font-weight:700;
  font-style:italic;
  color:#333;
  padding:2px 4px 4px;
}

.mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-codes th:first-child{
  text-transform:uppercase;
  color:#555;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sheet{
  padding-bottom:0;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-title{
  padding-top:10px;
  padding-bottom:3px;
  font-size:17px;
  letter-spacing:0;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-date{
  top:8px;
  right:10px;
  width:64px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-date small{
  font-size:9px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub{
  font-size:9.5px;
  line-height:1.12;
  padding-top:1px;
  padding-bottom:2px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-sub:last-of-type{
  padding-bottom:5px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-names th{
  padding-top:4px;
  padding-bottom:2px;
  font-size:10px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-codes th{
  font-size:8px;
  padding-top:1px;
  padding-bottom:3px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table td{
  padding:3px 4px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g8 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-db td:not(:first-child){
  padding-top:6px;
  padding-bottom:6px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g6 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g3 td:not(:first-child){
  padding-top:5px;
  padding-bottom:5px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g2 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g1 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g7 td:not(:first-child),
.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g5 td:not(:first-child){
  padding-top:4px;
  padding-bottom:4px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-row-g4 td:not(:first-child){
  padding-top:5px;
  padding-bottom:5px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-footer{
  padding:4px 4px !important;
  font-size:8.5px !important;
  font-weight:700;
}


/* =========================================================
   v1.19.6 — Header weekday + mã loại vé
   ========================================================= */
.mlr-ticket-preview-weekday{
  width:52px;
  min-width:52px;
  max-width:52px;
  white-space:normal;
  line-height:1.15;
  text-align:center;
  vertical-align:middle;
  font-weight:700;
  font-size:11px;
}

.mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-names th:first-child{
  background:#fff;
}

.mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-codes th{
  font-size:8px;
  color:#1d4f91;
  font-weight:700;
  font-style:normal;
  letter-spacing:0;
}

.mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-codes th::after{
  content:' 🔊';
  font-size:8px;
  color:#2b6cb0;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-weekday{
  width:48px;
  min-width:48px;
  max-width:48px;
  font-size:10px;
  line-height:1.1;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-codes th{
  font-size:7.5px;
  padding-top:1px;
  padding-bottom:3px;
}

.mlr-a4-layout[data-a4-layout="1"] .mlr-ticket-preview-table thead tr.mlr-ticket-preview-station-names th:not(:first-child){
  font-size:10px;
}


/* =========================================================
   v1.19.7 — Image loading performance
   ========================================================= */
.mlr-main-banner img,
.mlr-about-hero-photo img,
.mlr-about-brand-logo img{
  display:block;
  width:100%;
  height:auto;
}

.mlr-main-banner img{
  aspect-ratio:auto;
  object-fit:cover;
}

.mlr-header-logo,
.mlr-footer-logo{
  content-visibility:auto;
}

.mlr-page-sidebar,
.mlr-about-section{
  content-visibility:auto;
  contain-intrinsic-size:auto 600px;
}


/* v1.20.0 - Human-readable Sitemap page */
.mlr-sitemap-page{
  width:100%;
  padding:30px 16px 48px;
}
.mlr-sitemap-shell{
  width:min(1180px,100%);
  margin:0 auto;
}
.mlr-sitemap-hero{
  margin-bottom:20px;
  padding:26px 28px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#fff8f8 100%);
  box-shadow:0 8px 24px rgba(15,23,42,.055);
}
.mlr-sitemap-kicker{
  display:inline-block;
  margin-bottom:7px;
  color:var(--mlr-red);
  font-size:12px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mlr-sitemap-hero h1{
  margin:0;
  color:#0f172a;
  font-size:34px;
  line-height:1.2;
  font-weight:900;
}
.mlr-sitemap-hero p{
  max-width:820px;
  margin:10px 0 0;
  color:#64748b;
  font-size:15px;
  line-height:1.7;
}
.mlr-sitemap-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.mlr-sitemap-card{
  min-width:0;
  padding:20px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 18px rgba(15,23,42,.045);
}
.mlr-sitemap-card.is-wide{
  grid-column:1/-1;
}
.mlr-sitemap-card h2{
  margin:0 0 14px;
  color:#0f172a;
  font-size:20px;
  line-height:1.3;
  font-weight:900;
}
.mlr-sitemap-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 12px;
  margin:0;
  padding:0;
  list-style:none;
}
.mlr-sitemap-list.one-col{
  grid-template-columns:1fr;
}
.mlr-sitemap-link{
  display:flex;
  align-items:center;
  min-width:0;
  min-height:42px;
  padding:9px 12px;
  border:1px solid #eef2f7;
  border-radius:10px;
  background:#fbfcfe;
  color:#334155;
  text-decoration:none;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  transition:.18s ease;
}
.mlr-sitemap-link::before{
  content:"›";
  flex:0 0 auto;
  margin-right:8px;
  color:var(--mlr-red);
  font-size:20px;
  line-height:1;
  font-weight:900;
}
.mlr-sitemap-link:hover{
  border-color:#fecaca;
  background:#fff7f7;
  color:var(--mlr-red);
}
.mlr-sitemap-posts{
  columns:2;
  column-gap:28px;
  margin:0;
  padding:0;
  list-style:none;
}
.mlr-sitemap-posts li{
  break-inside:avoid;
  margin:0 0 9px;
}
.mlr-sitemap-posts a{
  color:#334155;
  text-decoration:none;
  font-size:14px;
  line-height:1.5;
  font-weight:650;
}
.mlr-sitemap-posts a:hover{
  color:var(--mlr-red);
}
.mlr-sitemap-meta{
  display:block;
  margin-top:2px;
  color:#94a3b8;
  font-size:12px;
  font-weight:500;
}
.mlr-sitemap-empty{
  margin:0;
  color:#94a3b8;
  font-size:14px;
}
@media(max-width:760px){
  .mlr-sitemap-page{padding:14px 10px 30px}
  .mlr-sitemap-hero{padding:20px 18px;border-radius:14px}
  .mlr-sitemap-hero h1{font-size:27px}
  .mlr-sitemap-grid{grid-template-columns:1fr}
  .mlr-sitemap-card.is-wide{grid-column:auto}
  .mlr-sitemap-list{grid-template-columns:1fr}
  .mlr-sitemap-posts{columns:1}
}


/* v1.20.4 - Author archive + fully clickable author card */
.mlr-single-news-author-link{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.mlr-single-news-author-link:hover{
  transform:translateY(-1px);
  border-color:#cbd5e1;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}
.mlr-single-news-author-link .mlr-single-news-author-name{display:block;}
.mlr-single-news-author-link .mlr-single-news-author-role,
.mlr-single-news-author-link .mlr-single-news-author-bio,
.mlr-single-news-author-link .mlr-single-news-author-more{display:block;}

.mlr-author-page{max-width:1040px;margin:0 auto;padding:24px 18px 44px;}
.mlr-author-profile{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.05);margin-bottom:24px;}
.mlr-author-profile-avatar img{width:88px;height:88px;border-radius:50%;object-fit:cover;display:block;border:3px solid #fff;box-shadow:0 0 0 1px #e2e8f0;}
.mlr-author-profile-body{min-width:0;}
.mlr-author-profile-kicker{text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:.08em;color:#94a3b8;margin-bottom:4px;}
.mlr-author-profile h1{font-size:28px;line-height:1.2;margin:0 0 5px;color:#0f172a;}
.mlr-author-profile-role{font-size:14px;font-weight:800;color:#b91c1c;margin-bottom:8px;}
.mlr-author-profile-bio{font-size:15px;line-height:1.7;color:#475569;max-width:760px;}
.mlr-author-posts-heading{font-size:22px;margin:0 0 14px;color:#0f172a;}
.mlr-author-posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.mlr-author-post-card{display:grid;grid-template-columns:140px 1fr;gap:14px;align-items:start;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px;text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease;}
.mlr-author-post-card:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.06);}
.mlr-author-post-thumb{display:block;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:#f1f5f9;}
.mlr-author-post-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.mlr-author-post-title{font-size:16px;line-height:1.4;font-weight:800;color:#111827;margin-bottom:6px;}
.mlr-author-post-meta{font-size:12px;color:#64748b;}
.mlr-author-empty{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px;color:#64748b;}
.mlr-author-pagination{margin-top:22px;}
.mlr-author-pagination .page-numbers{display:inline-flex;min-width:36px;height:36px;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:8px;margin:0 4px 4px 0;text-decoration:none;color:#334155;background:#fff;}
.mlr-author-pagination .current{background:#b91c1c;color:#fff;border-color:#b91c1c;}
@media(max-width:700px){.mlr-author-profile{padding:15px;gap:12px}.mlr-author-profile-avatar img{width:64px;height:64px}.mlr-author-profile h1{font-size:22px}.mlr-author-posts-grid{grid-template-columns:1fr}.mlr-author-post-card{grid-template-columns:110px 1fr}}
\n\n/* v1.20.6 - Compact expandable author card + local author avatar */\n.mlr-single-news-author-compact{display:block;padding:0;overflow:hidden;}\n.mlr-single-news-author-summary{display:flex;align-items:center;gap:12px;padding:10px 12px;cursor:pointer;list-style:none;}\n.mlr-single-news-author-summary::-webkit-details-marker{display:none;}\n.mlr-single-news-author-summary::marker{display:none;}\n.mlr-single-news-author-summary .mlr-single-news-author-body{display:flex;flex-direction:column;min-width:0;}\n.mlr-single-news-author-summary .mlr-single-news-author-name{display:block;}\n.mlr-single-news-author-summary .mlr-single-news-author-role{display:block;margin-top:1px;}\n.mlr-single-news-author-toggle{margin-left:auto;flex:0 0 auto;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#64748b;background:#fff;border:1px solid #e2e8f0;font-size:18px;line-height:1;transition:transform .2s ease;}\n.mlr-single-news-author-compact[open] .mlr-single-news-author-toggle{transform:rotate(180deg);}\n.mlr-single-news-author-expanded{padding:0 12px 12px 72px;border-top:1px solid #eef2f7;}\n.mlr-single-news-author-expanded .mlr-single-news-author-bio{display:block;padding-top:10px;color:#64748b;font-size:13px;line-height:1.55;}\n.mlr-single-news-author-expanded .mlr-single-news-author-more{display:inline-block;margin-top:7px;color:#334155;font-size:12px;font-weight:700;text-decoration:none;}\n.mlr-single-news-author-expanded .mlr-single-news-author-more:hover{color:#c80e18;}\n@media(max-width:600px){.mlr-single-news-author-summary{padding:9px 10px}.mlr-single-news-author-expanded{padding:0 10px 10px 66px}.mlr-single-news-author-avatar img{width:44px;height:44px}}\n

/* v1.20.7 - Minimal author card: name + public title only */
.mlr-single-news-author-minimal{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 8px;
  margin:10px 0 16px;
  padding:9px 12px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#f8fafc;
  text-decoration:none;
  line-height:1.35;
}
.mlr-single-news-author-minimal .mlr-single-news-author-name{
  color:#0f172a;
  font-size:14px;
  font-weight:800;
}
.mlr-single-news-author-minimal .mlr-single-news-author-role{
  margin:0;
  color:#c80e18;
  font-size:13px;
  font-weight:700;
}
.mlr-single-news-author-minimal:hover{
  border-color:#fecaca;
  background:#fffafa;
}
.mlr-single-news-author-minimal:hover .mlr-single-news-author-name{color:#c80e18;}
@media(max-width:600px){
  .mlr-single-news-author-minimal{padding:8px 10px;margin:9px 0 14px;}
  .mlr-single-news-author-minimal .mlr-single-news-author-name{font-size:13px;}
  .mlr-single-news-author-minimal .mlr-single-news-author-role{font-size:12px;}
}


/* v1.20.8 - Clean compact author strip inspired by newsroom byline */
.mlr-single-news-author-clean{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0 16px;
  padding:9px 12px;
  border:0;
  border-radius:0;
  background:#eef3ff;
  text-decoration:none;
  color:inherit;
  min-height:58px;
  box-shadow:none;
  transition:background-color .15s ease;
}
.mlr-single-news-author-clean:hover{
  background:#e7eefc;
}
.mlr-single-news-author-clean-avatar{
  flex:0 0 42px;
  width:42px;
  height:42px;
  line-height:0;
}
.mlr-single-news-author-clean-avatar img{
  width:42px;
  height:42px;
  display:block;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(15,23,42,.14);
}
.mlr-single-news-author-clean-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  gap:1px;
}
.mlr-single-news-author-clean .mlr-single-news-author-name{
  display:block;
  margin:0;
  color:#0756a3;
  font-size:14px;
  line-height:1.3;
  font-weight:800;
  text-decoration:none;
}
.mlr-single-news-author-clean .mlr-single-news-author-role{
  display:block;
  margin:0;
  color:#334155;
  font-size:13px;
  line-height:1.35;
  font-weight:400;
}
.mlr-single-news-author-clean:hover .mlr-single-news-author-name{
  color:#063f79;
}
@media(max-width:600px){
  .mlr-single-news-author-clean{
    gap:9px;
    margin:9px 0 14px;
    padding:8px 10px;
    min-height:54px;
  }
  .mlr-single-news-author-clean-avatar,
  .mlr-single-news-author-clean-avatar img{
    width:38px;
    height:38px;
  }
  .mlr-single-news-author-clean-avatar{flex-basis:38px;}
  .mlr-single-news-author-clean .mlr-single-news-author-name{font-size:13.5px;}
  .mlr-single-news-author-clean .mlr-single-news-author-role{font-size:12.5px;}
}

/* v1.20.9 - customer/dealer portal */
.mlr-register-type{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mlr-register-type label{display:flex;align-items:center;gap:7px;border:1px solid #dbe2ea;border-radius:10px;padding:10px 12px;background:#fff;font-weight:700}.mlr-register-type input{width:auto;margin:0}
.mlr-portal-wrap{max-width:1100px;margin:0 auto;padding:24px 18px 46px}.mlr-portal-head{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:16px;padding:20px 22px;margin-bottom:14px}.mlr-portal-head span{font-size:11px;font-weight:900;color:#94a3b8;letter-spacing:.08em}.mlr-portal-head h1{margin:3px 0 4px;font-size:26px;color:#0f172a}.mlr-portal-head p{margin:0;color:#64748b}.mlr-portal-public-btn{padding:10px 14px;border-radius:10px;background:#b91c1c;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}.mlr-portal-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 16px;padding:5px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.mlr-portal-tabs a{padding:9px 13px;border-radius:8px;text-decoration:none;color:#475569;font-weight:800;white-space:nowrap}.mlr-portal-tabs a.is-active{background:#0f172a;color:#fff}.mlr-portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mlr-portal-card{display:flex;flex-direction:column;gap:6px;min-height:118px;padding:18px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;text-decoration:none;color:#0f172a;box-shadow:0 6px 20px rgba(15,23,42,.04)}.mlr-portal-card strong{font-size:17px}.mlr-portal-card span{color:#64748b;line-height:1.5}.mlr-portal-card.accent{border-color:#fecaca;background:#fff7f7}.mlr-portal-panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px}.mlr-portal-panel h2{margin:0 0 16px;font-size:21px}.mlr-portal-panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.mlr-portal-panel-title a{font-weight:800;color:#b91c1c}.mlr-portal-form{display:grid;gap:14px}.mlr-portal-form label{display:grid;gap:6px;font-weight:700;color:#334155}.mlr-portal-form input,.mlr-portal-form textarea,.mlr-portal-form select{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px;background:#fff;color:#0f172a}.mlr-portal-form textarea{resize:vertical;line-height:1.6}.mlr-portal-fields.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mlr-portal-submit{justify-self:start;border:0;border-radius:10px;padding:11px 17px;background:#b91c1c;color:#fff;font-weight:900;cursor:pointer}.mlr-portal-alert{padding:12px 14px;border-radius:10px;margin-bottom:14px;font-weight:700}.mlr-portal-alert.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.mlr-portal-alert.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.mlr-portal-note{padding:10px 12px;background:#fff7ed;border-radius:8px;color:#7c2d12}.mlr-portal-post-list{display:grid;gap:8px}.mlr-portal-post-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid #e2e8f0;border-radius:10px}.mlr-portal-post-row>div{display:grid;gap:3px}.mlr-portal-post-row span{font-size:12px;color:#64748b}.mlr-portal-post-row .status{padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900}.mlr-portal-post-row .status-publish{background:#dcfce7;color:#166534}.mlr-portal-post-row .status-pending{background:#fef3c7;color:#92400e}.mlr-portal-post-row .status-draft{background:#f1f5f9;color:#475569}
.mlr-dealer-public{max-width:1100px;margin:0 auto;padding:22px 18px 46px}.mlr-dealer-hero{position:relative;min-height:260px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#991b1b,#dc2626);box-shadow:0 12px 30px rgba(15,23,42,.12)}.mlr-dealer-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mlr-dealer-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,23,42,.82),rgba(15,23,42,.25))}.mlr-dealer-hero-overlay{position:absolute;z-index:2;left:28px;right:28px;bottom:26px;display:flex;align-items:center;gap:16px;color:#fff}.mlr-dealer-brand-logo{width:92px;height:92px;flex:0 0 92px;border-radius:50%;overflow:hidden;background:#fff;border:4px solid #fff}.mlr-dealer-brand-logo img{width:100%;height:100%;object-fit:cover}.mlr-dealer-hero-overlay span{font-size:12px;font-weight:900;letter-spacing:.08em}.mlr-dealer-hero-overlay h1{font-size:30px;margin:3px 0 5px}.mlr-dealer-hero-overlay p{margin:0;color:#e2e8f0}.mlr-dealer-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.mlr-dealer-actions a{padding:10px 15px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;text-decoration:none;font-weight:900;color:#334155}.mlr-dealer-actions .call{background:#16a34a;color:#fff;border-color:#16a34a}.mlr-dealer-actions .zalo{background:#0068ff;color:#fff;border-color:#0068ff}.mlr-dealer-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px}.mlr-dealer-main-card,.mlr-dealer-side,.mlr-dealer-news{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:18px}.mlr-dealer-main-card h2,.mlr-dealer-news h2{margin-top:0}.mlr-dealer-info{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.mlr-dealer-info div{padding:12px;border-radius:10px;background:#f8fafc}.mlr-dealer-info span{display:block;color:#64748b;font-size:12px;margin-bottom:3px}.mlr-dealer-side{height:max-content;display:grid;gap:8px}.mlr-dealer-side h3{margin:0 0 4px}.mlr-dealer-side a{padding:9px 10px;border-radius:8px;background:#f8fafc;text-decoration:none;color:#334155;font-weight:700}.mlr-dealer-map{overflow:hidden;border-radius:12px;aspect-ratio:16/8}.mlr-dealer-map iframe{width:100%;height:100%;border:0}.mlr-dealer-news{margin-top:14px}.mlr-dealer-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mlr-dealer-news-card{display:grid;gap:7px;text-decoration:none;color:#0f172a}.mlr-dealer-news-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px}.mlr-dealer-news-card span{color:#64748b;font-size:12px}
@media(max-width:700px){.mlr-register-type,.mlr-portal-grid,.mlr-portal-fields.two,.mlr-dealer-layout,.mlr-dealer-info,.mlr-dealer-news-grid{grid-template-columns:1fr}.mlr-portal-head{align-items:flex-start;flex-direction:column}.mlr-portal-head h1{font-size:22px}.mlr-portal-public-btn{width:100%;text-align:center}.mlr-portal-wrap,.mlr-dealer-public{padding:14px 10px 36px}.mlr-portal-panel{padding:15px}.mlr-dealer-hero{min-height:220px}.mlr-dealer-hero-overlay{left:16px;right:16px;bottom:16px}.mlr-dealer-brand-logo{width:66px;height:66px;flex-basis:66px}.mlr-dealer-hero-overlay h1{font-size:21px}.mlr-dealer-actions a{flex:1;text-align:center}}

/* v1.21.0 Dealer application inside customer account */
.mlr-portal-subtext{margin:4px 0 0;color:#64748b;line-height:1.55}
.mlr-application-status{margin:0 0 16px;padding:12px 14px;border-radius:10px;font-weight:700}
.mlr-application-status.status-pending{background:#fffbeb;border:1px solid #fde68a;color:#92400e}
.mlr-application-status.status-approved{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857}
.mlr-application-status.status-rejected{background:#fff1f2;border:1px solid #fecdd3;color:#be123c}
.mlr-maps-helpbox{margin:0 0 18px;padding:14px 16px;border:1px solid #bfdbfe;border-left:4px solid #2563eb;border-radius:10px;background:#eff6ff;color:#334155}
.mlr-maps-helpbox strong{display:block;color:#1d4ed8;margin-bottom:5px}
.mlr-maps-helpbox p{margin:0;line-height:1.6}
.mlr-maps-state-fieldset{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0;padding:14px 15px;border:1px solid #cbd5e1;border-radius:10px}
.mlr-maps-state-fieldset legend{padding:0 6px;font-weight:800;color:#334155}
.mlr-maps-state-fieldset label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:7px;font-weight:700!important}
.mlr-maps-state-fieldset input{width:auto!important;margin:0}
@media(max-width:700px){.mlr-maps-state-fieldset{display:grid;gap:10px}}

/* v1.21.3 - Front-end news submissions for every logged-in customer */
.mlr-portal-post-side{display:flex;align-items:center;gap:10px}.mlr-portal-post-actions{display:flex;align-items:center;gap:8px}.mlr-portal-post-actions a,.mlr-portal-post-actions button{border:0;background:#f1f5f9;color:#334155;border-radius:7px;padding:6px 9px;text-decoration:none;font-size:12px;font-weight:800;cursor:pointer}.mlr-portal-post-actions button{color:#b91c1c}.mlr-portal-post-actions form{margin:0}.mlr-portal-form small{font-size:12px;color:#64748b;font-weight:500}.mlr-portal-current-thumb{display:grid;gap:8px}.mlr-portal-current-thumb img{max-width:240px;height:auto;border-radius:10px;border:1px solid #e2e8f0}.mlr-portal-subtext{margin:3px 0 14px;color:#64748b}.mlr-portal-form select{min-height:44px}.mlr-portal-post-row .mlr-portal-post-main{min-width:0}.mlr-portal-post-row .mlr-portal-post-main strong{overflow-wrap:anywhere}@media(max-width:640px){.mlr-portal-post-row{align-items:flex-start;flex-direction:column}.mlr-portal-post-side{width:100%;justify-content:space-between;flex-wrap:wrap}.mlr-portal-fields.two{grid-template-columns:1fr}}

/* v1.21.4 - Automatic article table of contents */
.mlr-auto-toc{
  margin:24px 0 28px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#f8fafc;
  overflow:hidden;
}
.mlr-auto-toc summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  background:#fff7ed;
  border-left:4px solid var(--mlr-red);
}
.mlr-auto-toc summary::-webkit-details-marker{display:none}
.mlr-auto-toc-title{
  font-size:17px;
  font-weight:800;
  color:#991b1b;
}
.mlr-auto-toc-hint{
  font-size:12px;
  font-weight:600;
  color:#64748b;
  white-space:nowrap;
}
.mlr-auto-toc-nav{padding:12px 18px 14px}
.mlr-auto-toc-nav ol{
  margin:0;
  padding-left:22px;
}
.mlr-auto-toc-nav li{
  margin:7px 0;
  line-height:1.5;
}
.mlr-auto-toc-nav li.mlr-auto-toc-sub{
  margin-left:18px;
  font-size:.96em;
}
.mlr-auto-toc-nav a{
  color:#1e293b;
  text-decoration:none;
  font-weight:600;
}
.mlr-auto-toc-nav a:hover{color:var(--mlr-red);text-decoration:underline}
.mlr-single-news-content h2[id],
.mlr-single-news-content h3[id]{scroll-margin-top:88px}
@media(max-width:640px){
  .mlr-auto-toc{margin:18px 0 22px;border-radius:10px}
  .mlr-auto-toc summary{padding:12px 13px}
  .mlr-auto-toc-title{font-size:16px}
  .mlr-auto-toc-hint{font-size:11px}
  .mlr-auto-toc-nav{padding:10px 14px 12px}
  .mlr-auto-toc-nav li{margin:6px 0}
  .mlr-auto-toc-nav li.mlr-auto-toc-sub{margin-left:12px}
}

/* Contact page — v1.21.5 */
.mlr-contact-page{background:#f4f7fb;min-height:60vh;color:#152033}
.mlr-contact-shell{width:min(1120px,calc(100% - 32px));margin:0 auto}
.mlr-contact-hero{padding:54px 0 44px;background:linear-gradient(135deg,#b90c0f,#e11d24);color:#fff}
.mlr-contact-kicker{display:block;margin-bottom:8px;font-size:12px;font-weight:900;letter-spacing:.09em;color:#ffe17b}
.mlr-contact-hero h1{margin:0 0 10px;font-size:clamp(30px,5vw,48px);line-height:1.1;color:#fff}
.mlr-contact-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.9);font-size:16px;line-height:1.7}
.mlr-contact-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.mlr-contact-hero-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;font-weight:800;text-decoration:none}
.mlr-contact-hero-actions .primary{background:#fff;color:#b90c0f}.mlr-contact-hero-actions .zalo{background:#0969da;color:#fff}.mlr-contact-hero-actions .ghost{border:1px solid rgba(255,255,255,.65);color:#fff}
.mlr-contact-section{padding:28px 0 48px}
.mlr-contact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:-54px;margin-bottom:20px}
.mlr-contact-card{display:flex;align-items:center;gap:12px;min-width:0;padding:18px;border:1px solid #e1e7ef;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.07);color:#152033;text-decoration:none}
.mlr-contact-card:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(15,23,42,.1)}
.mlr-contact-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#fff1f2;color:#b90c0f;font-weight:900}.mlr-contact-icon.zalo{background:#e8f1ff;color:#0969da}
.mlr-contact-card div{min-width:0}.mlr-contact-card small{display:block;color:#7c8798;font-size:11px;font-weight:800;text-transform:uppercase}.mlr-contact-card strong{display:block;margin-top:2px;overflow-wrap:anywhere;font-size:15px}.mlr-contact-card p{margin:3px 0 0;color:#718096;font-size:12px;line-height:1.4}
.mlr-contact-main-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}
.mlr-contact-panel,.mlr-contact-extra{padding:22px;border:1px solid #e1e7ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.mlr-contact-panel h2{margin:0 0 16px;font-size:20px}
.mlr-contact-row{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #eef1f5;font-size:14px}.mlr-contact-row:last-of-type{border-bottom:0}.mlr-contact-row b{color:#475569}.mlr-contact-row span,.mlr-contact-row a{min-width:0;color:#152033;overflow-wrap:anywhere}.mlr-contact-row a{color:#b90c0f;font-weight:700;text-decoration:none}
.mlr-contact-note{margin-top:16px;padding:12px 14px;border-radius:10px;background:#fff7ed;border-left:4px solid #f59e0b;color:#6b4f14;line-height:1.6;font-size:13px}
.mlr-contact-map{overflow:hidden;height:360px;border-radius:12px;background:#eef1f5}.mlr-contact-map iframe{display:block;width:100%;height:100%;border:0}
.mlr-contact-map-empty{display:grid;place-items:center;align-content:center;height:300px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;text-align:center;color:#64748b}.mlr-contact-map-empty span{font-size:34px;color:#b90c0f}.mlr-contact-map-empty p{margin:8px 0}.mlr-contact-map-empty a{display:inline-flex;padding:9px 14px;border-radius:8px;background:#b90c0f;color:#fff;text-decoration:none;font-weight:800}
.mlr-contact-extra{margin-top:18px;line-height:1.75}.mlr-contact-extra>:first-child{margin-top:0}.mlr-contact-extra>:last-child{margin-bottom:0}
@media(max-width:900px){.mlr-contact-grid{grid-template-columns:1fr 1fr}.mlr-contact-main-grid{grid-template-columns:1fr}.mlr-contact-grid{margin-top:-42px}}
@media(max-width:560px){.mlr-contact-shell{width:calc(100% - 22px)}.mlr-contact-hero{padding:38px 0 56px}.mlr-contact-hero p{font-size:14px}.mlr-contact-grid{grid-template-columns:1fr;margin-top:-38px}.mlr-contact-card{padding:14px}.mlr-contact-panel,.mlr-contact-extra{padding:16px}.mlr-contact-row{grid-template-columns:1fr;gap:3px}.mlr-contact-map{height:280px}.mlr-contact-hero-actions a{flex:1 1 120px}}


/* v1.21.6 - Editable large-prize exchange page */
.mlr-prize-exchange{background:#f4f7fb;min-height:60vh;color:#152033}
.mlr-pe-shell{width:min(1120px,calc(100% - 32px));margin:0 auto}
.mlr-pe-hero{padding:54px 0 72px;background:linear-gradient(135deg,#97090c,#d80e14 58%,#ef4444);color:#fff;position:relative;overflow:hidden}
.mlr-pe-hero:after{content:"";position:absolute;inset:auto -70px -130px auto;width:360px;height:360px;border-radius:50%;background:rgba(255,214,10,.12)}
.mlr-pe-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#ffd84d;color:#7c1700;font-size:11px;font-weight:900;letter-spacing:.06em}
.mlr-pe-hero h1{max-width:820px;margin:12px 0 10px;color:#fff;font-size:clamp(32px,5.6vw,52px);line-height:1.08}
.mlr-pe-hero p{max-width:800px;margin:0;color:rgba(255,255,255,.92);font-size:16px;line-height:1.75}
.mlr-pe-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.mlr-pe-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:10px;font-weight:900;text-decoration:none}.mlr-pe-actions .primary{background:#fff;color:#b90c0f}.mlr-pe-actions .zalo{background:#0866ff;color:#fff}
.mlr-pe-content{padding:0 0 50px}.mlr-pe-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:-42px;position:relative;z-index:2}.mlr-pe-feature{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #e1e7ef;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.08)}.mlr-pe-feature>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#fff1f2;color:#b90c0f;font-size:20px;font-weight:900}.mlr-pe-feature small{display:block;color:#8b95a5;font-size:10px;font-weight:900;letter-spacing:.06em}.mlr-pe-feature strong{display:block;margin-top:2px;font-size:15px}.mlr-pe-feature p{margin:5px 0 0;color:#64748b;font-size:12px;line-height:1.5}
.mlr-pe-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;margin-top:20px}.mlr-pe-panel,.mlr-pe-extra{padding:22px;border:1px solid #e1e7ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.mlr-pe-panel h2{margin:0 0 16px;font-size:21px}.mlr-pe-steps{list-style:none;padding:0;margin:0;display:grid;gap:12px}.mlr-pe-steps li{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:start}.mlr-pe-steps li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#b90c0f;color:#fff;font-weight:900}.mlr-pe-steps p{margin:5px 0 0;line-height:1.65;color:#475569}
.mlr-pe-row{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #eef1f5;font-size:14px}.mlr-pe-row b{color:#475569}.mlr-pe-row a{color:#b90c0f;font-weight:800;text-decoration:none}.mlr-pe-row span{color:#334155;line-height:1.6}.mlr-pe-contact-actions{display:flex;gap:10px;margin-top:16px}.mlr-pe-contact-actions a{flex:1;display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:9px;background:#b90c0f;color:#fff;text-decoration:none;font-weight:900}.mlr-pe-contact-actions a.zalo{background:#0866ff}
.mlr-pe-warning{margin-top:18px;padding:16px 18px;border:1px solid #fde68a;border-left:4px solid #f59e0b;border-radius:12px;background:#fffbeb;color:#6b4f14}.mlr-pe-warning strong{display:block;margin-bottom:5px;color:#92400e}.mlr-pe-warning p{margin:0;line-height:1.7}.mlr-pe-extra{margin-top:18px;line-height:1.75}.mlr-pe-extra>:first-child{margin-top:0}.mlr-pe-extra>:last-child{margin-bottom:0}
@media(max-width:900px){.mlr-pe-feature-grid{grid-template-columns:1fr 1fr}.mlr-pe-grid{grid-template-columns:1fr}}
@media(max-width:560px){.mlr-pe-shell{width:calc(100% - 22px)}.mlr-pe-hero{padding:38px 0 64px}.mlr-pe-hero p{font-size:14px}.mlr-pe-feature-grid{grid-template-columns:1fr;margin-top:-36px}.mlr-pe-feature{padding:14px}.mlr-pe-panel,.mlr-pe-extra{padding:16px}.mlr-pe-row{grid-template-columns:1fr;gap:3px}.mlr-pe-actions a,.mlr-pe-contact-actions a{flex:1 1 130px}.mlr-pe-contact-actions{flex-wrap:wrap}}

/* v1.21.7 - Gửi góp ý kiến */
.mlr-feedback-page{min-height:70vh;background:#f5f7fb}
.mlr-feedback-shell{width:min(1060px,calc(100% - 32px));margin:0 auto}
.mlr-feedback-hero{padding:42px 0 34px;background:linear-gradient(135deg,#fff 0%,#fff8f8 100%);border-bottom:1px solid #e5e7eb}
.mlr-feedback-kicker{display:inline-block;color:#b91c1c;font-size:12px;font-weight:900;letter-spacing:.08em;margin-bottom:8px}
.mlr-feedback-hero h1{margin:0 0 10px;font-size:clamp(28px,4vw,42px);line-height:1.15;color:#111827}
.mlr-feedback-hero p{margin:0;max-width:760px;color:#64748b;font-size:16px;line-height:1.7}
.mlr-feedback-section{padding:28px 0 50px}
.mlr-feedback-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:18px;align-items:start}
.mlr-feedback-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 8px 26px rgba(15,23,42,.06)}
.mlr-feedback-form-card{padding:22px}
.mlr-feedback-card-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}
.mlr-feedback-card-head h2,.mlr-feedback-side h2{margin:0 0 5px;font-size:20px;color:#111827}
.mlr-feedback-card-head p{margin:0;color:#64748b;line-height:1.55}
.mlr-feedback-icon{display:inline-flex;width:40px;height:40px;border-radius:12px;background:#fee2e2;color:#b91c1c;align-items:center;justify-content:center;font-weight:900;font-size:19px;flex:0 0 auto}
.mlr-feedback-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mlr-feedback-form label{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:700}
.mlr-feedback-form label.full{grid-column:1/-1}
.mlr-feedback-form input,.mlr-feedback-form select,.mlr-feedback-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:11px 12px;font:inherit;outline:none;transition:.15s ease}
.mlr-feedback-form textarea{resize:vertical;min-height:150px;line-height:1.6}
.mlr-feedback-form input:focus,.mlr-feedback-form select:focus,.mlr-feedback-form textarea:focus{border-color:#b91c1c;box-shadow:0 0 0 3px rgba(185,28,28,.08)}
.mlr-feedback-form label small{font-size:12px;font-weight:500;color:#94a3b8}
.mlr-feedback-contact-note{margin:14px 0;color:#64748b;font-size:13px;line-height:1.6}
.mlr-feedback-submit{border:0;border-radius:10px;background:#b91c1c;color:#fff;padding:12px 22px;font-weight:850;cursor:pointer;box-shadow:0 6px 16px rgba(185,28,28,.18)}
.mlr-feedback-submit:hover{background:#991b1b}
.mlr-feedback-side{padding:22px;position:sticky;top:88px}
.mlr-feedback-step{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #eef2f7}
.mlr-feedback-step:last-of-type{border-bottom:0}
.mlr-feedback-step b{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fff1f2;color:#b91c1c;flex:0 0 auto}
.mlr-feedback-step strong{display:block;color:#111827;margin-bottom:4px}
.mlr-feedback-step p{margin:0;color:#64748b;font-size:13px;line-height:1.5}
.mlr-feedback-privacy{margin-top:14px;padding:13px 14px;background:#f8fafc;border-radius:10px;color:#475569}
.mlr-feedback-privacy p{margin:4px 0 0;font-size:13px;line-height:1.5}
.mlr-feedback-alert{display:flex;flex-direction:column;gap:3px;margin-bottom:16px;padding:13px 15px;border-radius:10px;border:1px solid}
.mlr-feedback-alert.success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
.mlr-feedback-alert.error{background:#fff1f2;border-color:#fecdd3;color:#9f1239}
.mlr-feedback-extra{margin-top:20px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px;line-height:1.7}
.mlr-feedback-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:820px){.mlr-feedback-layout{grid-template-columns:1fr}.mlr-feedback-side{position:static}.mlr-feedback-form-grid{grid-template-columns:1fr}.mlr-feedback-form label.full{grid-column:auto}}
@media(max-width:600px){.mlr-feedback-shell{width:min(100% - 20px,1060px)}.mlr-feedback-hero{padding:30px 0 24px}.mlr-feedback-section{padding:18px 0 36px}.mlr-feedback-form-card,.mlr-feedback-side{padding:16px}.mlr-feedback-card{border-radius:13px}}


/* Recruitment page v1.21.8 */
.mlr-career-page{background:#f5f7fb;min-height:70vh;color:#152033}.mlr-career-shell{width:min(1120px,calc(100% - 32px));margin:0 auto}.mlr-career-hero{padding:48px 0 34px;background:linear-gradient(135deg,#8f0808,#c70e0e);color:#fff}.mlr-career-kicker{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.08em;background:#ffd52a;color:#701010;padding:6px 10px;border-radius:999px}.mlr-career-hero h1{font-size:clamp(30px,5vw,48px);margin:14px 0 10px;color:#fff}.mlr-career-hero p{max-width:760px;font-size:17px;line-height:1.7;margin:0;color:#fff}.mlr-career-section{padding:30px 0 44px}.mlr-career-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:22px;align-items:start}.mlr-job-list{display:grid;gap:14px}.mlr-job-card,.mlr-apply-card,.mlr-career-extra{background:#fff;border:1px solid #e1e6ef;border-radius:14px;box-shadow:0 8px 28px rgba(15,23,42,.05)}.mlr-job-card{padding:20px}.mlr-job-card h2{font-size:21px;margin:0 0 10px;color:#111827}.mlr-job-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mlr-job-tag{font-size:12px;font-weight:800;padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569}.mlr-job-tag.hot{background:#fff1f2;color:#b91c1c}.mlr-job-summary{color:#475569;line-height:1.65;margin:0 0 14px}.mlr-job-details{border-top:1px solid #eef2f7;padding-top:12px}.mlr-job-details details{border:0;margin:6px 0}.mlr-job-details summary{cursor:pointer;font-weight:800;color:#9f1010}.mlr-job-details div{white-space:pre-line;color:#475569;line-height:1.65;padding:8px 0}.mlr-job-apply{display:inline-flex;margin-top:12px;text-decoration:none;background:#b90d0d;color:#fff!important;font-weight:800;padding:10px 15px;border-radius:9px}.mlr-apply-card{padding:20px;position:sticky;top:18px}.mlr-apply-card h2{margin:0 0 6px;font-size:22px}.mlr-apply-card>p{color:#64748b;line-height:1.55}.mlr-apply-form{display:grid;gap:12px;margin-top:16px}.mlr-apply-form label{display:grid;gap:6px;font-weight:700;color:#334155}.mlr-apply-form input,.mlr-apply-form select,.mlr-apply-form textarea{width:100%;box-sizing:border-box;border:1px solid #d7dde6;border-radius:9px;padding:10px 11px;background:#fff;font:inherit}.mlr-apply-form textarea{min-height:110px;resize:vertical}.mlr-apply-form small{font-weight:400;color:#64748b}.mlr-apply-submit{border:0;border-radius:9px;background:#b90d0d;color:#fff;padding:12px 16px;font-weight:900;cursor:pointer}.mlr-career-alert{padding:13px 15px;border-radius:10px;margin-bottom:16px}.mlr-career-alert.success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.mlr-career-alert.error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}.mlr-career-extra{padding:20px;margin-top:22px}.mlr-career-empty{padding:26px;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b;text-align:center}.mlr-apply-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}@media(max-width:820px){.mlr-career-grid{grid-template-columns:1fr}.mlr-apply-card{position:static}.mlr-career-shell{width:min(100% - 22px,1120px)}.mlr-career-hero{padding:34px 0 28px}}

/* v1.21.9 - portal article source badge */
.mlr-portal-source-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

/* v1.22.1 - Public community */
.mlr-community-body{background:#f3f5f8;color:#172033}
.mlr-community-page{min-height:70vh;padding-bottom:44px}
.mlr-community-hero{background:linear-gradient(135deg,#9d0909 0%,#c41212 58%,#e1a400 140%);color:#fff;padding:54px 18px 60px;position:relative;overflow:hidden}
.mlr-community-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-100px;top:-130px;background:rgba(255,213,42,.15)}
.mlr-community-hero-inner,.mlr-community-shell{width:min(1120px,calc(100% - 32px));margin:0 auto}
.mlr-community-kicker{display:inline-block;font-size:12px;letter-spacing:.12em;font-weight:900;color:#ffe16a;margin-bottom:10px}
.mlr-community-hero h1{font-size:clamp(30px,5vw,48px);line-height:1.08;margin:0 0 13px;font-weight:950;color:#fff}
.mlr-community-hero p{max-width:760px;font-size:17px;line-height:1.7;margin:0;color:#fff5f5}
.mlr-community-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.mlr-community-actions a{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:10px;background:#ffd52a;color:#7e0707;font-weight:900;text-decoration:none}
.mlr-community-actions a.secondary{background:#fff;color:#9d0909}
.mlr-community-shell{margin-top:-26px;position:relative;z-index:2}
.mlr-community-intro{background:#fff;border:1px solid #e0e5ec;border-radius:14px;padding:18px 20px;margin-bottom:16px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.mlr-community-intro p:last-child{margin-bottom:0}
.mlr-community-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #e0e5ec;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.06);margin-bottom:24px}
.mlr-community-stats>div{padding:18px 20px;text-align:center;border-right:1px solid #e9edf2}
.mlr-community-stats>div:last-child{border-right:0}
.mlr-community-stats strong{display:block;font-size:28px;color:#b80d0d;line-height:1.1}
.mlr-community-stats span{display:block;color:#657084;margin-top:4px;font-size:13px;font-weight:700}
.mlr-community-section{background:#fff;border:1px solid #e0e5ec;border-radius:16px;padding:24px;margin-bottom:22px;box-shadow:0 10px 30px rgba(15,23,42,.055)}
.mlr-community-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px}
.mlr-community-section-head span{font-size:11px;letter-spacing:.09em;color:#b80d0d;font-weight:900}
.mlr-community-section-head h2{margin:4px 0 0;color:#172033;font-size:25px}
.mlr-community-section-head>a{font-weight:800;color:#b80d0d;text-decoration:none;font-size:14px}
.mlr-community-dealers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.mlr-community-dealer-card{display:flex;gap:13px;border:1px solid #e2e7ee;border-radius:14px;padding:16px;background:#fff;transition:.2s ease}
.mlr-community-dealer-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.08);border-color:#efc7c7}
.mlr-community-dealer-logo{width:66px;height:66px;border-radius:50%;background:#fff8e2;border:2px solid #ffd52a;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:0 0 66px;text-decoration:none}
.mlr-community-dealer-logo img{width:100%;height:100%;object-fit:cover}
.mlr-community-dealer-logo span{font-size:27px;font-weight:950;color:#b80d0d}
.mlr-community-dealer-info{min-width:0}
.mlr-community-dealer-badge{display:inline-block;font-size:10px!important;letter-spacing:.04em!important;background:#fff3cd;color:#8a6200!important;border-radius:999px;padding:3px 7px;margin-bottom:5px}
.mlr-community-dealer-info h3{font-size:17px;line-height:1.3;margin:0 0 5px}
.mlr-community-dealer-info h3 a{color:#172033;text-decoration:none}
.mlr-community-dealer-info p{font-size:13px;line-height:1.5;color:#687386;margin:5px 0}
.mlr-community-dealer-info p.location{font-weight:700;color:#4b5563}
.mlr-community-dealer-meta{display:flex;gap:9px;flex-wrap:wrap;font-size:11px;color:#7a8495;margin:7px 0}
.mlr-community-profile-link{font-size:13px;font-weight:850;color:#b80d0d;text-decoration:none}
.mlr-community-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.mlr-community-post-card{border:1px solid #e1e6ed;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.mlr-community-post-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#b80d0d,#f0aa00);display:flex;align-items:center;justify-content:center;text-decoration:none;overflow:hidden}
.mlr-community-post-thumb img{width:100%;height:100%;object-fit:cover;transition:.25s ease}
.mlr-community-post-card:hover .mlr-community-post-thumb img{transform:scale(1.03)}
.mlr-community-post-thumb span{color:#fff;font-weight:950;letter-spacing:.05em}
.mlr-community-post-body{padding:15px;display:flex;flex-direction:column;flex:1}
.mlr-community-post-cat{font-size:11px;font-weight:850;color:#b80d0d;margin-bottom:6px;text-transform:uppercase}
.mlr-community-post-body h3{font-size:18px;line-height:1.35;margin:0 0 8px}
.mlr-community-post-body h3 a{color:#172033;text-decoration:none}
.mlr-community-post-body p{font-size:13px;line-height:1.6;color:#687386;margin:0 0 12px}
.mlr-community-post-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:auto;padding-top:10px;border-top:1px solid #edf0f4;font-size:12px;color:#7a8495}
.mlr-community-post-meta a{color:#b80d0d;text-decoration:none;font-weight:800}
.mlr-community-pagination{display:flex;justify-content:center;gap:7px;margin-top:22px;flex-wrap:wrap}
.mlr-community-pagination .page-numbers{min-width:36px;height:36px;padding:0 10px;border:1px solid #dde3ea;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#273247;background:#fff;font-weight:800}
.mlr-community-pagination .page-numbers.current{background:#b80d0d;border-color:#b80d0d;color:#fff}
.mlr-community-empty{padding:28px;text-align:center;border:1px dashed #ccd3dd;border-radius:12px;color:#6f7887;background:#fafbfc}
@media(max-width:900px){.mlr-community-dealers,.mlr-community-posts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .mlr-community-hero{padding:38px 10px 50px}.mlr-community-hero-inner,.mlr-community-shell{width:min(100% - 20px,1120px)}
  .mlr-community-stats{grid-template-columns:1fr}.mlr-community-stats>div{border-right:0;border-bottom:1px solid #e9edf2}.mlr-community-stats>div:last-child{border-bottom:0}
  .mlr-community-section{padding:17px 13px}.mlr-community-section-head{align-items:flex-start;flex-direction:column}.mlr-community-section-head h2{font-size:21px}
  .mlr-community-dealers,.mlr-community-posts{grid-template-columns:1fr}.mlr-community-dealer-card{padding:14px}.mlr-community-dealer-logo{width:58px;height:58px;flex-basis:58px}
}


/* v1.22.2 - Community shortcut in customer account */
.mlr-portal-card.community{border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)}
.mlr-portal-card.community strong{color:#0b3a82}

/* Homepage slideshow v1.23.0 */
.mlr-home-slider{position:relative;display:block;overflow:hidden;isolation:isolate}
.mlr-home-slider .mlr-slider-track{position:relative;width:100%}
.mlr-home-slider .mlr-slider-slide{display:none;width:100%;}
.mlr-home-slider .mlr-slider-slide.is-active{display:block}
.mlr-home-slider .mlr-slider-slide a{display:block;width:100%}
.mlr-home-slider .mlr-slider-slide img{display:block;width:100%;height:auto;max-height:310px;min-height:220px;object-fit:cover}
.mlr-home-slider .mlr-slider-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:36px;height:42px;border:0;border-radius:8px;background:rgba(15,23,42,.68);color:white;font-size:22px;cursor:pointer;transition:background .2s}
.mlr-home-slider .mlr-slider-arrow:hover,.mlr-home-slider .mlr-slider-arrow:focus-visible{background:rgba(15,23,42,.95)}
.mlr-home-slider .mlr-slider-prev{left:8px}.mlr-home-slider .mlr-slider-next{right:8px}
.mlr-home-slider .mlr-slider-dots{position:absolute;z-index:2;bottom:9px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:7px;padding:5px 10px;border-radius:99px;background:rgba(15,23,42,.48)}
.mlr-home-slider .mlr-slider-dot{width:9px;height:9px;min-width:9px;min-height:9px;padding:0;border-radius:50%;border:1px solid #fff;background:rgba(255,255,255,.5);cursor:pointer}
.mlr-home-slider .mlr-slider-dot.is-active{width:23px;border-radius:99px;background:#fff}
.mlr-home-slider button:focus-visible{outline:3px solid #facc15;outline-offset:2px}
@media(max-width:640px){.mlr-home-slider .mlr-slider-slide img{min-height:0;max-height:none;aspect-ratio:16/9;object-fit:cover}.mlr-home-slider .mlr-slider-arrow{width:30px;height:36px;font-size:17px}}

/* v1.24.0 Community wholesale */
.mlr-wholesale-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:16px;margin:18px 0}.mlr-wholesale-card{padding:20px;border:1px solid #dce3ec;border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:10px}.mlr-wholesale-card h3{margin:0;font-size:19px}.mlr-wholesale-card p{margin:0;flex:1}.mlr-wholesale-card small{color:#637083}.mlr-wholesale-tag{display:inline-block;background:#eaf4fe;color:#145b91;border-radius:6px;padding:5px 9px;font-size:12px;font-weight:700;align-self:flex-start}.mlr-wholesale-detail{font-weight:700}.mlr-wholesale-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mlr-wholesale-filter select,.mlr-wholesale-form input,.mlr-wholesale-form textarea,.mlr-wholesale-form select{border:1px solid #cbd5e1;border-radius:8px;padding:11px;width:100%;box-sizing:border-box;font:inherit}.mlr-wholesale-filter select{width:auto}.mlr-wholesale-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:850px}.mlr-wholesale-form label{display:flex;flex-direction:column;gap:6px;font-weight:600}.mlr-wholesale-form label:has(textarea),.mlr-wholesale-consent{grid-column:1/-1}.mlr-wholesale-form .mlr-wholesale-consent{flex-direction:row;align-items:start;font-weight:400}.mlr-wholesale-consent input{width:auto}.mlr-wholesale-form button,.mlr-wholesale-filter button{border:0;background:#b80d0d;color:white;border-radius:8px;padding:12px 18px;font-weight:700;cursor:pointer}.mlr-wholesale-notice{background:#eff6ff;border-left:4px solid #2563eb;padding:12px}.mlr-wholesale-single{max-width:880px;margin:30px auto;padding:0 18px}.mlr-wholesale-single article{background:white;border:1px solid #dce3ec;padding:26px;border-radius:14px}.mlr-wholesale-content{line-height:1.8;white-space:normal}@media(max-width:640px){.mlr-wholesale-form{grid-template-columns:1fr}}

/* 1.24.2: homepage semantic SEO content; Rank Math owns head metadata. */
.mlr-home-seo-heading{margin:0 0 14px;padding:16px 18px;background:#fff;border:1px solid var(--mlr-border);border-radius:12px}
.mlr-home-seo-heading h1{font-size:clamp(20px,2vw,27px);line-height:1.35;margin:0 0 9px;color:var(--mlr-text)}
.mlr-home-seo-heading p{margin:0;font-size:14px;line-height:1.7;color:var(--mlr-muted)}
.mlr-home-seo-content{margin:18px 0 0;padding:20px;background:#fff;border:1px solid var(--mlr-border);border-radius:12px;font-size:15px;line-height:1.8}
.mlr-home-seo-content h2{font-size:clamp(18px,1.8vw,23px);line-height:1.4;margin:20px 0 10px;color:var(--mlr-text)}
.mlr-home-seo-content h2:first-child{margin-top:0}
.mlr-home-seo-content p{margin:0 0 12px}
.mlr-home-region-links{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 20px}
.mlr-home-region-links a{display:inline-block;padding:9px 12px;border:1px solid #efb4b4;border-radius:8px;background:#fff7f7;color:#a41414;text-decoration:none;font-weight:650}
.mlr-home-region-links a:hover,.mlr-home-region-links a:focus{background:#ffeaea;text-decoration:underline}
.mlr-home-faq details{border:1px solid var(--mlr-border);border-radius:8px;margin-top:9px;padding:11px 13px}
.mlr-home-faq summary{cursor:pointer;font-weight:650}
.mlr-home-faq details p{margin:10px 0 0}
@media(max-width:600px){.mlr-home-seo-heading,.mlr-home-seo-content{padding:14px}.mlr-home-region-links{display:grid;grid-template-columns:1fr}.mlr-home-region-links a{width:100%}}

/* v1.24.3 — compact, responsive Northern lottery result grid.
   Isolated to data-region=MB to preserve Southern/Central boards. */
.mlr-board[data-region="MB"] .mlr-table {
  table-layout: fixed;
}
.mlr-board[data-region="MB"] .mlr-table .mlr-prize {
  width: 84px;
  background: #f8fafc;
  color: #26364a;
  font-weight: 800;
}
.mlr-board[data-region="MB"] .mlr-table tbody td {
  padding: 11px 12px;
}
.mlr-board[data-region="MB"] .mlr-table tbody tr:nth-child(even) td:not(.mlr-prize) {
  background: #fcfdff;
}
.mlr-board[data-region="MB"] .mlr-table tbody tr.mlr-row-db td {
  background: #fff2f2;
}
.mlr-board[data-region="MB"] .mlr-table tbody tr.mlr-row-db .mlr-prize {
  background: #ffe6e6;
  color: #a70d16 !important;
}
.mlr-board[data-region="MB"] .mlr-mb-number-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  justify-items: center;
  width: min(100%, 560px);
  margin-inline: auto;
}
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g2"],
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g3"],
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g4"],
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g5"],
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g6"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g3"],
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g5"],
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g7"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mlr-board[data-region="MB"] .mlr-mb-number-grid .mlr-number {
  display: block;
  min-width: 0;
  font-size: clamp(17px, 2.1vw, 24px);
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="db"] .mlr-number {
  font-size: clamp(29px, 3.2vw, 38px);
  font-weight: 950;
  color: #b91c1c;
  letter-spacing: 1px;
}
.mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g7"] .mlr-number {
  color: #0284c7;
  font-weight: 900;
}
@media(max-width:760px) {
  .mlr-board[data-region="MB"] .mlr-table .mlr-prize {
    width: 54px;
    min-width: 54px;
    max-width: 54px;
    font-size: 11px;
  }
  .mlr-board[data-region="MB"] .mlr-table tbody td {
    padding: 9px 4px;
  }
  .mlr-board[data-region="MB"] .mlr-mb-number-grid {
    gap: 8px 3px;
  }
  .mlr-board[data-region="MB"] .mlr-mb-number-grid .mlr-number {
    font-size: clamp(14px, 3.8vw, 21px);
    letter-spacing: 0;
  }
  .mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="db"] .mlr-number {
    font-size: clamp(26px, 7vw, 34px);
  }
}
@media(max-width:390px) {
  .mlr-board[data-region="MB"] .mlr-table .mlr-prize {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    font-size: 10px;
  }
  .mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g3"],
  .mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g5"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mlr-board[data-region="MB"] .mlr-mb-number-grid[data-prize="g7"] .mlr-number {
    font-size: 15px;
  }
}
@media print {
  .mlr-board[data-region="MB"] .mlr-mb-number-grid {gap: 3px 8px;}
  .mlr-board[data-region="MB"] .mlr-table tbody td {padding: 5px;}
}

/* v1.24.4 - homepage electronic lottery summaries */
.mlr-home-electronic{margin:26px 0;padding:22px;border:1px solid #e4e8ef;border-radius:16px;background:#f8fafc}
.mlr-home-electronic-heading h2{margin:0 0 7px;color:#991b1b;font-size:clamp(20px,2vw,27px);line-height:1.25}
.mlr-home-electronic-heading p{margin:0 0 20px;color:#64748b;font-size:14px}
.mlr-home-electronic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mlr-home-electronic-card{min-width:0;padding:17px;border:1px solid #e2e8f0;border-radius:12px;background:white;box-shadow:0 2px 10px rgba(15,23,42,.04)}
.mlr-home-electronic-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}
.mlr-home-electronic-card-top h3{margin:0;color:#9f1239;font-size:17px;line-height:1.3}
.mlr-home-electronic-card-top>span{color:#64748b;font-size:12px}
.mlr-home-electronic-balls{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0;min-height:34px}
.mlr-home-electronic-balls span{display:inline-flex;justify-content:center;align-items:center;width:34px;min-height:34px;padding:3px;border-radius:50%;background:#b91c1c;color:#fff;font-weight:800;font-size:14px;font-variant-numeric:tabular-nums}
.mlr-home-electronic-balls .mlr-home-electronic-special{background:#0f4c81}
.mlr-home-electronic-empty{margin:18px 0;color:#64748b;font-size:14px}
.mlr-home-electronic-jackpot{margin:0 0 12px;font-size:14px;color:#475569}
.mlr-home-electronic-jackpot strong{color:#b91c1c}
.mlr-home-electronic-link{display:inline-flex;gap:7px;align-items:center;color:#b91c1c;font-weight:700;font-size:14px;text-decoration:none}
.mlr-home-electronic-link:hover{text-decoration:underline}
.mlr-home-electronic-note{margin:15px 0 0;color:#64748b;font-size:12px;line-height:1.6}
@media(max-width:680px){.mlr-home-electronic{padding:15px;margin:20px 0}.mlr-home-electronic-grid{grid-template-columns:1fr;gap:10px}.mlr-home-electronic-card{padding:14px}}

/* 1.24.5: Live results and electronic results follow the video on the live page. */
.mlr-live-results-section{width:100%;padding:28px 18px 46px;background:linear-gradient(180deg,#f4f6fa 0%,#eef2f7 100%)}
.mlr-live-results-inner{max-width:1140px;margin:0 auto;min-width:0}
.mlr-live-results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px;padding:20px 22px;border-radius:20px;background:linear-gradient(135deg,#b90c0f 0%,#d6181b 52%,#f04a23 100%);box-shadow:0 18px 40px rgba(137,21,21,.16);color:#fff;position:relative;overflow:hidden}
.mlr-live-results-heading::before{content:"";position:absolute;right:-32px;top:-48px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(255,220,120,.45) 0%,rgba(255,220,120,0) 68%)}
.mlr-live-results-heading-copy,.mlr-live-results-heading-meta{position:relative;z-index:1}
.mlr-live-results-heading-copy{max-width:720px}
.mlr-live-results-eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);font-size:11px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;margin-bottom:10px}
.mlr-live-results-heading h2{margin:0 0 8px;color:#fff;font-size:clamp(24px,2.5vw,34px);line-height:1.14;font-weight:900}
.mlr-live-results-heading p{margin:0;color:rgba(255,255,255,.9);font-size:15px;line-height:1.65}
.mlr-live-results-heading-meta{display:flex;flex-direction:column;align-items:flex-end;gap:9px;min-width:220px}
.mlr-live-results-chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.95);color:#8c1919;font-size:12px;font-weight:800;line-height:1.2;text-align:center;box-shadow:0 8px 22px rgba(92,12,12,.12)}
.mlr-live-results-chip-primary{background:linear-gradient(135deg,#ffe083 0%,#ffc531 100%);color:#7e190d}
.mlr-live-results-panel{padding:18px;border:1px solid #e5eaf1;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.06)}
.mlr-live-results-tools{padding:14px 14px 12px;margin-bottom:16px;border-radius:18px;background:linear-gradient(180deg,#fff8f8 0%,#fffdfd 100%);border:1px solid #f4dcdc}
.mlr-live-results-inner .mlr-container{min-width:0;overflow-x:auto}
.mlr-live-results-inner .mlr-toolbar{margin:0 0 12px}
.mlr-live-results-inner .mlr-live-datebar{margin-top:0}
@media(max-width:860px){.mlr-live-results-heading{flex-direction:column;align-items:flex-start;padding:18px}.mlr-live-results-heading-meta{align-items:flex-start;min-width:0;flex-direction:row;flex-wrap:wrap}}
@media(max-width:680px){.mlr-live-results-section{padding:18px 10px 30px}.mlr-live-results-heading{padding:15px 14px;border-radius:16px;gap:14px}.mlr-live-results-heading p{font-size:14px;line-height:1.55}.mlr-live-results-panel{padding:11px;border-radius:16px}.mlr-live-results-tools{padding:10px;border-radius:14px;margin-bottom:12px}.mlr-live-results-chip{min-height:32px;padding:6px 11px;font-size:11px}}

/* v1.24.9 - full electronic result tabs on homepage and live page */
.mlr-electronic-full-home{max-width:100%;overflow:hidden}
.mlr-electronic-home-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.mlr-electronic-home-tab{border:1px solid #d9e0eb;border-radius:10px;background:#fff;color:#344256;padding:13px 6px;font-weight:700;cursor:pointer;min-width:0}
.mlr-electronic-home-tab[aria-selected="true"]{color:#ba0d18;border-color:#ba0d18;background:#fff4f4;box-shadow:inset 0 -3px #ba0d18}
.mlr-electronic-home-panel[hidden]{display:none!important}
.mlr-electronic-home-panel .mlr-electronic-card{margin:0;overflow:hidden}
.mlr-electronic-home-panel .mlr-electronic-head h3{color:inherit;font-size:inherit;margin:0}
.mlr-electronic-home-panel .mlr-electronic-table,.mlr-electronic-home-panel .mlr-max3dpro-table{width:100%}
.mlr-electronic-home-more{margin:12px 0 6px;text-align:right}
.mlr-electronic-home-more a{color:#b91c1c;font-weight:700;text-decoration:none}
@media(max-width:640px){.mlr-electronic-home-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.mlr-electronic-home-tab{font-size:13px;padding:10px 4px}.mlr-electronic-home-panel{overflow-x:auto}}

/* Electronic draw filters on homepage and live-results page */
.mlr-electronic-home-datebar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;padding:12px 13px;background:#fafbfe;border:1px solid #e1e7f0;border-radius:9px;margin:12px 0}
.mlr-electronic-home-date{border:1px solid #d7dfed;background:#fff;color:#263b58;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:700;cursor:pointer}
.mlr-electronic-home-date.active{background:#bb111b;border-color:#bb111b;color:#fff}
.mlr-electronic-home-calendar-label{margin-left:auto;display:flex;gap:7px;align-items:center;font-size:12px;color:#42526c}
.mlr-electronic-home-calendar{padding:6px;border:1px solid #d7dfed;border-radius:7px;max-width:165px}
@media(max-width:600px){.mlr-electronic-home-calendar-label{margin-left:0;width:100%;justify-content:space-between}}

.mlr-next-electronic-draw{font-size:12px;color:#9a5c07;background:#fff8e6;padding:6px 9px;border-radius:6px}


/* Latest news on the live results page (v1.25.7). */
.mlr-live-news-section{padding:28px 16px 44px;background:#f5f7fb}
.mlr-live-news-inner{max-width:1100px;margin:0 auto}
.mlr-live-news-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 18px}
.mlr-live-news-heading h2{color:#a80f12;font-size:clamp(22px,2.5vw,27px);line-height:1.25;margin:0 0 6px;font-weight:750}
.mlr-live-news-heading p{color:#66758b;margin:0;font-size:14px}
.mlr-live-news-more{color:#b80d0d;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.mlr-live-news-more:hover{text-decoration:underline}
.mlr-live-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mlr-live-news-card{background:#fff;border:1px solid #dfe5ef;border-radius:14px;overflow:hidden;box-shadow:0 5px 16px rgba(12,28,50,.05);min-width:0}
.mlr-live-news-image{display:block;aspect-ratio:16/10;background:#edf1f7;overflow:hidden}
.mlr-live-news-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}
.mlr-live-news-card:hover .mlr-live-news-image img{transform:scale(1.035)}
.mlr-live-news-image-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:19px;font-weight:750;color:#b80d0d}
.mlr-live-news-copy{padding:15px 16px 17px}
.mlr-live-news-copy time{font-size:12px;color:#748096}
.mlr-live-news-copy h3{font-size:17px;line-height:1.45;margin:7px 0 8px;font-weight:720}
.mlr-live-news-copy h3 a{color:#1b263a;text-decoration:none}
.mlr-live-news-copy h3 a:hover{color:#b80d0d}
.mlr-live-news-copy p{font-size:13px;line-height:1.6;color:#596679;margin:0}
.mlr-live-news-empty{padding:20px;background:white;border:1px solid #e1e5ec;border-radius:12px}
@media(max-width:820px){.mlr-live-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:540px){.mlr-live-news-section{padding:22px 12px 32px}.mlr-live-news-heading{align-items:start;flex-direction:column;gap:9px}.mlr-live-news-grid{grid-template-columns:1fr}.mlr-live-news-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.mlr-live-news-image{height:100%;aspect-ratio:auto}.mlr-live-news-copy{padding:11px 12px}.mlr-live-news-copy h3{font-size:15px;margin:4px 0}.mlr-live-news-copy p{display:none}}

/* News cards on the electronic-results page (v1.25.9). */
.mlr-electronic-wrap .mlr-live-news-section{margin-top:26px;border-radius:14px;overflow:hidden}
.mlr-electronic-wrap .mlr-live-news-inner{max-width:100%}

/* v1.25.9: keep electronic draw table compact, give news its own full-width layout. */
body.mlr-electronic-page .mlr-electronic-news-section{
  box-sizing:border-box;
  width:calc(100% - 40px);
  max-width:1160px;
  margin:0 auto 54px;
  padding:28px 28px 36px;
  border:1px solid #e1e7ef;
  border-radius:16px;
  background:#f6f8fc;
}
body.mlr-electronic-page .mlr-electronic-news-section .mlr-live-news-inner{max-width:100%;}
body.mlr-electronic-page .mlr-electronic-news-section .mlr-live-news-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
@media(max-width:800px){
  body.mlr-electronic-page .mlr-electronic-news-section{width:calc(100% - 24px);padding:22px 16px 28px;}
  body.mlr-electronic-page .mlr-electronic-news-section .mlr-live-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
}
@media(max-width:540px){
  body.mlr-electronic-page .mlr-electronic-news-section{width:calc(100% - 16px);padding:18px 12px 24px;}
  body.mlr-electronic-page .mlr-electronic-news-section .mlr-live-news-grid{grid-template-columns:minmax(0,1fr);gap:12px;}
}

/* Full-screen lottery table; isolated from print layout and regular table CSS. */
.mlr-header .mlr-board-zoom { margin-left:auto; align-self:center; display:inline-flex; align-items:center; gap:7px; padding:9px 13px; border:1px solid rgba(255,255,255,.65); border-radius:8px; color:white; background:rgba(255,255,255,.13); font-size:13px; font-weight:800; cursor:pointer; white-space:nowrap; }
.mlr-header .mlr-board-zoom:hover,.mlr-header .mlr-board-zoom:focus-visible { background:rgba(255,255,255,.25); outline-offset:3px; }
.mlr-board-zoom-symbol { font-size:20px; line-height:1; }
body.mlr-board-zoom-open { overflow:hidden !important; }
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen {
 position:fixed !important; inset:0 !important; height:100dvh !important; width:100vw !important;
 margin:0 !important; border-radius:0 !important; z-index:2147483000 !important;
 overflow:auto !important; background:#fff !important; box-shadow:none !important;
 display:flex !important; flex-direction:column !important;
}
.mlr-board.mlr-board-fullscreen .mlr-header { position:sticky; top:0; z-index:3; flex-shrink:0; }
.mlr-board.mlr-board-fullscreen .mlr-scroll { flex:1 1 auto; overflow:auto; }
.mlr-board.mlr-board-fullscreen .mlr-table { width:100%; }
.mlr-board.mlr-board-fullscreen .mlr-table th,.mlr-board.mlr-board-fullscreen .mlr-table td { padding:9px 10px; }
.mlr-board.mlr-board-fullscreen .mlr-actions { flex-shrink:0; }
.mlr-board.mlr-board-fullscreen .mlr-board-zoom { margin-right:8px; }
@media (max-width:767px) and (orientation:portrait) {
 body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen {
   top:0 !important; left:100vw !important; right:auto !important; bottom:auto !important;
   width:100dvh !important; height:100vw !important;
   transform:rotate(90deg); transform-origin:top left;
 }
 .mlr-board.mlr-board-fullscreen .mlr-table th,.mlr-board.mlr-board-fullscreen .mlr-table td { padding:5px 7px; }
 .mlr-board.mlr-board-fullscreen .mlr-title { font-size:16px; }
}
@media print {
 body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen { position:static !important; transform:none !important; height:auto !important; width:auto !important; overflow:visible !important; }
 .mlr-board-zoom { display:none !important; }
}

/* v1.26.3 – refined lottery board / fullscreen presentation */
.mlr-board { border-radius:14px; }
.mlr-board .mlr-header { min-height:58px; background:#ae1016; }
.mlr-board .mlr-title { padding:12px 18px; font-size:17px; letter-spacing:.1px; }
.mlr-board .mlr-date-box { min-width:82px; }
.mlr-board .mlr-subbar { padding:7px 16px; }
.mlr-board .mlr-header .mlr-board-zoom { margin:0 13px 0 auto; border-radius:8px; padding:9px 13px; background:#fff; color:#a40d16; border-color:#fff; box-shadow:0 2px 5px rgba(0,0,0,.1); font-weight:750; }
.mlr-board .mlr-header .mlr-board-zoom:hover,.mlr-board .mlr-header .mlr-board-zoom:focus-visible {background:#fff3f3;color:#850b12;}
.mlr-board .mlr-board-zoom-symbol{font-size:17px}
.mlr-board .mlr-table thead th { background:#f4f7fb; font-size:14px; }
.mlr-board .mlr-table tbody tr:nth-child(even) td:not(.mlr-prize) { background:#fafcff; }
.mlr-board .mlr-table .mlr-prize { width:76px; background:#f4f7fb; }
.mlr-board.mlr-board-fullscreen { border:0 !important; border-radius:0 !important; }
.mlr-board.mlr-board-fullscreen .mlr-header { min-height:64px; justify-content:flex-start; }
.mlr-board.mlr-board-fullscreen .mlr-title {font-size:clamp(17px,2vw,23px);}
.mlr-board.mlr-board-fullscreen .mlr-scroll { display:flex; align-items:flex-start; justify-content:center; padding:14px clamp(8px,2.2vw,32px); background:#eef2f7; }
.mlr-board.mlr-board-fullscreen .mlr-table { max-width:1600px; table-layout:fixed; background:#fff; box-shadow:0 6px 24px rgba(18,38,65,.08); border:1px solid #d9e2ee; border-radius:8px; overflow:hidden; }
.mlr-board.mlr-board-fullscreen .mlr-table th {padding:12px 8px; font-size:clamp(14px,1.4vw,19px);}
.mlr-board.mlr-board-fullscreen .mlr-table td {padding:8px 10px;}
.mlr-board.mlr-board-fullscreen .mlr-number {font-size:clamp(18px,2.1vw,30px); line-height:1.24; letter-spacing:.5px;}
.mlr-board.mlr-board-fullscreen .mlr-row-g8 .mlr-number,
.mlr-board.mlr-board-fullscreen .mlr-row-db .mlr-number {font-size:clamp(25px,3vw,42px);}
.mlr-board.mlr-board-fullscreen .mlr-actions {padding:10px; background:#fff;}
/* In zoom mode, grouped values are easier to scan in a balanced grid. */
.mlr-board.mlr-board-fullscreen:not([data-region="MB"]) .mlr-table tbody td:not(.mlr-prize):has(.mlr-number:nth-child(3)) {text-align:center;}
.mlr-board.mlr-board-fullscreen:not([data-region="MB"]) .mlr-table tbody td:not(.mlr-prize) .mlr-number {margin:0 auto;}
@media (min-width:1024px) {
  .mlr-board.mlr-board-fullscreen:not([data-region="MB"]) .mlr-table tbody tr.mlr-row-g3 td:not(.mlr-prize) .mlr-number {display:inline-block; width:45%; margin:3px 1%;}
  .mlr-board.mlr-board-fullscreen:not([data-region="MB"]) .mlr-table tbody tr.mlr-row-g4 td:not(.mlr-prize) .mlr-number {display:inline-block; width:45%; margin:3px 1%;}
}
@media (max-width:767px) {
 .mlr-board .mlr-title {font-size:14px; padding:10px;}
 .mlr-board .mlr-header .mlr-board-zoom{padding:7px 9px; font-size:12px; margin-right:8px;}
 .mlr-board .mlr-date-box{min-width:58px;}
 .mlr-board.mlr-board-fullscreen .mlr-scroll {padding:6px;}
 .mlr-board.mlr-board-fullscreen .mlr-table th,
 .mlr-board.mlr-board-fullscreen .mlr-table td {padding:4px 6px;}
 .mlr-board.mlr-board-fullscreen .mlr-number {font-size:18px;}
 .mlr-board.mlr-board-fullscreen .mlr-row-g8 .mlr-number,
 .mlr-board.mlr-board-fullscreen .mlr-row-db .mlr-number {font-size:23px;}
 .mlr-board.mlr-board-fullscreen .mlr-title{font-size:14px;}
 .mlr-board.mlr-board-fullscreen .mlr-header{min-height:47px;}
}
@media print { .mlr-board-zoom{display:none!important;} .mlr-board.mlr-board-fullscreen .mlr-scroll{background:white!important;padding:0!important;} }

/* 1.26.4: YouTube embed graceful fallback when a player is blocked. */
.mlr-video-external-link{margin:10px 0 0;text-align:center;color:#334155;font-size:14px;line-height:1.5}
.mlr-video-external-link a{color:#b91c1c;font-weight:700;text-decoration:underline}


/* v1.26.6 – quick date chips on the live-results page only */
.mlr-live-datebar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0 16px;padding:0;}
.mlr-live-datechip{appearance:none;border:0;background:#c81418;color:#fff;border-radius:12px;padding:12px 16px;min-height:44px;font-size:14px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 8px 18px rgba(183,18,25,.18);transition:transform .15s ease, box-shadow .15s ease, background .15s ease;}
.mlr-live-datechip:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(183,18,25,.25);background:#b10f13;}
.mlr-live-datechip.active{background:#149ad1;box-shadow:0 10px 22px rgba(20,154,209,.25);}
.mlr-live-datechip.is-latest:not(.active){background:#d65a0d;}
@media(max-width:680px){.mlr-live-datebar{gap:8px;margin-top:10px}.mlr-live-datechip{padding:11px 13px;border-radius:10px;font-size:13px;min-height:40px}}

/* v1.26.8: no opacity flashing while live results refresh in the background. */
body.mlr-live-video-standalone .mlr-container.is-loading { opacity:1; pointer-events:auto; }

/* v1.26.9 – editorial lottery result shortcode; isolated from main boards. */
.mlr-post-results{max-width:100%;margin:20px 0 26px;background:#fff;border:1px solid #e1e5ed;border-radius:12px;overflow:hidden}
.mlr-post-results-status{padding:10px 15px;background:#fff7e6;color:#9a5100;font-size:14px;font-weight:700}
.mlr-post-results-status.is-complete{background:#edf9f1;color:#176b32}
.mlr-post-results-scroll{width:100%;overflow-x:auto}
.mlr-post-results-table{border-collapse:collapse;width:100%;margin:0;text-align:center;min-width:350px}
.mlr-post-results-table th,.mlr-post-results-table td{border:1px solid #e3e7ee;padding:10px 13px}
.mlr-post-results-table thead th{background:#b31319;color:white;font-weight:800}
.mlr-post-results-table tbody th{text-align:left;width:110px;background:#f7f8fa;font-size:14px;color:#24314a}
.mlr-post-results-table tbody tr:nth-child(even) td{background:#fafbfc}
.mlr-post-result-number{display:inline-block;min-width:55px;margin:3px 9px;font-size:20px;font-weight:750;letter-spacing:.3px;color:#172439}
.mlr-post-result-number.is-pending{color:#8b96a8;font-size:17px;font-weight:400}
.mlr-post-results-table tr.is-special td{background:#fff1f2!important}
.mlr-post-results-table tr.is-special .mlr-post-result-number:not(.is-pending){color:#b31319;font-size:30px;font-weight:900}
@media(max-width:600px){.mlr-post-results-table th,.mlr-post-results-table td{padding:7px 5px}.mlr-post-result-number{min-width:43px;margin:3px 5px;font-size:17px}}

/* v1.27.0 – indexed day-specific XSMN navigation */
.mlr-mn-archive-intro{padding:14px 16px;margin:0 0 14px;border:1px solid #dce3ec;border-radius:12px;background:#fff;color:#334155;line-height:1.7}
.mlr-mn-archive-intro p{margin:0 0 8px}
.mlr-mn-date-nav{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.mlr-mn-date-nav a{padding:8px 10px;border-radius:8px;background:#b80d0d;color:#fff;text-decoration:none;font-weight:700;font-size:13px}
.mlr-mn-date-nav a.is-current{background:#028ac3}

/* v1.27.4: compact historic-date links; no unreached draw dates in navigation. */
.mlr-mn-archive-intro{padding:10px 12px;margin-bottom:12px;}
.mlr-mn-archive-intro>strong{font-size:13px;}
.mlr-mn-date-nav{gap:6px;margin-top:8px;}
.mlr-mn-date-nav a{padding:7px 9px;font-size:12px;line-height:1.15;border-radius:7px;box-shadow:none;white-space:nowrap;}
@media(max-width:640px){.mlr-mn-archive-intro{padding:9px 10px}.mlr-mn-date-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.mlr-mn-date-nav a{flex:0 0 auto;font-size:11px;padding:8px 9px}}

/* v1.27.8 — Refined in-layout page title for KQXS pages. */
.mlr-result-hero{position:relative;display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:16px;isolation:isolate;overflow:hidden;margin:0 0 14px;padding:15px 18px 16px;border:1px solid #f0ddd0;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fff9f4 55%,#fff1e6 100%);box-shadow:0 12px 28px rgba(104,28,18,.08)}
.mlr-result-hero::before{content:"";position:absolute;inset:0 auto 0 0;width:7px;border-radius:18px 0 0 18px;background:linear-gradient(180deg,#ffd966 0%,#ef3434 55%,#ba0e14 100%)}
.mlr-result-hero::after{content:"";position:absolute;right:-36px;top:-42px;z-index:-1;width:176px;height:176px;border-radius:50%;background:radial-gradient(circle,#ffd98d 0%,rgba(255,217,141,.5) 28%,rgba(255,217,141,0) 70%)}
.mlr-result-hero-mark{position:relative;flex:0 0 104px;height:74px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 7px 6px rgba(129,28,16,.15))}
.mlr-result-ball{display:grid;place-items:center;position:absolute;width:49px;height:49px;border-radius:50%;border:3px solid rgba(255,255,255,.78);font-size:21px;font-weight:900;color:#152033;text-shadow:0 1px 0 #fff;box-shadow:inset -7px -9px 10px rgba(0,0,0,.18),inset 5px 7px 8px rgba(255,255,255,.6),0 3px 0 rgba(112,34,10,.12)}
.mlr-result-ball-blue{left:1px;top:18px;background:radial-gradient(circle at 30% 25%,#effaff,#38b8f2 55%,#087cbd)}
.mlr-result-ball-red{left:31px;top:4px;z-index:2;width:62px;height:62px;font-size:28px;background:radial-gradient(circle at 28% 23%,#fff5f2,#f43b37 42%,#b70013 78%);color:#fff;text-shadow:0 2px 3px #740009}
.mlr-result-ball-gold{right:0;top:20px;background:radial-gradient(circle at 28% 25%,#fffdf0,#ffd55b 45%,#e7a000 83%)}
.mlr-result-hero-copy{min-width:0;position:relative;z-index:1}
.mlr-result-hero-eyebrow{display:block;margin-bottom:5px;color:#b06c10;font-size:11px;line-height:1.35;letter-spacing:1.1px;font-weight:800;text-transform:uppercase}
.mlr-seo-header.mlr-result-hero h1{margin:0;color:#b80f16;font-size:clamp(24px,2.2vw,36px);line-height:1.15;font-weight:900;letter-spacing:-.7px;text-wrap:balance}
.mlr-result-hero-subtitle{display:block;margin-top:6px;color:#6d4a39;font-weight:600;font-size:13px;line-height:1.45}
.mlr-result-hero-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;position:relative;z-index:1}
.mlr-result-hero-chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 13px;border-radius:999px;background:#fff;border:1px solid #f2ddcf;color:#7f3f32;font-size:12px;line-height:1.2;font-weight:800;box-shadow:0 6px 18px rgba(137,44,23,.08);text-align:center;white-space:nowrap}
.mlr-result-hero-chip-region{background:linear-gradient(135deg,#d7171d 0%,#aa0d13 100%);border-color:transparent;color:#fff;box-shadow:0 8px 18px rgba(170,13,19,.24)}
.mlr-result-hero-chip-date{max-width:220px;white-space:normal}
@media(max-width:980px){.mlr-result-hero{grid-template-columns:86px minmax(0,1fr);grid-template-areas:"mark copy" "meta meta";padding:14px 16px;gap:12px}.mlr-result-hero-mark{grid-area:mark;flex-basis:86px;height:65px}.mlr-result-hero-copy{grid-area:copy}.mlr-result-hero-meta{grid-area:meta;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding-left:2px}}
@media(max-width:760px){.mlr-result-hero{grid-template-columns:72px minmax(0,1fr);margin-bottom:10px;padding:13px 13px 14px;border-radius:14px}.mlr-result-hero-mark{height:57px;transform:scale(.78);transform-origin:left center;margin-right:-10px}.mlr-seo-header.mlr-result-hero h1{font-size:clamp(20px,5vw,28px);letter-spacing:-.4px}.mlr-result-hero-eyebrow{font-size:9px;letter-spacing:.7px}.mlr-result-hero-subtitle{font-size:11px;margin-top:4px}.mlr-result-hero-chip{min-height:30px;padding:5px 10px;font-size:11px}}
@media(max-width:390px){.mlr-result-hero{grid-template-columns:1fr;grid-template-areas:"copy" "meta";gap:8px}.mlr-result-hero-mark{display:none}.mlr-seo-header.mlr-result-hero h1{font-size:19px}.mlr-result-hero-eyebrow{margin-bottom:3px}.mlr-result-hero-meta{gap:6px}}

/* v1.27.9 — CSS-rendered premium red lottery title banner; accessible real-text H1. */
.mlr-page-main .mlr-result-banner{
  position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;
  justify-content:space-between;gap:12px;min-height:132px;margin:0 0 14px;
  padding:22px 28px;border:0;border-radius:18px;
  background:radial-gradient(ellipse at 83% 115%,#f96820 0%,transparent 45%),
             linear-gradient(115deg,#7f0008 0%,#b8000d 38%,#e1090e 70%,#8d0006 100%);
  box-shadow:0 8px 22px rgba(117,0,7,.15);
}
.mlr-page-main .mlr-result-banner::before{
  content:"";position:absolute;inset:auto -8% -100px -8%;z-index:-1;height:150px;
  border-top:12px solid #ffd66d;border-radius:50% 50% 0 0;
  background:linear-gradient(180deg,rgba(255,205,67,.35),transparent 60%);
  transform:rotate(-6deg);pointer-events:none;
}
.mlr-page-main .mlr-result-banner::after{
  content:"";position:absolute;top:-75px;right:9%;z-index:-1;width:240px;height:240px;
  border:2px solid rgba(255,220,91,.18);border-radius:50%;
  box-shadow:0 0 0 25px rgba(255,198,45,.06),0 0 0 55px rgba(255,198,45,.045);
  pointer-events:none;
}
.mlr-result-banner .mlr-result-hero-copy{flex:1 1 auto;z-index:2;min-width:0}
.mlr-seo-header.mlr-result-banner h1{
  margin:0;color:#fff4cf;font-size:clamp(25px,3.1vw,49px);font-weight:950;
  letter-spacing:-.7px;line-height:1.18;text-wrap:balance;
  -webkit-text-stroke:.6px #8c0709;
  text-shadow:0 2px 0 #b6000a,0 4px 0 #760108,0 6px 12px rgba(35,0,0,.58);
}
.mlr-result-banner .mlr-result-hero-mark{flex:0 0 190px;width:190px;height:100px;position:relative;margin:0;transform:none;filter:drop-shadow(0 10px 6px rgba(40,0,0,.35))}
.mlr-result-banner .mlr-result-ball{position:absolute;display:grid;place-items:center;border:4px solid #fff7d5;box-sizing:border-box;color:#1a1820;text-shadow:none;font-weight:950;box-shadow:inset -12px -13px 15px rgba(67,0,0,.27),inset 5px 5px 10px #fff9,0 5px 14px #31000080}
.mlr-result-banner .mlr-result-ball-blue{left:4px;top:29px;width:65px;height:65px;font-size:25px;background:radial-gradient(circle at 28% 18%,#fff,#cfdfff 35%,#5caafa 75%,#126db1)}
.mlr-result-banner .mlr-result-ball-red{z-index:3;left:51px;top:0;width:103px;height:103px;font-size:36px;background:radial-gradient(circle at 26% 17%,#fff5eb,#ff5e48 29%,#df0620 65%,#92000a 100%)}
.mlr-result-banner .mlr-result-ball-gold{z-index:2;right:0;top:23px;width:70px;height:70px;font-size:28px;background:radial-gradient(circle at 24% 15%,#fff,#ffec8f 35%,#ffbc3c 75%,#a95a09)}
@media(max-width:760px){
  .mlr-page-main .mlr-result-banner{min-height:95px;padding:16px 15px;border-radius:13px;margin-bottom:10px}
  .mlr-seo-header.mlr-result-banner h1{font-size:clamp(22px,5vw,32px)}
  .mlr-result-banner .mlr-result-hero-mark{display:block;flex:0 0 100px;width:100px;height:70px;transform:scale(.70);transform-origin:left center;margin-right:-29px}
}
@media(max-width:420px){
  .mlr-page-main .mlr-result-banner{padding:16px 12px;min-height:86px}
  .mlr-seo-header.mlr-result-banner h1{font-size:clamp(19px,5.6vw,25px);line-height:1.24}
  .mlr-result-banner .mlr-result-hero-mark{flex-basis:72px;transform:scale(.56);margin-right:-42px}
}

/* 1.28.0 - Full-width header matches requested layout; higher specificity avoids old title rules. */
.mlr-content > .mlr-result-banner-full.mlr-result-banner{
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between;
  box-sizing:border-box; width:100%; min-height:148px;
  margin:4px 0 20px; padding:18px clamp(22px,5vw,70px);
  border:1px solid rgba(255,192,64,.5); border-radius:20px;
  background:radial-gradient(ellipse at 84% 130%,rgba(255,175,32,.45),transparent 42%),
             linear-gradient(112deg,#790609 0%,#b8000e 46%,#db1515 75%,#850309 100%);
  box-shadow:0 12px 26px rgba(127,8,13,.15);
}
.mlr-content > .mlr-result-banner-full::before{
  content:"";position:absolute;z-index:-1;left:26%;right:-11%;bottom:-138px;
  height:190px;border-top:11px solid #ffcc50;border-radius:50% 50% 0 0;
  background:linear-gradient(180deg,rgba(255,179,33,.3),transparent 70%);
  transform:rotate(-6deg);pointer-events:none;
}
.mlr-content > .mlr-result-banner-full::after{
  content:"";position:absolute;z-index:-1;right:5%;top:-97px;width:260px;height:260px;
  border:2px solid rgba(255,217,99,.2);border-radius:50%;
  box-shadow:0 0 0 28px rgba(255,194,55,.07),0 0 0 60px rgba(255,200,66,.045);
}
.mlr-content > .mlr-result-banner-full .mlr-result-hero-copy{position:relative;z-index:2;min-width:0;flex:1 1 auto}
.mlr-content > .mlr-result-banner-full h1{
  margin:0;color:#fff1c1;font-size:clamp(31px,3.7vw,58px);
  font-weight:900;letter-spacing:-1px;line-height:1.19;
  -webkit-text-stroke:.6px #8a0908;
  text-shadow:0 2px 0 #bb1b0b,0 4px 0 #760406,0 7px 15px rgba(22,0,0,.55);
}
.mlr-content > .mlr-result-banner-full .mlr-result-hero-mark{
  position:relative;display:block;flex:0 0 190px;width:190px;height:103px;
  margin:0;transform:none;filter:drop-shadow(0 8px 8px rgba(30,0,0,.28));
}
.mlr-result-banner-full .mlr-result-ball{position:absolute;display:grid;place-items:center;border:4px solid #fff7da;box-sizing:border-box;font-weight:900;text-shadow:none;box-shadow:inset -12px -13px 16px rgba(67,0,0,.28),inset 5px 5px 12px #fff8,0 5px 13px #31000080}
.mlr-result-banner-full .mlr-result-ball-blue{left:1px;top:30px;width:63px;height:63px;font-size:25px;background:radial-gradient(circle at 27% 15%,#fff,#b7e3ff 35%,#4a9ee7 80%,#0866aa)}
.mlr-result-banner-full .mlr-result-ball-red{left:48px;top:0;width:106px;height:106px;z-index:3;font-size:36px;background:radial-gradient(circle at 27% 15%,#fff7ee,#ff6c57 30%,#d9001d 68%,#870008)}
.mlr-result-banner-full .mlr-result-ball-gold{right:0;top:26px;width:73px;height:73px;z-index:2;font-size:27px;background:radial-gradient(circle at 27% 15%,#fff,#ffe48b 40%,#e6a220 80%,#ac5b05)}
@media(max-width:760px){
  .mlr-content > .mlr-result-banner-full.mlr-result-banner{min-height:99px;border-radius:13px;margin:4px 0 12px;padding:15px 16px;gap:8px}
  .mlr-content > .mlr-result-banner-full h1{font-size:clamp(21px,5vw,32px);letter-spacing:-.4px}
  .mlr-content > .mlr-result-banner-full .mlr-result-hero-mark{flex-basis:100px;width:100px;height:76px;transform:scale(.7);transform-origin:left center;margin-right:-28px}
}
@media(max-width:420px){
  .mlr-content > .mlr-result-banner-full.mlr-result-banner{min-height:88px;padding:13px 12px}
  .mlr-content > .mlr-result-banner-full h1{font-size:clamp(20px,5.4vw,25px)}
  .mlr-content > .mlr-result-banner-full .mlr-result-hero-mark{flex-basis:72px;transform:scale(.53);margin-right:-38px}
}

/* v1.28.1: remove the light seam directly underneath the live video.
   Both regions share the same canvas and the video keeps its own rounded frame. */
body.mlr-live-video-standalone .mlr-live-video-only-page{
  background:#eef1f5;
  padding-bottom:0;
}
body.mlr-live-video-standalone .mlr-live-video-only-shell{
  display:flow-root;
  margin-bottom:0;
  padding-bottom:0;
}
body.mlr-live-video-standalone .mlr-live-video-only-frame{
  display:block;
  margin:0;
  border-bottom:0;
}
body.mlr-live-video-standalone .mlr-live-results-section{
  background:#eef1f5;
  border:0;
  margin:0;
  padding-top:22px;
}
@media(max-width:700px){
  body.mlr-live-video-standalone .mlr-live-results-section{padding-top:14px}
}

/* v1.28.2 - finish the YouTube player visually instead of a hard chopped edge.
   Scoped strictly to the live video template; does not affect the embed itself. */
body.mlr-live-video-standalone .mlr-live-video-only-page{
  background:#eef1f5;
  padding-bottom:0;
}
body.mlr-live-video-standalone .mlr-live-video-only-shell{
  width:min(1180px,100%);
  overflow:hidden;
  border-radius:17px;
  background:#5b090e;
  box-shadow:0 15px 38px rgba(29,39,55,.14);
  margin:0 auto;
  padding:0;
}
body.mlr-live-video-standalone .mlr-live-video-only-frame{
  display:block;
  aspect-ratio:16 / 9;
  width:100%;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:hidden;
  background:#080808;
}
body.mlr-live-video-standalone .mlr-live-video-only-frame iframe,
body.mlr-live-video-standalone .mlr-live-video-only-frame video{
  display:block;
  width:100%;height:100%;
  border:0;
}
body.mlr-live-video-standalone .mlr-live-player-bottom{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  min-height:54px;padding:10px 19px;
  border-top:3px solid #ffcb48;
  background:linear-gradient(105deg,#850d15 0%,#b81018 62%,#7f0712 100%);
  color:white;
}
body.mlr-live-video-standalone .mlr-live-player-bottom-title{
  display:flex;align-items:center;gap:10px;
  font-size:15px;font-weight:800;line-height:1.35;
}
body.mlr-live-video-standalone .mlr-live-player-bottom-icon{
  display:inline-grid;place-items:center;flex:none;
  width:28px;height:28px;border-radius:50%;
  background:#ffce48;color:#a20b10;font-size:11px;padding-left:2px;
}
body.mlr-live-video-standalone .mlr-live-player-bottom-note{
  color:#ffedc5;font-size:12px;font-weight:600;text-align:right;
}
body.mlr-live-video-standalone .mlr-live-results-section{
  background:#eef1f5;margin:0;border:0;padding-top:25px;
}
@media(max-width:700px){
  body.mlr-live-video-standalone .mlr-live-video-only-page{padding:10px 10px 0}
  body.mlr-live-video-standalone .mlr-live-video-only-shell{border-radius:12px}
  body.mlr-live-video-standalone .mlr-live-player-bottom{min-height:47px;padding:9px 12px}
  body.mlr-live-video-standalone .mlr-live-player-bottom-title{font-size:12px;gap:7px}
  body.mlr-live-video-standalone .mlr-live-player-bottom-icon{width:24px;height:24px}
  body.mlr-live-video-standalone .mlr-live-player-bottom-note{font-size:10px}
  body.mlr-live-video-standalone .mlr-live-results-section{padding-top:17px}
}
@media(max-width:370px){body.mlr-live-video-standalone .mlr-live-player-bottom-note{display:none}}


/* Mobile live results layout — 2026-10-18. Scoped to the live page only.
   One prize column + 3 or 4 dynamically returned stations. */
@media screen and (max-width: 767px) {
 body.mlr-live-video-standalone .mlr-live-results-section { padding-left:6px; padding-right:6px; }
 body.mlr-live-video-standalone .mlr-live-results-inner,
 body.mlr-live-video-standalone .mlr-live-results-panel,
 body.mlr-live-video-standalone .mlr-container { min-width:0; max-width:100%; }
 body.mlr-live-video-standalone .mlr-live-results-panel { padding:7px; border-radius:14px; }
 body.mlr-live-video-standalone .mlr-live-results-tools { padding:8px; margin-bottom:10px; }
 body.mlr-live-video-standalone .mlr-live-results-inner .mlr-toolbar { padding:0; margin:0 0 9px; background:transparent; box-shadow:none; border:0; gap:7px; }
 body.mlr-live-video-standalone .mlr-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
 body.mlr-live-video-standalone .mlr-tabs button { min-width:0; min-height:42px; font-size:clamp(11px,3.3vw,14px); padding:4px 2px; }
 body.mlr-live-video-standalone .mlr-date-input { box-sizing:border-box; width:100%; max-width:100%; min-width:0; }
 body.mlr-live-video-standalone .mlr-live-datebar { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:0; }
 body.mlr-live-video-standalone .mlr-live-datechip { width:100%; min-width:0; min-height:37px; padding:8px 2px; font-size:clamp(10px,3vw,13px); line-height:1.15; border-radius:9px; box-shadow:none; }
 body.mlr-live-video-standalone .mlr-container { overflow-x:hidden; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) { width:100%; max-width:100%; overflow:hidden; border-radius:10px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-header { display:flex; align-items:center; min-height:51px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-title { flex:1 1 auto; min-width:0; padding:8px 5px 8px 9px; font-size:clamp(11px,3.35vw,15px); line-height:1.18; overflow-wrap:normal; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-header .mlr-board-zoom { flex:0 0 auto; min-width:0; margin:0 6px 0 2px; padding:7px 6px; gap:3px; font-size:clamp(10px,2.85vw,12px); }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-board-zoom-symbol { font-size:14px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-date-box { flex:0 0 51px; min-width:51px; align-self:stretch; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-date-box strong { font-size:12px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-subbar { padding:7px 9px; font-size:11px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-scroll { width:100%; max-width:100%; overflow-x:hidden; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-table { width:100%; min-width:0; table-layout:fixed; border-collapse:collapse; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-table th,
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-table td { box-sizing:border-box; min-width:0; padding:5px 1px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-table .mlr-prize { width:12%; min-width:0; max-width:none; padding:4px 1px !important; font-size:clamp(9px,2.7vw,11px); }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-table thead th { font-size:clamp(10px,3.25vw,14px); line-height:1.13; padding:7px 1px; overflow-wrap:break-word; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-number { box-sizing:border-box; max-width:100%; font-size:clamp(12px,3.7vw,17px); line-height:1.2; letter-spacing:-.3px; white-space:nowrap; font-variant-numeric:tabular-nums; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-row-db .mlr-number,
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-row-g8 .mlr-number { font-size:clamp(14px,4.2vw,19px); letter-spacing:-.45px; }
 /* Four stations: reserve enough room for every 6-digit jackpot. */
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen):has(.mlr-table thead th:nth-child(5)) .mlr-table .mlr-prize { width:11%; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen):has(.mlr-table thead th:nth-child(5)) .mlr-table thead th { font-size:clamp(9px,2.8vw,12px); }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen):has(.mlr-table thead th:nth-child(5)) .mlr-number { font-size:clamp(11px,3.35vw,15px); letter-spacing:-.45px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen):has(.mlr-table thead th:nth-child(5)) .mlr-row-db .mlr-number,
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen):has(.mlr-table thead th:nth-child(5)) .mlr-row-g8 .mlr-number { font-size:clamp(12px,3.45vw,15px); letter-spacing:-.5px; }
}
@media screen and (max-width:360px) {
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen):has(.mlr-table thead th:nth-child(5)) .mlr-number,
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen):has(.mlr-table thead th:nth-child(5)) .mlr-row-db .mlr-number { font-size:11px; letter-spacing:-.6px; }
 body.mlr-live-video-standalone .mlr-board:not(.mlr-board-fullscreen) .mlr-header .mlr-board-zoom-label { display:none; }
}

/* News page two-column layout and automatic category sidebar */
body.mlr-news-body .mlr-news-shell{width:min(1200px,calc(100% - 32px));}
body.mlr-news-body .mlr-news-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:22px;align-items:start;}
body.mlr-news-body .mlr-news-primary{min-width:0;}
body.mlr-news-body .mlr-news-sidebar{min-width:0;display:grid;gap:16px;}
body.mlr-news-body .mlr-news-side-panel{background:#fff;border:1px solid #e3e8ef;border-radius:14px;padding:19px;box-shadow:0 4px 14px rgba(15,23,42,.05);}
body.mlr-news-body .mlr-news-side-heading{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #edf0f5;font-size:17px;font-weight:800;color:#172033;display:flex;gap:10px;align-items:center;}
body.mlr-news-body .mlr-news-side-heading span{color:#cd1019;font-size:19px;}
body.mlr-news-body .mlr-news-category-links,body.mlr-news-body .mlr-news-recent-links{list-style:none;margin:0;padding:0;}
body.mlr-news-body .mlr-news-category-links li+li{border-top:1px solid #f1f3f6;}
body.mlr-news-body .mlr-news-category-links a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 3px;color:#334155;font-size:14px;font-weight:650;text-decoration:none;transition:color .2s;}
body.mlr-news-body .mlr-news-category-links a:hover,body.mlr-news-body .mlr-news-recent-links a:hover{color:#c6101b;}
body.mlr-news-body .mlr-news-category-count{flex-shrink:0;background:#f2f4f8;padding:3px 8px;border-radius:999px;color:#64748b;font-size:12px;}
body.mlr-news-body .mlr-news-recent-links li{padding:11px 0;border-bottom:1px solid #f1f3f6;}
body.mlr-news-body .mlr-news-recent-links li:last-child{border-bottom:0;padding-bottom:0;}
body.mlr-news-body .mlr-news-recent-links a{display:block;color:#243047;text-decoration:none;font-size:13.5px;font-weight:750;line-height:1.5;}
body.mlr-news-body .mlr-news-recent-links time{display:block;color:#94a3b8;font-size:11.5px;margin-top:4px;}
body.mlr-news-body .mlr-news-side-empty{color:#64748b;margin:0;font-size:13px;}
@media(max-width:900px){body.mlr-news-body .mlr-news-layout{grid-template-columns:minmax(0,1fr);}body.mlr-news-body .mlr-news-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){body.mlr-news-body .mlr-news-shell{width:calc(100% - 16px);}body.mlr-news-body .mlr-news-sidebar{grid-template-columns:minmax(0,1fr);gap:12px;}body.mlr-news-body .mlr-news-side-panel{padding:16px;}body.mlr-news-body .mlr-news-layout{gap:18px;}}

/* Category archive enhancements */
body.mlr-news-category-body .mlr-news-category-description{margin:0 0 20px;padding:16px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;color:#475569;line-height:1.65}
body.mlr-news-category-body .mlr-news-category-description p{margin:0}
body.mlr-news-category-body .mlr-news-category-links a.is-active{color:#c6101b;font-weight:800}

/* Complete draw label: station-aware data sync fix */
.mlr-draw-complete-label{font-size:.58em;color:#fff5a5;font-weight:700;white-space:nowrap}

/* v1.28.12 - One-page full-size lottery print, inspired by the supplied layout */
@media screen { .mlr-print-source { display:none !important; } }
@page { size:A4 portrait; margin:7mm; }
@media print {
  html, body { width:auto !important; height:auto !important; margin:0 !important; padding:0 !important; background:#fff !important; }
  body.mlr-printing-four-up * { visibility:hidden !important; }
  body.mlr-printing-four-up .mlr-print-source,
  body.mlr-printing-four-up .mlr-print-source * { visibility:visible !important; }
  body.mlr-printing-four-up .mlr-print-source {
    display:block !important; position:absolute !important; top:0 !important; left:0 !important;
    right:auto !important; bottom:auto !important; width:196mm !important;
    min-height:0 !important; height:auto !important; margin:0 !important; padding:0 !important;
    background:white !important; break-after:avoid !important;
  }
  body.mlr-printing-four-up .mlr-print-ticket {
    display:block !important; box-sizing:border-box !important; width:196mm !important;
    height:auto !important; max-height:280mm !important; overflow:visible !important;
    margin:0 !important; padding:0 !important; break-inside:avoid !important;
    font:12pt Arial,Helvetica,sans-serif !important; color:#000 !important;
  }
  .mlr-print-heading { display:flex !important; height:26mm; border:0.35mm solid #111;
    align-items:center; justify-content:space-between; box-sizing:border-box; }
  .mlr-print-heading-main { flex:1; text-align:center; min-width:0; }
  .mlr-print-title { font:bold 18pt/1.15 Arial,sans-serif; white-space:nowrap; }
  .mlr-print-wish { font:italic 13pt/1.2 Arial,sans-serif; margin-top:1mm; }
  .mlr-print-heading-date { display:flex; flex-direction:column; text-align:center;
    width:28mm; flex-shrink:0; border-left:0.35mm solid #111; padding:1mm; box-sizing:border-box; }
  .mlr-print-heading-date strong { font:bold 22pt/1.05 Arial,sans-serif; text-decoration:underline; }
  .mlr-print-heading-date span { font:17pt/1.1 Arial,sans-serif; }
  .mlr-print-dealer { border-left:.35mm solid #111; border-right:.35mm solid #111;
    padding:1.5mm 0; text-align:center; font:13pt/1.15 Arial,sans-serif; }
  body.mlr-printing-four-up .mlr-print-table { width:100% !important; height:auto !important;
    border-collapse:collapse !important; table-layout:fixed !important; font-family:Arial,sans-serif !important; }
  body.mlr-printing-four-up .mlr-print-table th,
  body.mlr-printing-four-up .mlr-print-table td { border:.35mm solid #111 !important;
    text-align:center !important; vertical-align:middle !important; padding:.5mm .7mm !important; line-height:1.06 !important; }
  body.mlr-printing-four-up .mlr-print-table thead th { font:bold 12pt/1.1 Arial,sans-serif !important; }
  body.mlr-printing-four-up .mlr-print-prize-head,
  body.mlr-printing-four-up .mlr-print-prize-name { width:17mm !important; }
  body.mlr-printing-four-up .mlr-print-prize-name { font:10pt/1.1 Arial,sans-serif !important; }
  body.mlr-printing-four-up .mlr-print-number { display:block !important;
    font:bold 16pt/1.14 Arial,sans-serif !important; white-space:nowrap !important; }
  body.mlr-printing-four-up .mlr-print-row-g8 .mlr-print-number,
  body.mlr-printing-four-up .mlr-print-row-db .mlr-print-number { font-size:24pt !important; }
  body.mlr-printing-four-up .mlr-print-row-g7 .mlr-print-number { font-size:20pt !important; }
  body.mlr-printing-four-up .mlr-print-footer-row td { font:bold 12pt/1.15 Arial,sans-serif !important; padding:1mm !important; }
  body.mlr-printing-four-up .mlr-print-source { page-break-after:avoid !important; }
}

/* v1.28.13: isolate print content in body; avoid 5-page phantom layout. */
@media print {
  body.mlr-printing-four-up > :not(.mlr-print-source) { display:none !important; }
  body.mlr-printing-four-up { display:block !important; overflow:visible !important; }
  body.mlr-printing-four-up > .mlr-print-source {
    display:block !important; position:static !important; width:196mm !important;
    max-width:196mm !important; min-height:0 !important; height:auto !important;
    margin:0 !important; padding:0 !important; overflow:visible !important;
    break-before:avoid !important; break-after:avoid !important;
  }
  body.mlr-printing-four-up > .mlr-print-source > .mlr-print-ticket {
    width:196mm !important; height:auto !important; max-height:none !important;
    margin:0 !important; padding:0 !important;
  }
  body.mlr-printing-four-up .mlr-print-table { break-inside:avoid !important; }
}

/* v1.28.16 print mode picker */
#mlr-print-choices{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.65);display:flex;align-items:center;justify-content:center;padding:16px}#mlr-print-choices .mlr-choice-panel{width:min(520px,100%);background:white;color:#172033;border-radius:12px;padding:20px;box-shadow:0 20px 55px #0005}#mlr-print-choices .mlr-choice-heading{display:flex;justify-content:space-between;align-items:center;font-size:20px}#mlr-print-choices [data-close]{font-size:28px;background:transparent;border:0;cursor:pointer}#mlr-print-choices p{margin:10px 0 16px;color:#526071}#mlr-print-choices .mlr-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#mlr-print-choices [data-mode]{display:flex;flex-direction:column;align-items:center;gap:6px;background:#f5f8fd;border:1px solid #c9d8ea;border-radius:9px;padding:18px 8px;cursor:pointer;color:#132b4a}#mlr-print-choices [data-mode]:hover{background:#e4f0ff;border-color:#2672d3}#mlr-print-choices [data-mode] b{font-size:23px}#mlr-print-choices [data-mode] span{font-size:12px;text-align:center}@media(max-width:360px){#mlr-print-choices .mlr-choice-grid{grid-template-columns:1fr}}

/* v1.28.27: navigation patch */

/* v1.28.31: trang trực tiếp chỉ hiển thị kết quả, không còn khu vực video. */
body.mlr-live-video-standalone .mlr-live-video-only-page{padding-top:0;}
body.mlr-live-video-standalone .mlr-live-results-section{padding-top:22px;}
@media(max-width:700px){body.mlr-live-video-standalone .mlr-live-video-only-page{padding-top:0;}body.mlr-live-video-standalone .mlr-live-results-section{padding-top:14px;}}

/* v1.28.40: fit all stations in enlarged lottery results, including four-station draws. */
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-scroll {
  width:100%; min-width:0; box-sizing:border-box; overflow-x:hidden;
  display:block; padding:8px 6px;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table {
  width:100% !important; max-width:100% !important; min-width:0 !important;
  table-layout:fixed !important; border-collapse:collapse;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table th,
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table td {
  box-sizing:border-box; min-width:0 !important;
  padding:6px var(--mlr-zoom-cell-pad, 6px) !important; overflow-wrap:anywhere;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table .mlr-prize {
  width:var(--mlr-zoom-prize-width, 62px) !important;
  max-width:var(--mlr-zoom-prize-width, 62px) !important;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table thead th {
  font-size:clamp(11px,1.12vw,18px) !important; line-height:1.15;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-number {
  box-sizing:border-box; max-width:100%; white-space:nowrap;
  font-size:var(--mlr-zoom-number-size, 22px) !important;
  letter-spacing:-.3px; line-height:1.2;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-row-g8 .mlr-number,
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-row-db .mlr-number {
  font-size:var(--mlr-zoom-highlight-size, 28px) !important;
}
@media (max-width:767px) {
  body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table thead th {font-size:11px!important;}
  body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table th,
  body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table td {padding:4px 1px!important;}
}

/* v1.28.41 - Entire draw, all stations and all prizes, one fullscreen viewport. */
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen { overflow:hidden!important; }
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-scroll {
  overflow:hidden!important; min-height:0!important; flex:1 1 0!important;
  padding:6px!important; display:block!important;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table {
  margin-top:0!important; margin-bottom:0!important; transform-origin:top left!important;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-header { min-height:46px!important; flex-shrink:0!important; }
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-subbar { flex-shrink:0!important; padding-top:4px!important; padding-bottom:4px!important; }
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-actions { flex-shrink:0!important; padding:5px!important; }

/* v1.28.43: Never fade the enlarged board during an AJAX refresh.
   The parent .mlr-container.is-loading previously dropped opacity to .48,
   exposing the homepage and making the draw appear to flash. */
body.mlr-board-zoom-open .mlr-container.is-loading {
  opacity:1 !important;
  pointer-events:auto !important;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen {
  opacity:1 !important;
  visibility:visible !important;
  background:#fff !important;
}

/* v1.28.44 - stable fullscreen during rolling draws.
   Reserve the number footprint so digit changes do not affect table geometry. */
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-number,
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-pending-number {
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:'tnum' 1!important;
  box-sizing:border-box;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-pending-number {
  display:inline-block;
  text-align:center;
  white-space:nowrap;
  contain:paint;
}
body.mlr-board-zoom-open .mlr-board.mlr-board-fullscreen .mlr-table {
  backface-visibility:hidden;
  will-change:transform;
}

/* Công Lý 1.28.46 — distinct homepage design; scoped to the front page. */
body.congly-home-v2{background:#f5f6fa}
.congly-home-v2 .mlr-content{max-width:1500px!important;margin:auto!important;padding:26px clamp(14px,2.6vw,40px) 55px!important}
.cl-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);min-height:330px;background:#101e38;color:#fff;border-radius:26px;overflow:hidden;position:relative;margin-bottom:27px;box-shadow:0 15px 45px #10203d1a}
.cl-hero:before{content:"";position:absolute;width:570px;height:570px;border-radius:50%;border:1px solid #ffffff21;top:-340px;right:-30px;pointer-events:none}
.cl-hero-copy{padding:clamp(26px,4vw,62px);position:relative;z-index:1}.cl-kicker,.cl-eyebrow{font-size:12px;font-weight:850;letter-spacing:.14em;color:#b47813}.cl-kicker{color:#ffd46f}.cl-kicker span{margin:0 7px}
.cl-hero h1{font-size:clamp(34px,4.2vw,66px);line-height:1.09;letter-spacing:-.045em;margin:19px 0 15px;color:#fff;font-weight:900}.cl-hero h1 em{font-style:normal;color:#f5c865}
.cl-hero-copy>p{max-width:570px;font-size:16px;line-height:1.72;color:#ccd5e5;margin:0 0 24px}.cl-hero-actions{display:flex;flex-wrap:wrap;gap:12px}.cl-hero-actions a{display:inline-flex;gap:18px;align-items:center;justify-content:center;padding:14px 20px;text-decoration:none;border-radius:12px;font-weight:800;font-size:14px}.cl-primary{background:#ffcf64;color:#1b2435!important}.cl-secondary{border:1px solid #536177;color:#fff!important}.cl-hero-aside{border-left:1px solid #ffffff21;display:flex;flex-direction:column;align-items:center;justify-content:space-around;gap:12px;padding:28px;background:radial-gradient(circle at 50% 50%,#254064,#101e38 76%)}.cl-aside-label,.cl-aside-foot{font-size:12px;font-weight:800;letter-spacing:.13em;color:#ffdd92;text-align:center}.cl-orb{width:190px;height:190px;background:linear-gradient(135deg,#fff2c6,#f3bd45);border-radius:50%;box-shadow:0 0 0 11px #ffd87514,0 0 0 22px #ffffff0c;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#11213c}.cl-orb span{font-size:22px;font-weight:900}.cl-orb strong{font-size:73px;letter-spacing:-.09em;line-height:1}.cl-orb small{font-weight:900;letter-spacing:.2em}
.cl-results,.cl-tools,.cl-electronic,.congly-home-v2 .mlr-home-seo-content{background:#fff;border:1px solid #e3e7ef;border-radius:19px;padding:clamp(15px,2.4vw,30px);margin-bottom:25px;box-shadow:0 6px 22px #16263e09;min-width:0}.cl-section-heading{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:18px}.cl-section-heading h2,.cl-tools-top h2{font-size:clamp(23px,2.4vw,34px);letter-spacing:-.04em;color:#14233a;line-height:1.25;margin:5px 0}.cl-section-heading p{color:#66758a;font-size:14px;margin:0 0 5px}.cl-results .mlr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f2f5fa;border-radius:13px;margin:0 0 17px;padding:11px;flex-wrap:wrap}.cl-results .mlr-tabs{display:flex;gap:7px;flex-wrap:wrap}.cl-results .mlr-tabs button{border-radius:9px;padding:11px 20px;font-weight:850}.cl-results .mlr-tabs button.active{background:#b80f1a;color:#fff}.cl-results .mlr-container{min-width:0}.cl-results .mlr-container table{width:100%}.cl-tools-top{margin-bottom:16px}.cl-tools-inner{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.cl-tools-inner>div{min-width:0}.cl-tools-inner .mlr-right-sidebar,.cl-tools-inner .mlr-left-sidebar{width:100%;max-width:100%;min-width:0}.cl-electronic{overflow:hidden}.congly-home-v2 .mlr-home-seo-content{line-height:1.75}.congly-home-v2 .mlr-home-seo-content h2{color:#13243c}.congly-home-v2 .mlr-home-seo-content .mlr-home-faq details{border-color:#e4e9f0}
@media(max-width:850px){.cl-hero{grid-template-columns:1fr}.cl-hero-aside{display:none}.cl-tools-inner{grid-template-columns:1fr}.cl-section-heading{align-items:start;flex-direction:column}.congly-home-v2 .mlr-content{padding:14px 10px 45px!important}.cl-hero{border-radius:18px;min-height:0}.cl-results,.cl-tools,.cl-electronic,.congly-home-v2 .mlr-home-seo-content{padding:15px;border-radius:14px}.cl-results .mlr-toolbar{align-items:stretch}.cl-results .mlr-tabs{width:100%}.cl-results .mlr-tabs button{flex:1;padding:10px 8px}.cl-results .mlr-date-input{width:100%}}


/* v1.28.47 — Công Lý editorial/professional results homepage. */
body.congly-home-pro{background:#f7f8fa!important;color:#1a2738}
body.congly-home-pro .mlr-content{max-width:1472px!important;padding:22px clamp(12px,2.1vw,32px) 64px!important}
body.congly-home-pro .cl-hero-pro{display:flex;align-items:stretch;justify-content:space-between;gap:24px;min-height:0;background:#fff!important;border:1px solid #e5e9ef;border-radius:16px;margin-bottom:20px;box-shadow:0 3px 16px rgba(18,35,60,.045);overflow:hidden}
body.congly-home-pro .cl-hero-pro:before{display:none}
body.congly-home-pro .cl-hero-pro .cl-hero-copy{padding:32px 36px 30px;flex:1;min-width:0}
body.congly-home-pro .cl-hero-pro .cl-kicker{display:flex;align-items:center;gap:9px;color:#ae111b;letter-spacing:.10em;font-size:11px;font-weight:850}
body.congly-home-pro .cl-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#c41c29;box-shadow:0 0 0 4px #fce9eb}
body.congly-home-pro .cl-hero-pro h1{color:#162238;font-size:clamp(28px,3vw,43px);letter-spacing:-.045em;line-height:1.15;margin:13px 0 9px;font-weight:850}
body.congly-home-pro .cl-hero-pro h1 em{color:#ba141e}
body.congly-home-pro .cl-hero-pro .cl-hero-copy>p{color:#647185;font-size:14px;line-height:1.6;margin:0 0 18px;max-width:675px}
body.congly-home-pro .cl-hero-actions{gap:10px}
body.congly-home-pro .cl-hero-actions a{font-size:13px;border-radius:9px;padding:10px 16px;gap:13px;min-height:40px}
body.congly-home-pro .cl-primary{background:#bc141e;color:#fff!important;border:1px solid #bc141e}
body.congly-home-pro .cl-secondary{background:#fff;color:#26364c!important;border:1px solid #d8dfe8}
body.congly-home-pro .cl-hero-pro .cl-hero-aside{display:flex!important;flex:0 0 275px;flex-direction:row;gap:0;border-left:1px solid #e8edf3;background:#fafbfd!important;padding:0!important;align-items:stretch;justify-content:stretch}
body.congly-home-pro .cl-stat{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;text-align:center;padding:16px 6px}
body.congly-home-pro .cl-stat+.cl-stat{border-left:1px solid #e8edf3}
body.congly-home-pro .cl-stat strong{font-size:28px;font-weight:900;color:#b8121e;line-height:1}
body.congly-home-pro .cl-stat span{font-size:11px;color:#617186;font-weight:700}
body.congly-home-pro .cl-results,body.congly-home-pro .cl-tools,body.congly-home-pro .cl-electronic,body.congly-home-pro .mlr-home-seo-content{border:1px solid #e1e7ef;border-radius:14px!important;padding:clamp(13px,1.7vw,23px)!important;box-shadow:0 4px 18px #16263e08!important;margin-bottom:20px!important}
body.congly-home-pro .cl-results{padding:0!important;overflow:hidden}
body.congly-home-pro .cl-results .cl-section-heading{padding:20px 24px 15px;margin:0;align-items:center;border-bottom:1px solid #eef0f4}
body.congly-home-pro .cl-section-heading h2,body.congly-home-pro .cl-tools-top h2{font-size:clamp(20px,2vw,27px);font-weight:850;letter-spacing:-.025em;color:#1a283d;margin:4px 0}
body.congly-home-pro .cl-eyebrow{font-size:10px;letter-spacing:.11em;font-weight:900;color:#bb1721}
body.congly-home-pro .cl-section-heading p{font-size:12px;color:#69768a}
body.congly-home-pro .cl-results .mlr-toolbar{margin:0!important;padding:12px 22px!important;background:#fbfcfd!important;border-radius:0!important;border-bottom:1px solid #edf0f4}
body.congly-home-pro .cl-results .mlr-tabs button{border-radius:8px;padding:10px 18px;font-size:13px}
body.congly-home-pro .cl-results .mlr-tabs button.active{background:#b80d18!important}
body.congly-home-pro .cl-results .mlr-container{padding:14px!important}
body.congly-home-pro .cl-tools-inner{gap:16px}
body.congly-home-pro .cl-tools-top{margin-bottom:16px}
body.congly-home-pro .mlr-home-seo-content h2{font-size:20px;line-height:1.4;color:#1a283d}
@media(max-width:900px){body.congly-home-pro .cl-hero-pro .cl-hero-aside{flex:0 0 210px}body.congly-home-pro .cl-stat strong{font-size:23px}}
@media(max-width:700px){body.congly-home-pro .mlr-content{padding:12px 9px 42px!important}body.congly-home-pro .cl-hero-pro{display:block;margin-bottom:12px;border-radius:12px}body.congly-home-pro .cl-hero-pro .cl-hero-copy{padding:20px 16px}body.congly-home-pro .cl-hero-pro h1{font-size:27px}body.congly-home-pro .cl-hero-pro .cl-hero-copy>p{font-size:13px}body.congly-home-pro .cl-hero-pro .cl-hero-aside{display:none!important}body.congly-home-pro .cl-hero-actions a{flex:1;padding:10px 8px;font-size:12px}body.congly-home-pro .cl-results .cl-section-heading{padding:16px 14px}body.congly-home-pro .cl-section-heading p{display:none}body.congly-home-pro .cl-results .mlr-toolbar{padding:10px!important}body.congly-home-pro .cl-results .mlr-container{padding:4px!important}body.congly-home-pro .cl-tools,body.congly-home-pro .cl-electronic,body.congly-home-pro .mlr-home-seo-content{padding:13px!important}}

/* v1.28.48: Banner and results main column, information sidebar */
body.congly-home-12848 .mlr-content{max-width:1920px;margin:0 auto;padding:20px clamp(12px,2vw,32px) 55px!important}
body.congly-home-12848 .cl-home-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,330px);gap:22px;align-items:start;margin-bottom:22px}
body.congly-home-12848 .cl-home-main,body.congly-home-12848 .cl-home-sidebar{min-width:0}
body.congly-home-12848 .cl-home-banner{margin-bottom:18px;min-width:0}
body.congly-home-12848 .cl-home-banner .mlr-banner-card{margin:0!important;width:100%;border-radius:15px;overflow:hidden}
body.congly-home-12848 .cl-home-banner .mlr-banner-card img{display:block;width:100%;height:auto;object-fit:cover}
body.congly-home-12848 .cl-home-banner-fallback{min-height:260px;border-radius:16px;overflow:hidden;background:linear-gradient(113deg,#9d1019 0%,#c41820 68%,#de3430 100%);color:#fff;position:relative;display:flex;align-items:center;padding:30px clamp(22px,4vw,55px)}
body.congly-home-12848 .cl-home-banner-content{position:relative;z-index:2;max-width:80%}
body.congly-home-12848 .cl-home-banner-tag{display:inline-block;background:#ffffff24;border:1px solid #ffffff40;border-radius:30px;padding:7px 14px;font-size:12px;font-weight:800;letter-spacing:1px}
body.congly-home-12848 .cl-home-banner h1{font-size:clamp(29px,3.25vw,49px);line-height:1.12;margin:16px 0 12px;color:#fff;font-weight:850}
body.congly-home-12848 .cl-home-banner h1 span{color:#ffdf6a}
body.congly-home-12848 .cl-home-banner p{font-size:15px;margin:0 0 23px;color:#fff9}
body.congly-home-12848 .cl-home-banner a{display:inline-flex;background:#ffdb48;color:#651017;border-radius:8px;padding:12px 19px;text-decoration:none;font-weight:850}
body.congly-home-12848 .cl-home-banner-circle{position:absolute;right:-36px;top:50%;transform:translateY(-50%) rotate(-13deg);width:235px;height:235px;display:grid;place-content:center;border:16px solid #f2b928;border-radius:50%;background:#b40b18;color:#ffdf58;text-align:center;font-size:50px;font-weight:950;line-height:1;text-shadow:0 3px 4px #660a16;box-shadow:0 0 0 9px #ffffff26}
body.congly-home-12848 .cl-home-sidebar{display:flex;flex-direction:column;gap:18px}
body.congly-home-12848 .cl-home-side-block{min-width:0}
body.congly-home-12848 .cl-home-sidebar .mlr-right-sidebar,body.congly-home-12848 .cl-home-sidebar .mlr-left-sidebar{width:100%!important;max-width:none!important;min-width:0!important}
body.congly-home-12848 .cl-home-sidebar .mlr-calendar-card{width:100%;min-width:0}
body.congly-home-12848 .cl-results{margin-bottom:0!important}
body.congly-home-12848 .cl-results .cl-section-heading{padding:16px 20px 10px}
body.congly-home-12848 .cl-results .cl-section-heading h2{font-size:24px}
body.congly-home-12848 .cl-results .mlr-toolbar{padding:10px 14px!important}
body.congly-home-12848 .cl-results .mlr-container{padding:6px!important}
@media(max-width:1150px){body.congly-home-12848 .cl-home-layout{grid-template-columns:minmax(0,1fr) minmax(260px,290px);gap:14px}}
@media(max-width:900px){body.congly-home-12848 .cl-home-layout{grid-template-columns:1fr}body.congly-home-12848 .cl-home-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:620px){body.congly-home-12848 .mlr-content{padding:10px 8px 35px!important}body.congly-home-12848 .cl-home-sidebar{grid-template-columns:1fr}body.congly-home-12848 .cl-home-banner-fallback{min-height:185px;padding:21px}body.congly-home-12848 .cl-home-banner-content{max-width:100%}body.congly-home-12848 .cl-home-banner h1{font-size:28px;max-width:270px}body.congly-home-12848 .cl-home-banner p{font-size:12px;max-width:235px}body.congly-home-12848 .cl-home-banner-circle{width:135px;height:135px;font-size:27px;border-width:9px;right:-55px;opacity:.55}body.congly-home-12848 .cl-results .cl-section-heading{padding:13px}body.congly-home-12848 .cl-results .cl-section-heading h2{font-size:20px}}

/* 1.28.50: use configured banner slider when available and keep sidebar following page without cropping. */
@media (min-width: 901px) {
  body.congly-home-12848 .cl-home-sidebar {
    position: sticky;
    top: 14px;
    align-self: start;
    max-height: none;
    overflow: visible;
    z-index: 4;
  }
}
body.congly-home-12848 .cl-home-main > .cl-electronic {margin-top: 20px;}
@media (max-width: 900px) {
  body.congly-home-12848 .cl-home-sidebar {position: static;max-height: none;overflow: visible;}
}


body.congly-home-12848 .cl-home-banner .mlr-home-slider{border-radius:16px;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.08)}
body.congly-home-12848 .cl-home-banner .mlr-slider-track{position:relative}
body.congly-home-12848 .cl-home-banner .mlr-slider-slide img{display:block;width:100%;height:auto;object-fit:cover}

/* v1.28.51 — Dedicated mobile layout for Cong Ly homepage. Desktop unchanged. */
@media (max-width: 900px) {
  body.congly-home-12848 {overflow-x:clip;}
  body.congly-home-12848 .mlr-content {width:100%;max-width:100%;box-sizing:border-box;padding:12px 10px 36px!important;}
  body.congly-home-12848 .cl-home-layout {display:flex;flex-direction:column;gap:16px;align-items:stretch;min-width:0;}
  body.congly-home-12848 .cl-home-main,
  body.congly-home-12848 .cl-home-sidebar {width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
  body.congly-home-12848 .cl-home-banner {margin-bottom:14px;}
  body.congly-home-12848 .cl-home-banner .mlr-banner-card,
  body.congly-home-12848 .cl-home-banner .mlr-home-slider {width:100%;max-width:100%;border-radius:12px;overflow:hidden;}
  body.congly-home-12848 .cl-home-banner .mlr-slider-slide img {max-width:100%;height:auto;object-fit:contain;}
  body.congly-home-12848 .cl-home-sidebar {position:static!important;top:auto!important;display:flex;flex-direction:column;gap:14px;overflow:visible!important;max-height:none!important;align-self:stretch;}
  body.congly-home-12848 .cl-home-side-block {width:100%;min-width:0;}
  body.congly-home-12848 .cl-home-sidebar .mlr-right-sidebar,
  body.congly-home-12848 .cl-home-sidebar .mlr-left-sidebar {position:static!important;max-width:100%!important;width:100%!important;}
  body.congly-home-12848 .cl-results,
  body.congly-home-12848 .cl-electronic {width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
  body.congly-home-12848 .cl-results .mlr-container {width:100%;min-width:0;box-sizing:border-box;padding:6px!important;}
  body.congly-home-12848 .cl-results .mlr-scroll {max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;}
  body.congly-home-12848 .cl-electronic {overflow-x:auto;}
}
@media (max-width: 620px) {
  body.congly-home-12848 .mlr-content {padding:8px 8px 28px!important;}
  body.congly-home-12848 .cl-home-layout {gap:12px;}
  body.congly-home-12848 .cl-home-banner {margin-bottom:12px;}
  body.congly-home-12848 .cl-results .cl-section-heading {padding:12px!important;}
  body.congly-home-12848 .cl-results .cl-section-heading h2 {font-size:19px;line-height:1.25;}
  body.congly-home-12848 .cl-results .mlr-toolbar {display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:10px!important;}
  body.congly-home-12848 .cl-results .mlr-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;}
  body.congly-home-12848 .cl-results .mlr-tabs button {width:100%;min-width:0;min-height:42px;font-size:12px;padding:8px 4px;white-space:nowrap;}
  body.congly-home-12848 .cl-results .mlr-date-input {width:100%;max-width:100%;min-height:42px;box-sizing:border-box;font-size:16px;}
  body.congly-home-12848 .cl-results .mlr-container {padding:3px!important;}
  body.congly-home-12848 .cl-home-banner .mlr-slider-prev,
  body.congly-home-12848 .cl-home-banner .mlr-slider-next {width:30px;height:36px;}
  body.congly-home-12848 .cl-home-banner-fallback {min-height:170px;padding:18px;}
  body.congly-home-12848 .cl-home-banner h1 {font-size:25px;}
  body.congly-home-12848 .cl-home-banner-circle {opacity:.28;}
  body.congly-home-12848 .cl-home-sidebar .mlr-calendar-card,
  body.congly-home-12848 .cl-home-sidebar .mlr-news-card {width:100%;max-width:100%;box-sizing:border-box;}
}
