/* Extracted from the user-supplied LAO EURO page; safe to view by browsers. */

    *{box-sizing:border-box}
    body{
      margin:0;
      background:#f0f3f9;
      font-family:Tahoma, Arial, sans-serif;
      color:#111;
    }
    .page{
      max-width:1240px;
      margin:0 auto;
      background:#fff;
      min-height:100vh;
      display:flex;
      flex-direction:column;
      box-shadow:0 0 30px rgba(10,40,90,.08);
      border-left:1px solid #e3e8f0;
      border-right:1px solid #e3e8f0;
    }
    .topbar{
      height:10px;
      background:#00264d;
    }

    /* Full-width responsive header image */
    .header{position:relative;min-height:0;background:#e8effc;border-bottom:4px solid #c91515;overflow:hidden;}
    .header-inner{display:block;width:100%;padding:0;margin:0;}
    .brand-block{display:block;width:100%;min-width:0;margin:0;padding:0;}
    .wordmark-heading{display:block;width:100%;margin:0;padding:0;line-height:0;}
    .brand-wordmark{display:block;width:100%;max-width:none;height:auto;max-height:none;object-fit:contain;filter:none;}
	.seo-brand-th {
	  display: block;
	  text-align: center;
	  font-size: 17px;
	  font-weight: 700;
	  line-height: 1.5;
	  margin-top: 6px;
	}

    .content{
      display:grid;
      grid-template-columns:minmax(0,1fr) 340px;
      gap:16px;
      padding:18px 16px 12px;
      align-items:start;
      flex:1;
    }
    .left-col,.right-col{min-width:0}
    .ad-box{
      border-radius:10px;
      background:#f7f9fd;
      border:1px solid #dbe3f0;
      overflow:hidden;
      margin-bottom:16px;
    }
    .ad-placement{position:relative;width:100%;}
    .ad-placement img,.banner-slide img{width:100%;height:100%;object-fit:contain;display:block;background:#fff;}
    .banner-link{display:block;width:100%;height:100%;text-decoration:none;color:inherit;}
    .banner-link:focus-visible{outline:3px solid #2563eb;outline-offset:-3px;border-radius:8px;}
    .ad-placement--top{aspect-ratio:auto;min-height:0;}
    .ad-placement--bottom1{aspect-ratio:auto;min-height:0;}
    .ad-placement--bottom1 img{width:100%;height:auto;object-fit:initial;display:block;}
    .ad-placement--bottom1 .ad-placeholder{min-height:170px;}
    /* One reserved 1700:600 box for every bottom1 slide: no layout jump on rotation. */
    #bottomBanner1Slider{
      position:relative; width:100%; aspect-ratio:1700/600; min-height:0; overflow:hidden;
    }
    #bottomBanner1Slider .bottom1-slide{
      display:none; position:absolute; inset:0; width:100%; height:100%;
    }
    #bottomBanner1Slider .bottom1-slide.is-active{display:block;}
    #bottomBanner1Slider .bottom1-slide .banner-link{display:block;width:100%;height:100%;}
    #bottomBanner1Slider .bottom1-slide img{
      display:block;width:100%;height:100%;max-width:100%;
      object-fit:contain;object-position:center;background:#fff;
    }
    .ad-placement--bottom2{aspect-ratio:780/230;min-height:140px;}
    .ad-placement--bottom2.video-placement{aspect-ratio:auto;min-height:0;}
    .video-placement video{display:block;width:100%;height:auto;object-fit:contain;background:#000;}
    /* Reserve a responsive 16:9 frame before YouTube is requested.
       The iframe does not contact YouTube until its section approaches the viewport. */
    .video-placement.youtube-placement{aspect-ratio:auto;min-height:0;}
    .youtube-lazy{position:relative;width:100%;aspect-ratio:16/9;background:#101e38;overflow:hidden;}
    .youtube-placement .youtube-frame{
      position:absolute;inset:0;display:block;width:100%;height:100%;
      aspect-ratio:auto;min-height:0;border:0;background:#000;
    }
    .youtube-loading{
      position:absolute;inset:0;display:flex;flex-direction:column;
      align-items:center;justify-content:center;gap:9px;pointer-events:none;
      background:linear-gradient(135deg,#d7e8ff 0%,#234d8c 100%);
      color:#fff;font-size:clamp(13px,2vw,19px);font-weight:700;
    }
    .youtube-loading-icon{
      display:grid;place-items:center;width:62px;height:44px;
      border-radius:14px;background:#d40000;color:#fff;font-size:24px;
      box-shadow:0 5px 18px rgba(0,0,0,.2);
    }
    .youtube-lazy.is-loaded .youtube-loading{display:none;}
    .video-placement .video-external-link{display:block;text-align:center;padding:9px 12px;color:#123d7b;background:#f7f9fd;font-weight:bold;text-decoration:underline;}
    .ad-placement--right{aspect-ratio:340/300; min-height:300px;}
    .ad-placeholder{
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      width:100%; height:100%; min-height:inherit; padding:14px 8px;
      text-align:center; gap:5px;
      background:repeating-linear-gradient(135deg,#f8faff 0,#f8faff 18px,#f0f4fc 18px,#f0f4fc 36px);
      color:#4e6384;
      border:1px dashed #bbc9df;
      border-radius:9px;
    }
    .ad-placeholder-icon{font-size:26px;line-height:1;color:#94a7c4;}
    .ad-placeholder strong{font-size:14px;font-weight:700;}
    .ad-placeholder small{font-size:12px;opacity:.85;}
    /* Stable top slider. Images are letterboxed when ratios differ; never cropped. */
    #topBannerSlider{
      position:relative;width:100%;aspect-ratio:780/230;min-height:0;overflow:hidden;
    }
    #topBannerSlider.top-banner--190{aspect-ratio:780/190;}
    #topBannerSlider .banner-slide{
      display:none;position:absolute;inset:0;width:100%;height:100%;
    }
    #topBannerSlider .banner-slide.is-active{display:block;}
    #topBannerSlider .banner-slide > .banner-link{display:block;width:100%;height:100%;}
    #topBannerSlider .banner-slide img{
      display:block;width:100%;height:100%;max-width:100%;
      object-fit:contain;object-position:center;background:#fff;
    }
    #topBannerSlider > .ad-placeholder{height:100%;min-height:0;}
    /* Four independent right sliders; fixed 340:300 ratio to avoid layout jumps */
    .right-slider{aspect-ratio:340/300;}
    .right-slider .right-slide{display:none;width:100%;height:100%;}
    .right-slider .right-slide.is-active{display:block;}
    .right-slider .right-slide img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;}
    .right-slider .right-slide .banner-link{width:100%;height:100%;display:block;}
    .right-col .ad-box:last-child{margin-bottom:0}

    .result-card{
      border:1px solid #d9e0ec;
      border-top:5px solid #ba8b18;
      border-radius:14px;
      background:#fff;
      margin-bottom:18px;
      overflow:hidden;
      box-shadow:0 7px 25px rgba(15,35,70,.07);
    }
    .result-head{
      text-align:center;
      padding:18px 10px 8px;
      font-size:22px;
      color:#102d57;
      font-weight:700;
    }

    .result-number{
      text-align:center;
      padding:6px 0 18px;
    }
    .results-pending {
      margin: 4px 18px 14px;
      padding: 10px 12px;
      border-radius: 8px;
      background: #fff8e7;
      color: #795409;
      text-align: center;
      font-size: 15px;
    }
    .ball-row{
      display:flex;
      justify-content:center;
      align-items:center;
      gap:18px;
      flex-wrap:wrap;
      min-height:92px;
    }
    .lotto-ball{
      width:74px;
      height:74px;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:42px;
      font-weight:900;
      color:#111;
      background:
        radial-gradient(circle at 30% 30%, #ffffff 0 20%, #f3f3f3 21% 55%, #dddddd 56% 100%);
      border:3px solid #111;
      box-shadow:
        inset 0 2px 8px rgba(255,255,255,.9),
        inset 0 -6px 10px rgba(0,0,0,.08),
        0 4px 10px rgba(0,0,0,.16);
      user-select:none;
    }
    .lotto-ball.spinning{
      animation: ballSpin .35s linear infinite;
    }
    .lotto-ball.revealed{
      color:#c40000;
      border-color:#8b0000;
      background:
        radial-gradient(circle at 30% 30%, #fffdfd 0 20%, #ffe9e9 21% 55%, #ffd0d0 56% 100%);
      transform:scale(1.04);
    }
    @keyframes ballSpin{
      0%   { transform: rotateX(0deg); }
      100% { transform: rotateX(360deg); }
    }

    .result-time{
      text-align:center;
      font-size:20px;
      padding-bottom:16px;
    }

    .summary-table{
      width:90%;
      margin:0 auto 22px;
      border-collapse:collapse;
      font-size:18px;
    }
    .summary-table td{
      border:1px solid #9c9c9c;
      padding:10px 14px;
      text-align:center;
    }
    .summary-table td:first-child{
      width:50%;
      background:#fafafa;
    }
    .summary-table td:last-child{
      font-weight:700;
      font-size:20px;
    }

    .history-title{
      background:linear-gradient(100deg,#a97810,#d2a533);
      color:#fff;
      text-align:center;
      font-size:24px;
      font-weight:700;
      padding:14px;
      margin-top:6px;
      border-radius:12px 12px 0 0;
    }
    .history-table-wrap{
      overflow-x:auto;
      margin-bottom:14px;
    }
    .history-table{
      width:100%;
      border-collapse:collapse;
      font-size:17px;
      min-width:630px;
    }
    .history-table th,
    .history-table td{
      border:1px solid #9d9d9d;
      padding:12px 10px;
      text-align:center;
    }
    .history-table th{
      background:#f7f7f7;
      font-weight:700;
    }

    .footer{
      background:#01254d;
      color:#fff;
      text-align:center;
      padding:18px 10px;
      font-size:18px;
      margin-top:auto;
    }

    @media (max-width: 880px){
      .content{grid-template-columns:minmax(0,1fr)}
      .right-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
      .right-col .ad-box{margin:0}
      .brand-title{
        font-size:58px;
        -webkit-text-stroke: 3px #143d8f;
      }
      .brand-sub{
        padding-left:0;
        text-align:center;
      }
      .header-inner{
        flex-direction:column;
        text-align:center;
      }
    }

    @media (max-width: 700px){
      .page{border:none}
      .content{padding:14px 10px 8px}
      .right-col{gap:10px}
      .ad-placeholder-icon{font-size:20px}
      .ad-placeholder strong{font-size:12px}
      .ad-placeholder small{font-size:10px}
      .ad-placement--top{min-height:0}
      .ad-placement--bottom2{min-height:105px}
      .ad-placement--bottom1 .ad-placeholder{min-height:105px}
      .header-inner{gap:0;padding:12px 10px}
      .header{min-height:auto}
      .brand-title{
        font-size:40px;
        -webkit-text-stroke: 2px #143d8f;
        text-shadow:
          2px 0 0 #d21b1b,
          -2px 0 0 #d21b1b,
          0 2px 0 #d21b1b,
          0 -2px 0 #d21b1b;
      }
      .brand-sub{font-size:24px}
      .result-head{font-size:18px}
      .summary-table{
        width:96%;
        font-size:16px;
      }
      .summary-table td{padding:10px 5px}
      .history-table{font-size:14px}
      .result-card{margin-bottom:12px}
      .history-title{font-size:22px}
      .lotto-ball{
        width:56px;
        height:56px;
        font-size:32px;
      }
      .ball-row{gap:10px}
    }
    /* Mobile: keep each right-side banner at its original 340:300 ratio,
       use a single column rather than squeezing two banners side by side. */
    @media (max-width:880px){
      .header-inner{display:block;flex-direction:initial;text-align:initial;padding:0;}
      .right-col{display:grid;grid-template-columns:minmax(0,340px);justify-content:center;gap:12px;}
      .right-col .ad-box{width:100%;margin:0;}
      .right-slider,.ad-placement--right{width:100%;aspect-ratio:340/300;min-height:0;}
    }
    @media (max-width:700px){
      .header-inner{padding:0;}
      .header{min-height:0;}
    }
    /* History results: keep all 5 columns within mobile viewport without horizontal scrolling. */
    .history-th-mobile, .history-date-mobile {display:none;}
    @media (max-width:700px) {
      .history-table-wrap{width:100%;max-width:100%;overflow-x:visible;}
      .history-table{
        width:100%; min-width:0; max-width:100%;
        table-layout:fixed;
        font-size:clamp(10px,2.8vw,12px);
      }
      .history-table th,.history-table td{
        padding:9px 2px;
        white-space:normal;
        overflow-wrap:break-word;
        line-height:1.4;
      }
      .history-table th:first-child,.history-table td:first-child{width:28%;}
      .history-table th:not(:first-child),.history-table td:not(:first-child){width:18%;}
      .history-th-desktop,.history-date-desktop{display:none;}
      .history-th-mobile,.history-date-mobile{display:inline;}
      .history-title{font-size:clamp(17px,5vw,22px);padding:12px 4px;}
    }
    @media(max-width:360px) {
      .history-table th,.history-table td{padding:7px 1px;font-size:10px;}
    }
  