:root{font-family:Inter,system-ui,Arial,sans-serif;color:#18402a;background:#efffe9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#247b32;text-decoration:none}nav{background:#143b29;color:white;padding:16px max(18px,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap}nav a{color:white}.brand{font-size:23px;font-weight:900;letter-spacing:2px}nav span{font-size:11px;opacity:.75}main{max-width:1180px;margin:auto;padding:26px 16px 60px}h1{font-size:clamp(28px,5vw,48px);margin:8px 0 16px}h2{margin:4px 0 18px}h3{margin:2px 0}p{line-height:1.6}.hero{text-align:center;background:linear-gradient(130deg,#f2ffe8,#b4f571);border:1px solid #cce9b1;padding:50px 18px;border-radius:23px;margin-bottom:25px;box-shadow:0 12px 35px #79a95b22}.hero h1{color:#286b2c}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:2px;font-weight:800;color:#679533}.panel{background:#fff;border:1px solid #d8ead3;border-radius:19px;padding:23px;margin:18px 0;box-shadow:0 10px 32px #225b2a0b}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px}.card{padding:22px;border-radius:17px;background:linear-gradient(160deg,#fafff8,#e2f9c8);border:1px solid #d6e9bf}.card h2{color:#31872f}.button,button{display:inline-block;padding:12px 17px;background:#98dd39;color:#183d1c;border:0;border-radius:11px;font-weight:800;cursor:pointer;margin:4px 5px 4px 0;white-space:normal}.button.alt,button.alt{background:#e6efe5}.between,.toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px}.toolbar{justify-content:flex-start;margin:16px 0}.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px;align-items:end}label{display:block;font-size:14px;font-weight:700;margin:10px 0}input:not([type=checkbox]),select{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid #b7d8b2;border-radius:9px;background:white;font:inherit}input[type=checkbox]{margin-right:7px}table{border-collapse:collapse;width:100%;text-align:left}td,th{padding:12px;border-bottom:1px solid #e3ede0}th{font-size:12px;text-transform:uppercase;color:#536955}.tablewrap{overflow:auto}.narrow{max-width:450px;margin:55px auto}.alert{background:#fff0c0;border-radius:9px;padding:11px}.centered{text-align:center}.site-header{display:block;width:100%;max-height:140px;object-fit:contain}.theme-dark .hero{background:linear-gradient(130deg,#153b2d,#39724a)}.theme-dark .hero h1,.theme-dark .hero p,.theme-dark .hero .eyebrow{color:white}.theme-gold .hero{background:linear-gradient(130deg,#fff5bf,#ddba5f)}.proof-shell{margin:20px auto;max-width:620px;padding:20px;background:#fff;background-size:cover;background-position:center;text-align:center;border-radius:14px;overflow:hidden}.proof-header{width:auto;max-width:100%;max-height:165px;object-fit:contain}.proof-image{width:100%;height:auto;object-fit:contain;display:block;margin:15px auto}.proof-footer{display:block;width:100%;height:auto;object-fit:fill}.review-proof{max-width:300px;max-height:360px;display:block;object-fit:contain}footer{background:#143b29;color:#cee8d4;text-align:center;padding:24px;font-size:12px}@media(max-width:600px){main{padding:14px 10px 40px}.panel{padding:14px}.hero{padding:32px 13px}.proof-shell{padding:8px}}


/* WINNEX DASHBOARD V2 */
body:has(.wx-dashboard) {
  background: #f5f8f2;
}
body:has(.wx-dashboard) main {
  max-width: 1540px;
}
.wx-dashboard {
  display: grid;
  grid-template-columns: 255px minmax(0,1fr);
  gap: 24px;
  align-items: start;
}
.wx-sidebar {
  position: sticky;
  top: 16px;
  padding: 22px 13px;
  border-radius: 19px;
  background: linear-gradient(165deg,#082b20,#12513a);
  box-shadow: 0 18px 35px #10382020;
}
.wx-sidebar-title {
  color: #e8cb75;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 7px 12px;
}
.wx-sidebar-title span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: #c8dacd;
  margin-top: 4px;
}
.wx-site-name {
  margin: 10px 12px;
  padding: 11px;
  border: 1px solid #ffffff25;
  border-radius: 9px;
  color: #fff;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.wx-sidebar-label {
  margin: 23px 12px 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
  color: #dabf75;
}
.wx-sidebar a {
  display: block;
  padding: 12px;
  margin: 3px 0;
  color: #edf8f1;
  border-radius: 10px;
  font-weight: 650;
  font-size: 13px;
  transition: background .15s;
}
.wx-sidebar a:hover,
.wx-sidebar a:focus-visible {
  background: #ffffff1e;
  color: #f5d47e;
}
.wx-main {
  min-width: 0;
}
.wx-main .panel {
  border: 1px solid #d9e4d1;
  box-shadow: 0 9px 22px #173f2110;
}
.wx-main .card {
  background: linear-gradient(145deg,#ffffff,#eff7e8);
}
.wx-main button,
.wx-main .button {
  background: #d6b35e;
  color: #183425;
}
.wx-main .button.alt,
.wx-main button.alt {
  background: #e9f0e8;
}
.wx-main h2[id] {
  scroll-margin-top: 20px;
}
@media(max-width:850px) {
  .wx-dashboard {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wx-sidebar {
    position: static;
    padding: 14px;
  }
  .wx-sidebar a {
    display: inline-block;
    margin: 3px;
    padding: 10px;
    background: #ffffff12;
  }
  .wx-sidebar-label {
    margin-top: 12px;
  }
}


/* WINNEX PUBLIC UI V2 */
.wx-public-v2 {
 padding:12px;
 border-radius:18px;
 color:var(--wx-text);
}
.wx-table-heading {
 display:flex;
 justify-content:space-between;
 align-items:center;
 flex-wrap:wrap;
 gap:14px;
 margin-bottom:15px;
}
.wx-table-heading h2 { margin-bottom:4px; }
.wx-table-heading p { margin:0;font-size:13px; }
.wx-partnership-link {
 display:inline-block;
 padding:12px 15px;
 border-radius:12px;
 color:white;
 background:#245c3f;
 font-weight:800;
 font-size:12px;
}
.wx-winner-table {
 width:100%;
 border-collapse:collapse;
 text-align:center;
}
.wx-winner-table th {
 background:var(--wx-head);
 color:var(--wx-head-text);
 padding:16px 12px;
}
.wx-winner-table tbody tr {
 background:var(--wx-row);
 color:var(--wx-text);
}
.wx-winner-table tbody tr:nth-child(even) {
 background:var(--wx-alt);
}
.wx-winner-table td {
 padding:16px 12px;
 vertical-align:middle;
}
.wx-winner-table .wx-amount {
 font-weight:850;
 white-space:nowrap;
}
.wx-table-identity {
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:5px;
 font-size:12px;
}
.wx-eye {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 width:43px;
 height:43px;
 background:var(--wx-eye);
 color:var(--wx-eye-text);
 border:3px solid var(--wx-eye-border);
 border-radius:var(--wx-eye-radius);
 text-decoration:none;
 font-size:20px;
 box-shadow:0 4px 10px #00000024;
 transition:transform .15s,box-shadow .15s;
}
.wx-eye:hover {
 transform:scale(1.08);
 box-shadow:0 6px 16px #00000035;
}
.wx-more-wrap {
 text-align:center;
 padding:20px 0 5px;
}
.wx-show-more {
 background:var(--wx-more);
 color:var(--wx-more-text);
 border:3px solid var(--wx-more-border);
 border-radius:var(--wx-more-radius);
 padding:12px 25px;
 cursor:pointer;
}
.wx-winner-row[hidden],
.wx-show-more[hidden] {
 display:none!important;
}
.wx-preview {
 margin:16px 0;
 border:1px solid #d6e0d1;
 border-radius:12px;
 overflow:hidden;
}
.wx-preview-header {padding:17px;text-align:center;font-size:12px;}
.wx-preview-row {
 display:flex;
 justify-content:space-between;
 align-items:center;
 padding:18px;
}
#wx-preview-eye {
 display:inline-flex;
 width:43px;
 height:43px;
 align-items:center;
 justify-content:center;
 border:3px solid;
}
#wx-preview-more {
 margin:12px;
 border:3px solid;
 padding:12px 25px;
}
@media(max-width:650px){
 .wx-public-v2 {padding:4px;}
 .wx-winner-table th,
 .wx-winner-table td {padding:10px 8px;font-size:11px;}
 .wx-partnership-link {width:100%;text-align:center;}
}


/* WINNEX CUSTOM THEME V1 */
.wx-public-v2 {
 background-color:var(--wx-background);
 color:var(--wx-theme-text);
}
.wx-public-v2 > .hero {
 background:var(--wx-primary);
 border-color:var(--wx-accent);
}
.wx-public-v2 > .hero h1,
.wx-public-v2 > .hero p,
.wx-public-v2 > .hero .eyebrow {
 color:var(--wx-hero-text);
}
.wx-public-v2 .wx-partnership-link {
 background:var(--wx-primary);
 color:var(--wx-hero-text);
 border:2px solid var(--wx-accent);
}
.wx-theme-preview {
 border-radius:13px;
 border:1px solid #d6e0d1;
 overflow:hidden;
 margin:15px 0;
}
#wx-theme-preview-hero {
 padding:25px;
 text-align:center;
}
#wx-theme-preview-hero p {
 margin:5px 0;
 font-size:12px;
}
.wx-theme-preview-body {
 padding:22px;
 text-align:center;
}
#wx-theme-preview-accent {
 display:inline-block;
 padding:10px 20px;
 border-radius:12px;
 color:#111;
 font-weight:800;
}
#wx-theme-preview-footer {
 text-align:center;
 padding:17px;
 font-size:12px;
}


