/* Partypix — responsive shell */
:root {
  --pp-bg: #0d0d0d;
  --pp-surface: #1a1a1a;
  --pp-surface2: #262626;
  --pp-text: #e8e8e8;
  --pp-muted: #9a9a9a;
  --pp-accent: #da006e;
  --pp-accent2: #ff478e;
  --pp-border: #333;
  --pp-max: 800px;
  /* Logo 75px tall + 8px vertical padding each side */
  --pp-header-h: 91px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, sans-serif;
  background: var(--pp-bg);
  color: var(--pp-text);
  line-height: 1.45;
}

a {
  color: var(--pp-accent2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.pp-skip {
  position: absolute;
  left: -9999px;
}

.pp-skip:focus {
  left: 8px;
  top: 8px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--pp-accent);
  color: #fff;
}

.pp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
}

.pp-header__inner {
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 8px 12px;
  min-height: var(--pp-header-h);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  row-gap: 8px;
}

@media (min-width: 768px) {
  .pp-header__inner {
    flex-wrap: nowrap;
  }
}

.pp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pp-text);
  text-decoration: none;
}

.pp-logo:hover {
  color: var(--pp-accent2);
  text-decoration: none;
}

.pp-logo img {
  width: 195px;
  height: 75px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .pp-logo img {
    width: min(195px, calc(100vw - 7rem));
    height: auto;
    aspect-ratio: 195 / 75;
    object-fit: contain;
  }
}

.pp-nav-toggle {
  margin-left: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--pp-border);
  background: var(--pp-surface);
  color: var(--pp-text);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* Drawn bars — avoids Unicode ☰ vertical misalignment across fonts / zoom */
.pp-nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 1.35rem;
  box-sizing: border-box;
}

.pp-nav-toggle__bar {
  display: block;
  height: 2px;
  flex: 0 0 2px;
  background: currentColor;
  border-radius: 1px;
}

@media (min-width: 768px) {
  .pp-nav-toggle {
    display: none;
  }
}

.pp-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--pp-header-h);
  background: var(--pp-surface);
  border-bottom: 1px solid var(--pp-border);
  padding: 12px;
  flex-direction: column;
  gap: 4px;
}

.pp-nav.is-open {
  display: flex;
}

@media (min-width: 768px) {
  .pp-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-left: 24px;
    border: 0;
    background: transparent;
    flex: 1;
  }
}

.pp-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--pp-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pp-nav a:hover {
  background: var(--pp-surface2);
  text-decoration: none;
  color: var(--pp-accent2);
}

.pp-nav a[aria-current="page"] {
  background: var(--pp-accent);
  color: #fff;
}

.pp-main {
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 4px 2px 18px;
}

.pp-footer {
  border-top: 1px solid var(--pp-border);
  padding: 24px 12px;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--pp-muted);
}

