:root {
  /* WP-admin inspired light shell */
  --bg: #f0f0f1;
  --bg-elev: #ffffff;
  --surface: #f6f7f7;
  --fg: #1d2327;
  --muted: #646970;
  --accent: #2271b1;
  --accent-soft: rgba(34, 113, 177, 0.08);
  --accent-glow: rgba(34, 113, 177, 0.12);
  --green: #00a32a;
  --glass: rgba(255, 255, 255, 0.92);
  --glass-border: #c3c4c7;
  --danger: #d63638;
  --danger-soft: rgba(214, 54, 56, 0.1);
  --red: #d63638;
  --pink: #c9356e;
  --blue: #2271b1;
  --wp-dark: #1d2327;
  --wp-dark-2: #2c3338;
  --wp-blue: #2271b1;
  --wp-blue-hover: #135e96;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --pl-width: 1140px;
  --pl-pad: 1.35rem;
}

/* Admin: WordPress-light (inherits :root) */
.ap-body,
.admin-body {
  --bg: #f0f0f1;
  --bg-elev: #ffffff;
  --surface: #f6f7f7;
  --fg: #1d2327;
  --muted: #646970;
  --accent: #2271b1;
  --accent-soft: rgba(34, 113, 177, 0.08);
  --glass-border: #c3c4c7;
  --danger: #d63638;
  --danger-soft: rgba(214, 54, 56, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.text-muted {
  color: var(--muted) !important;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: auto;
}

.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.glass,
.glass-nav,
.glass-modal,
.glass-card {
  background: var(--bg-elev);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass-nav {
  border-radius: 0;
  border: 0;
  background: #14181c;
  box-shadow: none;
}

.glass-nav .container,
.site-footer .container {
  max-width: var(--pl-width);
  padding-left: 0;
  padding-right: 0;
}

.glass-nav .container.pl-nav {
  padding-left: var(--pl-pad);
  padding-right: var(--pl-pad);
}

.pl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: none;
  width: 100%;
}

.pl-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem 1.5rem;
  margin-left: auto;
}

.glass-nav .pl-nav-links .nav-link {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0 !important;
  white-space: nowrap;
  background: transparent !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  line-height: 1.2;
  transition: color .15s ease, border-color .15s ease, opacity .15s ease;
  opacity: 1;
}

.glass-nav .pl-nav-links .nav-link:hover,
.glass-nav .pl-nav-links .nav-link:focus {
  color: #fff !important;
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.55) !important;
}

.glass-nav .pl-nav-links .lang-link {
  color: rgba(255, 255, 255, 0.78) !important;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.15rem;
  width: auto;
  height: auto;
  padding: 0.35rem 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  border-bottom: 1px solid transparent !important;
}

.glass-nav .pl-nav-links .lang-link i {
  font-size: 1.05rem;
  line-height: 1;
}

.glass-nav .pl-nav-links .lang-link:hover,
.glass-nav .pl-nav-links .lang-link:focus {
  color: #fff !important;
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.55) !important;
}

.navbar-brand.brand {
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
  color: var(--accent) !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-brand.brand .brand-title {
  color: var(--accent);
}

.navbar-brand.brand .brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.15rem;
  line-height: 1.2;
}

.navbar-brand.brand:hover {
  color: var(--accent) !important;
  opacity: 0.9;
}

.navbar-brand.brand:hover .brand-sub {
  color: #c0c0c0;
}

.nav-link,
.nav-link.btn {
  color: var(--muted) !important;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem !important;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.btn:hover {
  color: var(--fg) !important;
  background: var(--surface);
}

.lang-link {
  font-weight: 500;
}

.text-accent {
  color: var(--accent) !important;
}

.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--wp-blue);
  --bs-btn-border-color: var(--wp-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--wp-blue-hover);
  --bs-btn-hover-border-color: var(--wp-blue-hover);
  --bs-btn-focus-shadow-rgb: 34, 113, 177;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a4b78;
  --bs-btn-active-border-color: #0a4b78;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: none;
}

.btn-accent-warm {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--wp-blue-hover);
  --bs-btn-hover-border-color: var(--wp-blue-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a4b78;
  --bs-btn-active-border-color: #0a4b78;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: none;
}

.ap-body .btn-accent,
.admin-body .btn-accent,
.ap-body .btn-accent-warm,
.admin-body .btn-accent-warm {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--wp-blue);
  --bs-btn-border-color: var(--wp-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--wp-blue-hover);
  --bs-btn-hover-border-color: var(--wp-blue-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a4b78;
  --bs-btn-active-border-color: #0a4b78;
}

.btn {
  border-radius: var(--radius);
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--glass-border);
  color: var(--fg);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--fg);
  border-color: #8c8f94;
}

.ap-body .btn-ghost,
.admin-body .btn-ghost {
  background: #fff;
}

.ap-body .btn-ghost:hover,
.admin-body .btn-ghost:hover {
  background: var(--surface);
  border-color: #8c8f94;
}

.btn-danger-soft {
  background: var(--danger-soft);
  border: 1px solid rgba(237, 73, 86, 0.28);
  color: #ed4956;
}

.btn-danger-soft:hover {
  background: rgba(237, 73, 86, 0.2);
  color: #ff6b78;
  border-color: rgba(237, 73, 86, 0.45);
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
  animation: fadeUp 0.65s ease both;
}

.hero-card {
  width: min(480px, 100%);
  padding: 2.5rem 1.75rem;
  text-align: center;
  background: var(--bg-elev);
}

.hero-card .label {
  display: block;
  font-size: clamp(1.45rem, 5.5vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--fg);
  line-height: 1.2;
}

.hero-hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.id-input {
  background: #000;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.id-input:focus {
  background: #000;
  border-color: #555;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
  color: var(--fg);
  outline: none;
}

.id-input::placeholder {
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  color: #555;
  font-size: 0.95rem;
}

.page-wrap {
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  padding: 1.75rem var(--pl-pad) 3rem;
  animation: fadeUp 0.5s ease both;
}

.page-wrap .glass-card {
  background: #fff;
  box-shadow: var(--shadow);
}

.page-title {
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.page-sub {
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.page-sub.id-line,
.page-sub.id-line .id-prefix {
  color: var(--fg);
}

.alert-banner {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--wp-blue);
  color: var(--fg);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.15rem;
  font-weight: 560;
  text-align: left;
  box-shadow: none;
}

.alert-gone {
  background: #fcf0f1;
  border-color: #f0b7b9;
  border-left-color: var(--danger);
  color: var(--danger);
}

/* Media — fotokurve grid + options menu */
.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

@media (min-width: 700px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

.media-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #000;
  border-color: var(--glass-border);
}

.media-preview {
  background: #0a0a0a;
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  position: relative;
}

.media-preview.is-video {
  aspect-ratio: 16 / 10;
}

.media-preview img,
.media-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.media-card.is-paid .media-preview img,
.media-card.is-paid .media-preview video {
  filter: none;
}
.media-card.is-paid .media-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 1;
}

.media-preview img.fk-fade,
.gallery-item img.fk-fade,
.fk-lightbox img {
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.35s ease;
}

.media-preview img.fk-fade.is-loaded,
.gallery-item img.fk-fade.is-loaded,
.fk-lightbox img.is-loaded {
  opacity: 1;
}

.media-preview.is-loading,
.gallery-item.is-loading,
.fk-lightbox.is-loading {
  isolation: isolate;
}

.fk-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(110deg, #111 8%, #1c1c1c 18%, #111 33%);
  background-size: 200% 100%;
  animation: fkShimmer 1.35s ease-in-out infinite;
}

.fk-loader::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.1rem;
  height: 2.1rem;
  margin: -1.05rem 0 0 -1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.75);
  animation: fkSpin 0.75s linear infinite;
}

.media-preview:not(.is-loading) > .fk-loader,
.gallery-item:not(.is-loading) > .fk-loader,
.fk-lightbox:not(.is-loading)::before {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.fk-lightbox.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.4rem;
  height: 2.4rem;
  margin: -1.2rem 0 0 -1.2rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.75);
  animation: fkSpin 0.75s linear infinite;
  z-index: 1;
}

@keyframes fkShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes fkSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .fk-loader,
  .fk-loader::after,
  .fk-lightbox.is-loading::before {
    animation: none;
  }
  .media-preview img.fk-fade,
  .gallery-item img.fk-fade,
  .fk-lightbox img {
    opacity: 1;
    transition: none;
  }
}

