.pfps-wrap,
.pfps-single-page {
  --pfps-accent: #1594d2;
  --pfps-deep: #0f172a;
  --pfps-text: #334155;
  --pfps-muted: #64748b;
  --pfps-line: rgba(148, 163, 184, .28);
  --pfps-card: #ffffff;
  --pfps-soft: #f6f9fc;
  font-family: inherit;
  color: var(--pfps-text);
}

.pfps-wrap * { box-sizing: border-box; }

.pfps-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
}

.pfps-head h2 {
  margin: 0 0 10px;
  color: var(--pfps-deep);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.pfps-head p {
  margin: 0;
  max-width: 720px;
  color: var(--pfps-muted);
  font-size: 16px;
  line-height: 1.75;
}

.pfps-head-mark {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 15%, transparent 16%),
    linear-gradient(135deg, var(--pfps-accent), #61c3ef);
  box-shadow: 0 22px 60px rgba(21, 148, 210, .28);
  flex: 0 0 auto;
}

.pfps-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.pfps-filter {
  border: 1px solid var(--pfps-line);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pfps-filter:hover,
.pfps-filter.is-active {
  background: var(--pfps-deep);
  color: #fff;
  border-color: var(--pfps-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .16);
}

.pfps-grid {
  display: grid;
  grid-template-columns: repeat(var(--pfps-columns, 3), minmax(0, 1fr));
  gap: 26px;
}
.pfps-wrap[data-columns="1"] { --pfps-columns: 1; }
.pfps-wrap[data-columns="2"] { --pfps-columns: 2; }
.pfps-wrap[data-columns="3"] { --pfps-columns: 3; }
.pfps-wrap[data-columns="4"] { --pfps-columns: 4; }

.pfps-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--pfps-card);
  border: 1px solid var(--pfps-line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.pfps-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 90px rgba(15, 23, 42, .14);
  border-color: rgba(21, 148, 210, .42);
}

.pfps-card[hidden] { display: none; }

.pfps-visual-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.pfps-card-body {
  padding: 22px 24px 24px;
}

.pfps-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pfps-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}

.pfps-badge-status {
  color: #fff;
  background: var(--pfps-accent);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--pfps-accent), transparent 72%);
}

.pfps-badge-kind {
  color: #334155;
  background: #f1f5f9;
}

.pfps-card h3 {
  margin: 0 0 9px;
  color: var(--pfps-deep);
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.pfps-card h3 a {
  color: inherit;
  text-decoration: none !important;
}

.pfps-highlight {
  color: var(--pfps-muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

.pfps-meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--pfps-muted);
  font-size: 13px;
  margin-bottom: 15px;
}

.pfps-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.pfps-tech-list span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .28);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.pfps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pfps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pfps-btn:hover { transform: translateY(-1px); }
.pfps-btn-primary { color: #fff !important; background: var(--pfps-deep); box-shadow: 0 12px 26px rgba(15, 23, 42, .16); }
.pfps-btn-ghost { color: var(--pfps-deep) !important; background: #f1f5f9; }

.pfps-hero-image {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8fbff, #eaf4fb);
  overflow: hidden;
}

.pfps-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfps-device-stage {
  position: relative;
  min-height: 300px;
  aspect-ratio: 16 / 10.6;
  background:
    radial-gradient(circle at 22% 15%, color-mix(in srgb, var(--pfps-accent), transparent 76%), transparent 35%),
    linear-gradient(135deg, #f8fbff 0%, #eef6fb 100%);
  overflow: hidden;
}

.pfps-device,
.pfps-phone-xl,
.pfps-phone-secondary {
  position: absolute;
  background: #0b1220;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .24);
}

.pfps-device-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.pfps-device-screen img,
.pfps-print-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfps-device-desktop {
  width: 62%;
  height: 48%;
  left: 18%;
  top: 9%;
}

.pfps-device-desktop > span {
  position: absolute;
  left: 44%;
  top: 100%;
  width: 12%;
  height: 30%;
  background: #b8c0ca;
}

.pfps-device-laptop {
  width: 47%;
  height: 34%;
  right: 5%;
  bottom: 9%;
  border-radius: 14px;
  padding: 8px;
}

.pfps-device-laptop > span {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 100%;
  height: 12px;
  border-radius: 0 0 18px 18px;
  background: #cbd5e1;
}

.pfps-device-tablet {
  width: 21%;
  height: 43%;
  left: 6%;
  bottom: 12%;
  border-radius: 18px;
  padding: 9px;
}

.pfps-device-phone {
  width: 13%;
  height: 38%;
  left: 31%;
  bottom: 8%;
  border-radius: 20px;
  padding: 7px;
}

.pfps-mobile-stage {
  min-height: 340px;
}

.pfps-phone-xl {
  width: 36%;
  height: 78%;
  left: 18%;
  top: 9%;
  border-radius: 32px;
  padding: 12px;
}

.pfps-phone-secondary {
  width: 30%;
  height: 65%;
  right: 17%;
  bottom: 10%;
  border-radius: 28px;
  padding: 10px;
  transform: rotate(4deg);
}

.pfps-placeholder-screen {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(21, 148, 210, .16), rgba(15, 23, 42, .05)),
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(148, 163, 184, .16) 20px);
  color: #0f172a;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}

.pfps-print-stage {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 70% 22%, rgba(21, 148, 210, .18), transparent 34%),
    linear-gradient(135deg, #f8fafc, #e8eef5);
  overflow: hidden;
}

.pfps-print-sheet {
  position: absolute;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .2);
  overflow: hidden;
}

.pfps-print-sheet-main {
  width: 48%;
  height: 72%;
  left: 25%;
  top: 12%;
  transform: rotate(-3deg);
  border-radius: 8px;
}

.pfps-print-sheet-back {
  width: 44%;
  height: 68%;
  left: 37%;
  top: 16%;
  transform: rotate(6deg);
  background: linear-gradient(135deg, var(--pfps-accent), #93d9f4);
  opacity: .78;
  border-radius: 8px;
}

.pfps-print-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .84);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.pfps-feature-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}

