@charset "UTF-8";
@media (min-width: 769px) {
  form.potw-term-filters__inner .potw-term-filters__submit {
    display: none !important;
  }
}
body:has(#project-submission) #colophon {
  display: none;
}

.potw-success-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  font-size: 12px;
  color: #9a9a9a;
  margin: 0 0 18px;
}

.potw-success-crumbs a {
  color: #9a9a9a;
  font-weight: 600;
  text-decoration: none;
}

.potw-success-crumbs a:hover {
  color: #0a0a0a;
}

.modal.potw-modal-open {
  align-items: center;
  background: rgba(10, 10, 10, 0.5);
  display: flex !important;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 100001;
}

.modal.potw-modal-open .modal-dialog {
  margin: 0;
  max-width: 460px;
  width: 100%;
}

.modal.potw-modal-open .modal-content {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 24px 24px 20px;
}

.modal.potw-modal-open .modal-header {
  align-items: center;
  border: 0;
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 0;
}

.modal.potw-modal-open .modal-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.modal.potw-modal-open .close {
  background: none;
  border: 0;
  color: #737373;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0 4px;
}

.modal.potw-modal-open .modal-body {
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  padding: 0;
}

.modal.potw-modal-open .modal-info {
  color: #737373;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 10px;
}

.modal.potw-modal-open .modal-footer {
  border: 0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  padding: 0;
}

.modal.potw-modal-open .modal-footer .btn {
  background: #fff;
  border: 1.5px solid #d4d4d4;
  border-radius: 999px;
  color: #0a0a0a;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
}