.media-preview img {
  cursor: zoom-in;
}

.media-card:hover .media-preview img.is-loaded {
  transform: scale(1.02);
}

.media-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.media-card:hover .media-overlay,
.media-card:focus-within .media-overlay,
.media-card.is-menu-open .media-overlay {
  opacity: 1;
}

@media (hover: none) {
  .media-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
  }
}

.media-menu {
  position: relative;
  pointer-events: auto;
}

.media-dl,
.media-menu-btn {
  pointer-events: auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
  margin-left: auto;
}

.media-dl:hover,
.media-menu-btn:hover,
.media-card.is-menu-open .media-menu-btn {
  background: #fff;
  color: #111;
  transform: scale(1.05);
}

.media-menu-btn i {
  font-size: 1.15rem;
  line-height: 1;
}

.media-menu-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.45rem);
  min-width: 9.5rem;
  padding: 0.35rem;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 5;
}

.media-menu-panel[hidden] {
  display: none !important;
}

.media-menu-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fafafa;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
}

.media-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.media-menu-item i {
  font-size: 1rem;
  width: 1.1rem;
  text-align: center;
}

.media-menu-item.media-vote.is-on {
  color: #34c759;
}

.media-menu-item.media-vote.is-on.down {
  color: #ff453a;
}

.media-meta {
  display: none;
}

.media-lock,
.media-paid-note {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1rem;
  color: #fff;
  text-align: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.28);
}

.media-lock i,
.media-paid-note i {
  font-size: 1.35rem;
  color: #fff;
  line-height: 1;
}

.media-lock-title,
.media-lock span:first-of-type {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.media-lock-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.media-bar,
.media-toolbar {
  display: none !important;
}

.viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.35rem;
}

.viewer-actions.bottom {
  margin-top: 2rem;
  justify-content: center;
}

.viewer-actions .btn {
  border-radius: 8px;
  font-weight: 550;
  letter-spacing: 0.01em;
  padding: 0.48rem 1.05rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.viewer-actions .btn-ghost {
  background: #fff;
  border: 1px solid #c3c4c7;
  color: #1d2327;
}

.viewer-actions .btn-ghost:hover,
.viewer-actions .btn-ghost:focus {
  background: #f6f7f7;
  border-color: #8c8f94;
  color: #1d2327;
}

.viewer-actions .btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: #2c3338;
  --bs-btn-border-color: #2c3338;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1d2327;
  --bs-btn-hover-border-color: #1d2327;
  box-shadow: none;
}

.viewer-actions .btn-accent:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.viewer-actions .btn-danger-soft {
  background: #fff;
  border: 1px solid #e2a7a8;
  color: #d63638;
}

.viewer-actions .btn-danger-soft:hover {
  background: #fbf0f0;
  border-color: #d63638;
  color: #b32d2e;
}

.viewer-actions .cart-badge {
  background: #fff;
  color: #1d2327;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (min-width: 768px) {
  .gallery-grid {
    gap: 3px;
  }
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  cursor: zoom-in;
  border: 0;
  border-radius: 0;
  background: #111;
  transition: opacity 0.2s ease;
  position: relative;
}

.gallery-item:hover {
  opacity: 0.92;
  transform: none;
  box-shadow: none;
}

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

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 0.55rem;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
}

.legal-content .legal-lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
}

.legal-content h2 {
  font-size: 1.05rem;
  margin-top: 1.85rem;
  margin-bottom: 0.55rem;
  color: var(--fg);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 1rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-content a {
  color: var(--wp-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--wp-blue-hover);
}

/* Join / become a creator */
.join-page {
  background: #fff;
  color: var(--fg);
}
.join-hero {
  position: relative;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.join-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.join-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.02);
}
.join-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.78) 0%, rgba(12, 14, 16, 0.45) 52%, rgba(12, 14, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(12, 14, 16, 0.25) 0%, rgba(12, 14, 16, 0.72) 100%);
  pointer-events: none;
}
.join-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  padding: 4.5rem var(--pl-pad) 3rem;
}
.join-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.join-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 12ch;
  color: #fff;
}
.join-lead {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.join-hero-actions,
.join-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.join-hero .btn-accent {
  background: #fff;
  border-color: #fff;
  color: #1d2327;
}
.join-hero .btn-accent:hover {
  background: #e8eaed;
  border-color: #e8eaed;
  color: #000;
}
.join-hero-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.join-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.join-section {
  padding: 3rem 0 3.25rem;
  border-top: 1px solid #e8eaed;
}
.join-section-alt {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(34, 113, 177, 0.07), transparent 50%),
    #f6f7f7;
  border-top: 0;
  border-bottom: 1px solid #e8eaed;
}
.join-section-inner {
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  padding: 0 var(--pl-pad);
}
.join-section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.join-section-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.join-section-head p {
  margin: 0;
  color: #50575e;
  line-height: 1.6;
  font-size: 1.02rem;
}
.join-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.join-step {
  position: relative;
  padding: 1.25rem 1.15rem 1.3rem;
  background: #fafbfb;
  border: 1px solid #e4e6e8;
  border-radius: 12px;
}
.join-step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 113, 177, 0.1);
  color: var(--wp-blue);
  font-size: 0.75rem;
  font-weight: 700;
}
.join-step-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d2327;
  color: #fff;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}