.pfps-feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--pfps-text);
  line-height: 1.55;
}

.pfps-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pfps-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--pfps-accent), transparent 84%);
}

.pfps-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--pfps-line);
  border-radius: 24px;
  padding: 36px;
  color: var(--pfps-muted);
  text-align: center;
  background: #fff;
}

.pfps-single-page {
  max-width: 1180px;
  margin-inline: auto;
}

.pfps-detail-hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 40px;
}

.pfps-detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -0.06em;
  color: var(--pfps-deep);
}

.pfps-detail-excerpt {
  color: var(--pfps-muted);
  font-size: 18px;
  line-height: 1.75;
}

.pfps-detail-visual {
  border: 1px solid var(--pfps-line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .1);
}

.pfps-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
}

.pfps-rich-content,
.pfps-info-card,
.pfps-spec-grid > div {
  border: 1px solid var(--pfps-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.pfps-rich-content {
  padding: 28px;
  margin-bottom: 28px;
}

.pfps-info-card {
  padding: 22px;
  margin-bottom: 18px;
}

.pfps-info-card h3,
.pfps-detail-main h2 {
  color: var(--pfps-deep);
  margin: 0 0 16px;
}

.pfps-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--pfps-line);
}

.pfps-info-row span { color: var(--pfps-muted); }
.pfps-info-row strong { color: var(--pfps-deep); text-align: right; }

.pfps-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}

.pfps-spec-grid > div {
  padding: 18px;
}

.pfps-spec-grid span {
  display: block;
  color: var(--pfps-muted);
  font-size: 13px;
  margin-bottom: 5px;
}

.pfps-spec-grid strong {
  color: var(--pfps-deep);
}

.pfps-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.pfps-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

@media (max-width: 1100px) {
  .pfps-wrap[data-columns="3"],
  .pfps-wrap[data-columns="4"] { --pfps-columns: 2; }
  .pfps-detail-hero,
  .pfps-detail-grid { grid-template-columns: 1fr; }
  .pfps-detail-aside { order: -1; }
}

@media (max-width: 760px) {
  .pfps-head { align-items: flex-start; flex-direction: column; }
  .pfps-head-mark { width: 70px; height: 70px; border-radius: 20px; }
  .pfps-grid,
  .pfps-wrap[data-columns="2"],
  .pfps-wrap[data-columns="3"],
  .pfps-wrap[data-columns="4"] { --pfps-columns: 1; }
  .pfps-card { border-radius: 22px; }
  .pfps-card-body { padding: 20px; }
  .pfps-device-stage { min-height: 240px; }
  .pfps-spec-grid,
  .pfps-gallery { grid-template-columns: 1fr; }
}