.modal.potw-modal-open .modal-footer .project-remove-request-send {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.modal.potw-modal-open .modal-footer .project-remove-request-send.disabled, .modal.potw-modal-open .modal-footer .project-remove-request-send.sending {
  opacity: 0.5;
  pointer-events: none;
}

html.potw-modal-lock, html.potw-modal-lock body {
  overflow: hidden;
}

/* Profile (16 November): Pinterest and Facebook icons have no size of their own, so Safari drew them at zero width. */
/* Profile on phones (16 November): with the cover shown in full (about 130px tall on a phone) the avatar sat inside the cover
   and the name on its edge. Let the avatar straddle the cover bottom, half on the picture, half below. */
/* Sign-in (16 November): room between the Log In button and the Register line. */
.bp-login-widget-register-link {
  box-sizing: border-box;
  display: block !important;
  margin: 18px 0 0 !important;
  text-align: center;
  width: 100% !important;
}

.potw-reset-done {
  position: relative;
  background: #f3f9f4;
  border: 1px solid #d5e9da;
  border-radius: 10px;
  color: #173d24;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 18px;
  padding: 12px 16px 12px 46px;
}

.potw-reset-done::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f7a3a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.potw-reset-expired {
  position: relative;
  background: #fff8eb;
  border: 1px solid #f1dfb6;
  border-radius: 10px;
  color: #6b4500;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 18px;
  padding: 12px 16px 12px 46px;
}

.potw-reset-expired::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #b7791f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

/* Footer newsletter box (16 November): V2's input:focus rule turned the typed text black on the black footer. */
.site-footer .potw-sf-news-input, .site-footer .potw-sf-news-input:focus {
  caret-color: #fff;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

/* Show-password eye (16 November): a shown password is a text field, which V2 does not style on the auth pages, so it shrank. */
.potw-auth-page .password-wrap input[type=text] {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-sizing: border-box;
  color: #0a0a0a;
  font-size: 14px;
  height: 48px;
  padding: 11px 44px 11px 14px;
  width: 100%;
}

/* Show-password eye everywhere (18 November, owner: empty box on the reset form). The buttons use Font Awesome glyphs,
   which V2 does not load: draw the eye with an SVG mask instead, and place the button inside the field. */
.password-wrap {
  position: relative;
}

.password-wrap .show-password {
  position: absolute !important;
  right: 4px !important;
  top: 4px !important;
  bottom: auto !important;
  left: auto !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  outline-offset: -2px;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #666;
  cursor: pointer;
  font-size: 0 !important;
}

.password-wrap .show-password:hover, .password-wrap .show-password:focus-visible {
  color: #111;
}

.password-wrap .show-password i {
  display: none !important;
}

.password-wrap .show-password::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.password-wrap.password-visible .show-password::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cpath d='M14.12 14.12a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cpath d='M14.12 14.12a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

.password-wrap input[type=password], .password-wrap input[type=text] {
  padding-right: 46px !important;
}

/* Login and reset-password errors (18 November, owner: black text). Same red card as the member-page notices, and the
   same red messages under fields as the sign-up form. */
.potw-auth-page .login-errors {
  margin: 0 0 18px;
}

.potw-auth-page .login-errors p.login-error {
  position: relative;
  margin: 0 0 8px;
  padding: 12px 16px 12px 46px;
  border-radius: 10px;
  background: #fdf2f2;
  border: 1px solid #f2caca;
  color: #7f1d1d;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.potw-auth-page .login-errors p.login-error:last-child {
  margin-bottom: 0;
}

.potw-auth-page .login-errors p.login-error::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.potw-auth-page .login-errors p.login-error a {
  color: inherit;
  text-decoration: underline;
}

.potw-auth-page .potw-field-error {
  color: #c62828;
  font-size: 13px;
  line-height: 1.4;
  margin: 6px 0 0;
}

.potw-auth-page input.is-invalid {
  border-color: #c62828 !important;
}

/* 16 November (owner list): category pages lose V2's template line ("Bottles, labels, and packaging projects for X.");
   our own category descriptions stay. */
body.category .potw-term-hero__sub {
  display: none;
}

/* 18 Nov (UI pass): category and filter pages said the count twice ("Showing 12,735 projects" under the intro and
   "Showing 1 to 68 of 12,735 results" above the grid). Keep the second, which also says which page you are on. */
/* 19 Nov (owner): the green "online" dot on member cards (.is-online .member-avatar::before, top-left) was clipped by
   the avatar's round overflow:hidden. Let it show; the picture keeps its own round corners. */
.members-directory .member-card .member-avatar {
  overflow: visible;
}

.members-directory .member-card .member-avatar img {
  border-radius: 50%;
}

/* 20 Nov (owner): on phones the BuySellAds bottom banner (.bsa_fixed-leaderboard, z-index 9999) covered the open
   Filters sheet (z-index 400 inside the sticky .potw-term-filters at 100). While the sheet is open, lift it above. */
/* The theme script sets body.potw-filter-sheet-open; the same sheet exists on /packages/ (project archive). */
body.potw-filter-sheet-open .potw-term-filters,
body.potw-filter-sheet-open .potw-project-archive__filter-bar {
  z-index: 10000;
}

body.potw-filter-sheet-open .potw-term-filters__backdrop,
body.potw-filter-sheet-open .potw-project-archive__filter-backdrop {
  z-index: 10000;
}

body.potw-filter-sheet-open .potw-term-filters__inner,
body.potw-filter-sheet-open .potw-project-archive__filters {
  z-index: 10001;
}

/* Blogger-era posts (22,190) repeat the first picture as an img with class "hidden"; the old theme hid it, V2 did not. */
.potw-single-content .hidden {
  display: none !important;
}

/* 20 Nov (owner): the link around that hidden picture keeps Blogger's inline "padding:1em 0", leaving a gap above the
   first real picture. Drop its padding (the link stays: the in-content ad is placed inside it), and the first visible
   picture after it starts flush with the sidebar. */
.potw-single-content a:has(> img.hidden) {
  padding: 0 !important;
}

.potw-single-content > div:first-child:has(img.hidden) + div > a:first-child {
  padding-top: 0 !important;
}

/* 20 Nov (owner): About page timeline box taller on desktop (theme: min-height 360px; phones keep 16:10). */
/* 20 Nov (owner): Curator's Picks hero, the Curator's Note shown short (about 6 lines, fading out); the full note is
   on the project page ("View project"). */
.curators-spotlight .curators-note p {
  margin-bottom: 0.6em;
}

/* 20 Nov (owner): initials in the collaborator circle for people who are not POTW members (script below). */
.potw-single-collab-avatar.potw-collab-initials {
  align-items: center;
  color: var(--gray-600, #555);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Top in-content ad, moved below the first picture by the script. */
.potw-single-content .packa-middle-content-3.potw-ad-moved {
  margin: 8px 0 24px !important;
  text-align: center;
}

/* Gallery filters: the results dim while new ones load (the Apply rule is in the head, see potw-filters-head). */
#buddypress .project-editor .project-form-sidebar .potw-tip-faq p {
  color: var(--gray-600);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
}

.project-form-sidebar .potw-tip-faq a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* Profile avatar: square box, the photo fills it inside the white border (on phones the box was 84 x 92 and the 76px
   photo sat off centre). */
/* Lists and headings in project and article text (17 November, owner): room between bullet points, a normal gap after
   a list, and more space above headings so a heading never sits right on the text before it. */
.potw-single-content ul, .potw-single-content ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.potw-single-content li:last-child {
  margin-bottom: 0;
}

.potw-single-content li > ul, .potw-single-content li > ol {
  margin: 10px 0 0;
}

.potw-single-content h2 {
  margin-top: 40px;
}

.potw-single-content h3, .potw-single-content h4 {
  margin-top: 30px;
}

.potw-single-content > h2:first-child, .potw-single-content > h3:first-child {
  margin-top: 0;
}

/* Tables in project and article text (17 November, owner): V2 left them unstyled. Light borders, padding, a shaded
   first row (header cells or a first row of bold labels), first column in a stronger colour; on phones the table
   scrolls sideways instead of squeezing the page. */
.potw-single-content .wp-block-table {
  margin: 28px 0;
  overflow-x: auto;
}

.potw-single-content table {
  border: 1px solid #e5e5e5;
  border-collapse: separate;
  border-radius: 10px;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.5;
  margin: 28px 0;
  overflow: hidden;
  width: 100%;
}

.potw-single-content .wp-block-table table {
  margin: 0;
}

.potw-single-content th, .potw-single-content td {
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.potw-single-content tr:last-child th, .potw-single-content tr:last-child td {
  border-bottom: 0;
}

.potw-single-content th + th, .potw-single-content th + td, .potw-single-content td + td, .potw-single-content td + th {
  border-left: 1px solid #f0f0ee;
}

.potw-single-content thead th, .potw-single-content thead td, .potw-single-content table:not(:has(thead)) tr:first-child td, .potw-single-content table:not(:has(thead)) tr:first-child th {
  background: #f6f6f4;
  color: #0a0a0a;
  font-weight: 700;
}

.potw-single-content tbody td:first-child, .potw-single-content tbody th:first-child {
  color: #0a0a0a;
  font-weight: 600;
}

.potw-single-content tr:nth-child(even) td {
  background: #fcfcfb;
}

.potw-single-content td p, .potw-single-content th p {
  margin: 0;
}

.potw-single-content td p + p, .potw-single-content th p + p {
  margin-top: 6px;
}

@media (max-width: 600px) {
  .potw-single-content table {
    display: block;
    font-size: 14px;
    overflow-x: auto;
    white-space: normal;
  }
  .potw-single-content th, .potw-single-content td {
    min-width: 140px;
    padding: 10px 12px;
  }
}
/* 17 November (owner chose option C): the first project image (hero) sits in V2's full-width 16:9 frame, shown WHOLE
   (never cropped), centred; the space either side is a blurred copy of the same image (set by the script below as
   --potw-hero-bg; dark grey until it loads). Phones: scroll-to-top and feedback buttons the same size and inset. */
@media (max-width: 600px) {
  #scrollTopBtn {
    height: 42px !important;
    right: 12px !important;
    width: 42px !important;
  }
}
.potw-support-heart {
  display: inline-block;
  height: 14px;
  margin-right: 7px;
  vertical-align: -2px;
  width: 14px;
}

/* 18 Nov (owner, UI pass): on phones the round "Share feedback" button sat over the text next to the sticky ad and the
   back-to-top arrow; hide it on phones (the tab goes everywhere ~15 Dec). Cards held back on phones (script below). */
@media (max-width: 768px) {
  .potw-fb-tab {
    display: none !important;
  }
}
/* Ad cards in project grids (18 Nov, owner): the banner sat in the middle under a "Sponsored" label at the top, so the
   label read like a project title and the banner like a thumbnail out of line. Now the banner sits flush at the top on a
   grey band (like a project picture) and "Sponsored" sits underneath, where a project's title is. Overrides the
   Customizer's Additional CSS rules for .col-ad. */
.project-grid__items > .col-ad, .project-archive-grid > .col-ad {
  justify-content: flex-start !important;
  padding: 0 0 14px !important;
  overflow: hidden;
}

.project-grid__items > .col-ad [id^=bsa-zone_], .project-archive-grid > .col-ad [id^=bsa-zone_] {
  order: 1;
  width: 100%;
  min-height: 241px !important;
  background: #f4f4f4;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.project-grid__items > .col-ad::before, .project-archive-grid > .col-ad::before {
  order: 2;
  position: static !important;
  align-self: flex-start;
  margin: 6px 14px 0;
}

/* One dropdown arrow everywhere (18 Nov, owner): Select2 boxes on the submit/edit forms showed Select2's own triangle
   plus a Font Awesome glyph from the Nov 2023 snippet (V2 does not load Font Awesome, so it drew a broken box). Both
   replaced by the same chevron the profile forms use; also on Gravity Forms dropdowns (Contact "Topic"), which had the
   browser's arrow jammed against the edge. */
.select2-container .select2-selection__arrow {
  display: none !important;
}

.select2-container .select2-selection {
  position: relative;
}

.select2-container .select2-selection:after {
  content: "" !important;
  font-family: inherit !important;
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  background: #666 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}

.select2-container .select2-selection--single .select2-selection__rendered, .select2-container .select2-selection--multiple {
  padding-right: 40px !important;
}

.gform_wrapper select:not([multiple]) {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding-right: 42px !important;
}

.potw-card-later {
  display: none !important;
}

/* 24 Nov (owner): in-article ad slots: BuySellAds sometimes fills them with narrow or stacked ads; centre whatever arrives. */
.potw-single-content [class*=packa-middle-content], .potw-single-content [class*=packa-after-content], .potw-single-content [class*=packa-below-content] {
  text-align: center;
}

.potw-single-content [id^=bsa-zone_] {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.potw-single-content [id^=bsa-zone_] iframe {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 24 Nov (owner): long profile bios on phones show 4 lines and a Read more link. */
.potw-bio-more {
  display: none;
}

@media (max-width: 768px) {
  .profile-description.potw-bio-clamp:not(.is-open) {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .potw-bio-more {
    display: block;
    margin: 2px auto 14px;
    background: none;
    border: 0;
    padding: 6px 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #0a0a0a;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
}
#signup_form .potw-signup-privacy {
  margin: 6px 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

#signup_form .potw-signup-privacy label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 400;
  cursor: pointer;
  margin: 0;
  color: #555;
}

#signup_form .potw-signup-privacy input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #111;
}

#signup_form .potw-signup-privacy a {
  color: #111;
  text-decoration: underline;
}

#signup_form .potw-signup-privacy.is-invalid input[type=checkbox] {
  outline: 2px solid #c62828;
  outline-offset: 1px;
}

#signup_form .register-section, #signup_form #basic-details-section {
  background: none !important;
  border: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#signup_form .potw-signup-privacy .potw-field-error {
  margin: 6px 0 0 24px !important;
}

#signup_form input.is-invalid {
  border-color: #c62828 !important;
}

#signup_form label.error {
  display: none !important;
}

#signup_form .potw-pw {
  position: relative;
  display: block;
  margin-bottom: 16px;
}

