.nw-downloader-codes-page .page-header { display: none; }
.nw-downloader-codes-page {
  background-color: #fff;
  background-image:
    radial-gradient(ellipse at 2% 8%, rgba(246, 193, 183, .38) 0, rgba(246, 193, 183, 0) 42%),
    radial-gradient(ellipse at 42% 20%, rgba(255, 224, 112, .34) 0, rgba(255, 224, 112, 0) 45%),
    radial-gradient(ellipse at 97% 12%, rgba(204, 236, 222, .38) 0, rgba(204, 236, 222, 0) 44%),
    radial-gradient(ellipse at 72% 78%, rgba(240, 204, 216, .20) 0, rgba(240, 204, 216, 0) 48%),
    linear-gradient(135deg, #fff9f7 0%, #fffef3 48%, #f7fcfa 100%);
}
.nw-downloader-codes-page .site-main { width: 100%; max-width: none; }

.nw-dlc {
  width: 100%;
  padding: 48px 20px 80px;
  margin: 0;
  background: transparent;
  color: #0f1111;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.nw-dlc * { box-sizing: border-box; letter-spacing: 0; }
.nw-dlc-inner { width: min(100%, 1180px); margin-inline: auto; }
.nw-dlc-head { display: grid; grid-template-columns: minmax(0, 760px) 280px; align-items: center; justify-content: space-between; gap: 48px; }
.nw-dlc-head-copy { min-width: 0; }
.nw-dlc-head-visual { width: 280px; height: auto; display: block; justify-self: end; filter: drop-shadow(0 14px 18px rgba(93,67,0,.16)); }
.nw-dlc-kicker { color: #c45500; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.nw-dlc-title { margin: 8px 0 0; color: #0f1111; font-size: 46px; line-height: 1.08; }
.nw-dlc-head p { max-width: 680px; margin: 14px 0 0; color: #565959; font-size: 17px; line-height: 1.55; }
.nw-dlc-add-button { min-height: 54px; margin-top: 22px; padding: 0 30px; border: 2px solid #0f1111; border-radius: 999px; background: #ffd814; color: #0f1111; box-shadow: 0 4px 0 #0f1111; font-size: 15px; font-weight: 700; cursor: pointer; }
.nw-dlc-add-button:hover { background: #f7ca00; }
.nw-dlc-add-button:active { transform: translateY(2px); box-shadow: 0 2px 0 #0f1111; }

.nw-dlc-offer { width: 100%; margin-top: 28px; display: block; border-radius: 8px; box-shadow: 0 10px 28px rgba(15,17,17,.25), 0 0 24px rgba(27,151,255,.14); overflow: hidden; }
.nw-dlc-offer img { width: 100%; height: auto; display: block; aspect-ratio: 6 / 1; object-fit: contain; }
.nw-dlc-offer:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(15,17,17,.3), 0 0 28px rgba(27,151,255,.2); }
.nw-dlc-offer:focus-visible { outline: 3px solid #ff9900; outline-offset: 3px; }

.nw-dlc-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 170px;
  gap: 0;
  margin-top: 30px;
  border: 3px solid #ff9900;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.nw-dlc-toolbar label { display: grid; gap: 0; border-right: 1px solid #d5d9d9; }
.nw-dlc-toolbar label:last-child { border-right: 0; }
.nw-dlc-toolbar label > span { padding: 7px 12px 0; color: #565959; font-size: 10px; font-weight: 700; }
.nw-dlc-toolbar input, .nw-dlc-toolbar select { width: 100%; min-height: 43px; padding: 0 12px; border: 0; outline: 0; background: #fff; color: #0f1111; font: inherit; }
.nw-dlc-toolbar:focus-within { box-shadow: 0 0 0 3px rgba(255,153,0,.28); }

.nw-dlc-meta { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 13px; gap: 20px; color: #565959; font-size: 12px; }
.nw-dlc-meta strong { color: #0f1111; font-size: 14px; }
.nw-dlc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nw-dlc-card { display: flex; min-width: 0; min-height: 350px; padding: 18px; flex-direction: column; border: 1px solid #d5d9d9; border-radius: 8px; background: #fff; box-shadow: 0 2px 5px rgba(15,17,17,.08); scroll-margin-top: 100px; }
.nw-dlc-card[hidden] { display: none; }
.nw-dlc-card-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.nw-dlc-app-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 5px; background: #131921; color: #fff; font-size: 16px; font-weight: 700; }
.nw-dlc-app-mark img { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; }
.nw-dlc-card-top > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.nw-dlc-card-top strong { overflow: hidden; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.nw-dlc-card-top small { color: #565959; font-size: 11px; }
.nw-dlc-status { padding: 4px 6px; border-radius: 3px; background: #f3f3f3; color: #565959; font-size: 8px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.nw-dlc-status-verified { background: #e7f4e4; color: #067d62; }
.nw-dlc-card > p { margin: 16px 0; color: #565959; font-size: 13px; line-height: 1.5; }

.nw-dlc-code { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: auto; padding: 13px; gap: 3px 10px; border: 1px solid #f7ca00; border-radius: 7px; background: #fff8dc; }
.nw-dlc-code > span { grid-column: 1 / -1; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.nw-dlc-code strong { font-size: 25px; line-height: 1; }
.nw-dlc-code button, .nw-dlc-submit-row button { min-height: 34px; padding: 0 14px; border: 1px solid #fcd200; border-radius: 18px; background: #ffd814; color: #0f1111; box-shadow: 0 2px 5px rgba(213,217,217,.5); font-size: 11px; font-weight: 700; cursor: pointer; }
.nw-dlc-code button:hover, .nw-dlc-submit-row button:hover { background: #f7ca00; }

.nw-dlc-community { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; gap: 10px; }
.nw-dlc-community > div:first-child { display: grid; gap: 1px; }
.nw-dlc-community > div:first-child strong { color: #067d62; font-size: 15px; }
.nw-dlc-community > div:first-child span { color: #565959; font-size: 9px; }
.nw-dlc-votes { display: flex; gap: 5px; }
.nw-dlc-votes button { display: inline-flex; width: 48px; min-height: 32px; align-items: center; justify-content: center; padding: 0 6px; gap: 4px; border: 1px solid #888c8c; border-radius: 5px; background: #fff; color: #0f1111; font-size: 10px; cursor: pointer; }
.nw-dlc-votes .dashicons { width: 16px; height: 16px; font-size: 16px; line-height: 1; }
.nw-dlc-votes button:hover, .nw-dlc-votes button.is-selected { border-color: #007185; background: #edf8fa; color: #007185; }
.nw-dlc-votes button:disabled { opacity: .55; cursor: wait; }
.nw-dlc-feedback { min-height: 16px; margin: 5px 0 0 !important; color: #565959 !important; font-size: 10px !important; }
.nw-dlc-links { display: flex; justify-content: flex-start; margin-top: 5px; gap: 10px; }
.nw-dlc-links a { color: #007185; font-size: 11px; font-weight: 600; }
.nw-dlc-links a:hover { color: #c7511f; }

.nw-dlc-empty { margin: 24px 0 0; padding: 34px 24px; border: 1px solid #d5d9d9; border-radius: 8px; background: #fff; color: #565959; box-shadow: 0 2px 5px rgba(15,17,17,.08); text-align: center; }
.nw-dlc-empty[hidden] { display: none; }
.nw-dlc-empty > .dashicons { width: 38px; height: 38px; color: #ff9900; font-size: 38px; }
.nw-dlc-empty h2 { margin: 8px 0 0; color: #0f1111; font-size: 24px; }
.nw-dlc-empty p { margin: 8px auto 0; max-width: 540px; line-height: 1.5; }
.nw-dlc-empty-actions { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.nw-dlc-empty-actions button { min-height: 42px; padding: 0 18px; border: 1px solid #888c8c; border-radius: 21px; background: #fff; color: #0f1111; font-weight: 700; cursor: pointer; }
.nw-dlc-empty-actions button:hover { border-color: #007185; color: #007185; }
.nw-dlc-empty-actions .nw-dlc-empty-primary { border-color: #fcd200; background: #ffd814; color: #0f1111; box-shadow: 0 2px 5px rgba(213,217,217,.5); }
.nw-dlc-empty-actions .nw-dlc-empty-primary:hover { border-color: #f7ca00; background: #f7ca00; color: #0f1111; }
.nw-dlc-guide, .nw-dlc-copy-section, .nw-dlc-popular, .nw-dlc-faq { max-width: 840px; margin-top: 64px; padding-top: 28px; border-top: 1px solid #b9b9b3; }
.nw-dlc-guide h2, .nw-dlc-copy-section h2, .nw-dlc-popular h2, .nw-dlc-faq h2, .nw-dlc-modal h2 { margin: 0; color: #0f1111; font-size: 28px; }
.nw-dlc-copy-section p, .nw-dlc-popular > p { margin: 14px 0 0; color: #3f4141; font-size: 15px; line-height: 1.65; }
.nw-dlc-guide ol { margin: 18px 0 0; padding-left: 22px; }
.nw-dlc-guide li { padding: 6px 0; color: #565959; line-height: 1.5; }
.nw-dlc-popular nav { display: flex; margin-top: 16px; flex-direction: column; align-items: flex-start; gap: 9px; }
.nw-dlc-popular a, .nw-dlc-related a { color: #007185; font-size: 14px; font-weight: 700; }
.nw-dlc-popular a:hover, .nw-dlc-related a:hover { color: #c7511f; }
.nw-dlc-faq details { border-bottom: 1px solid #b9b9b3; }
.nw-dlc-faq summary { padding: 17px 2px; color: #0f1111; font-size: 15px; font-weight: 700; cursor: pointer; }
.nw-dlc-faq details p { max-width: 760px; margin: -3px 0 18px; color: #3f4141; font-size: 14px; line-height: 1.65; }
.nw-dlc-related { display: flex; margin-top: 54px; padding: 22px 0; align-items: center; gap: 22px; border-top: 1px solid #b9b9b3; border-bottom: 1px solid #b9b9b3; }
.nw-dlc-related strong { color: #0f1111; }

/* Homepage discovery strip for the community directory. */
.nw-nav-feature { color: #ffd814 !important; }
.nw-nav-feature::after { background: #ffd814 !important; }
.nw-dlc-promo { order: 4; width: 100%; padding: 28px 20px; background: #131921; color: #fff; }
.nw-dlc-promo-inner { width: min(100%, 1180px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nw-dlc-promo h2 { margin: 6px 0 0; color: #fff; font-size: 26px; line-height: 1.1; }
.nw-dlc-promo p { max-width: 680px; margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.5; }
.nw-dlc-promo-link { display: inline-flex; flex: 0 0 auto; min-height: 46px; align-items: center; gap: 9px; padding: 0 18px; border: 2px solid #ffd814; border-radius: 999px; background: #ffd814; color: #0f1111; font-size: 13px; font-weight: 700; text-decoration: none; }
.nw-dlc-promo-link:hover { background: #f7ca00; color: #0f1111; }

.nw-dlc-modal { width: min(92vw, 680px); max-width: 680px; max-height: 90vh; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #0f1111; box-shadow: 0 18px 60px rgba(15,17,17,.32); overflow: visible; }
.nw-dlc-modal::backdrop { background: rgba(15, 17, 17, .62); backdrop-filter: blur(3px); }
.nw-dlc-modal-panel { position: relative; max-height: 90vh; padding: 30px; border-top: 8px solid #ff9900; border-radius: 10px; background: #fff; overflow-y: auto; }
.nw-dlc-modal-close { position: absolute; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid #d5d9d9; border-radius: 50%; background: #fff; color: #0f1111; font-size: 25px; line-height: 1; cursor: pointer; }
.nw-dlc-modal-close:hover { background: #f3f3f3; }
.nw-dlc-modal-head { padding-right: 42px; }
.nw-dlc-modal-head > p { margin: 8px 0 18px; color: #565959; font-size: 14px; line-height: 1.4; }
.nw-dlc-stepper { margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); }
.nw-dlc-stepper > span { position: relative; display: grid; justify-items: center; gap: 5px; color: #767676; font-size: 10px; }
.nw-dlc-stepper > span::before { content: ""; width: 100%; height: 2px; position: absolute; top: 13px; right: 50%; z-index: 0; background: #d5d9d9; }
.nw-dlc-stepper > span:first-child::before { display: none; }
.nw-dlc-stepper b { width: 28px; height: 28px; position: relative; z-index: 1; display: grid; place-items: center; border: 2px solid #d5d9d9; border-radius: 50%; background: #fff; color: #565959; font-size: 11px; }
.nw-dlc-stepper .is-current, .nw-dlc-stepper .is-done { color: #0f1111; font-weight: 700; }
.nw-dlc-stepper .is-current b { border-color: #ff9900; background: #ffd814; color: #0f1111; }
.nw-dlc-stepper .is-done b { border-color: #067d62; background: #067d62; color: #fff; }
.nw-dlc-stepper .is-done::before, .nw-dlc-stepper .is-current::before { background: #067d62; }
.nw-dlc-modal form { display: block; }
.nw-dlc-step { min-width: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border: 0; }
.nw-dlc-step[hidden] { display: none; }
.nw-dlc-step[data-nw-dlc-step="1"], .nw-dlc-step[data-nw-dlc-step="2"] { grid-template-columns: 1fr; }
.nw-dlc-security-visual { width: 118px; height: auto; display: block; justify-self: center; margin: -8px auto 2px; }
.nw-dlc-step legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw-dlc-modal label { display: grid; gap: 6px; }
.nw-dlc-modal label > span { font-size: 12px; font-weight: 700; }
.nw-dlc-modal label > span small { color: #6f7373; font-size: 10px; font-weight: 500; }
.nw-dlc-modal input, .nw-dlc-modal textarea { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #888c8c; border-radius: 4px; background: #fff; color: #0f1111; font: inherit; }
.nw-dlc-icon-upload > small { color: #6f7373; font-size: 11px; line-height: 1.4; }
.nw-dlc-icon-upload input[type="file"] { padding: 7px; }
.nw-dlc-modal textarea { min-height: 94px; resize: vertical; }
.nw-dlc-modal input:focus, .nw-dlc-modal textarea:focus { border-color: #007185; outline: 3px solid rgba(0,113,133,.15); }
.nw-dlc-captcha { min-height: 78px; color: #565959; font-size: 12px; overflow: hidden; }
.nw-dlc-honeypot { position: absolute !important; left: -9999px !important; }
.nw-dlc-submit-row { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.nw-dlc-submit-row button { min-width: 112px; }
.nw-dlc-submit-row button[hidden] { display: none !important; }
.nw-dlc-submit-row .nw-dlc-step-back { border-color: #888c8c; background: #fff; box-shadow: none; }
.nw-dlc-submit-row .nw-dlc-step-next, .nw-dlc-submit-row button[type="submit"] { margin-left: auto; }
.nw-dlc-submit-row p { width: 100%; margin: 2px 0 0; color: #565959; font-size: 12px; }
.nw-dlc-modal-is-open { overflow: hidden; }

@media (max-width: 960px) {
  .nw-dlc-head { grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; }
  .nw-dlc-head-visual { width: 220px; }
  .nw-dlc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-dlc-toolbar { grid-template-columns: minmax(0, 1fr) 190px 150px; }
}

@media (max-width: 680px) {
  .nw-dlc { padding: 36px 16px 64px; }
  .nw-dlc-head { grid-template-columns: 1fr; gap: 20px; }
  .nw-dlc-head-visual { width: 150px; justify-self: center; }
  .nw-dlc-offer { margin-top: 22px; border-radius: 6px; }
  .nw-dlc-title { font-size: 38px; }
  .nw-dlc-promo { padding: 24px 16px; }
  .nw-dlc-promo-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .nw-dlc-promo h2 { font-size: 22px; }
  .nw-dlc-promo-link { width: 100%; justify-content: center; }
  .nw-dlc-toolbar { grid-template-columns: 1fr; gap: 10px; border: 0; background: transparent; }
  .nw-dlc-toolbar label { min-height: 70px; padding: 10px 12px 9px; border: 1px solid #c7c7c7; border-radius: 9px; background: #fff; }
  .nw-dlc-toolbar label:last-child { border-bottom: 1px solid #c7c7c7; }
  .nw-dlc-toolbar label:focus-within { border-color: #007185; box-shadow: 0 0 0 3px rgba(0,113,133,.12); }
  .nw-dlc-toolbar label > span { margin-bottom: 3px; color: #565959; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .nw-dlc-toolbar input, .nw-dlc-toolbar select { min-height: 35px; padding: 0; border: 0; background: transparent; font-size: 15px; }
  .nw-dlc-toolbar input:focus, .nw-dlc-toolbar select:focus { outline: 0; }
  .nw-dlc-empty { padding: 28px 16px; }
  .nw-dlc-empty-actions { display: grid; grid-template-columns: 1fr; }
  .nw-dlc-empty-actions button { width: 100%; }
  .nw-dlc-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .nw-dlc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nw-dlc-card { min-height: 390px; padding: 11px; }
  .nw-dlc-card-top { grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 8px; }
  .nw-dlc-app-mark { width: 34px; height: 34px; }
  .nw-dlc-card-top strong { font-size: 16px; line-height: 1.15; }
  .nw-dlc-card-top small { font-size: 10px; }
  .nw-dlc-status { grid-column: 1 / -1; justify-self: start; margin-top: 2px; }
  .nw-dlc-card > p { margin: 12px 0; display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .nw-dlc-code { grid-template-columns: 1fr; padding: 10px; gap: 6px; }
  .nw-dlc-code > span { grid-column: 1; font-size: 8px; }
  .nw-dlc-code strong { font-size: 21px; overflow-wrap: anywhere; }
  .nw-dlc-code button { width: 100%; min-height: 32px; }
  .nw-dlc-community { align-items: stretch; flex-direction: column; gap: 7px; }
  .nw-dlc-votes { width: 100%; }
  .nw-dlc-votes button { width: auto; min-width: 0; flex: 1; }
  .nw-dlc-links a { font-size: 10px; overflow-wrap: anywhere; }
  .nw-dlc-modal { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .nw-dlc-modal-panel { max-height: 92dvh; padding: 30px 18px 20px; border-top-width: 5px; border-radius: 18px 18px 0 0; }
  .nw-dlc-modal-panel::before { content: ""; width: 42px; height: 4px; position: absolute; top: 10px; left: 50%; border-radius: 2px; background: #d5d9d9; transform: translateX(-50%); }
  .nw-dlc-modal-close { top: 18px; }
  .nw-dlc-modal-head { padding-top: 6px; }
  .nw-dlc-stepper { margin-bottom: 20px; }
  .nw-dlc-step { grid-template-columns: 1fr; }
  .nw-dlc-security-visual { width: 96px; }
  .nw-dlc-submit-row { margin: 22px -18px -20px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); position: sticky; bottom: -20px; z-index: 3; border-top: 1px solid #e7e7e7; background: #fff; }
  .nw-dlc-submit-row button { min-height: 44px; }
  .nw-dlc-submit-row .nw-dlc-step-next, .nw-dlc-submit-row button[type="submit"] { flex: 1; }
  .nw-dlc-related { align-items: flex-start; flex-direction: column; gap: 11px; }
}

@media (max-width: 360px) {
  .nw-dlc-captcha > div { transform: scale(.84); transform-origin: left top; }
  .nw-dlc-captcha { min-height: 66px; }
}