/* WINNEX SEASONAL ENGINE V1 */
.wx-effect-preview{
 position:relative;
 overflow:hidden;
 min-height:250px;
 padding:25px;
 margin:15px 0;
 text-align:center;
 background:linear-gradient(135deg,#103c2b,#397856);
 color:white;
 border-radius:15px;
 isolation:isolate;
}
.wx-effect-actions{
 display:flex;
 flex-wrap:wrap;
 gap:8px;
}
#wx-public-seasonal{
 position:fixed;
 inset:0;
 pointer-events:none;
 z-index:30;
}
.wx-season-layer{
 position:absolute;
 inset:0;
 overflow:hidden;
 pointer-events:none;
}
.wx-season-particle{
 position:absolute;
 top:-10%;
 display:block;
 animation:wx-season-fall linear infinite;
 will-change:transform;
 user-select:none;
}
.wx-season-particle img{
 display:block;
 width:26px;
 height:26px;
 object-fit:contain;
}
@keyframes wx-season-fall{
 0%{transform:translate3d(0,-10vh,0) rotate(0)}
 100%{transform:translate3d(var(--wx-sway),120vh,0)
 rotate(360deg)}
}
@media(prefers-reduced-motion:reduce){
 .wx-season-layer{display:none}
}


/* WINNEX ANNOUNCEMENT V1 */
.wx-announcement-bar {
 width:100%;
 overflow:hidden;
 background:var(--wx-ann-bg);
 color:var(--wx-ann-color);
 border-radius:7px;
 padding:9px 0;
 margin-bottom:12px;
 white-space:nowrap;
}
.wx-announcement-track {
 display:flex;
 width:max-content;
 align-items:center;
 gap:45px;
 animation:wx-announcement-scroll var(--wx-ann-speed) linear infinite;
}
.wx-announcement-track span {
 display:block;
 flex-shrink:0;
 font-size:14px;
 font-weight:750;
 padding-left:35px;
}
@keyframes wx-announcement-scroll {
 from {transform:translateX(0)}
 to {transform:translateX(-50%)}
}
@media(prefers-reduced-motion:reduce) {
 .wx-announcement-track {animation:none}
}