/* v1.4.0 — portfolio search toolbar */
.pfps-filter-toolbar {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

.pfps-search-field {
  display: block;
  max-width: 520px;
}

.pfps-search-field span {
  display: block;
  margin: 0 0 7px;
  color: var(--pfps-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.pfps-project-search {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--pfps-line);
  border-radius: 18px;
  padding: 12px 16px;
  background: #fff;
  color: var(--pfps-deep);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pfps-project-search:focus {
  border-color: color-mix(in srgb, var(--pfps-accent), #fff 24%);
  box-shadow: 0 18px 44px rgba(21, 148, 210, .14);
}

.pfps-search-empty {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px dashed var(--pfps-line);
  border-radius: 20px;
  background: #fff;
  color: var(--pfps-muted);
  font-weight: 800;
  text-align: center;
}

/* ==== ProjectFlow v1.5.0 premium showcase refinements ==== */
.pfps-filter-toolbar {
  display: grid;
  gap: 18px;
  margin: 0 0 28px;
}

.pfps-search-field {
  display: grid;
  gap: 9px;
  color: var(--pfps-deep);
  font-weight: 700;
}

.pfps-project-search {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--pfps-line);
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .05);
}

.pfps-card {
  isolation: isolate;
}

.pfps-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(21, 148, 210, .03));
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.pfps-card:hover::before { opacity: 1; }

.pfps-card-visual-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff, #eff5fa);
}

.pfps-visual-kicker {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .78);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.pfps-meta-row-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pfps-mini-spec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 14px;
  background: #f8fbff;
}

.pfps-mini-spec strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
}

.pfps-mini-spec em {
  font-style: normal;
  font-weight: 800;
  color: var(--pfps-deep);
}

.pfps-device-stage {
  position: relative;
  overflow: hidden;
}

.pfps-web-stage-v2,
.pfps-mobile-stage-v2,
.pfps-print-stage {
  min-height: 360px;
  background:
    radial-gradient(circle at 16% 14%, rgba(21,148,210,.18), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(99,102,241,.15), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.pfps-web-stage-v2 {
  aspect-ratio: 16 / 10.4;
}

.pfps-mobile-stage-v2 {
  aspect-ratio: 16 / 11;
}

.pfps-scene-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(22px);
  opacity: .65;
}

.pfps-scene-glow-a {
  top: 10%;
  left: 5%;
  background: rgba(21,148,210,.22);
}

.pfps-scene-glow-b {
  right: 4%;
  bottom: 12%;
  background: rgba(129,140,248,.22);
}

.pfps-real-device {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(180deg, #18212d, #0b1320);
  box-shadow: 0 26px 70px rgba(15, 23, 42, .22);
}

.pfps-real-screen {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.pfps-screen-landscape {
  border-radius: 18px;
}

.pfps-screen-portrait {
  border-radius: 24px;
}

img.pfps-screen-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

img.pfps-fit-top { object-position: top center; }
img.pfps-contain { object-fit: contain; background: #fff; padding: 10%; }

.pfps-browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
  background: linear-gradient(180deg, #f8fafc, #edf2f7);
  border-radius: 18px 18px 0 0;
}

.pfps-browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.pfps-browser-chrome em {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #64748b;
  text-transform: uppercase;
}

.pfps-real-monitor {
  width: 56%;
  left: 18%;
  top: 8%;
  padding: 12px 12px 46px;
  border-radius: 24px;
}

.pfps-real-monitor .pfps-real-screen {
  aspect-ratio: 16 / 9.8;
}

.pfps-monitor-stand {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 12%;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #d9e1eb, #b4becb);
}

.pfps-monitor-base {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 26%;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #c5cfdb;
}

.pfps-real-laptop {
  width: 38%;
  right: 5%;
  bottom: 9%;
  padding: 10px 10px 28px;
  border-radius: 20px 20px 12px 12px;
}

.pfps-real-laptop .pfps-real-screen {
  aspect-ratio: 16 / 10;
}

.pfps-laptop-hinge {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}

.pfps-laptop-base {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 0;
  height: 20px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #dfe6ef, #bcc7d4);
}

.pfps-laptop-trackpad {
  position: absolute;
  left: 39%;
  right: 39%;
  bottom: 6px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .55);
}

.pfps-real-tablet {
  width: 19%;
  left: 6%;
  bottom: 10%;
  padding: 10px;
  border-radius: 28px;
}

.pfps-real-tablet .pfps-real-screen { aspect-ratio: 3 / 4; }

.pfps-tablet-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.68);
}

.pfps-real-phone {
  width: 12.5%;
  left: 28.5%;
  bottom: 8%;
  padding: 8px;
  border-radius: 30px;
}

.pfps-real-phone .pfps-real-screen { aspect-ratio: 9 / 19.4; }

.pfps-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 38%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,.82);
}

