html:has(body.lhg-standalone-page),body.lhg-standalone-page{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;overflow-x:hidden!important;background:#030d18!important}
body.lhg-standalone-page .lhg-app-shell{width:100%!important;max-width:none!important;margin:0!important}
body.lhg-standalone-page .lhg-wrap{width:100%!important;max-width:1440px!important;box-sizing:border-box!important}
:root{--lhg-bg:#030d18;--lhg-panel:#0d1d30;--lhg-panel-2:#11243a;--lhg-border:#29435d;--lhg-cyan:#4ed9ff;--lhg-cyan-2:#20bde9;--lhg-text:#f5f9ff;--lhg-muted:#9aafc5;--lhg-green:#45e4b7;--lhg-red:#ff7185}
body.lhg-image-voting-app-page{margin:0!important;background:var(--lhg-bg)!important;color:var(--lhg-text)!important}
body.lhg-image-voting-app-page>header,body.lhg-image-voting-app-page>footer,body.lhg-image-voting-app-page .wp-site-blocks>header,body.lhg-image-voting-app-page .wp-site-blocks>footer,body.lhg-image-voting-app-page .wp-block-template-part:has(nav),body.lhg-image-voting-app-page header.wp-block-template-part,body.lhg-image-voting-app-page footer.wp-block-template-part,body.lhg-image-voting-app-page .site-header,body.lhg-image-voting-app-page .site-footer,body.lhg-image-voting-app-page #masthead,body.lhg-image-voting-app-page #colophon{display:none!important}
body.lhg-image-voting-app-page main,body.lhg-image-voting-app-page .wp-site-blocks,body.lhg-image-voting-app-page .entry-content,body.lhg-image-voting-app-page .wp-block-post-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
body.lhg-image-voting-app-page .wp-block-post-title,body.lhg-image-voting-app-page .entry-title,body.lhg-image-voting-app-page .page-title{display:none!important}
body.lhg-lightbox-open{overflow:hidden}
.lhg-app-shell,.lhg-app-shell *{box-sizing:border-box}
.lhg-app-shell{min-height:100vh;background:radial-gradient(circle at 13% 12%,rgba(14,163,205,.17),transparent 28%),radial-gradient(circle at 90% 17%,rgba(86,77,192,.18),transparent 34%),linear-gradient(135deg,#03101b 0%,#020912 55%,#08101f 100%);color:var(--lhg-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;position:relative;overflow:hidden}
.lhg-app-shell:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(78,217,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(78,217,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 72%);pointer-events:none}
.lhg-wrap{position:relative;z-index:1;max-width:1380px;margin:0 auto;padding:0 32px 70px}
.lhg-app-header{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(78,217,255,.08)}
.lhg-brand{display:inline-flex;align-items:center;gap:13px;color:var(--lhg-text)!important;text-decoration:none!important}
.lhg-brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-size:17px;font-weight:950;color:var(--lhg-cyan);background:linear-gradient(145deg,#12334a,#09243a);border:1px solid rgba(78,217,255,.38);box-shadow:inset 0 0 18px rgba(78,217,255,.08)}
.lhg-brand-copy{display:flex;flex-direction:column;line-height:1}.lhg-brand-copy strong{font-size:22px;letter-spacing:-.6px}.lhg-brand-copy small{font-size:9px;letter-spacing:1.35px;color:#87a7c4;margin-top:6px;font-weight:800}
.lhg-online{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid rgba(69,228,183,.25);border-radius:999px;color:#b9ffea;font-size:12px;font-weight:800;background:rgba(69,228,183,.06)}.lhg-online i{width:8px;height:8px;border-radius:50%;background:var(--lhg-green);box-shadow:0 0 12px var(--lhg-green)}
.lhg-hero{padding:74px 0 52px;max-width:850px}.lhg-eyebrow{font-size:12px;letter-spacing:1.15px;color:var(--lhg-cyan);font-weight:900}.lhg-hero h1{color:var(--lhg-text)!important;font-size:clamp(44px,6vw,78px)!important;line-height:.98!important;letter-spacing:-3.6px!important;margin:18px 0 20px!important;font-weight:900!important}.lhg-hero p{max-width:720px;font-size:19px;line-height:1.65;color:#a8bdd1;margin:0}.lhg-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px}.lhg-chips span{font-size:12px;font-weight:750;border:1px solid #2a4158;border-radius:999px;padding:9px 14px;background:rgba(9,26,42,.7);color:#d8e8f7}
.lhg-panel{border:1px solid var(--lhg-border);border-radius:24px;background:linear-gradient(145deg,rgba(17,36,58,.96),rgba(9,24,40,.96));box-shadow:0 28px 80px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.025);padding:28px}
.lhg-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:1px solid #263d54}.lhg-title{font-size:28px;font-weight:900;letter-spacing:-.8px;margin-top:7px}.lhg-small{font-size:13px;color:var(--lhg-muted);margin-top:7px}.lhg-gallery-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lhg-gallery-tools label{font-size:12px;color:var(--lhg-muted);font-weight:800}
.lhg-select,.lhg-btn,.lhg-field input{font:inherit}.lhg-select{appearance:none;color:#eaf5ff;background:#13253a;border:1px solid #334b62;border-radius:11px;padding:10px 38px 10px 13px;font-weight:750;background-image:linear-gradient(45deg,transparent 50%,#8fa7bd 50%),linear-gradient(135deg,#8fa7bd 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.lhg-btn{border:0;border-radius:12px;padding:12px 16px;font-weight:900;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,border-color .2s ease;background:none}.lhg-btn:hover{transform:translateY(-1px)}.lhg-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.lhg-btn-primary{min-height:54px;background:linear-gradient(135deg,var(--lhg-cyan),#48c9ed);color:#03111c;box-shadow:0 8px 28px rgba(78,217,255,.16)}.lhg-btn-primary:hover{box-shadow:0 12px 34px rgba(78,217,255,.28)}.lhg-btn-primary span{font-size:20px;margin-left:7px}.lhg-btn-secondary{color:#dcecff;border:1px solid #334b62;background:#13253a}
.lhg-upload-grid{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(320px,1.7fr) auto;gap:16px;align-items:end;margin-top:24px}.lhg-file-drop{height:78px;display:flex;align-items:center;gap:13px;padding:12px 16px;border:1px dashed #3c5b75;border-radius:14px;background:#0a1929;cursor:pointer;transition:border-color .2s,background .2s}.lhg-file-drop:hover{border-color:var(--lhg-cyan);background:#0c2033}.lhg-file-drop input{position:absolute;opacity:0;pointer-events:none}.lhg-file-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:rgba(78,217,255,.12);color:var(--lhg-cyan);font-size:25px}.lhg-file-copy{display:flex;min-width:0;flex-direction:column}.lhg-file-copy strong{font-size:14px}.lhg-file-copy small{font-size:11px;color:var(--lhg-muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.lhg-field{display:flex;flex-direction:column;gap:8px}.lhg-field span{font-size:12px;font-weight:850;color:#a9bed2}.lhg-field input{height:54px;border-radius:12px;border:1px solid #334b62;background:#0a1929;color:#f4f9ff;padding:0 15px;outline:none}.lhg-field input::placeholder{color:#71879c}.lhg-field input:focus{border-color:var(--lhg-cyan);box-shadow:0 0 0 3px rgba(78,217,255,.08)}
.lhg-verification{margin-top:16px}.lhg-status{margin-top:14px}.lhg-msg,.lhg-warning{padding:12px 14px;border-radius:12px;font-size:13px;font-weight:750}.lhg-msg{border:1px solid #35516a;background:#0b1c2d}.lhg-msg.error{border-color:rgba(255,113,133,.45);color:#ffd5dc}.lhg-msg.success{border-color:rgba(69,228,183,.4);color:#b9ffea}.lhg-warning{margin-top:16px;border:1px solid rgba(78,217,255,.22);background:rgba(78,217,255,.06);color:#c7eafa}
.lhg-gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:52px 0 20px}.lhg-gallery-heading h2{color:var(--lhg-text)!important;font-size:32px!important;letter-spacing:-1px!important;margin:7px 0 0!important}.lhg-gallery-note{font-size:12px;color:var(--lhg-muted)}
.lhg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:20px}.lhg-item{overflow:hidden;border:1px solid #263e56;border-radius:19px;background:linear-gradient(150deg,#102238,#091827);box-shadow:0 18px 48px rgba(0,0,0,.2);transition:transform .2s,border-color .2s,box-shadow .2s}.lhg-item:hover{transform:translateY(-4px);border-color:#3e647f;box-shadow:0 24px 60px rgba(0,0,0,.34)}.lhg-media{position:relative;overflow:hidden;background:#07111d}.lhg-img{display:block;width:100%;height:250px;object-fit:cover;transition:transform .35s}.lhg-item:hover .lhg-img{transform:scale(1.025)}.lhg-badge{position:absolute;z-index:2;top:13px;left:13px;padding:7px 11px;border-radius:999px;color:#03111c;background:var(--lhg-cyan);font-size:11px;font-weight:950;box-shadow:0 7px 18px rgba(0,0,0,.25)}.lhg-meta{padding:17px}.lhg-author{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:var(--lhg-cyan);font-weight:900}.lhg-desc{min-height:42px;color:#dce8f3;font-size:14px;line-height:1.5;margin:9px 0 15px;white-space:pre-wrap}.lhg-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lhg-pill{margin-right:auto;border:1px solid #314b63;border-radius:999px;padding:8px 11px;background:#0a1929;color:#c6d7e7;font-size:11px;font-weight:850}.lhg-btn-up,.lhg-btn-down{padding:8px 10px;border:1px solid #334d64;font-size:11px;color:#e9f4fe;background:#14263a}.lhg-btn-up:hover{border-color:rgba(69,228,183,.55);color:#b9ffea}.lhg-btn-down:hover{border-color:rgba(255,113,133,.55);color:#ffd5dc}.lhg-loadmore-wrap{display:flex;justify-content:center;margin:28px 0}.lhg-loadmore{min-width:220px;color:#03111c;background:var(--lhg-cyan)}.lhg-empty{grid-column:1/-1;padding:36px;text-align:center;border:1px dashed #34516b;border-radius:18px;color:var(--lhg-muted);background:#0b1b2c}
.lhg-closed-panel{display:flex;align-items:center;gap:18px;max-width:780px}.lhg-panel-icon{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;background:var(--lhg-cyan);color:#04111c;font-size:22px;font-weight:950}
.lhg-lightbox{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(1,7,13,.94);backdrop-filter:blur(12px);cursor:zoom-out}.lhg-lightbox-inner{position:relative;max-width:94vw;max-height:92vh}.lhg-lightbox img{display:block;max-width:94vw;max-height:88vh;border:1px solid #3b5871;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.65);cursor:default}.lhg-lightbox-actions{position:absolute;right:12px;top:12px;z-index:2;display:flex;gap:8px}.lhg-lightbox-actions a,.lhg-lightbox-actions button{border:1px solid #526b80;border-radius:10px;padding:9px 12px;background:rgba(4,16,27,.88);color:#f2f8ff;text-decoration:none;font-weight:850;cursor:pointer}.lhg-lightbox-actions a:hover,.lhg-lightbox-actions button:hover{border-color:var(--lhg-cyan);color:var(--lhg-cyan)}
@media(max-width:900px){.lhg-upload-grid{grid-template-columns:1fr 1fr}.lhg-btn-primary{grid-column:1/-1}.lhg-panel-heading{flex-direction:column}.lhg-gallery-tools{width:100%}.lhg-hero{padding-top:54px}}
@media(max-width:620px){.lhg-wrap{padding:0 16px 45px}.lhg-app-header{height:68px}.lhg-brand-copy small{display:none}.lhg-online{font-size:0;padding:10px}.lhg-online i{margin:0}.lhg-hero{padding:45px 0 36px}.lhg-hero h1{font-size:44px!important;letter-spacing:-2.2px!important}.lhg-hero p{font-size:16px}.lhg-panel{padding:20px;border-radius:18px}.lhg-upload-grid{grid-template-columns:1fr}.lhg-btn-primary{grid-column:auto}.lhg-gallery-heading{align-items:flex-start;flex-direction:column;margin-top:38px}.lhg-gallery-heading h2{font-size:27px!important}.lhg-grid{grid-template-columns:1fr}.lhg-img{height:240px}.lhg-lightbox{padding:12px}.lhg-lightbox-actions{position:fixed;top:12px;right:12px}}


/* Version 1.3.4: YouTube name modal and past winners */
body.lhg-modal-open { overflow: hidden; }
.lhg-youtube-modal[hidden] { display: none !important; }
.lhg-youtube-modal { position: fixed; inset: 0; z-index: 1000000; display: grid; place-items: center; padding: 20px; }
.lhg-youtube-modal-backdrop { position: absolute; inset: 0; background: rgba(1,8,18,.84); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lhg-youtube-dialog { position: relative; z-index: 1; width: min(100%,580px); padding: clamp(26px,5vw,42px); color: #f4f8ff; background: linear-gradient(145deg,rgba(16,36,59,.99),rgba(7,21,38,.99)); border: 1px solid rgba(91,206,255,.28); border-radius: 24px; box-shadow: 0 28px 90px rgba(0,0,0,.58),0 0 44px rgba(54,200,255,.08); }
.lhg-youtube-dialog h2 { margin: 8px 44px 12px 0; color: #fff; font-size: clamp(30px,6vw,44px); line-height: 1.04; letter-spacing: -.035em; }
.lhg-youtube-dialog > p { margin: 0 0 24px; color: #aebfd2; font-size: 17px; line-height: 1.55; }
.lhg-youtube-dialog .lhg-field input { width: 100%; min-height: 54px; margin-top: 8px; }
.lhg-youtube-close { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; padding: 0; color: #b6c9da; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; cursor: pointer; font-size: 27px; line-height: 36px; }
.lhg-youtube-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.lhg-winners-section { margin-top: 46px; }
.lhg-winners-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.lhg-winner-card { overflow: hidden; background: rgba(12,31,52,.92); border: 1px solid rgba(91,206,255,.2); border-radius: 20px; box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.lhg-winner-card > img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #06111f; }
.lhg-winner-copy { padding: 20px; }
.lhg-winner-date { margin-bottom: 8px; color: #39cdfb; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lhg-winner-card h3 { margin: 0 0 9px; color: #fff; font-size: 23px; }
.lhg-winner-card p { margin: 0 0 14px; color: #aebfd2; line-height: 1.5; }
.lhg-winner-score { color: #d9f7ff; font-weight: 800; }
.lhg-empty-winners { color: #aebfd2; }
@media (max-width:900px) { .lhg-winners-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:620px) {
  .lhg-youtube-modal { align-items: end; padding: 10px; }
  .lhg-youtube-dialog { width: 100%; padding: 28px 22px 22px; border-radius: 24px 24px 18px 18px; }
  .lhg-youtube-actions { flex-direction: column-reverse; }
  .lhg-youtube-actions .lhg-btn { width: 100%; }
  .lhg-winners-grid { grid-template-columns: 1fr; }
}


/* Version 1.3.5: four-stage contest workflow */
.lhg-stage-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px 20px;
  color: #dff8ff;
  background: linear-gradient(135deg, rgba(34,190,232,.14), rgba(67,225,189,.08));
  border: 1px solid rgba(79,213,244,.28);
  border-radius: 16px;
}
.lhg-stage-banner strong { color: #54dcff; white-space: nowrap; }
.lhg-stage-banner span { color: #b9cada; }
.lhg-voting-waiting {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: #9eb3c7;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(151,181,205,.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.lhg-winner-reveal {
  margin: 0 0 48px;
  padding: clamp(24px,4vw,44px);
  background: radial-gradient(circle at 20% 15%, rgba(57,205,251,.14), transparent 42%), rgba(12,31,52,.94);
  border: 1px solid rgba(91,206,255,.28);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
}
.lhg-winner-reveal > h2 {
  margin: 8px 0 24px;
  color: #fff;
  font-size: clamp(36px,6vw,64px);
  line-height: 1;
  letter-spacing: -.045em;
}
.lhg-current-winner {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr);
  overflow: hidden;
  background: rgba(4,15,28,.78);
  border: 1px solid rgba(91,206,255,.2);
  border-radius: 22px;
}
.lhg-current-winner > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: contain;
  background: #020a13;
}
.lhg-current-winner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px,4vw,44px);
}
.lhg-current-winner-copy h3 {
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(32px,5vw,52px);
  line-height: 1.02;
}
.lhg-current-winner-copy p {
  margin: 0 0 18px;
  color: #b6c8d9;
  font-size: 18px;
  line-height: 1.55;
}
.lhg-current-winner-score {
  color: #54dcff;
  font-weight: 800;
}
@media (max-width: 760px) {
  .lhg-stage-banner { align-items: flex-start; flex-direction: column; }
  .lhg-current-winner { grid-template-columns: 1fr; }
  .lhg-current-winner > img { min-height: 260px; max-height: 480px; }
}




/* Version 1.3.8: inline, mobile-friendly stage-change notice */
.lhg-stage-change-slot {
  margin: 0 0 24px;
  scroll-margin-top: 18px;
}

.lhg-stage-change-slot[hidden] {
  display: none !important;
}

.lhg-stage-change-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 20px;
  color: #e9f8ff;
  background: linear-gradient(135deg, rgba(17,48,77,.98), rgba(8,29,50,.99));
  border: 1px solid rgba(84,220,255,.34);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.24);
}

.lhg-stage-change-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lhg-stage-change-copy strong {
  color: #54dcff;
  font-size: 20px;
  line-height: 1.25;
}

.lhg-stage-change-copy span {
  color: #c5d7e6;
  line-height: 1.45;
}

.lhg-stage-change-banner .lhg-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .lhg-stage-change-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 17px;
  }

  .lhg-stage-change-banner .lhg-btn {
    width: 100%;
  }

  .lhg-stage-change-copy strong {
    font-size: 18px;
  }
}
