/* Parc additions on the landing: CA plate + X in the header, live token feed on the launchpad. Donor type and
   colors only (text-navigation, text-body, the page's own variables). */
.pc-plate {
  display: flex;
  align-items: center;
  gap: 1.25em;
  margin-left: auto;
  margin-right: 2.25em;
  position: relative;
  z-index: 2;
}
.pc-ca,
.pc-x {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.pc-ca-v {
  margin-left: 0.45em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}
.pc-ca:hover .pc-ca-v,
.pc-x:hover .pc-x-i {
  opacity: 0.6;
}
.pc-x-i {
  display: inline-flex;
  transition: opacity 0.3s;
}
.pc-toast {
  position: fixed;
  left: 50%;
  bottom: 2.5rem;
  transform: translate(-50%, 1rem);
  opacity: 0;
  pointer-events: none;
  padding: 0.8em 1.4em;
  border-radius: 10em;
  background: var(--color--white, #f2f2ee);
  color: var(--color--black, #131313);
  z-index: 9999;
  transition: opacity 0.3s, transform 0.3s;
}
.pc-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* the live token feed takes the place of the photo grid */
[data-parcel-grid] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.pc-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}
.pc-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
}
.pc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.pc-card:hover .pc-card-img img {
  transform: scale(1.04);
}
.pc-card-info,
.pc-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.pc-card-meta {
  margin-top: -0.4rem;
}
.pc-card-empty {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.25rem;
  transition: border-color 0.4s;
}
.pc-card:hover .pc-card-empty {
  border-color: rgba(255, 255, 255, 0.4);
}
.pc-card.is-empty {
  grid-column: span 2;
}
.pc-card.is-empty .pc-card-empty {
  aspect-ratio: 2 / 1;
}
[data-theme="light"] .pc-card-empty {
  border-color: rgba(0, 0, 0, 0.14);
}
[data-theme="light"] .pc-card-img {
  background: rgba(0, 0, 0, 0.04);
}

@media screen and (max-width: 991px) {
  [data-parcel-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 767px) {
  .pc-plate {
    margin-right: 1.25em;
    gap: 0.9em;
  }
  .pc-card.is-empty {
    grid-column: span 2;
  }
}
@media screen and (max-width: 479px) {
  [data-parcel-grid] {
    gap: 1rem;
  }
  .pc-card-meta .c-grey-40 {
    display: none;
  }
}

/* narrow phones: the plate drops its brackets so it never touches the logo */
@media screen and (max-width: 479px) {
  .pc-plate { gap: 0.7em; margin-right: 1em; }
  .pc-plate .c-grey-40:not(:nth-child(2)) { display: none; }
  .pc-ca-v { margin-left: 0.3em; }
  .pc-x .pc-x-i { padding: 0 0.1em; }
}

/* ---------- token feed (replaces the photo grid) ---------- */
[data-parcel-grid] { display: block !important; }
.pc-feed-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.pc-feed-search { display: flex; flex-direction: column; gap: .7rem; flex: 1 1 18rem; max-width: 28rem; }
.pc-feed-search input { background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.24); color: inherit; font: inherit; font-size: 1.25rem; padding: .5rem 0; outline: none; transition: border-color .3s; border-radius: 0; -webkit-appearance: none; }
.pc-feed-search input:focus { border-color: currentColor; }
.pc-feed-tabs { display: flex; gap: .5rem; }
.pc-feed-tab { background: none; color: inherit; border: 1px solid rgba(255,255,255,.2); border-radius: 100rem; padding: .85em 1.4em; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pc-feed-tab:hover { border-color: currentColor; }
.pc-feed-tab.is-on { background: var(--color--light, #fff); color: var(--color--dark, #121212); border-color: transparent; }
.pc-feed-tab.is-on .c-grey-40 { color: rgba(18,18,18,.5); }
.pc-tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pc-tc { position: relative; display: flex; flex-direction: column; gap: 1.15rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,.12); border-radius: .25rem; transition: border-color .4s, background .4s; min-width: 0; }
.pc-tc:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.02); }
.pc-tc-hit { position: absolute; inset: 0; z-index: 1; }
.pc-tc-copy, .pc-tc-btn { position: relative; z-index: 2; }
.pc-tc-id { display: flex; gap: 1rem; align-items: center; min-width: 0; }
.pc-tc-art { width: 3.75rem; height: 3.75rem; flex: none; border-radius: .25rem; overflow: hidden; background: rgba(255,255,255,.05); }
.pc-tc-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-tc-art.is-mark { background: none; }
.pc-tc-art.is-mark img { object-fit: contain; }
.pc-tc-art.is-lg { width: 5.5rem; height: 5.5rem; }
.pc-tc-title { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.pc-tc-name { display: flex; align-items: center; gap: .4rem; font-size: 1.35rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-tc-open { display: inline-flex; opacity: .4; transition: opacity .3s, transform .3s; }
.pc-tc:hover .pc-tc-open { opacity: 1; transform: translateX(.2rem); }
.pc-tc-chip { display: inline-flex; align-items: center; gap: .5em; color: rgba(255,255,255,.55); }
.pc-tc-dot { width: .45rem; height: .45rem; border-radius: 50%; background: rgba(255,255,255,.35); }
.pc-tc-chip.is-on { color: inherit; }
.pc-tc-chip.is-on .pc-tc-dot { background: var(--color--blue, #5595ff); box-shadow: 0 0 0 .2rem rgba(85,149,255,.18); }
.pc-tc-desc { margin: 0; color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.pc-tc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.pc-tc-stats div { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.pc-tc-stats b { font-weight: 400; font-size: 1.25rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-tc-curve { display: flex; flex-direction: column; gap: .55rem; }
.pc-tc-row { display: flex; justify-content: space-between; }
.pc-tc-bar { height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.pc-tc-bar i { display: block; height: 100%; background: var(--color--blue, #5595ff); transition: width .8s cubic-bezier(.19,1,.22,1); }
.pc-tc-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; }
.pc-tc-badge { margin-left: .4em; padding: .2em .6em; border: 1px solid rgba(255,255,255,.24); border-radius: 100rem; }
.pc-tc-copy { background: none; border: 0; color: rgba(255,255,255,.55); font: inherit; cursor: pointer; padding: 0; transition: color .3s; }
.pc-tc-copy:hover { color: inherit; }
.pc-tc.is-pin { border-color: rgba(85,149,255,.55); }
.pc-tc.is-invite { grid-column: span 2; justify-content: center; gap: 1.25rem; padding: 2.5rem; }
.pc-tc-invite-title { margin: 0; font-family: "Field Gothic", Arial, sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: .9; }
.pc-tc.is-none { grid-column: 1 / -1; padding: 2.5rem; }
.pc-tc-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .5em; padding: .95em 1.5em; border: 1px solid rgba(255,255,255,.24); border-radius: 100rem; color: inherit; background: none; font: inherit; font-weight: 600; font-size: .875rem; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pc-tc-btn:hover { background: var(--color--light, #fff); color: var(--color--dark, #121212); border-color: transparent; }
.pc-feed-more { display: flex; justify-content: center; margin-top: 2rem; }
.pc-feed-more:empty { display: none; }
[data-theme="light"] .pc-tc, [data-theme="light"] .pc-feed-bar, [data-theme="light"] .pc-tc-stats { border-color: rgba(0,0,0,.12); }
[data-theme="light"] .pc-tc-desc, [data-theme="light"] .pc-tc-chip, [data-theme="light"] .pc-tc-copy { color: rgba(0,0,0,.6); }
[data-theme="light"] .pc-feed-tab, [data-theme="light"] .pc-tc-btn, [data-theme="light"] .pc-feed-search input { border-color: rgba(0,0,0,.24); }
[data-theme="light"] .pc-tc-bar { background: rgba(0,0,0,.12); }
@media screen and (max-width: 991px) { .pc-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 640px) { .pc-tgrid { grid-template-columns: 1fr; } .pc-tc.is-invite { grid-column: auto; padding: 1.75rem; } .pc-feed-search { max-width: none; } }

/* the mark: header, about overlay */
.nav-brand { display: flex !important; align-items: center; gap: .7em; width: auto !important; }
.nav-brand .embed-logo { width: var(--nav--brand-width); flex: none; }
.pc-mark { height: 2.1em; width: auto; flex: none; margin: -.6em 0; }
.pc-mark-about { display: block; width: 5.5rem; height: auto; margin-top: 2.5rem; }
[data-theme="light"] .pc-mark, [data-theme="light"] .pc-mark-about, [data-theme="light"] .pc-tc-art.is-mark img { filter: invert(1); }

@media screen and (max-width: 479px) { .nav-brand .embed-logo { display: none; } .pc-mark { height: 2.4em; } }