/* WINNEX SEAMLESS MARQUEE V2 */
.wx-announcement-bar {
 overflow:hidden;
 position:relative;
}
.wx-announcement-track {
 display:flex;
 width:max-content;
 gap:0!important;
 animation:none!important;
 will-change:transform;
}
.wx-announcement-unit {
 display:flex;
 flex:0 0 auto;
 align-items:center;
 gap:48px;
 padding-right:48px;
 white-space:nowrap;
}
.wx-announcement-unit span {
 padding-left:0!important;
 flex:0 0 auto;
}
@media(prefers-reduced-motion:reduce){
 .wx-announcement-track {transform:none!important}
}


/* WINNEX PUBLIC MARQUEE V3 */
.wx-announcement-public {
 overflow:hidden;
 position:relative;
}
.wx-announcement-public .wx-public-marquee-track {
 display:flex;
 align-items:center;
 gap:0;
 width:max-content;
 animation:wx-public-marquee-move
   var(--wx-ann-speed,25s) linear infinite !important;
 will-change:transform;
}
.wx-announcement-public .wx-public-marquee-group {
 display:flex;
 flex:0 0 auto;
 align-items:center;
 gap:48px;
 padding-right:48px;
 white-space:nowrap;
}
.wx-announcement-public .wx-public-marquee-group span {
 flex:0 0 auto;
 display:block;
 font-size:14px;
 font-weight:750;
}
@keyframes wx-public-marquee-move {
 from {transform:translate3d(0,0,0)}
 to {transform:translate3d(-50%,0,0)}
}
@media(prefers-reduced-motion:reduce) {
 .wx-announcement-public .wx-public-marquee-track {
  animation:none !important;
 }
}