#signup_form .potw-pw input {
  margin-bottom: 0 !important;
}

#signup_form input.is-invalid, #signup_form .potw-pw:has(input.is-invalid) {
  margin-bottom: 0 !important;
}

#signup_form .potw-pw input {
  padding-right: 48px !important;
}

#signup_form .potw-pw-toggle {
  position: absolute;
  right: 6px;
  top: 0;
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  background: none !important;
  color: #666;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

#signup_form .potw-pw-toggle:hover, #signup_form .potw-pw-toggle:focus-visible {
  color: #111;
}

#signup_form .potw-pw-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

#signup_form .potw-pw-toggle .potw-eye-off {
  display: none;
}

#signup_form .potw-pw-toggle[aria-pressed=true] .potw-eye {
  display: none;
}

#signup_form .potw-pw-toggle[aria-pressed=true] .potw-eye-off {
  display: block;
}

#signup_form .password-wrap .show-password {
  display: none !important;
}

#buddypress div#message {
  margin: 0 0 20px;
}

#profile-edit-form select:not([multiple]), #settings-form select:not([multiple]), #signup_form select:not([multiple]) {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding-right: 42px !important;
  cursor: pointer;
}

#buddypress div#message p, #buddypress div#message.updated p, #buddypress div#message.error p, #buddypress div#message.warning p {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 50px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  background: #f3f9f4;
  border: 1px solid #d5e9da;
  color: #173d24;
}