.pfps-mobile-main {
  width: 33%;
  left: 20%;
  top: 10%;
}

.pfps-mobile-side {
  width: 24%;
  right: 19%;
  bottom: 10%;
}

.pfps-print-stage {
  aspect-ratio: 16 / 11;
}

.pfps-scene-surface,
.pfps-poster-wall,
.pfps-skyline {
  position: absolute;
  inset: 0;
}

.pfps-scene-surface {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(226, 232, 240, .86)),
    repeating-linear-gradient(90deg, rgba(203,213,225,.18) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(203,213,225,.18) 0 1px, transparent 1px 110px);
}

.pfps-business-card,
.pfps-flyer-stack,
.pfps-poster-frame,
.pfps-billboard-frame,
.pfps-stationery-sheet,
.pfps-stationery-notebook,
.pfps-stationery-card {
  position: absolute;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.20);
}

.pfps-business-card {
  width: 43%;
  aspect-ratio: 1.75 / 1;
  border-radius: 14px;
}

.pfps-business-card-back {
  left: 35%;
  top: 21%;
  transform: rotate(11deg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--pfps-accent), #fff 22%), #eaf5fb);
}

.pfps-business-card-front {
  left: 18%;
  top: 34%;
  transform: rotate(-8deg);
}

.pfps-scene-pen,
.pfps-stationery-pen {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e293b, #334155, #94a3b8);
  box-shadow: 0 16px 30px rgba(15,23,42,.18);
}

.pfps-scene-pen {
  width: 30%;
  height: 10px;
  right: 11%;
  bottom: 22%;
  transform: rotate(-18deg);
}

.pfps-flyer-stack {
  width: 44%;
  aspect-ratio: 0.72 / 1;
  border-radius: 14px;
}

.pfps-flyer-stack-back {
  right: 20%;
  top: 18%;
  transform: rotate(10deg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--pfps-accent), #fff 24%), #dbeafe);
}