.join-step strong {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.join-step p {
  margin: 0;
  color: #50575e;
  line-height: 1.55;
  font-size: 0.95rem;
}
.join-money .join-section-head {
  margin-bottom: 1.25rem;
}
.join-split-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.join-fact {
  padding: 1.25rem 1.25rem 1.3rem;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 12px;
}
.join-fact-accent {
  border-color: rgba(34, 113, 177, 0.28);
  background: linear-gradient(160deg, #fff 0%, rgba(34, 113, 177, 0.06) 100%);
}
.join-fact-value {
  margin: 0 0 0.4rem;
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.join-fact-accent .join-fact-value {
  color: var(--wp-blue);
}
.join-fact-label {
  margin: 0;
  color: #50575e;
  line-height: 1.5;
  font-size: 0.95rem;
}
.join-note {
  margin: 0;
  max-width: 44rem;
  color: #646970;
  font-size: 0.95rem;
  line-height: 1.55;
}
.join-reqs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.join-reqs li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid #e4e6e8;
  border-radius: 12px;
  background: #fafbfb;
  color: var(--fg);
  font-weight: 550;
  line-height: 1.4;
}
.join-reqs i {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d2327;
  color: #fff;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.join-cta {
  padding: 3.25rem var(--pl-pad) 3.75rem;
  background: #1d2327;
  color: #f0f0f1;
  text-align: left;
}
.join-cta-inner {
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  max-width: 40rem;
}
.join-cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.join-cta p {
  margin: 0 0 1rem;
  color: rgba(240, 240, 241, 0.72);
  line-height: 1.6;
  font-size: 1.02rem;
}
.join-mail {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.join-mail:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.join-cta .btn-accent {
  background: #fff;
  border-color: #fff;
  color: #1d2327;
}
.join-cta .btn-accent:hover {
  background: #e8eaed;
  border-color: #e8eaed;
  color: #000;
}
.join-cta .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.join-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
@media (max-width: 800px) {
  .join-hero {
    min-height: min(68vh, 480px);
  }
  .join-steps,
  .join-split-facts,
  .join-reqs {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .join-hero-inner {
    padding-top: 3.5rem;
    padding-bottom: 2.25rem;
  }
  .join-hero-actions .btn,
  .join-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.site-footer {
  padding: 0 0 2rem;
  background: #14181c;
  border-top: 1px solid #2c3338;
  color: #c3c4c7;
}

.footer-inner {
  padding: 1.25rem var(--pl-pad) 0.5rem;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: var(--pl-width);
  margin: 0 auto;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
  color: #f0f0f1;
}

.footer-tag {
  color: #8c8f94;
  font-size: 0.8rem;
}

.footer-links a {
  color: #a7aaad;
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0 0.55rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links .sep {
  display: none;
}

.footer-links a.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-size: 0.95rem;
}

.footer-links a.lang-switch:hover {
  color: #fff;
}

.message-area {
  min-height: 180px;
  resize: vertical;
}

.album-note-text {
  color: var(--fg);
  line-height: 1.65;
  white-space: pre-wrap;
}

.text-success {
  color: #7dcea0 !important;
}

.glass-modal {
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--glass-border);
}

.glass-modal .modal-body p {
  color: var(--muted);
  line-height: 1.65;
}

.ap-body .glass-modal,
.admin-body .glass-modal {
  background: #fff;
  color: var(--fg);
}

.license-note {
  color: var(--muted) !important;
  font-size: 0.88rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

/* Lightbox */
.fk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 1rem;
  cursor: zoom-out;
}

.fk-lightbox.is-open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.fk-lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.fk-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fk-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.fk-lightbox-dl {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}

/* Admin */
.admin-body {
  background: #000;
  color: var(--fg);
}

.admin-body .brand {
  color: var(--fg);
}

.admin-wrap {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  position: relative;
  z-index: 1;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.admin-nav .btn-accent {
  background: #fafafa;
  color: #111;
  border-color: #fafafa;
}

.admin-card-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-card-value {
  color: var(--fg);
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.admin-help {
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.2rem;
  margin: 0;
}

.admin-help li {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.admin-help strong {
  color: var(--fg);
  font-weight: 600;
}

.pin-card {
  width: min(380px, 100%);
  margin: 12vh auto;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pin-input {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 650;
}

.table-dark-custom {
  --bs-table-bg: transparent;
  --bs-table-color: var(--fg);
  --bs-table-border-color: var(--glass-border);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
}

.form-control,
.form-select {
  background: #fff;
  border: 1px solid #8c8f94;
  color: var(--fg);
  border-radius: var(--radius);
  box-shadow: 0 0 0 transparent;
}

.form-control:focus,
.form-select:focus {
  background: #fff;
  border-color: var(--wp-blue);
  box-shadow: 0 0 0 1px var(--wp-blue);
  color: var(--fg);
}

.form-control::placeholder {
  color: #a7aaad;
}

.ap-body .form-control,
.ap-body .form-select,
.admin-body .form-control,
.admin-body .form-select {
  background: #fff;
  border-color: var(--glass-border);
  color: var(--fg);
}

.ap-body .form-control:focus,
.ap-body .form-select:focus,
.admin-body .form-control:focus,
.admin-body .form-select:focus {
  background: #fff;
  border-color: var(--wp-blue);
  box-shadow: 0 0 0 1px var(--wp-blue);
  color: var(--fg);
}

.form-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-text {
  color: var(--muted) !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* —— plens extensions —— */
.navbar-brand.brand-logo {
  display: flex;
  align-items: center;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.navbar-brand.brand-logo img {
  height: 32px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .navbar-brand.brand-logo img { height: 36px; }
}

.glass-modal .modal-header {
  padding-bottom: 0.35rem;
}
.glass-modal .modal-body {
  padding-top: 0.65rem;
}
.glass-modal .modal-body > p:first-child {
  margin-top: 0;
}
.about-text {
  color: var(--fg) !important;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
}
.about-modal .modal-header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  justify-content: flex-end;
  padding: .65rem .75rem 0;
  border: 0;
  background: transparent;
}
.about-profile {
  text-align: center;
  padding: .35rem .25rem 0.25rem;
}
.about-avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #c3c4c7, 0 8px 24px rgba(0,0,0,.08);
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c8f94;
  font-size: 2.75rem;
}
.about-name {
  margin: 0 0 .75rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--fg);
}
.about-profile .about-text {
  text-align: left;
  margin: 0 auto 1rem;
  max-width: 34rem;
  font-size: .95rem;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  justify-content: center;
}
.about-links .btn { font-size: 0.9rem; }
.ap-profile-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #c3c4c7;
  background: #f0f0f1;
}
.ap-profile-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.note-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--wp-blue);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  color: var(--fg);
  line-height: 1.55;
  font-size: 0.95rem;
  box-shadow: none;
}

.viewer-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* —— Viewer redesign (dark delivery) —— */
body.viewer-page {
  background: #0c0e10;
  color: #e8eaed;
}

body.viewer-page .site-main {
  background: transparent;
}

body.viewer-page .glass-nav {
  background: #0c0e10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.viewer-page .site-footer {
  background: #0c0e10;
  border-top-color: #1c2126;
}

body.viewer-page .modal-dialog {
  max-width: 420px;
}

body.viewer-page .glass-modal {
  background: rgba(22, 22, 24, 0.9);
  backdrop-filter: saturate(160%) blur(30px);
  -webkit-backdrop-filter: saturate(160%) blur(30px);
  border: 0;
  color: #f5f5f7;
  border-radius: 18px;
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.62);
  overflow: hidden;
}

body.viewer-page .glass-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.35rem 1.4rem 0.25rem;
  position: relative;
  border: 0;
}

body.viewer-page .glass-modal .modal-title {
  color: #f5f5f7;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-right: 0.35rem;
}

body.viewer-page .glass-modal .modal-body {
  padding: 0.85rem 1.4rem 1.1rem;
}

body.viewer-page .glass-modal .modal-footer {
  padding: 0.35rem 1.4rem 1.35rem;
  gap: 0.55rem;
  border: 0;
}

body.viewer-page .glass-modal .about-name {
  color: #f5f5f7;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 0.55rem;
}

body.viewer-page .glass-modal .about-text,
body.viewer-page .glass-modal .tip-text,
body.viewer-page .glass-modal .form-label {
  color: rgba(245, 245, 247, 0.72) !important;
}

body.viewer-page .glass-modal .tip-text {
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

body.viewer-page .glass-modal .vd-modal-close {
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(245, 245, 247, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  box-shadow: none;
  flex-shrink: 0;
  margin-left: auto;
}

body.viewer-page .glass-modal .vd-modal-close i {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 600;
}

body.viewer-page .glass-modal .vd-modal-close:hover,
body.viewer-page .glass-modal .vd-modal-close:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  outline: 0;
  box-shadow: none;
}

body.viewer-page .about-modal .modal-header {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: auto;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

body.viewer-page .about-modal .modal-body {
  padding: 2.15rem 1.35rem 1.35rem;
}

body.viewer-page .about-avatar {
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin: 0.2rem auto 1rem;
}

body.viewer-page .about-avatar-fallback {
  color: rgba(245, 245, 247, 0.35);
}

body.viewer-page .about-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.45rem;
  margin: -0.15rem 0 0.85rem;
}

body.viewer-page .about-icon-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

body.viewer-page .about-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.viewer-page .about-icon-btn i {
  font-size: 1.05rem;
  line-height: 1;
}

body.viewer-page .about-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

body.viewer-page .about-actions-solo {
  grid-template-columns: 1fr;
}

body.viewer-page .about-actions .btn {
  width: 100%;
  margin: 0;
  justify-content: center;
  white-space: nowrap;
  padding: 0.5rem 0.65rem;
  min-height: 2.25rem;
  font-size: 0.86rem;
}

body.viewer-page .glass-modal .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 12px;
  color: #f5f5f7;
  padding: 0.78rem 0.9rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

body.viewer-page .glass-modal .form-control:focus {
  background: rgba(255, 255, 255, 0.11);
  border: 0;
  color: #f5f5f7;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.35);
}

body.viewer-page .glass-modal .form-control::placeholder {
  color: rgba(245, 245, 247, 0.35);
}

body.viewer-page .glass-modal .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: rgba(245, 245, 247, 0.55) !important;
}

body.viewer-page .glass-modal .btn {
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  padding: 0.62rem 1.15rem;
  border: 0;
  min-height: 2.45rem;
}

body.viewer-page .glass-modal .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #f5f5f7;
}

body.viewer-page .glass-modal .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 0;
}

body.viewer-page .glass-modal .btn-accent {
  background: #0a84ff;
  border: 0;
  color: #fff;
}

body.viewer-page .glass-modal .btn-accent:hover {
  background: #0077ed;
  border: 0;
  color: #fff;
}


body.viewer-page .tip-modal .modal-header {
  position: relative;
  padding: 1.35rem 1.35rem 0;
  text-align: center;
  justify-content: center;
}

body.viewer-page .tip-modal .modal-title {
  width: 100%;
  text-align: center;
  padding: 0 1.75rem;
}

body.viewer-page .tip-modal .vd-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

body.viewer-page .tip-modal .modal-body {
  text-align: center;
}

body.viewer-page .tip-modal .text-muted {
  color: rgba(245, 245, 247, 0.55) !important;
}

body.viewer-page .tip-modal .tip-amounts {
  justify-content: center;
}

body.viewer-page .tip-modal .input-group {
  max-width: 14rem;
  margin-left: auto;
  margin-right: auto;
}