/* WINNEX MARQUEE SPEED V4 */
.wx-announcement-public .wx-public-marquee-track {
 animation:none!important;
}


/* WINNEX MARQUEE RECOVERY V5 */
.wx-announcement-public .wx-public-marquee-track {
  animation:wx-public-marquee-move
    var(--wx-marquee-duration, 180s)
    linear infinite !important;
}


/* WINNEX ROUNDED TABLE V1 */

/* Rounded corners for public winner table */
.wx-public-v2 .tablewrap {
    border-radius: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #e3e8dc;
    background: transparent;
}

/* Allow rounded corners on table cells */
.wx-public-v2 .wx-winner-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

/* Rounded header */
.wx-public-v2 .wx-winner-table thead th:first-child {
    border-top-left-radius: 17px;
}

.wx-public-v2 .wx-winner-table thead th:last-child {
    border-top-right-radius: 17px;
}

/* Rounded bottom corners */
.wx-public-v2 .wx-winner-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 17px;
}

.wx-public-v2 .wx-winner-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 17px;
}

/* Gentle hover effect */
.wx-public-v2 .wx-winner-table tbody tr:hover {
    filter: brightness(0.97);
}

/* Keep header colors controlled by Appearance Studio */
.wx-public-v2 .wx-winner-table th {
    background: var(--wx-head);
    color: var(--wx-head-text);
}