.pfps-flyer-stack-mid {
  left: 24%;
  top: 20%;
  transform: rotate(-6deg);
  background: linear-gradient(145deg, #fff, #eef2ff);
}

.pfps-flyer-stack-front {
  left: 28%;
  top: 12%;
  transform: rotate(3deg);
}

.pfps-poster-wall {
  background:
    linear-gradient(90deg, rgba(255,255,255,.74), rgba(241,245,249,.82)),
    repeating-linear-gradient(90deg, rgba(203,213,225,.2) 0 2px, transparent 2px 92px),
    linear-gradient(180deg, #edf2f7, #e2e8f0);
}

.pfps-poster-shadow {
  position: absolute;
  width: 36%;
  height: 72%;
  left: 31%;
  top: 14%;
  border-radius: 18px;
  background: rgba(15,23,42,.12);
  filter: blur(16px);
}

.pfps-poster-frame {
  width: 40%;
  height: 76%;
  left: 29%;
  top: 10%;
  padding: 10px;
  border-radius: 16px;
}

.pfps-poster-art,
.pfps-billboard-art { width: 100%; height: 100%; }

.pfps-skyline {
  background:
    linear-gradient(180deg, #dbeafe 0%, #eff6ff 42%, #f8fafc 42%, #f8fafc 100%);
}

.pfps-skyline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(180deg, #94a3b8, #64748b);
  clip-path: polygon(0 100%, 0 40%, 10% 55%, 18% 30%, 24% 52%, 37% 18%, 46% 58%, 59% 28%, 69% 50%, 82% 22%, 90% 48%, 100% 34%, 100% 100%);
  opacity: .34;
}

.pfps-billboard-post {
  position: absolute;
  width: 2.5%;
  bottom: 7%;
  height: 40%;
  background: linear-gradient(180deg, #475569, #1e293b);
}

.pfps-billboard-post-left { left: 33%; }
.pfps-billboard-post-right { right: 33%; }

.pfps-billboard-frame {
  width: 56%;
  height: 42%;
  left: 22%;
  top: 18%;
  padding: 8px;
  border-radius: 10px;
}

.pfps-stationery-sheet {
  width: 44%;
  height: 62%;
  left: 16%;
  top: 16%;
  border-radius: 12px;
}

.pfps-stationery-notebook {
  width: 32%;
  height: 42%;
  right: 14%;
  top: 20%;
  border-radius: 18px;
  transform: rotate(8deg);
}

.pfps-stationery-card {
  width: 26%;
  height: 16%;
  right: 20%;
  bottom: 16%;
  border-radius: 12px;
  transform: rotate(-9deg);
}

.pfps-stationery-pen {
  width: 24%;
  height: 9px;
  left: 48%;
  bottom: 18%;
  transform: rotate(24deg);
}

.pfps-detail-visual {
  background: linear-gradient(180deg, #fbfdff, #f2f7fb);
}

.pfps-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.pfps-gallery img {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--pfps-line);
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
}

@media (max-width: 1080px) {
  .pfps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfps-detail-hero,
  .pfps-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .pfps-grid { grid-template-columns: 1fr; }
  .pfps-head { flex-direction: column; align-items: flex-start; }
  .pfps-web-stage-v2,
  .pfps-mobile-stage-v2,
  .pfps-print-stage { min-height: 320px; }
  .pfps-real-monitor { width: 62%; left: 18%; }
  .pfps-real-laptop { width: 44%; right: 3%; }
  .pfps-real-tablet { width: 22%; }
  .pfps-real-phone { width: 15%; left: 30%; }
  .pfps-poster-frame { width: 52%; left: 24%; }
  .pfps-business-card { width: 54%; }
  .pfps-flyer-stack { width: 52%; }
}

@media (max-width: 640px) {
  .pfps-card-body { padding: 18px; }
  .pfps-visual-kicker { left: 12px; bottom: 12px; }
  .pfps-web-stage-v2,
  .pfps-mobile-stage-v2,
  .pfps-print-stage { min-height: 280px; }
  .pfps-real-monitor {
    width: 70%;
    left: 15%;
    top: 10%;
  }
  .pfps-real-laptop {
    width: 50%;
    right: 1%;
    bottom: 10%;
  }
  .pfps-real-tablet {
    width: 24%;
    left: 3%;
    bottom: 12%;
  }
  .pfps-real-phone {
    width: 17%;
    left: 27%;
    bottom: 10%;
  }
  .pfps-mobile-main { width: 42%; left: 14%; }
  .pfps-mobile-side { width: 30%; right: 10%; }
  .pfps-billboard-frame { width: 70%; left: 15%; }
  .pfps-business-card-front { left: 10%; }
  .pfps-business-card-back { left: 33%; }
}


/* ==== ProjectFlow v1.5.1 advanced polish ==== */
.pfps-card-enter {
  opacity: 0;
  transform: translateY(18px) scale(.98);
}

.pfps-card {
  will-change: transform;
}

.pfps-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.pfps-load-more {
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 13px 24px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--pfps-deep), color-mix(in srgb, var(--pfps-accent), #0f172a 44%));
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.pfps-load-more:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

.pfps-load-more:disabled {
  cursor: default;
  opacity: .78;
}

.pfps-load-more.is-loading {
  position: relative;
  padding-left: 44px;
}

.pfps-load-more.is-loading::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  animation: pfps-spin .8s linear infinite;
}

@keyframes pfps-spin {
  to { transform: rotate(360deg); }
}

.pfps-showcase-slider {
  margin: 0 0 34px;
  border: 1px solid var(--pfps-line);
  border-radius: 32px;
  padding: 22px;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--pfps-accent), transparent 82%), transparent 35%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 24px 80px rgba(15, 23, 42, .08);
}

.pfps-showcase-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.pfps-showcase-head span {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--pfps-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pfps-showcase-head h2 {
  margin: 0;
  color: var(--pfps-deep);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pfps-slider-controls {
  display: flex;
  gap: 8px;
}

.pfps-slider-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--pfps-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pfps-deep);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.pfps-slider-controls button:hover {
  transform: translateY(-1px);
  background: var(--pfps-deep);
  color: #fff;
}

.pfps-slider-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef5fb, #f8fafc);
}

.pfps-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .28s ease, transform .28s ease;
  margin: 0;
  pointer-events: none;
}

.pfps-slider-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.pfps-slider-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.pfps-slider-slide figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,.78);
  color: #fff;
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 900;
}

.pfps-slider-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 2px;
  scrollbar-width: thin;
}