body.viewer-page .tip-modal .input-group .form-control {
  border-radius: 12px 0 0 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 0;
  color: #f5f5f7;
}

body.viewer-page .tip-modal .input-group .form-control:focus {
  background: rgba(255, 255, 255, 0.11);
  border-color: transparent;
  z-index: 2;
}

body.viewer-page .tip-modal .input-group-text {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 0;
  color: rgba(245, 245, 247, 0.78);
  border-radius: 0 12px 12px 0;
  font-weight: 600;
  padding: 0.78rem 0.95rem;
}

body.viewer-page .tip-modal .input-group:focus-within .form-control,
body.viewer-page .tip-modal .input-group:focus-within .input-group-text {
  border-color: transparent;
  box-shadow: none;
}

body.viewer-page .tip-modal .input-group:focus-within {
  border-radius: 12px;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.35);
}

body.viewer-page .tip-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  justify-content: stretch;
}

body.viewer-page .tip-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}

body.viewer-page .tip-actions .btn {
  width: 100%;
  margin: 0;
  justify-content: center;
  white-space: nowrap;
}

body.viewer-page .modal-backdrop.show {
  opacity: 1;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}



.vd {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 1.4rem 0 3rem;
}

.vd-bar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem var(--pl-pad);
  background: rgba(12, 14, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vd-tools-left {
  justify-self: start;
  justify-content: flex-start;
}

.vd-bar-main {
  min-width: 0;
  text-align: center;
  justify-self: center;
}

.vd-tools-right {
  justify-self: end;
  justify-content: flex-end;
}

.vd-id-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  align-items: center;
}

.vd-id-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.vd-id {
  margin: 0;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 650;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

.vd-meta {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 450;
}

.vd-sep {
  margin: 0 0.45rem;
  opacity: 0.45;
}

.vd-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.vd-tool-form {
  display: inline-flex;
  margin: 0;
}

.vd-tool {
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  padding: 0;
  white-space: nowrap;
}

.vd-tool-label {
  width: auto;
  height: 2.35rem;
  padding: 0 0.8rem;
}

.vd-tool-label span {
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.vd-tool i {
  font-size: 1.05rem;
  line-height: 1;
}

.vd-tool:hover,
.vd-tool:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.vd-tool-accent {
  background: #fff;
  color: #0c0e10;
}

.vd-tool-accent:hover,
.vd-tool-accent:focus {
  background: #e8eaed;
  color: #000;
}

.vd-tool-danger:hover,
.vd-tool-danger:focus {
  background: rgba(214, 54, 56, 0.2);
  color: #ff8a8a;
}

.vd-tool .cart-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #0c0e10;
  color: #fff;
  border: 1.5px solid #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tip-actions {
  justify-content: flex-start;
  gap: 0.5rem;
}

.vd-alert {
  margin: 0.85rem var(--pl-pad) 0;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: rgba(0, 163, 42, 0.12);
  color: #6ddb8a;
  font-size: 0.9rem;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vd-note {
  margin: 0.9rem var(--pl-pad) 0;
  padding: 0.85rem 0 0.85rem 0.95rem;
  border-left: 3px solid #3b82f6;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.vd-empty {
  margin: 2rem var(--pl-pad);
  padding: 2rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.vd .media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
  margin-top: 0.9rem;
  padding: 0 var(--pl-pad);
}

@media (min-width: 720px) {
  .vd .media-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
}

@media (min-width: 1020px) {
  .vd .media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vd .media-card {
  border: 0;
  border-radius: 6px;
  background: #15181b;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}

.vd .media-preview {
  aspect-ratio: 1;
  background: #15181b;
}

.vd .media-preview.is-video {
  aspect-ratio: 1;
}

.vd .media-card:hover .media-preview img.is-loaded {
  transform: scale(1.03);
}

.vd .media-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 42%);
  padding: 0.65rem;
}

.vd .media-menu-btn {
  width: 2rem;
  height: 2rem;
  background: rgba(12, 14, 16, 0.82);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vd .media-menu-btn:hover,
.vd .media-card.is-menu-open .media-menu-btn {
  background: #0c0e10;
  color: #fff;
  transform: scale(1.04);
}

.media-wm {
  display: none !important;
}

.vd .media-lock {
  z-index: 3;
  background: transparent;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0.7rem;
}

.vd .media-lock-title {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vd .media-card.is-paid .media-preview::after {
  background: rgba(0, 0, 0, 0.12);
}

.media-type-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 3;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  pointer-events: none;
}

.media-type-badge i {
  font-size: 0.85rem;
  margin-left: 1px;
}

@media (max-width: 900px) {
  .vd-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 0.5rem;
    padding: 0.8rem var(--pl-pad) 0.85rem;
  }
  .vd-bar-main {
    order: -1;
    flex: 1 1 100%;
    text-align: left;
    justify-self: stretch;
  }
  .vd-id-block,
  .vd-meta {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .vd-tools-left {
    order: 0;
    margin-right: auto;
  }
  .vd-tools-right {
    order: 1;
  }
}

@media (max-width: 640px) {
  .vd {
    padding-top: 0.85rem;
  }
  .vd-bar {
    gap: 0.65rem 0.4rem;
    padding-top: 0.7rem;
    padding-bottom: 0.75rem;
  }
  .vd-tool-label {
    padding: 0 0.65rem;
    height: 2.2rem;
  }
  .vd-tool-label span {
    font-size: 0.76rem;
  }
  .vd-tool:not(.vd-tool-label) {
    width: 2.2rem;
    height: 2.2rem;
  }
  .vd-id {
    font-size: 1.12rem;
  }
  .vd-meta {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .vd-id-label {
    font-size: 0.64rem;
  }
}

/* Admin shell — WP-style (dark menu, muted accent) */
.ap-body { background: #f0f0f1; color: #1d2327; }
.ap-shell {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 100vh;
}
.ap-backdrop {
  display: none;
}
.ap-sidebar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  border-right: 0;
  min-height: 100vh;
  position: sticky;
  top: 0;
  background: #1d2327;
  z-index: 40;
  box-shadow: none;
  width: 160px;
}
.ap-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 1rem 12px;
  border-bottom: 1px solid #2c3338;
}
.ap-side-close {
  display: none;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #3c434a;
  border-radius: 4px;
  background: #2c3338;
  color: #f0f0f1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ap-brand img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.ap-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  padding: .5rem 0;
  flex: 1;
}
.ap-nav a {
  color: #c3c4c7;
  padding: .55rem 12px;
  border-radius: 0;
  border: 0;
  border-left: 4px solid transparent;
  font-size: .8125rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  width: 100%;
  line-height: 1.3;
}
.ap-nav a i { font-size: 1rem; opacity: .85; width: 1.1rem; text-align: center; }
.ap-nav a:hover {
  color: #fff;
  background: #2c3338;
  border-left-color: transparent;
}
.ap-nav a.active {
  color: #fff;
  background: #2c3338;
  border-left-color: #72aee6;
  font-weight: 500;
}
.ap-sidebar-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  margin-top: auto;
  padding: .85rem 12px 1rem;
  border-top: 1px solid #2c3338;
}
.ap-user { color: #a7aaad; font-size: .75rem; }
.ap-side-links { display: flex; gap: .15rem; }
.ap-side-links a {
  color: #a7aaad;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.ap-side-links a:hover { color: #fff; background: #2c3338; }
.ap-wrap {
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.5rem 2.5rem;
  width: 100%;
  min-width: 0;
  background: #f0f0f1;
}
.ap-topbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #c3c4c7;
}
.ap-topbar h1 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  color: #1d2327;
  flex: 1 1 auto;
  min-width: 0;
}
.ap-top-lang {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .55rem;
  border-radius: 4px;
  color: #50575e;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid #c3c4c7;
  background: #fff;
}
.ap-top-lang:hover {
  color: #1d2327;
  border-color: #8c8f94;
}
.ap-lang-code {
  font-size: .7rem;
  font-weight: 700;
  margin-left: .15rem;
}
.ap-stripe-card {
  margin-top: .25rem;
}
.ap-stripe-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
}
.ap-stripe-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .65rem;
  min-width: 0;
}
.ap-stripe-meta strong {
  font-size: .95rem;
  font-weight: 600;
}
.ap-stripe-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.ap-login-lang {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .85rem;
}
.ap-login-lang a {
  color: #646970;
  text-decoration: none;
}
.ap-login-lang a:hover {
  color: #1d2327;
}
.ap-menu-btn {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
  color: #1d2327;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
}
.ap-menu-btn:hover { background: #f6f7f7; }
.ap-card {
  background: #fff; border: 1px solid #c3c4c7;
  border-radius: 0; padding: 1rem 1.15rem; margin-bottom: 1rem;
  box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.ap-card .row, .ap-wrap .row { --bs-gutter-x: 1rem; }

.ap-id-create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) 2.75rem;
  grid-template-areas:
    "l1 l2 ."
    "i1 i2 btn"
    "hint hint hint";
  gap: 0.35rem 0.75rem;
  align-items: center;
}
.ap-id-create-grid .ap-id-l1 { grid-area: l1; margin: 0; }
.ap-id-create-grid .ap-id-l2 { grid-area: l2; margin: 0; }
.ap-id-create-grid .ap-id-i1 { grid-area: i1; }
.ap-id-create-grid .ap-id-i2 { grid-area: i2; }
.ap-id-create-grid .ap-id-btn {
  grid-area: btn;
  width: 2.75rem;
  height: 2.4rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ap-id-create-grid .ap-id-hint {
  grid-area: hint;
  min-height: 0;
  margin: 0;
}
@media (max-width: 700px) {
  .ap-id-create-grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "l1 l1"
      "i1 btn"
      "hint hint"
      "l2 l2"
      "i2 i2";
  }
  .ap-id-create-grid .ap-id-btn { height: 2.4rem; }
}