#buddypress div#message p::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f7a3a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

#buddypress div#message.error p {
  background: #fdf2f2;
  border-color: #f2caca;
  color: #7f1d1d;
}

#buddypress div#message.error p::before {
  content: "!";
  background: #c62828;
}

#buddypress div#message.warning p, #buddypress div#message.info p {
  background: #fff8eb;
  border-color: #f1dfb6;
  color: #6b4500;
}

#buddypress div#message.warning p::before, #buddypress div#message.info p::before {
  content: "!";
  background: #b7791f;
}

#buddypress div#message p a {
  color: inherit;
  text-decoration: underline;
}

#signup_form .potw-confirm {
  margin: 8px 0 0;
  padding: 28px 26px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}

#signup_form .potw-confirm-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}

#signup_form .potw-confirm-icon svg {
  width: 22px;
  height: 22px;
}

#signup_form .potw-confirm .potw-confirm-title {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #111;
}

#signup_form .potw-confirm p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 12px;
  display: block;
}

#signup_form .potw-confirm p strong {
  color: #111;
  overflow-wrap: anywhere;
}

#signup_form .potw-confirm p.potw-confirm-tip {
  font-size: 13px;
  color: #777;
  margin: 0;
}

#signup_form .potw-confirm ~ #template-notices {
  display: none;
}

body.activation #activate-page a.potw-activate-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  margin: 6px 0 0;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

body.activation #activate-page a.potw-activate-login:hover {
  background: #333;
  color: #fff;
}

.lost-password-form-outer:not(:has(form)) p.pass-reset {
  margin: 22px 0 0;
  text-align: left;
}

.lost-password-form-outer:not(:has(form)) p.pass-reset a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  border-radius: 6px;
  background: #111;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.lost-password-form-outer:not(:has(form)) p.pass-reset a:hover {
  background: #333;
}

#signup_form .potw-signin-link {
  display: block !important;
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: #737373;
}

#signup_form .potw-signin-link a {
  color: #0a0a0a;
  font-weight: 600;
  text-decoration: none;
}

#signup_form .potw-signin-link a:hover {
  text-decoration: underline;
}

body.potw-title-long .potw-single-title {
  font-size: clamp(28px, 3.8vw, 44px);
}

body.potw-title-very-long .potw-single-title {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  body.potw-title-long .potw-single-title {
    font-size: 24px;
  }
  body.potw-title-very-long .potw-single-title {
    font-size: 22px;
  }
}
.potw-member-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: auto 0 0;
  padding-top: 14px;
}

.potw-member-thumbs.is-none {
  display: block;
}

.potw-member-thumbs.is-none span {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/1;
  border-radius: 8px;
  background: #f6f6f4;
  color: #9a9a96;
  font-size: 13px;
}

.potw-member-thumb.is-empty {
  background: #f6f6f4;
}

.potw-member-thumb {
  display: block;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f2f0;
}

.potw-member-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.potw-member-thumb:hover img {
  transform: scale(1.04);
}

.potw-member-card {
  display: flex;
  flex-direction: column;
}

.potw-member-card .potw-member-foot {
  margin-top: 16px;
}

.potw-member-card .potw-member-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.activation #main {
  min-height: 55vh;
  padding: 72px 16px 96px;
}

body.activation #activate-page {
  max-width: 460px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

body.activation #activate-page > p {
  margin: 0 0 22px;
}

body.activation #activate-page a {
  color: #111;
  text-decoration: underline;
}

body.activation #activation-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #111;
}

body.activation #activation-form input[type=text] {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  margin: 0 0 16px;
}

body.activation #activation-form .submit {
  margin: 0;
}

body.activation #activation-form input[type=submit] {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

body.activation #activation-form input[type=submit]:hover {
  background: #333;
}

.home .potw-home-section-actions .wp-block-button__link.is-active {
  background: var(--black, #0a0a0a) !important;
  color: #fff !important;
  font-weight: 600;
}
.home .project-grid.is-loading .project-grid__items {
  opacity: 0.45;
  transition: opacity 0.15s;
}

.potw-cap-note {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  margin: 24px auto;
  max-width: 640px;
  padding: 28px 30px;
  text-align: center;
}

.potw-cap-note h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.potw-cap-note p {
  color: #555;
  margin: 0 0 18px;
}

.potw-cap-note a {
  background: #0a0a0a;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-weight: 600;
  padding: 11px 22px;
  text-decoration: none;
}

.potw-ubadges {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 5px;
  vertical-align: middle;
  flex: 0 0 auto;
  line-height: 1;
}

.potw-ubadge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px #fff;
  text-decoration: none !important;
  flex: 0 0 auto;
}

.potw-ubadge svg {
  width: 11px;
  height: 11px;
  display: block;
}

.potw-ubadge--ten {
  background: #fff;
  box-shadow: inset 0 0 0 1.4px #0a0a0a, 0 0 0 1.5px #fff;
}

.potw-ubadge--ten svg {
  width: 100%;
  height: 100%;
}

.potw-single-submitter-name .potw-ubadge, .submitter-name .potw-ubadge {
  width: 18px;
  height: 18px;
}

.potw-single-submitter-name .potw-ubadge svg, .submitter-name .potw-ubadge svg {
  width: 12px;
  height: 12px;
}

.project-card__author > a {
  position: relative;
  overflow: visible;
}

.project-card__author .potw-ubadges {
  position: absolute;
  left: 12px;
  bottom: -4px;
  margin: 0;
  gap: 0;
}