.pfps-slider-thumbs button {
  flex: 0 0 122px;
  border: 1px solid var(--pfps-line);
  border-radius: 16px;
  padding: 6px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pfps-slider-thumbs button.is-active {
  border-color: color-mix(in srgb, var(--pfps-accent), #0f172a 18%);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--pfps-accent), transparent 76%);
  transform: translateY(-1px);
}

.pfps-slider-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  display: block;
  object-fit: cover;
  background: #f8fafc;
}

.pfps-slider-thumbs span {
  display: block;
  margin-top: 6px;
  color: var(--pfps-deep);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfps-project-detail {
  position: relative;
}

.pfps-project-detail::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pfps-accent), transparent 88%);
  filter: blur(12px);
  z-index: -1;
}

.pfps-rich-content {
  font-size: 16px;
  line-height: 1.78;
}

.pfps-rich-content > :first-child {
  margin-top: 0;
}

.pfps-rich-content > :last-child {
  margin-bottom: 0;
}

.pfps-info-card {
  position: sticky;
  top: 28px;
}

.pfps-feature-list-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  border: 1px solid var(--pfps-line);
  border-radius: 24px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.pfps-spec-grid {
  margin-bottom: 28px;
}

.pfps-search-empty {
  margin-top: 20px;
  border: 1px dashed var(--pfps-line);
  border-radius: 22px;
  padding: 28px;
  background: #fff;
  color: var(--pfps-muted);
  text-align: center;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pfps-slider-stage {
    min-height: 360px;
  }

  .pfps-feature-list-large {
    grid-template-columns: 1fr;
  }

  .pfps-info-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .pfps-showcase-slider {
    padding: 16px;
    border-radius: 24px;
  }

  .pfps-showcase-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pfps-slider-stage {
    min-height: 280px;
    border-radius: 18px;
  }

  .pfps-slider-thumbs button {
    flex-basis: 100px;
  }
}


/* v1.5.2 hero mockup refinement */
.pfps-hero-image-composite {
  aspect-ratio: 16 / 9;
  background: #e7e7e7;
}

.pfps-hero-image-composite img {
  object-fit: contain;
  background: #e7e7e7;
}


/* v1.5.3 deep realism polish */
.pfps-hero-image.pfps-hero-image-composite {
  border-radius: 0;
  background: #e7e7e7;
}
.pfps-hero-image.pfps-hero-image-composite img {
  object-fit: contain;
  image-rendering: auto;
}


/* v1.5.4 professional clean project polish */
.pfps-card {
  border-radius: 30px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, .08);
}

.pfps-card:hover {
  box-shadow: 0 28px 80px rgba(15, 23, 42, .13);
}