.ap-login-body {
  min-height: 100vh;
  margin: 0;
  background: #f0f0f1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.ap-login {
  width: min(400px, 100%);
  margin: 0 auto;
}
.ap-login-card {
  background: #fff;
  border: 1px solid #c3c4c7;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  padding: 1.75rem 1.5rem 1.5rem;
}
.ap-login-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ap-login-brand img {
  display: inline-block;
  height: 34px;
  width: auto;
}
.ap-login-brand p {
  margin: 0.55rem 0 0;
  color: #646970;
  font-size: 0.86rem;
}
.ap-login-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d2327;
}
.ap-login-error {
  color: var(--red);
  font-size: 0.88rem;
  margin: 0 0 0.85rem;
}
.ap-login-form .pl-btn {
  margin-top: 0.25rem;
  min-height: 2.55rem;
}
.ap-table { width: 100%; border-collapse: collapse; font-size: .875rem; table-layout: auto; }
.ap-table th, .ap-table td { padding: .65rem .5rem; border-bottom: 1px solid #dcdcde; text-align: left; vertical-align: middle; }
.ap-table th { color: #646970; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; }
.ap-table a:not(.pl-icon-btn) {
  color: #2271b1;
  text-decoration: none;
}
.ap-table a:not(.pl-icon-btn):hover {
  color: #135e96;
  text-decoration: underline;
}
.ap-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 720px) { .ap-stats { grid-template-columns: repeat(4, 1fr); } }
.ap-stat {
  background: #fff; border: 1px solid #c3c4c7; border-radius: 0;
  padding: 1rem; text-align: left;
  box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.ap-stat b { display: block; font-size: 1.5rem; color: #1d2327; font-weight: 600; }
.ap-stat span { font-size: .78rem; color: #646970; }

@media (max-width: 899px) {
  .ap-shell {
    display: block;
    grid-template-columns: none;
  }
  .ap-menu-btn,
  .ap-side-close {
    display: inline-flex;
  }
  .ap-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(29, 35, 39, 0.45);
    cursor: pointer;
  }
  .ap-backdrop[hidden] {
    display: none !important;
  }
  .ap-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(220px, 86vw);
    min-height: 100vh;
    height: 100%;
    border-right: 0;
    border-bottom: 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    z-index: 60;
    overflow-y: auto;
  }
  .ap-shell.is-nav-open .ap-sidebar {
    transform: translateX(0);
  }
  .ap-wrap {
    padding: 1rem 1rem 2rem;
  }
  .ap-topbar h1 {
    font-size: 1.2rem;
  }
}
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 3px; padding: .45rem .9rem; font-weight: 500; font-size: .8125rem;
  text-decoration: none !important; cursor: pointer; border: 1px solid #c3c4c7;
  background: #f6f7f7; color: #1d2327 !important;
}
.pl-btn:hover { background: #f0f0f1; border-color: #8c8f94; color: #1d2327 !important; }
.pl-btn-blue, .pl-btn-green {
  background: #2c3338; color: #fff !important; border-color: #2c3338;
}
.pl-btn-blue:hover, .pl-btn-green:hover {
  background: #1d2327; border-color: #1d2327; color: #fff !important;
}
.pl-btn-pink {
  background: #fff; color: var(--pink) !important; border-color: var(--glass-border);
}
.pl-btn-pink:hover { background: var(--surface); color: var(--pink) !important; }
.pl-btn-red { background: var(--danger-soft); color: var(--danger) !important; border-color: rgba(214,54,56,.28); }
.pl-btn-ghost { background: #fff; color: var(--fg) !important; border-color: var(--glass-border); }
.pl-btn-ghost:hover { background: var(--surface); color: var(--fg) !important; }
.pl-btn-block { width: 100%; }
.pl-icon-btn {
  width: 2.1rem; height: 2.1rem; border: 1px solid var(--glass-border); border-radius: 999px;
  background: #fff; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.pl-icon-btn:hover { background: var(--surface); color: var(--fg); border-color: #8c8f94; }
.pl-icon-btn.is-red { color: var(--danger); border-color: rgba(214,54,56,.28); background: var(--danger-soft); }
.pl-icon-btn.is-pink { color: var(--pink); border-color: rgba(201,53,110,.28); background: rgba(201,53,110,.08); }
.pl-note {
  background: #fff;
  border: 1px solid #c3c4c7;
  border-left: 4px solid #72aee6;
  border-radius: 0;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  color: #1d2327;
  font-size: .875rem;
}

/* Print slip */
.print-page { background: var(--bg); min-height: 100vh; padding: 1rem; }
.print-area { display: flex; justify-content: center; width: 100%; margin-bottom: 1.25rem; }
.print-sheet {
  width: 48mm; max-width: 48mm; box-sizing: border-box; overflow: hidden;
  background: #fff; color: #000; box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.print-slip {
  width: 100%; max-width: 48mm; margin: 0; background: #fff; color: #000;
  display: flex; flex-direction: column; font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box; overflow: hidden;
}
.print-slip-head { background: #000; padding: 2.5mm; display: flex; align-items: center; justify-content: center; }
.print-slip-head img { height: 6.5mm; width: auto; max-width: 90%; display: block; }
.print-slip-body {
  padding: 2.5mm 2.5mm 2mm; font-size: 2.2mm; line-height: 1.3; font-weight: 700;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
}
.print-slip-qr { display: flex; justify-content: center; padding: 0 2mm 2mm; background: #fff; }
.print-slip-qr img { width: 18mm; height: 18mm; display: block; }
.print-slip-foot { background: #000; color: #fff; text-align: center; padding: 2.2mm 2mm 2.5mm; }
.print-slip-foot .url { font-size: 3.6mm; font-weight: 900; letter-spacing: .03em; line-height: 1.05; }
.print-slip-foot .idline {
  margin-top: 1.2mm; font-size: 3.2mm; font-weight: 700; line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: .8mm;
}
.print-slip-foot .id-label, .print-slip-foot .id-value { font-size: 3.2mm; line-height: 1; }
.print-slip-foot .id-value { font-weight: 900; }
.print-actions { max-width: 320px; margin: 0 auto; display: flex; flex-direction: column; gap: .5rem; }
@media print {
  @page { size: 48mm 100mm; margin: 0; }
  body * { visibility: hidden !important; }
  .print-area, .print-area * { visibility: visible !important; }
  .print-area { position: absolute; left: 0; top: 0; margin: 0; }
  .print-sheet, .print-slip { box-shadow: none; width: 48mm; max-width: 48mm; }
  .print-actions, .print-edit { display: none !important; }
}

/* Custom lightbox (plens) */
.pl-lb {
  position: fixed; inset: 0; z-index: 1060; background: rgba(0,0,0,.94);
  display: none; flex-direction: column;
  pointer-events: none;
}
.pl-lb.open { display: flex; pointer-events: auto; }
.pl-lb-top, .pl-lb-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem .85rem; gap: .5rem;
}
.pl-lb-bottom { justify-content: center; }
.pl-lb-stage {
  flex: 1; position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; min-height: 0;
}
.pl-lb-stage img, .pl-lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; }
.pl-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff; z-index: 5;
}
.pl-lb-prev { left: .5rem; }
.pl-lb-next { right: .5rem; }
.pl-loader {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: #0a0a0a; z-index: 2;
}
.pl-loader.hide { opacity: 0; pointer-events: none; transition: opacity .25s; }
.pl-ring {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12); border-top-color: rgba(255,255,255,.75);
  animation: fkSpin .75s linear infinite;
}

/* —— Home —— */
body.home .site-main {
  display: block;
}

body.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

body.home .glass-nav {
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.78) 0%, rgba(8, 10, 12, 0.35) 55%, rgba(8, 10, 12, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}

.pl-hero {
  position: relative;
  height: 165vh;
  padding: 0;
  margin: 0;
  background: #0f1214;
}

.pl-hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pl-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pl-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(var(--pl-hero-zoom, 1.22));
  transform-origin: center center;
  will-change: transform;
  filter: saturate(1.04) contrast(1.02);
}

.pl-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 70%, rgba(0, 0, 0, 0.28) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.42) 0%, rgba(10, 12, 14, 0.18) 40%, rgba(10, 12, 14, 0.78) 100%),
    linear-gradient(100deg, rgba(10, 12, 14, 0.68) 0%, rgba(10, 12, 14, 0.28) 42%, transparent 68%);
  pointer-events: none;
}