.project-card__author .potw-ubadge {
  width: 13px;
  height: 13px;
  margin-left: -4px;
}

.project-card__author .potw-ubadge:first-child {
  margin-left: 0;
}

.project-card__author .potw-ubadge:not(:first-child) {
  display: none;
}

.project-card__author .potw-ubadge svg {
  width: 9px;
  height: 9px;
}

.project-card__author .potw-ubadge--ten svg {
  width: 100%;
  height: 100%;
}

.potw-member-name {
  display: flex !important;
  align-items: center;
  min-width: 0;
}

.potw-member-name > a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.potw-member-name .potw-ubadges {
  margin-left: 6px;
}

.profile-name .potw-ubadges {
  margin-left: 8px;
  gap: 5px;
}

.profile-name .potw-ubadge {
  width: 26px;
  height: 26px;
}

.profile-name .potw-ubadge svg {
  width: 17px;
  height: 17px;
}

.profile-name .potw-ubadge--ten svg {
  width: 100%;
  height: 100%;
}

.potw-ubadge-pop {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100000;
  width: max-content;
  max-width: min(320px, 100vw - 16px);
  background: #0a0a0a;
  color: #fff;
  font: 500 12px/1.35 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  padding: 6px 9px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.potw-ubadge-pop.is-on {
  opacity: 1;
}

#profile-edit-form .input-options.potw-spec-box {
  display: block !important;
  position: relative;
}

.potw-spec-hidden {
  display: none !important;
}

.potw-spec-field {
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--gray-200, #e5e5e5);
  border-radius: var(--radius-md, 10px);
  box-sizing: border-box;
  cursor: text;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 46px;
  padding: 6px 8px;
}