.pfps-card-visual-shell {
  background: linear-gradient(180deg, #f7f8fa, #eef2f5);
}

.pfps-hero-image,
.pfps-hero-image-composite {
  background: #ececec;
}

.pfps-hero-image-composite img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* v1.5.6 clean professional web showcase - replaces the previous busy mockup layout */
.pfps-clean-web-showcase-v156 {
  position: relative;
  min-height: 380px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 82%, rgba(15,23,42,.08), transparent 34%),
    radial-gradient(circle at 82% 84%, rgba(15,23,42,.08), transparent 28%),
    linear-gradient(180deg, #f7f8fa 0%, #eceff3 100%);
}

.pfps-clean-web-showcase-v156 * { box-sizing: border-box; }

.pfps-clean-shadow {
  position: absolute;
  border-radius: 50%;
  background: rgba(15, 23, 42, .18);
  filter: blur(6px);
  opacity: .55;
}

.pfps-clean-shadow-main {
  left: 27%;
  bottom: 11%;
  width: 30%;
  height: 4%;
}

.pfps-clean-shadow-laptop {
  right: 6%;
  bottom: 8%;
  width: 38%;
  height: 4%;
}

.pfps-clean-shadow-mobile {
  left: 5%;
  bottom: 10%;
  width: 26%;
  height: 3.5%;
}

.pfps-clean-device {
  position: absolute;
  margin: 0;
  z-index: 2;
}

.pfps-clean-bezel,
.pfps-clean-tablet-device,
.pfps-clean-phone-device {
  background: linear-gradient(180deg, #1b1f28, #0d1118);
  box-shadow: 0 24px 54px rgba(15, 23, 42, .23);
}

.pfps-clean-screen {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.pfps-clean-screen img.pfps-screen-image,
.pfps-clean-web-showcase-v156 img.pfps-screen-image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: top center !important;
  background: #fff;
  display: block;
}

.pfps-clean-desktop-device {
  left: 22%;
  top: 7%;
  width: 43%;
  z-index: 3;
}

.pfps-clean-desktop-device .pfps-clean-bezel {
  position: relative;
  border-radius: 20px 20px 5px 5px;
  padding: 14px 14px 0;
}

.pfps-clean-desktop-device .pfps-clean-screen {
  aspect-ratio: 16 / 9;
  border-radius: 8px 8px 2px 2px;
}

.pfps-clean-desktop-chin {
  height: 64px;
  margin: 0 2px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #eef0f3, #d1d5db);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.pfps-clean-logo {
  width: 22px;
  height: 26px;
  border-radius: 48% 48% 45% 45%;
  background: #18181b;
  display: block;
  opacity: .88;
}

.pfps-clean-stand {
  width: 11%;
  height: 62px;
  margin: 0 auto;
  background: linear-gradient(180deg, #d7dbe1, #adb3bd);
}

.pfps-clean-base {
  width: 40%;
  height: 14px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8dce2, #aeb5bf);
}

.pfps-clean-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #525866;
}

.pfps-clean-laptop-device {
  right: 5%;
  bottom: 9%;
  width: 45%;
  z-index: 5;
}

.pfps-clean-laptop-device .pfps-clean-bezel {
  position: relative;
  border-radius: 18px 18px 5px 5px;
  padding: 13px;
}

.pfps-clean-laptop-device .pfps-clean-screen {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}

.pfps-clean-laptop-base {
  position: relative;
  height: 24px;
  margin: 0 -8%;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #dfe3e8, #aeb6c1);
  box-shadow: 0 10px 20px rgba(15, 23, 42, .14);
}

.pfps-clean-laptop-base span {
  position: absolute;
  left: 39%;
  top: 6px;
  width: 22%;
  height: 8px;
  border-radius: 999px;
  background: rgba(120, 128, 140, .5);
}

.pfps-clean-tablet-device {
  left: 4%;
  bottom: 12%;
  width: 20%;
  padding: 14px;
  border-radius: 22px;
  z-index: 4;
}

.pfps-clean-tablet-device .pfps-clean-screen {
  aspect-ratio: 3 / 4.15;
  border-radius: 12px;
}

.pfps-clean-phone-device {
  left: 18.5%;
  bottom: 7%;
  width: 10.5%;
  padding: 22px 7px 8px;
  border-radius: 26px;
  z-index: 6;
}

.pfps-clean-phone-device .pfps-clean-screen {
  aspect-ratio: 9 / 18.6;
  border-radius: 17px;
}

.pfps-clean-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 42%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: #0b0d12;
  z-index: 3;
}

.pfps-web-stage-v2 .pfps-browser-chrome em,
.pfps-real-monitor .pfps-browser-chrome em,
.pfps-real-laptop .pfps-browser-chrome em {
  display: none !important;
}

@media (max-width: 820px) {
  .pfps-clean-web-showcase-v156 { min-height: 330px; }
  .pfps-clean-desktop-device { width: 50%; left: 18%; }
  .pfps-clean-laptop-device { width: 50%; right: 2%; }
  .pfps-clean-tablet-device { width: 22%; left: 3%; }
  .pfps-clean-phone-device { width: 12%; left: 20%; }
}

@media (max-width: 560px) {
  .pfps-clean-web-showcase-v156 { min-height: 290px; }
  .pfps-clean-desktop-device { width: 58%; left: 15%; top: 8%; }
  .pfps-clean-laptop-device { width: 56%; right: -3%; bottom: 10%; }
  .pfps-clean-tablet-device { width: 24%; left: 2%; }
  .pfps-clean-phone-device { width: 14%; left: 22%; }
  .pfps-clean-desktop-chin { height: 42px; }
  .pfps-clean-stand { height: 42px; }
}

/* v1.5.7 professional web hero rebuild: one desktop, one laptop, one tablet, one mobile */
.pfps-web-hero-v157 {
  position: relative;
  min-height: 420px;
  aspect-ratio: 16 / 9.35;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,.95), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(208, 216, 226, .56), transparent 30%),
    linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 0;
}

.pfps-web-hero-v157 * { box-sizing: border-box; }

.pfps-v157-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 74%, rgba(203, 213, 225, .34) 74% 100%),
    radial-gradient(ellipse at 50% 82%, rgba(15,23,42,.11), transparent 38%);
}

.pfps-v157-device {
  position: absolute;
  margin: 0;
  filter: drop-shadow(0 22px 34px rgba(15,23,42,.20));
}

.pfps-v157-shadow {
  position: absolute;
  border-radius: 999px;
  background: rgba(15, 23, 42, .18);
  filter: blur(10px);
}