.pl-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  padding: 6rem var(--pl-pad) 4rem;
  color: #fff;
  opacity: var(--pl-hero-fade, 1);
  transform: translateY(var(--pl-hero-shift, 0px));
  will-change: opacity, transform;
}

.pl-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  max-width: 16ch;
}

.pl-hero-lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.pl-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 0.85rem));
  z-index: 5;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: var(--pl-hero-fade, 1);
  transition: color .15s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.pl-hero-scroll i {
  font-size: 1.65rem;
  line-height: 1;
  animation: plHeroBounce 1.6s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.pl-hero-scroll:hover,
.pl-hero-scroll:focus {
  color: #fff;
  background: transparent;
}

@keyframes plHeroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .pl-hero-scroll i { animation: none; }
}

.pl-hero-err {
  max-width: 440px;
  margin: 0 0 1rem;
}

.pl-hero-form {
  width: min(480px, 100%);
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  border-radius: 4px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.pl-hero-form-label {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1d2327;
}

.pl-home-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  background: #f0f0f1;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.35rem 0.35rem 0.35rem 0.75rem;
}

.pl-home-row:focus-within,
.pl-home-row:hover {
  background: #f0f0f1;
  border-color: transparent;
  box-shadow: none;
}

.pl-home-row.is-error {
  border-color: rgba(214, 54, 56, 0.45);
  box-shadow: inset 3px 0 0 var(--danger);
}

.pl-home-row.is-error .pl-home-input {
  border-color: transparent;
}

.pl-home-prefix {
  color: #646970;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
}

.pl-home-row:focus-within .pl-home-prefix {
  color: #646970;
}

.pl-home-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #1d2327;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.2rem;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.pl-home-input::placeholder {
  color: #646970;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 1;
}

.pl-home-input:focus,
.pl-home-input:focus-visible {
  background: transparent;
  border: 0;
  box-shadow: none !important;
  outline: none !important;
}

.pl-home-go {
  flex-shrink: 0;
  height: 2.55rem;
  min-width: 2.55rem;
  border: 0;
  border-radius: 7px;
  background: var(--wp-blue);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pl-home-go-text {
  display: none;
}

@media (min-width: 420px) {
  .pl-home-go-text {
    display: inline;
  }
  .pl-home-go i {
    font-size: 0.95rem;
  }
}

.pl-home-go:hover {
  background: var(--wp-blue-hover);
  color: #fff;
}

.pl-split {
  background: #fff;
}

.pl-split-alt {
  background: #f3f4f5;
}

.pl-split-grid {
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  padding: 4.5rem var(--pl-pad);
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 860px) {
  .pl-split-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    padding: 5.5rem var(--pl-pad);
  }
  .pl-split-alt .pl-split-media {
    order: 2;
  }
  .pl-split-alt .pl-split-copy {
    order: 1;
  }
}

.pl-split-media {
  position: relative;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e8eaed;
  box-shadow: 0 16px 48px rgba(29, 35, 39, 0.1);
  aspect-ratio: 4 / 3;
}

.pl-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pl-split-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--fg);
  max-width: 16ch;
}

.pl-split-text {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 34rem;
}

.pl-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.pl-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fg);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
}

.pl-feature-ico {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--wp-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.pl-how {
  background: #f7f7f8;
  color: var(--fg);
  border-top: 1px solid #ececee;
  border-bottom: 1px solid #ececee;
}

.pl-how-inner {
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  padding: 4.25rem var(--pl-pad) 4.5rem;
}

.pl-how-inner > h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.pl-how-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 760px) {
  .pl-how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.pl-how-card {
  background: #fff;
  border: 1px solid #e4e5e7;
  border-radius: 14px;
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: 0 8px 24px rgba(29, 35, 39, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pl-how-card:hover {
  border-color: #cfd1d4;
  box-shadow: 0 12px 28px rgba(29, 35, 39, 0.07);
}

.pl-how-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--wp-blue);
  font-size: 1.2rem;
}

.pl-how-num {
  display: none;
}

.pl-how-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.pl-how-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.pl-about {
  background: #f7f7f8;
  border-top: 1px solid #e8e8ea;
}

.pl-about-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 4rem 1.35rem 4.5rem;
}

.pl-about-inner > h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.pl-about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pl-about-copy p:last-child {
  margin-bottom: 0;
}

.pl-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.pl-about-actions .btn-accent {
  border-radius: 8px;
  padding: 0.65rem 1.15rem;
}

.pl-about-actions .btn-ghost {
  background: #fff;
  border-color: #c3c4c7;
  border-radius: 8px;
  padding: 0.65rem 1.15rem;
}

.pl-about-actions .btn-ghost:hover {
  border-color: var(--wp-blue);
  color: var(--wp-blue);
  background: #fff;
}