.pp-footer__inner {
  max-width: var(--pp-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.pp-footer a {
  color: var(--pp-muted);
}

.pp-ad {
  margin: 8px 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pp-surface);
  border-radius: 8px;
  overflow: hidden;
}

.pp-ad--leader {
  min-height: 100px;
}

.pp-layout {
  display: block;
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 0px;
}

.pp-layout > .pp-main {
  max-width: none;
  margin: 0;
  padding: 8px 0 48px;
}

/* Sidebar ads: desktop only (policy-friendly mobile) */
@media (max-width: 1023px) {
  .pp-sidebar {
    display: none !important;
  }
}

/* Sidebar below main (not beside): with --pp-max 800px, a 300px column made main ~476px wide. */
@media (min-width: 1024px) {
  .pp-sidebar .pp-ad {
    position: sticky;
    top: calc(var(--pp-header-h) + 16px);
  }
}

.pp-page-title {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  margin: 0 0 2px;
  font-weight: 700;
  color: #da006e;
}

.pp-meta {
  color: var(--pp-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
  margin-top: 4px;
}

.pp-meta a {
  color: #0e9dd9;
}

.pp-meta a:visited {
  color: #0e9dd9;
}

.pp-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

/* med_main_image_1.jpg — 130×130 px, do not scale up */
.pp-album-grid--album-list {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.pp-album-grid--album-list .pp-card__thumb--album-cover {
  width: 130px;
  max-width: 100%;
  height: 130px;
  max-height: 130px;
  margin-inline: auto;
  aspect-ratio: 1;
}

.pp-album-grid--album-list .pp-card__thumb--album-cover img {
  width: 130px;
  height: 130px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.pp-card {
  background: var(--pp-surface2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--pp-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pp-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pp-card a:hover {
  text-decoration: none;
}

.pp-card__thumb {
  aspect-ratio: 1;
  background: #111;
  overflow: hidden;
}

.pp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pp-card__title {
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 3.2em;
  text-align: center;
  color: #ff478e;
}

.pp-card--year-tile .pp-card__title {
  min-height: unset;
}

.pp-card__hub-static {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.pp-card--hub-placeholder {
  opacity: 0.96;
}

.pp-card__desc {
  padding: 0 10px 10px;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--pp-muted);
}

.pp-card__desc p {
  margin: 0 0 0.5em;
}

.pp-card__desc p:last-child {
  margin-bottom: 0;
}

.pp-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  font-size: 0.9rem;
}

.pp-pagination a {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--pp-surface2);
  color: var(--pp-text);
}

.pp-pagination a:hover {
  background: var(--pp-accent);
  color: #fff;
  text-decoration: none;
}

.pp-pagination a.is-current {
  background: var(--pp-accent);
  color: #fff;
}

.pp-load-more-wrap {
  margin: 24px 0 12px;
  text-align: center;
}

.pp-load-more {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--pp-surface2);
  color: var(--pp-text);
}

.pp-load-more:hover:not(:disabled) {
  background: var(--pp-accent);
  color: #fff;
}

.pp-load-more:disabled {
  opacity: 0.7;
  cursor: wait;
}

.pp-load-more-status {
  margin-top: 10px;
  color: var(--pp-text-muted, #888);
}

/* Album page photo thumbs: img drawn at 88x88, centered inside 84×84 overflow — crops 2px per edge.
   Grid: max 8 columns; gap is even; track min grows so wide viewports never exceed 8 cols (see minmax). */
.pp-thumb-grid {
  --pp-thumb-gap: clamp(6px, 1.2vw, 12px);
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(
    auto-fill,
    minmax(
      max(84px, calc((100% - 7 * var(--pp-thumb-gap)) / 8)),
      1fr
    )
  );
  gap: var(--pp-thumb-gap);
  justify-items: center;
  align-content: start;
  background: #525155;
  padding: 2px 0px;
  border-radius: 4px;
}

@media (min-width: 500px) {
  .pp-thumb-grid {
    padding: 6px 4px;
    border-radius: 10px;
  }
}

@media (min-width: 750px) {
  .pp-thumb-grid {
    padding: 8px 12px;
    border-radius: 10px;
  }
}

.pp-thumb-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  overflow: hidden;
  box-sizing: border-box;
}

/* image.php: med area 520x346 (taller meds crop inside); border JPGs; scales as one unit (560×406) */
.pp-image-viewer-frame {
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  line-height: 0;
  font-size: 0;
}

.pp-image-viewer-frame__top img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 20;
  object-fit: fill;
}

/* Body row: 20 + 520 + 20 wide, 386px tall at full scale — height tracks width via aspect-ratio */
.pp-image-viewer-frame__body {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 386;
  box-sizing: border-box;
}

.pp-image-viewer-frame__side {
  flex: 0 0 calc(100% * 20 / 560);
  min-width: 0;
  overflow: hidden;
  line-height: 0;
  background: #111;
  align-self: stretch;
}

.pp-image-viewer-frame__side img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  margin: 0;
  padding: 0;
}

.pp-image-viewer-frame__column {
  flex: 0 0 calc(100% * 520 / 560);
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  align-self: stretch;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
  background: #111;
}

/* 346 : 40 photo vs bottom border strip */
.pp-image-viewer-frame__bottom {
  flex: 40 0 0;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.pp-image-viewer-frame__bottom img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: fill;
  margin: 0;
  padding: 0;
}

/*
 * Med slot is 520×346 at full scale; some older med files are 520×390 (taller).
 * Keep the frame height at 346; object-fit: cover + object-position favors less crop at bottom
 * (for 390 vs 346: 10px from image bottom, rest from top).
 */
.pp-image-viewer__photo-stack {
  position: relative;
  flex: 346 0 0;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.pp-image-viewer__img--under {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 520×390 in 346px-tall slot: 44px overflow → 34px top / 10px bottom (not centered 22/22) */
  object-position: center 77.273%;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.pp-image-viewer__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 77.273%;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* image.php viewer shell (no fixed min-height — frame scales by width; avoids empty gap on mobile) */
#gallery {
  background: #313131;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

#gallery .pp-gallery__nav {
  margin: 0;
  padding: 14px 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  line-height: 0;
}

#gallery .pp-gallery__nav .pp-gallery__btn {
  display: inline-flex;
  line-height: 0;
}

#gallery .pp-gallery__nav .pp-gallery__btn img {
  height: 30px;
  object-fit: contain;
  cursor: pointer;
  display: block;
}