.potw-spec-field:focus-within {
  border-color: var(--black, #111);
}

.potw-spec-chip {
  align-items: center;
  background: var(--black, #111);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  gap: 6px;
  padding: 6px 10px 6px 12px;
}

.potw-spec-chip span {
  font-size: 15px;
  line-height: 1;
  opacity: 0.7;
}

.potw-spec-chip:hover span, .potw-spec-chip:focus span {
  opacity: 1;
}

#profile-edit-form .potw-spec-input {
  background: transparent;
  border: 0;
  box-shadow: none;
  flex: 1 1 180px;
  font: inherit;
  font-size: 14px;
  height: auto;
  min-width: 150px;
  outline: 0;
  padding: 6px 4px;
}

.potw-spec-meta {
  color: var(--gray-500, #777);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 6px;
}

.potw-spec-list {
  background: #fff;
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: var(--radius-md, 10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  left: 0;
  list-style: none;
  margin: 6px 0 0;
  max-height: 300px;
  overflow-y: auto;
  padding: 6px;
  position: absolute;
  right: 0;
  z-index: 30;
}

.potw-spec-list[hidden] {
  display: none;
}

.potw-spec-list li {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin: 0;
  padding: 9px 12px;
}

.potw-spec-list li.is-active {
  background: var(--gray-100, #f2f2f2);
}

.potw-spec-list li small {
  color: var(--gray-500, #888);
  font-size: 11.5px;
}

.potw-spec-list .potw-spec-empty {
  color: var(--gray-500, #888);
  cursor: default;
}

.potw-sf-news {
  margin: 0 0 24px;
}

.potw-sf-news-label {
  color: var(--gray-500);
  font-size: 12px;
  margin: 0 0 10px;
}

.potw-sf-news-form {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  max-width: 300px;
  transition: border-color 0.2s;
}

.potw-sf-news-form:focus-within {
  border-color: #fff;
}

.site-footer .potw-sf-news-input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  flex: 1;
  font-family: var(--font);
  font-size: 14px;
  min-width: 0;
  outline: 0;
  padding: 9px 0;
}

.site-footer .potw-sf-news-input::placeholder {
  color: var(--gray-500);
}

.potw-sf-news-trap {
  height: 1px;
  left: -9999px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.site-footer .potw-sf-news-btn {
  background: transparent;
  border: 0;
  color: var(--gray-400);
  cursor: pointer;
  display: flex;
  padding: 6px 2px 6px 8px;
  transition: color 0.2s;
}

.site-footer .potw-sf-news-btn:hover, .site-footer .potw-sf-news-btn:focus-visible {
  color: #fff;
}

.potw-sf-news-msg {
  color: var(--gray-400);
  font-size: 12px;
  margin-top: 8px;
  min-height: 1em;
}

.potw-sf-news-msg.is-error {
  color: #ff9b9b;
}

.potw-sf-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer .potw-sf-social {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--gray-400);
  display: flex;
  height: 34px;
  justify-content: center;
  text-decoration: none;
  transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s;
  width: 34px;
}

.site-footer .potw-sf-social svg {
  height: 15px;
  width: 15px;
}

.site-footer .potw-sf-social:hover, .site-footer .potw-sf-social:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--black);
  transform: translateY(-2px);
}

.potw-collab-tab {
  box-sizing: border-box;
  margin: 8px auto 40px;
  max-width: var(--max-w, 1200px);
  padding: 0 var(--pad-x, 40px);
}

.potw-collab-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.potw-collab-head h2 {
  margin: 0;
}

.potw-collab-head-right {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.potw-collab-count {
  color: var(--gray-500, #888);
  font-size: 13px;
  margin-right: 4px;
}

.potw-collab-pill {
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: 999px;
  color: var(--gray-600, #555);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  text-decoration: none;
}

.potw-collab-pill:hover {
  border-color: var(--black, #111);
  color: var(--black, #111);
}

.potw-collab-pill.is-current {
  background: var(--black, #111);
  border-color: var(--black, #111);
  color: #fff;
}

.potw-collab-grid .project-card__author {
  display: flex;
}

.potw-collab-pages {
  margin-top: 24px;
  text-align: center;
}

.potw-collab-pages .page-numbers {
  margin: 0 4px;
}

.potw-collab-empty {
  color: var(--gray-500, #888);
}

.potw-collab-hint {
  background: var(--gray-50, #f7f7f7);
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: 8px;
  color: var(--gray-600, #555);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
  padding: 10px 12px;
}

.potw-collab-hint strong {
  color: var(--black, #111);
}

.potw-member-suggest {
  background: #fff;
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 4px 0 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  position: absolute;
  z-index: 40;
}

.potw-member-suggest li {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 7px 10px;
}

.potw-member-suggest li.is-active {
  background: var(--gray-100, #f2f2f2);
}

.potw-member-suggest img {
  border-radius: 50%;
  height: 28px;
  width: 28px;
}

.potw-member-suggest small {
  color: var(--gray-500, #888);
}

.potw-member-badge {
  align-items: center;
  background: var(--gray-100, #f2f2f2);
  border-radius: 999px;
  color: var(--black, #111);
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 600;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
}

#buddypress .project-editor .credit-row > .potw-member-badge {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  margin-top: -4px;
}

@media (max-width: 768px) {
  #buddypress .project-editor .credit-row > .potw-member-badge {
    grid-column: 1;
    grid-row: auto;
  }
}
.potw-member-badge button {
  background: none;
  border: 0;
  color: var(--gray-500, #888);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.potw-collab-member-mark {
  align-items: center;
  background: var(--black, #111);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 9px;
  font-weight: 700;
  height: 14px;
  justify-content: center;
  margin-left: 5px;
  vertical-align: 1px;
  width: 14px;
}

.potw-collab-remove {
  background: none;
  border: 0;
  color: var(--gray-500, #888);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  text-decoration: underline;
}

.potw-single-collab-avatar img {
  border-radius: 50%;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.potw-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 4px;
}

.potw-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.potw-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #9a9a9a;
  background: #fff;
}

.potw-step-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #9a9a9a;
}

.potw-step.is-active .potw-step-dot {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.potw-step.is-active .potw-step-label {
  color: #0a0a0a;
}

.potw-step.is-done .potw-step-dot {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.potw-step.is-done .potw-step-label {
  color: #2e7d32;
}

.potw-step-line {
  flex: 1;
  height: 1.5px;
  background: #e5e5e5;
  min-width: 20px;
  max-width: 80px;
}

.potw-step-line.is-done {
  background: #2e7d32;
}

.project-form-success .potw-steps {
  justify-content: center;
  margin: 0 0 22px;
}

.potw-pv {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.potw-pv-top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
}

.potw-pv-top-in {
  max-width: var(--max-w, 1480px);
  margin: 0 auto;
  padding: 10px var(--pad-x, 40px);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.potw-pv-top .potw-steps {
  margin: 0;
  flex: 1;
}

.potw-pv-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.potw-pv-btn {
  align-items: center;
  background: #0a0a0a;
  border: 1.5px solid #0a0a0a;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  gap: 6px;
  padding: 11px 20px;
  white-space: nowrap;
}

.potw-pv-btn:hover {
  background: #333;
  border-color: #333;
}

.potw-pv-btn.is-ghost {
  background: #fff;
  color: #0a0a0a;
  border-color: #d4d4d4;
}

.potw-pv-btn.is-ghost:hover {
  border-color: #0a0a0a;
  background: #fff;
}

.potw-pv-btn:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}

.potw-pv-flagbar {
  max-width: var(--max-w, 1480px);
  margin: 0 auto;
  padding: 18px var(--pad-x, 40px) 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.potw-pv-flag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6d00;
  background: #fff8e1;
  border: 1px solid #ffe9a8;
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.potw-pv-note {
  font-size: 12.5px;
  color: #777;
}

.potw-pv-end {
  max-width: var(--max-w, 1480px);
  margin: 24px auto 0;
  padding: 26px var(--pad-x, 40px) 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid #e5e5e5;
}

.potw-pv-end p {
  font-size: 12.5px;
  color: #777;
  margin: 0;
  max-width: 420px;
  line-height: 1.45;
}

.potw-pv .potw-single-project {
  padding-top: 8px;
}

.potw-pv .potw-pv-empty {
  background: #f4f4f2;
  border-radius: 14px;
  color: #9a9a9a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  font-size: 14px;
}

.potw-pv .potw-pv-video {
  aspect-ratio: 16/9;
  width: 100%;
  border: 0;
  border-radius: 12px;
  margin-top: 24px;
}

.potw-pv .potw-pv-member {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2e7d32;
  margin-left: 6px;
}

.potw-pv .potw-single-content {
  font-size: 16px;
}

.potw-pv .potw-pv-dummy {
  pointer-events: none;
}

.potw-pv .potw-pv-dummy .action-btn > span:first-child {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  box-sizing: border-box;
  color: #737373;
  display: flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

html.potw-pv-open, html.potw-pv-open body {
  overflow: hidden;
}

.potw-pv:focus {
  outline: 0;
}

@media (max-width: 768px) {
  .potw-pv-end {
    flex-direction: column;
    align-items: stretch;
  }
  .potw-pv-end .potw-pv-btns {
    flex-direction: column-reverse;
  }
  .potw-pv-btns .potw-pv-btn {
    justify-content: center;
    width: 100%;
  }
  .potw-step-label {
    display: none;
  }
  .potw-pv-top-in {
    gap: 10px;
  }
}
/* 20 Nov (owner): space around "Crop thumbnail" (it touched the cropper below), and a centred "please wait" while the
   preview is being prepared. */
body #buddypress .project-editor .preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.potw-pv-wait {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
}

.potw-pv-wait-spin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid #e5e5e5;
  border-top-color: #0a0a0a;
  animation: potw-pv-spin 0.8s linear infinite;
}

.potw-pv-wait small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #737373;
  text-align: center;
}

@keyframes potw-pv-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .potw-pv-wait-spin {
    animation-duration: 2.4s;
  }
}
.potw-material-icon.has-icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.potw-material-icon.has-icon::before, .potw-material-icon.has-icon::after {
  content: none;
  display: none;
}

.potw-material-icon.has-icon svg {
  display: block;
  height: 28px;
  width: 28px;
}

.home-countries .potw-region-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.home-countries .region-card {
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 214px;
  padding: 22px 16px 20px;
  position: relative;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s, background 0.22s;
  width: 170px;
}

.home-countries .region-card:hover {
  background: #fff;
  border-color: #d4d4d4;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.home-countries .region-medallion {
  align-items: center;
  background: #0a0a0a;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: none;
  height: 98px;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  transition: background 0.22s, transform 0.22s, color 0.22s;
  width: 98px;
}

.home-countries .region-medallion svg {
  display: block;
  height: 92%;
  width: 92%;
}

.home-countries .region-card:hover .region-medallion {
  background: #fff;
  color: #0a0a0a;
  transform: scale(1.04);
}

.home-countries .region-name {
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 3px;
}

.home-countries .region-count {
  color: #737373;
  font-size: 12px;
}

@media (max-width: 768px) {
  .home-countries .region-card {
    height: 198px;
    width: 150px;
  }
  .home-countries .region-medallion {
    height: 84px;
    width: 84px;
  }
}
.potw-follow-wrap {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.potw-follow-wrap .potw-follow-button.is-following {
  background: #fff !important;
  border-color: #d9d9d9 !important;
  color: #0a0a0a !important;
}

.potw-follow-wrap .potw-follow-count {
  color: #737373;
  font-size: 13px;
  white-space: nowrap;
}

.potw-follow-wrap.is-self .potw-follow-count {
  font-weight: 600;
  color: #0a0a0a;
}

.potw-follow-wrap .potw-following-link {
  align-items: center;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-sizing: border-box;
  color: #0a0a0a;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 6px;
  height: 38px;
  line-height: 1;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.potw-follow-wrap .potw-following-link:hover {
  border-color: #0a0a0a;
}

.potw-following-page {
  margin: 8px 0 40px;
}

.potw-following-kicker {
  color: #737373;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.potw-following-title {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.potw-following-lede {
  color: #555;
  font-size: 15px;
  margin: 0 0 24px;
  max-width: 640px;
}

.potw-following-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.potw-following-item {
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  padding: 12px 14px;
}

.potw-following-avatar img {
  border-radius: 50%;
  display: block;
  height: 48px;
  width: 48px;
}

.potw-following-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.potw-following-name {
  color: #0a0a0a;
  font-weight: 700;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.potw-following-meta {
  color: #737373;
  font-size: 13px;
}

.potw-following-pages {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.potw-following-pages a {
  color: #0a0a0a;
  font-weight: 600;
}

body:has(.potw-following-page) #subnav {
  display: none;
}

.potw-member-public #buddypress .mp-list {
  display: grid;
  flex-direction: initial;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.potw-member-public .mp-list > * {
  margin: 0;
  min-width: 0;
}

.potw-member-public .mp-list .project-card__author {
  display: none;
}

@media (max-width: 1000px) {
  .potw-member-public #buddypress .mp-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .potw-member-public #buddypress .mp-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .potw-member-public #buddypress .mp-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
.potw-profile-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.potw-profile-sort a {
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: 999px;
  color: var(--gray-600, #555);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.potw-profile-sort a:hover, .potw-profile-sort a:focus-visible {
  border-color: var(--black, #111);
  color: var(--black, #111);
}

.potw-profile-sort a[aria-current=true] {
  background: var(--black, #111);
  border-color: var(--black, #111);
  color: #fff;
}

.potw-member-public .project-manager-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.potw-view-as-visitor {
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--gray-300, #d4d4d4);
  border-radius: var(--radius-md, 10px);
  color: var(--black, #111);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  padding: 9px 14px;
  text-decoration: none;
  transition: border-color 0.15s;
}

.potw-view-as-visitor:hover, .potw-view-as-visitor:focus-visible {
  border-color: var(--black, #111);
  color: var(--black, #111);
}

.potw-view-as-visitor + .potw-view-as-visitor {
  margin-left: 8px;
}

.potw-preview-bar {
  align-items: center;
  background: var(--black, #111);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-size: 13.5px;
  gap: 10px 16px;
  justify-content: center;
  padding: 11px 16px;
  text-align: center;
}

.potw-preview-bar a {
  background: #fff;
  border-radius: 999px;
  color: var(--black, #111);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  text-decoration: none;
}

body.potw-profile-preview #item-buttons > *:not(.potw-view-as-visitor) {
  display: none !important;
}

.potw-rr {
  font-size: 14px;
  font-weight: 400;
  margin-top: 14px;
}

.potw-rr-note {
  background: var(--gray-50, #f7f7f7);
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: 8px;
  color: var(--gray-600, #555);
  line-height: 1.5;
  margin: 0 0 14px;
  padding: 10px 12px;
}

.potw-rr-note a {
  color: var(--black, #111);
  font-weight: 700;
  text-decoration: underline;
}

.potw-rr label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}

.potw-rr textarea {
  border: 1.5px solid var(--gray-200, #e5e5e5);
  border-radius: 8px;
  box-sizing: border-box;
  font: inherit;
  font-size: 14px;
  min-height: 84px;
  padding: 9px 11px;
  resize: vertical;
  width: 100%;
}

.potw-rr textarea:focus {
  border-color: var(--black, #111);
  outline: 0;
}

.potw-rr-hint {
  color: var(--gray-500, #888);
  font-size: 12px;
  margin-top: 5px;
}

.project-remove-request-send.potw-rr-off {
  opacity: 0.45;
  pointer-events: none;
}

.potw-rr-cancel {
  background: var(--black, #111) !important;
  border-color: var(--black, #111) !important;
  color: #fff !important;
}

@media (min-width: 761px) {
  #buddypress #item-header-cover-image.profile-cover-card > .profile-content {
    flex: 1 1 auto;
  }
  #buddypress #item-header-cover-image.profile-cover-card .profile-description {
    max-width: none;
  }
  #buddypress #item-header-cover-image.profile-cover-card > .profile-actions {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}
.potw-project-video {
  margin: 32px 0 8px;
}

.potw-project-video-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.potw-video-frame {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.potw-video-frame .jetpack-video-wrapper {
  margin: 0;
  position: static;
}

.potw-video-frame iframe {
  border: 0 !important;
  height: 100% !important;
  inset: 0 !important;
  max-width: none !important;
  position: absolute !important;
  width: 100% !important;
}

.potw-project-video .instagram-media {
  margin: 0 auto !important;
  max-width: 540px !important;
  min-width: 280px !important;
  width: 100% !important;
}

.potw-video-link {
  border: 1.5px solid var(--black, #111);
  border-radius: 8px;
  color: var(--black, #111);
  display: inline-block;
  font-weight: 600;
  padding: 10px 16px;
  text-decoration: none;
}

.potw-video-link:hover {
  background: var(--black, #111);
  color: #fff;
}

.project-form-success .project-success-image {
  filter: brightness(1.03);
}

.potw-thumb-guide {
  display: flex;
  gap: 14px;
  margin: 4px 0 14px;
}

.potw-thumb-guide figure {
  margin: 0;
  text-align: center;
}

.potw-thumb-guide svg {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: block;
  height: 72px;
  width: 96px;
}

.potw-thumb-guide figcaption {
  font-size: 12px;
  line-height: 1.35;
  margin-top: 6px;
  max-width: 96px;
}

.potw-thumb-guide .is-yes figcaption {
  color: #1a7f37;
}

.potw-thumb-guide .is-no figcaption {
  color: #b42318;
}

body:has(.potw-mobile-drawer.is-open) #_flexbar_,
body:has(.potw-mobile-drawer.is-open) ._bsa_flexbar,
body:has(.potw-mobile-menu.is-open) #_flexbar_,
body:has(.potw-mobile-menu.is-open) ._bsa_flexbar {
  visibility: hidden !important;
}

@media (min-width: 1001px) and (max-height: 900px) {
  .potw-category-sidebar .potw-category-item {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .potw-category-sidebar .potw-category-picks {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .potw-category-sidebar .potw-category-cta {
    display: none;
  }
}
@media (min-width: 1001px) and (max-height: 740px) {
  .potw-category-sidebar .potw-category-item {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}
.potw-single-share .potw-single-share-label {
  flex-basis: 100%;
  margin: 0 0 2px;
}

.potw-single-share .potw-single-share-button {
  flex-basis: 30px;
  height: 30px;
  width: 30px;
}

.potw-single-share .potw-share-native {
  display: none;
}

@media (pointer: coarse) {
  .potw-single-share.has-native .potw-share-native {
    display: inline-flex;
  }
}
.potw-pick-badge {
  align-items: center;
  background: #0a0a0a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 9.5px;
  font-weight: 700;
  gap: 4px;
  left: 10px;
  letter-spacing: 0.09em;
  line-height: 1;
  padding: 5px 9px 5px 8px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: 10px;
  z-index: 2;
}

.potw-pick-badge svg {
  display: block;
  height: 9px;
  width: 9px;
}

.mp-manager-content .col-auto:has(.pagination) {
  display: flex;
  justify-content: center;
  margin: 32px 0 8px;
  width: 100%;
}

.mp-manager-content .pagination {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: center !important;
  width: 100% !important;
}

.mp-manager-content .pagination .page-numbers {
  align-items: center;
  border: 1.5px solid #d9d9d9;
  border-radius: 999px;
  color: #0a0a0a;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 14px;
  text-decoration: none;
}

.mp-manager-content .pagination a.page-numbers:hover {
  border-color: #0a0a0a;
}

.mp-manager-content .pagination .page-numbers.current {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.mp-manager-content .pagination .page-numbers.next, .mp-manager-content .pagination .page-numbers.prev {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
  padding: 0 20px;
}

.mp-manager-content .pagination .page-numbers.next:hover, .mp-manager-content .pagination .page-numbers.prev:hover {
  background: #333;
}

.mp-manager-content .pagination .potw-pages-of {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #737373 !important;
  flex-basis: 100%;
  font-size: 13px;
  font-weight: 400;
  height: auto !important;
  margin-bottom: 4px;
  padding: 0 !important;
  text-align: center;
}

.single-post .potw-single-curator-note:not(.potw-cn) {
  display: none !important;
}
.single-post .potw-cn {
  margin: 28px 0 8px;
}
.single-post .potw-single-content {
  font-size: 16px;
}
.single-post .potw-single-content .potw-cn p {
  font-size: 16px;
  line-height: 1.7;
}
.single-post .potw-single-content .potw-cn p.potw-cn-by {
  border-top: 1px solid #d9d9d9;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.5;
  margin: 16px 0 0;
  padding-top: 12px;
}
.single-post .potw-cn-by a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
}