@media (max-width: 640px) {
  .pl-hero {
    height: 145vh;
  }
  .pl-hero-pin {
    align-items: center;
  }
  .pl-hero-inner {
    padding: 4.5rem var(--pl-pad) 4.75rem;
    width: 100%;
    margin-top: -4vh;
  }
  .pl-hero-title {
    font-size: clamp(2rem, 9vw, 2.5rem);
    margin-bottom: 0.7rem;
  }
  .pl-hero-lead {
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
    max-width: 24rem;
  }
  .pl-hero-scroll {
    bottom: max(1.1rem, calc(env(safe-area-inset-bottom, 0px) + 0.75rem));
    width: 2.9rem;
    height: 2.9rem;
  }
  .pl-nav-links .nav-link:not(.lang-link) {
    display: none;
  }
  .pl-split-grid,
  .pl-how-inner,
  .pl-about-inner {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

.pl-lb {
  position: fixed; inset: 0; z-index: 1060;
  background: #0a0a0a;
  display: none;
  pointer-events: none;
  color: #f5f5f5;
}
.pl-lb.open { display: block; pointer-events: auto; }
.pl-lb-layout {
  display: flex;
  height: 100%;
  width: 100%;
}
.pl-lb-main {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pl-lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
}
.pl-lb-stage img, .pl-lb-stage video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 1;
}
.pl-lb-hit {
  position: absolute; top: 0; bottom: 0; width: 22%;
  border: 0; background: transparent; z-index: 3; cursor: pointer;
}
.pl-lb-hit-prev { left: 0; }
.pl-lb-hit-next { right: 0; }

.pl-lb-close-top {
  display: none;
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 6;
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  backdrop-filter: blur(8px);
}
.pl-lb-close-top:hover {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}

.pl-lb-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .55rem .65rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(12,12,12,.92);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.pl-lb-bar-btn {
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.pl-lb-bar-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.pl-lb-bar-btn[hidden] { display: none !important; }
.pl-lb-bar-close { margin-left: .15rem; }
.pl-lb-bar-spacer { flex: 1; }
.pl-lb-count {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  padding: 0 .35rem;
  white-space: nowrap;
}

.pl-lb-side {
  width: min(300px, 32vw);
  flex-shrink: 0;
  background: #111;
  border-left: 1px solid #222;
  padding: 1.25rem 1.15rem 1.5rem;
  overflow-y: auto;
  display: none;
}
.pl-lb-side-title {
  margin: 0 0 .85rem;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}
.pl-lb-votes {
  display: flex;
  gap: .45rem;
  margin: 0 0 1rem;
}
.pl-lb-votes[hidden] { display: none !important; }
.pl-lb-vote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 2.35rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pl-lb-vote i { font-size: 1.05rem; line-height: 1; }
.pl-lb-vote:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
}
.pl-lb-vote-up.is-on {
  color: #34c759;
  border-color: rgba(52, 199, 89, .45);
  background: rgba(52, 199, 89, .14);
}
.pl-lb-vote-down.is-on {
  color: #ff453a;
  border-color: rgba(255, 69, 58, .45);
  background: rgba(255, 69, 58, .14);
}
.pl-lb-paid-note {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 0 0 1rem;
  padding: .85rem .9rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 159, 10, .22), rgba(255, 69, 58, .1));
  border: 1px solid rgba(255, 159, 10, .55);
  color: #ffe0a8;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 0 0 1px rgba(255, 159, 10, .12), inset 0 1px 0 rgba(255,255,255,.06);
}
.pl-lb-paid-note i {
  color: #ff9f0a;
  margin-top: .08rem;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.pl-lb-paid-note strong {
  display: block;
  color: #ffd60a;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.pl-lb-paid-note span {
  display: block;
  color: rgba(255, 236, 200, .92);
}
.pl-lb-paid-note[hidden] { display: none !important; }
.pl-lb-quality {
  margin: 0 0 .85rem;
  padding: .85rem .9rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(34,113,177,.22), rgba(255,255,255,.05));
  border: 1px solid rgba(126,200,240,.28);
}
.pl-lb-quality[hidden] { display: none !important; }
.pl-lb-quality-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .7rem;
  font-size: .84rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.pl-lb-quality-title i { color: #9fd4f5; }
.pl-lb-quality .pl-lb-meta { gap: .55rem; }
.pl-lb-quality .pl-lb-meta-val { font-weight: 600; font-size: .92rem; }
.pl-lb-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.pl-lb-meta li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .86rem;
}
.pl-lb-meta li.is-empty { color: #777; }
.pl-lb-meta i {
  color: #7ec8f0;
  font-size: 1rem;
  margin-top: .1rem;
  width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}
.pl-lb-meta-label {
  display: block;
  color: #888;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pl-lb-meta-val { color: #eee; }
.pl-lb-side-actions { margin-top: 1.15rem; }
.pl-lb-price {
  text-align: center;
  font-weight: 650;
  margin-bottom: .65rem;
  color: #fff;
}
.pl-loader { background: transparent; }
.pl-ring { border-top-color: #fff; }

/* Mobile info sheet */
.pl-lb-sheet {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pl-lb-sheet[hidden] { display: none !important; }
.pl-lb-sheet-bg {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.55);
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
}
.pl-lb-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(78dvh, 640px);
  overflow-y: auto;
  background: #161616;
  border-radius: 16px 16px 0 0;
  padding: 1rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform .22s ease;
}
.pl-lb-sheet.is-open .pl-lb-sheet-bg { opacity: 1; }
.pl-lb-sheet.is-open .pl-lb-sheet-panel { transform: translateY(0); }
.pl-lb-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.pl-lb-sheet-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  word-break: break-word;
}

@media (min-width: 900px) {
  .pl-lb-side { display: block; }
  .pl-lb-stage { padding: 1rem; }
  .pl-lb-hit { width: 18%; }
  .pl-lb-sheet { display: none !important; }
  #lbInfo { display: none; }
  .pl-lb-close-top { display: inline-flex; }
  .pl-lb-bar .pl-lb-bar-close { display: none !important; }
}
@media (max-width: 899px) {
  .pl-lb-side { display: none; }
  .pl-lb-hit { width: 18%; }
}

/* Progress bar */
#pl-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
#pl-progress.is-on { opacity: 1; }
#pl-progress > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wp-blue), #72aee6);
  box-shadow: 0 0 8px rgba(34,113,177,.45);
  transition: width .15s ease-out;
}

.ap-upload-progress .ap-upload-bar {
  height: 6px;
  background: #dcdcde;
  border-radius: 999px;
  overflow: hidden;
}
.ap-upload-progress .ap-upload-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--wp-blue);
  transition: width .12s linear;
}

/* Cart + paid tags */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .35rem;
  margin-left: .25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--wp-blue);
  font-size: .7rem;
  font-weight: 700;
}
.btn-accent .cart-badge { background: #fff; color: var(--wp-blue); }
.media-price-tag {
  position: absolute;
  left: .5rem;
  bottom: .5rem;
  z-index: 2;
  padding: .2rem .45rem;
  border-radius: 6px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: .72rem;
  font-weight: 650;
  pointer-events: none;
}
.media-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .55rem;
}

.cart-page {
  max-width: 680px;
}
.cart-page .page-title {
  margin-bottom: 0.15rem;
}
.cart-page .page-sub {
  margin-bottom: 1.5rem;
}
.cart-page .glass-card {
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);
  background: #fff;
}
.cart-page .cart-items {
  padding: 0.35rem 0 0;
}
.cart-page .cart-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(5.5rem, auto) 2.4rem;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1.15rem;
  border: 0;
  border-bottom: 1px solid #eee;
}
.cart-page .cart-row:has(+ :not(.cart-row)) {
  border-bottom: 0;
}
.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-info { min-width: 0; }
.cart-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  word-break: break-word;
}
.cart-meta {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.cart-open-hint {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 113, 177, 0.18);
  color: var(--fg);
  font-size: 0.88rem;
  line-height: 1.45;
}
.cart-total-hint {
  margin: 0;
  padding: 0 1.15rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.cart-min-warn {
  margin: 0;
  padding: 0 1.15rem 0.85rem;
  font-size: 0.82rem;
  color: var(--danger);
  line-height: 1.4;
}
.cart-price {
  text-align: right;
  justify-self: end;
}
.cart-price strong { font-size: 0.95rem; white-space: nowrap; }
.cart-price .input-group { max-width: 8.5rem; margin-left: auto; }
.cart-page .cart-row > .btn {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border-radius: 8px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.15rem;
  margin: 0;
  border: 0;
  background: #f7f7f8;
  font-size: 1.05rem;
}
.cart-page .cart-checkout {
  margin-top: 1rem;
  padding: 1.25rem 1.2rem 1.3rem;
}
.cart-page .cart-checkout .form-control,
.cart-page .cart-checkout textarea.form-control,
.cart-page .cart-items .form-control,
.cart-page .cart-items .input-group-text {
  border-radius: 2px;
}
.cart-page .cart-checkout .btn,
.cart-page .cart-items .btn {
  border-radius: 4px;
}
.cart-page .cart-checkout .cart-legal,
.cart-page .cart-checkout .cart-accept .form-check-label {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-family: inherit;
  font-weight: 400;
}
.cart-page .cart-checkout .cart-legal a,
.cart-page .cart-checkout .cart-accept a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-page .cart-checkout .cart-accept {
  padding-left: 1.55rem;
}
.cart-page .cart-checkout .cart-accept .form-check-input {
  margin-top: 0.22rem;
  border-radius: 2px;
}
.cart-creator-note {
  padding: .85rem 1rem;
  border: 1px solid #c3c4c7;
  border-radius: 2px;
  background: #f6f7f7;
  font-size: .92rem;
  line-height: 1.45;
  color: #2c3338;
}
.cart-page .glass-card.cart-empty {
  text-align: center;
  padding: 2.75rem 1.5rem 2.5rem;
}
.cart-page .glass-card.cart-done {
  padding: 1.75rem 1.5rem;
}
.cart-empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.45rem;
}
.cart-empty-title {
  margin: 0 0 .45rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.cart-empty-text {
  margin: 0 auto 1.35rem;
  max-width: 22rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.5;
}
.cart-checkout .form-label { margin-bottom: 0.35rem; }
.cart-checkout .mb-3 { margin-bottom: 0.95rem !important; }
@media (max-width: 560px) {
  .cart-page .cart-row {
    grid-template-columns: 56px minmax(0, 1fr) 2.35rem;
    grid-template-areas:
      "thumb info del"
      "thumb price del";
    gap: 0.55rem 0.75rem;
  }
  .cart-thumb { grid-area: thumb; width: 56px; height: 56px; }
  .cart-info { grid-area: info; }
  .cart-price {
    grid-area: price;
    text-align: left;
    justify-self: start;
  }
  .cart-price .input-group { margin-left: 0; }
  .cart-page .cart-row > .btn { grid-area: del; align-self: start; }
}

.modal { z-index: 1080 !important; }
.modal-backdrop {
  z-index: 1070 !important;
  background-color: #000 !important;
  --bs-backdrop-opacity: 0.82;
}
.modal-backdrop.show {
  opacity: 0.82 !important;
}

/* Public gallery */
.pl-gal-preview {
  position: relative;
  padding: 4.75rem 0 5rem;
  background: #fff;
  color: var(--fg);
  overflow: hidden;
  border-top: 0;
}
.pl-gal-preview-bg {
  display: none;
}
.pl-gal-preview-inner {
  position: relative;
  z-index: 1;
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
  padding: 0 var(--pl-pad);
}
.pl-gal-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
}
.pl-gal-kicker {
  display: none;
}
.pl-gal-preview h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -.045em;
  color: var(--fg);
  line-height: 1.1;
}
.pl-gal-preview-lead {
  margin: 0;
  color: #50575e;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
}
.pl-gal-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--wp-blue);
  background: var(--wp-blue);
  color: #fff;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 550;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.pl-gal-cta:hover {
  background: var(--wp-blue-hover);
  border-color: var(--wp-blue-hover);
  color: #fff;
  box-shadow: 0 6px 18px rgba(34, 113, 177, 0.22);
}
.pl-gal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}
@media (min-width: 640px) {
  .pl-gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
}
@media (min-width: 960px) {
  .pl-gal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pl-gal-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eaed;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  border-radius: 0;
  margin: 0;
  height: auto;
  -webkit-appearance: none;
  appearance: none;
}
.pl-gal-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .3s ease;
}
.pl-gal-tile img.fk-fade {
  opacity: 1;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.pl-gal-tile.is-loading img.fk-fade {
  opacity: 0;
}
.pl-gal-tile img.fk-fade.is-loaded {
  opacity: 1;
}
.pl-gal-tile .fk-loader {
  z-index: 2;
}
.pl-gal-tile:not(.is-loading) > .fk-loader {
  opacity: 0;
  visibility: hidden;
}
.pl-gal-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 1;
}
.pl-gal-tile:hover img,
.pl-gal-tile:focus-visible img {
  transform: scale(1.02);
  filter: brightness(1.02);
}
.pl-gal-tile:hover::after,
.pl-gal-tile:focus-visible::after {
  opacity: 1;
}
.pl-gal-tile:focus-visible {
  outline: 2px solid #1d2327;
  outline-offset: 2px;
}
.pl-gal-tile-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: .65rem .75rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  text-align: left;
}
.pl-gal-tile:hover .pl-gal-tile-meta,
.pl-gal-tile:focus-visible .pl-gal-tile-meta {
  opacity: 1;
  transform: translateY(0);
}
.pl-lb-side-creator {
  margin: -.35rem 0 1rem;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}