#gallery .pp-gallery__nav .pp-gallery__btn--prev img,
#gallery .pp-gallery__nav .pp-gallery__btn--next img {
  width: 35px;
}

#gallery .pp-gallery__nav .pp-gallery__btn--autoplay img,
#gallery .pp-gallery__nav .pp-gallery__btn--list img {
  width: 44px;
}

#gallery .pp-gallery__preload {
  display: none !important;
}

#gallery .pp-ad--below-viewer {
  margin: 16px 8px 12px;
  max-width: 100%;
  box-sizing: border-box;
}

/* image.php AJAX target: frame scales to viewport; no horizontal jog */
#currentpic,
#gallery .pp-gallery__current {
  overflow-x: hidden;
  max-width: 100%;
  min-height: 0;
  padding: 0 8px 16px;
  box-sizing: border-box;
}

/* image.php “Get a bigger version by e-mail” form */
#sendmailForm {
  background: #313131;
  padding: 16px;
  border-radius: 10px;
  margin: 24px auto;
  max-width: 400px;
  box-sizing: border-box;
}

#sendmailForm table.pp-desc {
  background: transparent;
  margin: 0;
  padding: 0;
}

.pp-thumb-grid a img {
  width: 88px;
  height: 88px;
  max-width: none;
  max-height: none;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Below 400px: force 4 equal columns; thumbs fill square cells (object-fit cover). */
@media (max-width: 399px) {
  .pp-thumb-grid {
    --pp-thumb-gap: 0px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: stretch;
  }

  .pp-thumb-grid a {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    position: relative;
  }

  .pp-thumb-grid a img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 5px;
    display: block;
  }
}

.pp-select {
  margin: 8px 0;
  max-width: 100%;
  text-align: center;
}

.pp-select select {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--pp-border);
  background: var(--pp-surface);
  color: var(--pp-text);
  font-size: 1rem;
}

/* Banner source 900×450 (2:1); box is wider (3:1) so top/bottom crop via object-fit */
.pp-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--pp-surface);
  aspect-ratio: 3 / 1;
  width: 100%;
}

.pp-hero img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Float image: copy runs beside it first; lines that start below the image use full width */
.pp-year-banner {
  display: flow-root;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 12px;
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
}

.pp-year-banner__media {
  float: left;
  margin-right: clamp(10px, 2.5vw, 8px);
  margin-bottom: clamp(6px, 1.5vw, 4px);
  border-radius: 8px;
  overflow: hidden;
  shape-outside: margin-box;
}

.pp-year-banner__media img {
  width: 130px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pp-year-banner__text {
  min-width: 0;
}

.pp-year-banner__desc {
  margin-bottom: 0;
}

.pp-year-banner__desc p {
  margin: 0 0 0.5em;
}

.pp-year-banner__desc p:last-child {
  margin-bottom: 0;
}

/* Float cover: title + description beside it first; lines below the cover use full width */
.pp-album-header {
  display: flow-root;
  margin-bottom: 8px;
}

.pp-album-header__text {
  min-width: 0;
}

.pp-album-header__text .pp-page-title {
  margin-top: 0;
  margin-bottom: 2px;
}

.pp-album-header__text .pp-desc {
  margin-bottom: 0;
}

.pp-album-header__text .pp-desc p:last-child {
  margin-bottom: 0;
}

.pp-album-meta {
  margin: 1.25rem 0;
  padding: 16px;
  border-radius: 12px;
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
}

.pp-album-meta .pp-subhead {
  margin-top: 0;
}

.pp-album-meta__block + .pp-album-meta__block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pp-border);
}

.pp-album-meta__name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #0e9dd9;
}

.pp-album-cover {
  float: left;
  width: clamp(96px, 28vw, 130px);
  margin-right: clamp(10px, 2.5vw, 14px);
  margin-bottom: clamp(6px, 1.5vw, 10px);
  border-radius: 12px;
  overflow: hidden;
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  shape-outside: margin-box;
}

.pp-album-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.pp-subhead {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 8px 0 8px;
  color: var(--pp-text);
}

.pp-year-pick-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* Year p{yyyy}.jpg assets are 130×80 px; intrinsic AR kept when scaling */
.pp-card__thumb--year-cover {
  aspect-ratio: 130 / 80;
  max-width: 130px;
}