/* WINNEX SHARED LIBRARY BUNDLE V1 */
.wx-table-logo {display:block;width:48px;height:40px;max-width:100%;object-fit:contain;border-radius:5px}
.wx-shared-logo {width:55px;height:50px;object-fit:contain;display:block;background:#f4f7ef;border-radius:9px;padding:4px}
.wx-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.wx-library-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e3e8da;border-radius:12px;background:white}
.wx-library-item form{margin-left:auto}
.wx-proof-full{display:block;width:100%;max-width:1000px;height:auto;margin:0 auto;border-radius:10px}
.wx-proof-panel{max-width:1080px;margin:0 auto}
.wx-proof-viewer{position:relative;max-width:760px;margin:10px 0}
.wx-proof-viewer img.review-proof{display:block;width:100%;max-width:100%;max-height:none;height:auto;object-fit:contain}
.wx-proof-close{position:absolute;right:9px;top:9px;display:flex;align-items:center;justify-content:center;border-radius:50%;width:40px;height:40px;padding:0;background:#fff;color:#183b29;box-shadow:0 3px 12px #0003;border:2px solid #ddd;font-size:25px}
.wx-proof-viewer[hidden],.wx-proof-reopen[hidden]{display:none!important}


/* WINNEX PROOF MODAL LOGOS FIX V2 */
.wx-proof-modal {
  width: min(560px, 94vw);
  max-width: 94vw;
  max-height: 90vh;
  max-height: 90dvh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .36);
  overflow: hidden;
  background: #fff;
  color: #173b2d;
}
.wx-proof-modal::backdrop { background: rgba(3, 13, 9, .76); }
.wx-proof-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5ece1;
}
.wx-proof-modal-header strong { font-size: 14px; }
.wx-proof-modal-x {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  color: #1f3a28;
  background: #edf3e9;
  border: 1px solid #cad8c4;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.wx-proof-modal-content {
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 10px;
  max-height: calc(90dvh - 65px);
  overflow: auto;
}
.wx-proof-modal-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(74vh, 760px);
  max-height: min(74dvh, 760px);
  object-fit: contain;
  border-radius: 8px;
}
.wx-proof-modal-error { color: #9a2b22; font-size: 13px; }
/* When opening the original /proof URL without JS, keep it comfortable. */
.wx-proof-page .wx-proof-panel { max-width: 690px; }
.wx-proof-page .wx-proof-full {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76vh;
  max-height: 76dvh;
  object-fit: contain;
  margin-inline: auto;
}

/* WINNEX PROOF POPUP STYLE V1 — two custom frame colors, no white sides */
#wx-public-proof-modal.wx-proof-modal {
  box-sizing: border-box;
  position: fixed;
  width: fit-content;
  max-width: min(570px, calc(100vw - 24px));
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: var(--wxps-border-width, 5px);
  border: 0;
  border-radius: var(--wxps-radius, 18px);
  background: linear-gradient(135deg, var(--wxps-frame-1, #6010A0), var(--wxps-frame-2, #F4C547));
  box-shadow: 0 14px 48px rgba(0, 0, 0, .30);
  overflow: hidden;
  color: inherit;
}
#wx-public-proof-modal.wx-proof-modal::backdrop {
  background: color-mix(in srgb, var(--wxps-overlay-color, #140A22) var(--wxps-overlay-strength, 75%), transparent);
}
#wx-public-proof-modal .wx-proof-modal-content {
  display: block;
  padding: 0;
  margin: 0;
  max-height: none;
  overflow: hidden;
  background: transparent;
}
#wx-public-proof-modal .wx-proof-modal-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(84dvh, 850px);
  border-radius: max(0px, calc(var(--wxps-radius, 18px) - var(--wxps-border-width, 5px)));
  object-fit: contain;
  margin: 0;
}
#wx-public-proof-modal .wx-proof-modal-x {
  position: absolute;
  top: calc(var(--wxps-border-width, 5px) + 7px);
  right: calc(var(--wxps-border-width, 5px) + 7px);
  z-index: 5;
  display: grid;
  place-items: center;
  margin: 0;
  background: var(--wxps-close-bg, #FFFFFF);
  color: var(--wxps-close-color, #24132E);
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  padding: 0;
  line-height: 1;
  box-shadow: 0 1px 8px rgba(0,0,0,.20);
}
#wx-public-proof-modal .wx-proof-modal-error {
  padding: 14px;
  margin: 0;
  background: #fff;
}
.wxps-preview-stage {
  --wxps-overlay-preview: #140A22;
  padding: 28px 14px;
  margin: 14px 0;
  display: grid;
  place-items: center;
  border: 1px solid #cadcc5;
  border-radius: 14px;
  min-height: 300px;
  background: color-mix(in srgb, var(--wxps-overlay-preview) var(--wxps-overlay-preview-strength,75%), #eaf5e7);
}
.wxps-preview-frame {
  position: relative;
  border-radius: var(--wxps-preview-radius,18px);
  padding: var(--wxps-preview-width,5px);
  background: linear-gradient(135deg, var(--wxps-preview-c1,#6010A0), var(--wxps-preview-c2,#F4C547));
  width: min(180px,70%);
}
.wxps-preview-image {
  width:100%;
  aspect-ratio:1000/1488;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
  border-radius:max(0px,calc(var(--wxps-preview-radius,18px) - var(--wxps-preview-width,5px)));
  background:linear-gradient(135deg,#f8f8f8,#ddd);
  color:#344;
}
.wxps-preview-image small { font-size:11px; }
.wxps-preview-x {
  position:absolute;
  right:calc(var(--wxps-preview-width,5px) + 4px);
  top:calc(var(--wxps-preview-width,5px) + 4px);
  display:grid;
  place-items:center;
  height:27px;
  width:27px;
  padding:0;
  margin:0;
  border-radius:50%;
  border:1px solid currentColor;
  background: var(--wxps-preview-x-bg,#fff);
  color: var(--wxps-preview-x-color,#24132E);
  font-size:20px;
  cursor:default;
}
.wxps-note { font-size:13px;color:#526552; }