.pl-lb-gal .pl-lb-side-creator {
  color: rgba(255,255,255,.55);
}
.pl-lb-sheet .pl-lb-side-creator {
  color: var(--muted);
  margin: 0 0 1rem;
}
.pl-gal-page {
  padding: 2.5rem var(--pl-pad) 3.5rem;
  width: min(var(--pl-width), 100%);
  margin: 0 auto;
}
.pl-gal-page-head {
  margin-bottom: 1.75rem;
}
.pl-gal-page h1 {
  margin: 0 0 .4rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -.035em;
}
.pl-gal-page-lead {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}
.pl-lb-gal .pl-lb-gal-layout {
  display: block;
}
.pl-lb-gal .pl-lb-main {
  width: 100%;
  height: 100%;
}
.pl-lb-creator {
  color: rgba(255, 255, 255, 0.72);
  font-size: .85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40vw;
}
.ap-gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .65rem;
}
.ap-gal-item {
  border: 1px solid #dcdcde;
  background: #fff;
  padding: .4rem;
}
.ap-gal-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.ap-gal-item .ap-gal-actions {
  display: flex;
  gap: .25rem;
  margin-top: .4rem;
  justify-content: flex-end;
}

/* Tip thank-you (dark, matches viewer) */
.tip-thanks {
  position: relative;
  min-height: calc(100vh - 11rem);
  display: grid;
  place-items: center;
  padding: 2.5rem var(--pl-pad) 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 18%, rgba(10, 132, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 78%, rgba(245, 158, 11, 0.1), transparent 55%),
    linear-gradient(180deg, #101418 0%, #0c0e10 55%, #12161a 100%);
  color: #f5f5f7;
}
.tip-thanks-glow {
  position: absolute;
  inset: auto 50% 18% auto;
  width: min(28rem, 80vw);
  height: 10rem;
  transform: translateX(50%);
  background: radial-gradient(ellipse, rgba(255, 196, 72, 0.18), transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}
.tip-thanks-card {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  text-align: center;
  padding: 2.4rem 1.75rem 2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  animation: tipThanksIn .7s cubic-bezier(.2, .8, .2, 1) both;
}
.tip-thanks-face {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.35rem;
}
.tip-thanks-emoji {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe08a, #ffb347 55%, #f59e0b);
  color: #7a3e00;
  font-size: 2.55rem;
  box-shadow:
    0 10px 28px rgba(245, 158, 11, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: tipSmilePop .85s cubic-bezier(.2, 1.2, .3, 1) .12s both;
}
.tip-thanks-spark {
  position: absolute;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #0a84ff;
  opacity: 0;
  animation: tipSpark 1.6s ease-out .35s infinite;
}
.tip-thanks-spark-a { top: .15rem; right: .2rem; background: #f59e0b; animation-delay: .4s; }
.tip-thanks-spark-b { bottom: .35rem; left: 0; background: #ff6b9d; animation-delay: .7s; }
.tip-thanks-spark-c { top: 1.1rem; left: -.15rem; width: .4rem; height: .4rem; background: #0a84ff; animation-delay: 1s; }
.tip-thanks-title {
  margin: 0 0 .85rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  line-height: 1.25;
}
.tip-thanks-lead {
  margin: 0 auto 1.15rem;
  max-width: 28rem;
  color: rgba(245, 245, 247, 0.68);
  font-size: 1.02rem;
  line-height: 1.55;
}
.tip-thanks-edit {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .55rem;
  margin: 0 auto 1.25rem;
  max-width: 26rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: rgba(10, 132, 255, 0.14);
  color: rgba(245, 245, 247, 0.88);
  font-size: .95rem;
  line-height: 1.45;
  text-align: left;
  animation: tipThanksIn .7s cubic-bezier(.2, .8, .2, 1) .18s both;
}
.tip-thanks-edit i {
  color: #0a84ff;
  font-size: 1.15rem;
  margin-top: .1rem;
  flex-shrink: 0;
}
.tip-thanks-id {
  margin: 0 0 1.35rem;
  font-size: .88rem;
  color: rgba(245, 245, 247, 0.5);
  letter-spacing: 0.02em;
}
.tip-thanks-id span {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: 0.08em;
  margin-right: .25rem;
}
.tip-thanks-cta {
  min-width: 12rem;
  background: #0a84ff !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 980px !important;
  animation: tipThanksIn .7s cubic-bezier(.2, .8, .2, 1) .28s both;
}
.tip-thanks-cta:hover {
  background: #0077ed !important;
  color: #fff !important;
}
.tip-thanks-order .tip-thanks-emoji {
  background: linear-gradient(145deg, #6ee7a0, #22c55e 55%, #16a34a);
  color: #064e3b;
  box-shadow:
    0 10px 28px rgba(34, 197, 94, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.tip-thanks-order .tip-thanks-glow {
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.2), transparent 70%);
}
.tip-thanks-order .tip-thanks-edit {
  background: rgba(34, 197, 94, 0.12);
}
.tip-thanks-order .tip-thanks-edit i {
  color: #4ade80;
}
.tip-thanks-invoice {
  margin-top: .65rem;
}
@keyframes tipThanksIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes tipSmilePop {
  0% { opacity: 0; transform: scale(.55) rotate(-8deg); }
  70% { transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes tipSpark {
  0% { opacity: 0; transform: scale(.4) translateY(4px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .tip-thanks-card,
  .tip-thanks-emoji,
  .tip-thanks-edit,
  .tip-thanks-cta,
  .tip-thanks-spark {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