/* Archive /pix year tiles: thumb spans card width, same 130:80 proportions */
.pp-year-pick-grid .pp-card__thumb--year-cover {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.pp-card__thumb--year-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-home-columns {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .pp-home-columns {
    grid-template-columns: 200px 1fr;
  }
}

.pp-album-list-mini {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-album-list-mini li {
  border-bottom: 1px solid var(--pp-border);
}

.pp-album-list-mini a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  align-items: center;
  color: var(--pp-text);
}

.pp-album-list-mini a:hover {
  color: var(--pp-accent2);
}

.pp-album-list-mini img.pp-year-p-cover {
  width: 130px;
  height: 80px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
}

.pp-album-list-mini img.pp-album-thumb-mini {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
}

/* Home: archive hub rows (galleries table; same data as /pix) */
.pp-home-hub-list .pp-home-hub-row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

a.pp-home-hub-row:hover {
  color: var(--pp-accent2);
  text-decoration: none;
}

.pp-home-hub-row--nolink {
  cursor: default;
  opacity: 0.96;
}

.pp-home-hub-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #da006e;
}

.pp-home-hub-desc {
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--pp-muted);
}

.pp-home-hub-desc p {
  margin: 0 0 0.4em;
}

.pp-home-hub-desc p:last-child {
  margin-bottom: 0;
}

.pp-desc {
  background: var(--pp-surface2);
  padding: 4px;
  border-radius: 10px;
  font-size: 0.95rem;
}

/* Legacy album / viewer context bar (below site header; table-free) */
.pp-ctxbar {
  width: 100%;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pp-ctxbar__inner {
  max-width: var(--pp-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
}

.pp-ctxbar__top {
  display: flex;
  width: 100%;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  overflow: hidden;
  box-sizing: border-box;
}

.pp-ctxbar__mint {
  flex: 0 0 138px;
  max-width: 38%;
  background: #00e025;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px 0 6px;
  text-align: right;
  text-transform: uppercase;
  box-sizing: border-box;
}

.pp-ctxbar__mint-inner {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  line-height: 18px;
}

.pp-ctxbar__pink {
  flex: 1;
  min-width: 0;
  background: #da006e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px;
  text-align: right;
  box-sizing: border-box;
}

.pp-ctxbar__title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  text-transform: uppercase;
  line-height: 18px;
}

h1.pp-ctxbar__title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  letter-spacing: inherit;
}

.pp-ctxbar__nav {
  display: flex;
  align-items: center;
  width: 100%;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #1a1a1a;
  background-image: url("../../skin/images/tableh1_bg.png");
  background-repeat: repeat-x;
  background-position: top center;
}

.pp-ctxbar__bullet {
  flex: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
}

.pp-ctxbar__bullet img {
  display: block;
  max-width: 9px;
  max-height: 9px;
  width: auto;
  height: auto;
}

.pp-ctxbar__back {
  /* Natural width; shares row with .pp-ctxbar__pages (flex: 1). No fixed % max-width — that truncated
     the back link while the pages strip still had free space. Ellipsis only when the row truly overflows. */
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 8px 0 4px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 18px;
  height: 18px;
  overflow: hidden;
}

.pp-ctxbar__back a {
  color: #d3d3d3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  max-height: 18px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-ctxbar__back a:hover {
  color: #fff;
  text-decoration: underline;
}

.pp-ctxbar__up {
  flex-shrink: 0;
  width: auto;
  height: 12px;
  max-height: 12px;
  vertical-align: middle;
}

.pp-ctxbar__pages {
  /* Fill space after bullet + back; scroll if many page links on very narrow viewports */
  flex: 1 1 0;
  min-width: 0;
  text-align: right;
  padding: 0 6px 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 18px;
  height: 18px;
}

.pp-ctxbar__page-pfx {
  color: #d3d3d3;
  margin-right: 4px;
}

.pp-ctxbar__pages a {
  color: #d3d3d3;
  margin-left: 8px;
  text-decoration: none;
}

.pp-ctxbar__pages a:first-of-type {
  margin-left: 0;
}

.pp-ctxbar__pages a:hover {
  color: #fff;
  text-decoration: underline;
}

.pp-ctxbar__pages a.is-current,
.pp-ctxbar__pages a[aria-current="page"] {
  color: #00e025;
  cursor: default;
  text-decoration: none;
}

@media (max-width: 480px) {
  .pp-ctxbar__mint {
    flex-basis: 100px;
    font-size: 0.62rem;
  }
}