.pfps-v157-shadow-desktop { width: 30%; height: 3.6%; left: 29%; bottom: 15.5%; }
.pfps-v157-shadow-laptop { width: 40%; height: 3.2%; right: 5%; bottom: 13%; }
.pfps-v157-shadow-tablet { width: 18%; height: 3%; left: 4%; bottom: 17%; }
.pfps-v157-shadow-phone { width: 10%; height: 2.4%; left: 18%; bottom: 14%; }

.pfps-v157-screen {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.pfps-v157-screen img.pfps-screen-image,
.pfps-v157-screen img.pfps-v157-fit {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain !important;
  object-position: top center !important;
  background: #fff;
}

.pfps-v157-desktop {
  width: 43%;
  left: 27.5%;
  top: 16%;
  z-index: 4;
}

.pfps-v157-monitor-frame {
  position: relative;
  padding: 3% 3% 0;
  border-radius: 18px 18px 10px 10px;
  background: #151922;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.pfps-v157-screen-wide {
  aspect-ratio: 16 / 9.7;
  border-radius: 7px 7px 2px 2px;
}

.pfps-v157-camera {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.26);
  z-index: 3;
}

.pfps-v157-chin {
  display: grid;
  place-items: center;
  height: 52px;
  margin: 0 -1px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #eff1f4, #d2d6dc);
}

.pfps-v157-chin span {
  width: 19px;
  height: 23px;
  border-radius: 49% 49% 45% 45%;
  background: #20242b;
  opacity: .82;
}

.pfps-v157-stand {
  width: 11%;
  height: 54px;
  margin: 0 auto;
  background: linear-gradient(180deg, #d9dde3, #aeb5bf);
}

.pfps-v157-base {
  width: 40%;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #d7dbe1, #aab2bd);
}

.pfps-v157-laptop {
  width: 43%;
  right: 5%;
  bottom: 12%;
  z-index: 5;
}

.pfps-v157-laptop-lid {
  position: relative;
  padding: 3%;
  border-radius: 16px 16px 5px 5px;
  background: #151922;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.pfps-v157-screen-laptop {
  aspect-ratio: 16 / 10.2;
  border-radius: 7px;
}

.pfps-v157-keyboard {
  position: relative;
  height: 24px;
  margin: 0 -8%;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(180deg, #e0e4e9, #aeb7c2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.pfps-v157-keyboard span {
  position: absolute;
  left: 39%;
  top: 6px;
  width: 22%;
  height: 7px;
  border-radius: 999px;
  background: rgba(108, 117, 130, .42);
}

.pfps-v157-tablet {
  width: 19.5%;
  left: 4.5%;
  bottom: 18%;
  z-index: 3;
  padding: 13px;
  border-radius: 23px;
  background: #151922;
}

.pfps-v157-screen-tall {
  aspect-ratio: 3 / 4.1;
  border-radius: 13px;
}

.pfps-v157-phone {
  width: 10.5%;
  left: 19%;
  bottom: 14.5%;
  z-index: 6;
  padding: 22px 7px 8px;
  border-radius: 27px;
  background: #151922;
}

.pfps-v157-screen-phone {
  aspect-ratio: 9 / 18.8;
  border-radius: 17px;
}

.pfps-v157-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 40%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: #0c0f14;
  z-index: 3;
}

.pfps-card .pfps-web-hero-v157 {
  min-height: 315px;
}

.pfps-detail-visual .pfps-web-hero-v157 {
  min-height: 430px;
}

@media (max-width: 900px) {
  .pfps-web-hero-v157 { min-height: 330px; }
  .pfps-v157-desktop { width: 49%; left: 24%; top: 16%; }
  .pfps-v157-laptop { width: 46%; right: 2%; }
  .pfps-v157-tablet { width: 22%; left: 3%; }
  .pfps-v157-phone { width: 12%; left: 20%; }
}

@media (max-width: 560px) {
  .pfps-web-hero-v157 { min-height: 290px; }
  .pfps-v157-desktop { width: 56%; left: 18%; top: 14%; }
  .pfps-v157-laptop { width: 52%; right: -6%; bottom: 13%; }
  .pfps-v157-tablet { width: 25%; left: 2%; bottom: 18%; }
  .pfps-v157-phone { width: 14%; left: 22%; bottom: 15%; }
  .pfps-v157-chin { height: 40px; }
  .pfps-v157-stand { height: 38px; }
}
