/* ============================================================
   PHOTOGRAPHERS: Discover page
   Teal / sage / film-yellow homepage language, photo hero with a
   floating, clickable avatar mosaic, neon-blue Pro cards.
   Performance: off-screen cards are skipped (content-visibility),
   images lazy-load, animations only run on the few Pro cards.
============================================================ */
@property --ph-a {
   syntax: '<angle>';
   initial-value: 0deg;
   inherits: false
}

:root {
   --ph-bg: #f3f7f8;
   --ph-surface: #fff;
   --ph-ink: #0f1a17;
   --ph-text: #33433d;
   --ph-mute: #5b6a64;
   --ph-line: #dbe6e8;
   --ph-sage: #d8e9f2;
   --ph-teal: #0b6e5c;
   --ph-teal-d: #07493d;
   --ph-film: #f2c230;
   --ph-blue: #1d9bf0;
   --ph-neon: #19a7ff;
   --ph-neon2: #5b6bff;
   --ph-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
   --ph-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
   --ph-ease: .22s cubic-bezier(.22, .68, 0, 1);
   --ph-nav: var(--pz-h, 64px);
   --ph-max: 1760px;
   --ph-pad: clamp(14px, 3vw, 56px);
}

.ph-hero,
.ph-filterbar,
.ph-main,
.ph-suggested,
.ph-hero *,
.ph-filterbar *,
.ph-main *,
.ph-suggested * {
   box-sizing: border-box;
   font-family: var(--ph-body)
}

html {
   overflow-x: hidden;
   scroll-behavior: smooth
}

body {
   background: var(--ph-bg);
   margin: 0;
   overflow-x: hidden;
   max-width: 100%;
   color: var(--ph-text);
   -webkit-font-smoothing: antialiased
}

a {
   text-decoration: none;
   color: inherit
}

.ph-sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0
}

svg {
   width: 1em;
   height: 1em;
   display: block;
   flex-shrink: 0
}

:focus-visible {
   outline: 3px solid var(--ph-neon);
   outline-offset: 2px;
   border-radius: 6px
}

/* ---------- hero (photo background) ---------- */
.ph-hero {
   position: relative;
   overflow: hidden;
   background: #06231d;
   border-radius: 0 0 40px 40px
}

.ph-hero-bg {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center 30%
}

.ph-hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(100deg, rgba(4, 28, 23, .93) 0%, rgba(4, 28, 23, .74) 46%, rgba(4, 28, 23, .38) 100%)
}

.ph-hero-in {
   position: relative;
   z-index: 2;
   max-width: var(--ph-max);
   margin: 0 auto;
   padding: clamp(40px, 6.5vw, 96px) var(--ph-pad) clamp(40px, 6vw, 80px);
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
   gap: clamp(24px, 5vw, 80px);
   align-items: center;
   min-height: clamp(420px, 46vw, 620px)
}

.ph-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   margin: 0 0 18px;
   padding: 6px 14px;
   border-radius: 999px;
   background: rgba(255, 255, 255, .14);
   border: 1px solid rgba(255, 255, 255, .28);
   backdrop-filter: blur(8px);
   font: 600 .84rem var(--ph-head);
   color: #fff
}

.ph-eyebrow::before {
   content: "";
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: var(--ph-film)
}

.ph-title {
   margin: 0 0 16px;
   font: 700 clamp(2.3rem, 5.4vw, 4.6rem)/1.03 var(--ph-head);
   letter-spacing: -.03em;
   color: #fff;
   text-wrap: balance
}

.ph-title span {
   color: #8ff0d8
}

.ph-subtitle {
   margin: 0 0 28px;
   font-size: clamp(1rem, 1.5vw, 1.2rem);
   line-height: 1.65;
   color: rgba(255, 255, 255, .86);
   max-width: 50ch
}

.ph-hero-stats {
   display: flex;
   flex-wrap: wrap;
   gap: 12px
}

.ph-hero-stat {
   display: flex;
   align-items: baseline;
   gap: 8px;
   padding: 10px 18px;
   border-radius: 999px;
   background: rgba(255, 255, 255, .14);
   border: 1px solid rgba(255, 255, 255, .26);
   backdrop-filter: blur(8px)
}

.ph-hero-stat-num {
   font: 700 1.35rem var(--ph-head);
   color: #fff;
   font-variant-numeric: tabular-nums
}

.ph-hero-stat-label {
   font-size: .88rem;
   font-weight: 600;
   color: rgba(255, 255, 255, .8)
}

/* floating, clickable avatar mosaic */
.ph-mosaic {
   position: relative;
   width: 100%;
   max-width: 780px;
   margin-left: auto;
   aspect-ratio: 1/.88
}

.ph-mosaic>a {
   position: absolute;
   display: block;
   aspect-ratio: 1;
   border-radius: 50%;
   background: var(--ph-sage);
   border: 4px solid #fff;
   box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .65);
   animation: ph-float 7s ease-in-out infinite;
   transition: transform var(--ph-ease), box-shadow var(--ph-ease)
}

.ph-mosaic>a:hover,
.ph-mosaic>a:focus-visible {
   transform: scale(1.1);
   z-index: 5;
   animation-play-state: paused
}

.ph-mosaic img {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 50%
}

.ph-mo-i {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: var(--ph-teal);
   color: #fff;
   font: 700 clamp(1.1rem, 2.4vw, 2rem) var(--ph-head)
}

.ph-mo-v {
   position: absolute;
   right: 2%;
   bottom: 2%;
   width: 26%;
   aspect-ratio: 1;
   border-radius: 50%;
   background: var(--ph-blue);
   border: 3px solid #fff;
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center
}

.ph-mo-v svg {
   width: 60%;
   height: 60%;
   stroke-width: 3.4
}

.ph-mo-name {
   position: absolute;
   left: 50%;
   bottom: calc(100% + 8px);
   transform: translateX(-50%) translateY(4px);
   padding: 6px 12px;
   border-radius: 999px;
   background: #fff;
   color: var(--ph-ink);
   font: 700 .8rem var(--ph-head);
   font-style: normal;
   white-space: nowrap;
   opacity: 0;
   pointer-events: none;
   transition: opacity var(--ph-ease), transform var(--ph-ease);
   box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5)
}

.ph-mosaic>a:hover .ph-mo-name,
.ph-mosaic>a:focus-visible .ph-mo-name {
   opacity: 1;
   transform: translateX(-50%) translateY(0)
}

.ph-mosaic>a.is-pro {
   box-shadow: 0 0 0 2px #fff, 0 0 26px 3px rgba(25, 167, 255, .8), 0 16px 34px -14px rgba(0, 0, 0, .6)
}

.ph-mosaic>a.is-lifetime {
   box-shadow: 0 0 0 2px #fff, 0 0 26px 3px rgba(242, 194, 48, .85), 0 16px 34px -14px rgba(0, 0, 0, .6)
}

.ph-mosaic>a:nth-child(1) {
   left: 3%;
   top: 12%;
   width: 22%;
   animation-delay: -1s
}

.ph-mosaic>a:nth-child(2) {
   left: 30%;
   top: 0;
   width: 27%;
   animation-delay: -3s
}

.ph-mosaic>a:nth-child(3) {
   left: 63%;
   top: 8%;
   width: 21%;
   animation-delay: -5s
}

.ph-mosaic>a:nth-child(4) {
   left: 77%;
   top: 36%;
   width: 23%;
   animation-delay: -2s
}

.ph-mosaic>a:nth-child(5) {
   left: 48%;
   top: 38%;
   width: 29%;
   animation-delay: -4s
}

.ph-mosaic>a:nth-child(6) {
   left: 14%;
   top: 40%;
   width: 25%;
   animation-delay: -6s
}

.ph-mosaic>a:nth-child(7) {
   left: 34%;
   top: 72%;
   width: 20%;
   animation-delay: -2.5s
}

.ph-mosaic>a:nth-child(8) {
   left: 66%;
   top: 74%;
   width: 18%;
   animation-delay: -5.5s
}

.ph-mosaic>a:nth-child(9) {
   left: 1%;
   top: 74%;
   width: 16%;
   animation-delay: -3.5s
}

@keyframes ph-float {

   0%,
   100% {
      transform: translateY(0)
   }

   50% {
      transform: translateY(-10px)
   }
}

/* ---------- filter bar ---------- */
.ph-filterbar {
   position: sticky;
   top: var(--ph-nav);
   z-index: 40;
   background: rgba(243, 247, 248, .94);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   border-bottom: 1px solid var(--ph-line);
   padding: 12px var(--ph-pad)
}

.ph-filterbar-in {
   max-width: var(--ph-max);
   margin: 0 auto;
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 10px 16px
}

.ph-search {
   position: relative;
   display: flex;
   align-items: center;
   flex: 0 1 420px;
   min-width: 240px;
   height: 46px;
   padding: 0 16px;
   background: #fff;
   border: 2px solid var(--ph-line);
   border-radius: 999px;
   color: var(--ph-mute);
   font-size: 1rem;
   transition: border-color var(--ph-ease), box-shadow var(--ph-ease)
}

.ph-search:focus-within {
   border-color: var(--ph-teal);
   box-shadow: 0 0 0 4px rgba(11, 110, 92, .12);
   color: var(--ph-teal)
}

.ph-search input {
   flex: 1;
   min-width: 0;
   border: 0;
   outline: 0;
   background: transparent;
   padding: 0 10px;
   font: 500 .95rem var(--ph-body);
   color: var(--ph-ink)
}

.ph-search input::placeholder {
   color: var(--ph-mute)
}

.ph-search-clear {
   border: 0;
   background: none;
   color: var(--ph-mute);
   cursor: pointer;
   padding: 4px;
   display: inline-flex
}

.ph-search-clear:hover {
   color: var(--ph-ink)
}

.ph-views {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   flex: 1 1 auto
}

.ph-view-btn {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   white-space: nowrap;
   min-height: 42px;
   padding: 0 16px;
   border: 2px solid transparent;
   border-radius: 999px;
   background: #fff;
   color: var(--ph-text);
   font: 600 .88rem var(--ph-head);
   cursor: pointer;
   transition: background var(--ph-ease), color var(--ph-ease), border-color var(--ph-ease)
}

.ph-view-btn svg {
   font-size: 14px
}

.ph-view-btn:hover {
   border-color: var(--ph-teal);
   color: var(--ph-teal-d)
}

.ph-view-btn.active {
   background: var(--ph-teal);
   border-color: var(--ph-teal);
   color: #fff
}

.ph-local-hint {
   flex-basis: 100%;
   display: inline-flex;
   align-items: center;
   gap: 7px;
   font-size: .84rem;
   font-weight: 600;
   color: var(--ph-mute)
}

.ph-local-hint svg {
   width: 14px;
   height: 14px;
   color: var(--ph-teal)
}

.ph-local-hint strong {
   color: var(--ph-ink)
}

/* ---------- picked for you (no scrollbar, arrow buttons) ---------- */
.ph-suggested {
   max-width: var(--ph-max);
   margin: 0 auto;
   padding: 34px var(--ph-pad) 0
}

.ph-suggested-hd {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   margin-bottom: 14px
}

.ph-suggested-hd h2 {
   display: flex;
   align-items: center;
   gap: 9px;
   margin: 0;
   font: 700 1.3rem var(--ph-head);
   color: var(--ph-ink);
   letter-spacing: -.01em
}

.ph-suggested-hd h2 svg {
   width: 18px;
   height: 18px;
   color: var(--ph-film);
   fill: var(--ph-film)
}

.ph-sugg-nav {
   display: flex;
   gap: 8px
}

.ph-sugg-nav button {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   border: 2px solid var(--ph-line);
   background: #fff;
   color: var(--ph-ink);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 16px;
   cursor: pointer;
   transition: background var(--ph-ease), border-color var(--ph-ease), color var(--ph-ease)
}

.ph-sugg-nav button:hover {
   background: var(--ph-teal);
   border-color: var(--ph-teal);
   color: #fff
}

.ph-suggested-row {
   display: flex;
   gap: 16px;
   overflow-x: auto;
   scroll-snap-type: x proximity;
   padding: 6px 6px 14px;
   margin: 0 -6px;
   scrollbar-width: none;
   -ms-overflow-style: none;
   -webkit-overflow-scrolling: touch
}

.ph-suggested-row::-webkit-scrollbar {
   display: none
}

.ph-suggested-row .ph-card-sugg {
   flex: 0 0 clamp(200px, 16vw, 270px);
   scroll-snap-align: start;
   content-visibility: visible
}

.ph-reason {
   position: absolute;
   top: 12px;
   right: 12px;
   z-index: 2;
   padding: 5px 11px;
   border-radius: 999px;
   background: rgba(255, 255, 255, .92);
   color: var(--ph-teal-d);
   font: 700 .72rem var(--ph-head);
   backdrop-filter: blur(6px);
   box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35)
}

/* ---------- grid ---------- */
.ph-main {
   max-width: var(--ph-max);
   margin: 0 auto;
   padding: 30px var(--ph-pad) 90px
}

.ph-status-row {
   margin-bottom: 18px;
   font: 700 1.15rem var(--ph-head);
   color: var(--ph-ink)
}

.ph-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(clamp(210px, 16vw, 280px), 1fr));
   gap: clamp(14px, 1.4vw, 24px)
}

/* ---------- card ---------- */
.ph-profile-link {
   text-decoration: none
}

.ph-profile-link::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: 2;
   border-radius: inherit
}

.ph-profile-link:focus-visible::after {
   outline: 3px solid var(--ph-teal);
   outline-offset: -4px
}

.ph-card .ph-follow-btn,
.ph-card .ph-copy-profile,
.ph-card .ph-tag {
   position: relative;
   z-index: 3
}

.ph-public-uid {
   position: relative;
   z-index: 3;
   align-self: flex-start;
   font-size: .78rem;
   color: var(--ph-mute);
   user-select: all
}

.ph-public-uid span {
   font-variant-numeric: tabular-nums;
   white-space: nowrap
}

.ph-copy-profile {
   font: 600 .82rem var(--ph-body);
   color: var(--ph-teal-d);
   padding: 7px 0 2px;
   border: 0;
   background: none;
   cursor: pointer
}

.ph-copy-profile:hover {
   text-decoration: underline
}

.ph-card {
   display: flex;
   flex-direction: column;
   background: var(--ph-surface);
   border: 2px solid transparent;
   border-radius: 24px;
   overflow: hidden;
   position: relative;
   content-visibility: auto;
   contain-intrinsic-size: auto 430px;
   box-shadow: 0 1px 0 var(--ph-line), 0 14px 30px -24px rgba(15, 26, 23, .5);
   transition: transform var(--ph-ease), box-shadow var(--ph-ease), border-color var(--ph-ease)
}

.ph-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 22px 40px -22px rgba(15, 26, 23, .55);
   border-color: var(--ph-sage)
}

.ph-card-photo {
   position: relative;
   aspect-ratio: 1/1;
   overflow: hidden;
   background: hsl(var(--hue, 170) 42% 88%);
   display: flex;
   align-items: center;
   justify-content: center
}

.ph-card-initial {
   font: 700 clamp(2.6rem, 5vw, 3.8rem) var(--ph-head);
   color: hsl(var(--hue, 170) 40% 32%)
}

.ph-card-photo img {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .6s cubic-bezier(.22, .68, 0, 1)
}

.ph-card:hover .ph-card-photo img {
   transform: scale(1.05)
}

.ph-card-tiermark {
   position: absolute;
   top: 12px;
   left: 12px;
   z-index: 2;
   display: inline-flex;
   align-items: center;
   gap: 5px;
   padding: 5px 11px;
   border-radius: 999px;
   font: 700 .74rem var(--ph-head);
   box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45)
}

.ph-card-tiermark svg {
   width: 11px;
   height: 11px
}

.ph-card-tiermark.mk-pro {
   background: linear-gradient(135deg, var(--ph-neon), var(--ph-neon2));
   color: #fff;
   box-shadow: 0 0 14px rgba(25, 167, 255, .65)
}

.ph-card-tiermark.mk-lifetime {
   background: linear-gradient(135deg, #ffd75e, var(--ph-film));
   color: var(--ph-ink);
   box-shadow: 0 0 14px rgba(242, 194, 48, .7)
}

/* Pro: a neon-blue line orbits the card edge and the glow breathes.
   Lifetime: same effect in gold. Falls back to a static gradient border
   where @property is unsupported. */
.ph-card.tier-pro,
.ph-card.tier-lifetime {
   --ph-c1: var(--ph-neon);
   --ph-c2: var(--ph-neon2);
   --ph-glow: 25, 167, 255;
   border: 3px solid transparent;
   background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ph-a), transparent 0deg, var(--ph-c1) 60deg, var(--ph-c2) 130deg, transparent 200deg, transparent 360deg) border-box;
   animation: ph-orbit 3.6s linear infinite, ph-breathe 2.6s ease-in-out infinite alternate
}

.ph-card.tier-lifetime {
   --ph-c1: #ffd75e;
   --ph-c2: #f2a900;
   --ph-glow: 242, 194, 48
}

@keyframes ph-orbit {
   to {
      --ph-a: 360deg
   }
}

@keyframes ph-breathe {
   from {
      box-shadow: 0 0 10px -2px rgba(var(--ph-glow), .35), 0 14px 30px -24px rgba(15, 26, 23, .5)
   }

   to {
      box-shadow: 0 0 28px 2px rgba(var(--ph-glow), .6), 0 14px 30px -24px rgba(15, 26, 23, .5)
   }
}

.ph-card.tier-pro:hover,
.ph-card.tier-lifetime:hover {
   border-color: transparent
}

.ph-card-body {
   display: flex;
   flex-direction: column;
   gap: 4px;
   padding: 14px 16px 16px;
   flex: 1
}

.ph-card-name-row {
   display: flex;
   align-items: center;
   gap: 7px;
   min-width: 0
}

.ph-card-name {
   font: 700 1.05rem/1.25 var(--ph-head);
   color: var(--ph-ink);
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
   min-width: 0
}

.ph-tag {
   position: relative;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 18px;
   height: 18px;
   border-radius: 50%;
   flex-shrink: 0;
   cursor: default
}

.ph-tag svg {
   width: 10px;
   height: 10px;
   stroke-width: 3.4
}

.ph-tag-verified {
   background: var(--ph-blue);
   color: #fff;
   box-shadow: 0 0 0 3px rgba(29, 155, 240, .16)
}

.ph-tooltip {
   position: absolute;
   bottom: calc(100% + 8px);
   left: 50%;
   transform: translateX(-50%) translateY(4px);
   background: var(--ph-ink);
   color: #fff;
   font: 600 .76rem var(--ph-body);
   width: max-content;
   max-width: 180px;
   text-align: center;
   padding: 7px 12px;
   border-radius: 10px;
   opacity: 0;
   visibility: hidden;
   pointer-events: none;
   transition: opacity var(--ph-ease), transform var(--ph-ease);
   z-index: 20
}

.ph-tag:hover .ph-tooltip,
.ph-tag:focus .ph-tooltip {
   opacity: 1;
   visibility: visible;
   transform: translateX(-50%) translateY(0)
}

.ph-card-country {
   display: flex;
   align-items: center;
   gap: 5px;
   font-size: .88rem;
   font-weight: 500;
   color: var(--ph-mute);
   min-width: 0
}

.ph-card-country svg {
   width: 13px;
   height: 13px;
   color: var(--ph-teal)
}

.ph-card-country span {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap
}

.ph-card-stats {
   font-size: .8rem;
   font-weight: 600;
   color: var(--ph-mute)
}

.ph-card-stats b {
   color: var(--ph-ink);
   font-weight: 700
}

.ph-follow-btn {
   margin-top: auto;
   width: 100%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 7px;
   min-height: 42px;
   border: 2px solid var(--ph-teal);
   border-radius: 999px;
   background: var(--ph-teal);
   color: #fff;
   font: 600 .88rem var(--ph-head);
   cursor: pointer;
   transition: background var(--ph-ease), color var(--ph-ease), border-color var(--ph-ease)
}

.ph-card-body .ph-card-stats+.ph-follow-btn,
.ph-card-body .ph-card-country+.ph-follow-btn,
.ph-card-body .ph-card-name-row+.ph-follow-btn {
   margin-top: 12px
}

.ph-follow-icon {
   display: inline-flex;
   font-size: 14px
}

.ph-follow-btn:hover {
   background: var(--ph-teal-d);
   border-color: var(--ph-teal-d)
}

.ph-follow-btn:active {
   transform: scale(.98)
}

.ph-follow-btn.following {
   background: #fff;
   color: var(--ph-teal-d);
   border-color: var(--ph-line)
}

.ph-follow-btn.following:hover {
   border-color: var(--ph-teal);
   background: var(--ph-bg)
}

.ph-follow-btn[disabled] {
   opacity: .6;
   cursor: default
}

/* ---------- empty / loading / end ---------- */
.ph-empty {
   grid-column: 1/-1;
   text-align: center;
   padding: 72px 20px
}

.ph-empty-icon {
   width: 64px;
   height: 64px;
   margin: 0 auto 14px;
   border-radius: 50%;
   background: var(--ph-sage);
   color: var(--ph-teal-d);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 28px
}

.ph-empty-title {
   margin: 0 0 6px;
   font: 700 1.25rem var(--ph-head);
   color: var(--ph-ink)
}

.ph-empty-sub {
   margin: 0;
   font-size: .95rem;
   color: var(--ph-mute)
}

.ph-load-sentinel {
   height: 1px
}

.ph-loading-spinner {
   display: flex;
   justify-content: center;
   padding: 30px 0
}

.ph-loading-spinner .spin {
   width: 30px;
   height: 30px;
   border: 3px solid var(--ph-sage);
   border-top-color: var(--ph-teal);
   border-radius: 50%;
   animation: ph-spin .7s linear infinite
}

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

.ph-end-msg {
   text-align: center;
   font-size: .92rem;
   font-weight: 600;
   color: var(--ph-mute);
   padding: 30px 0 10px
}

.ph-skel {
   background: #fff;
   border-radius: 24px;
   overflow: hidden;
   border: 2px solid transparent;
   animation: ph-shimmer 1.3s ease-in-out infinite
}

.ph-skel-photo {
   aspect-ratio: 1/1;
   background: #e2edef
}

.ph-skel-body {
   padding: 16px
}

.ph-skel-line {
   height: 11px;
   background: #e2edef;
   border-radius: 99px;
   margin-bottom: 9px
}

@keyframes ph-shimmer {

   0%,
   100% {
      opacity: 1
   }

   50% {
      opacity: .55
   }
}

/* ---------- responsive ---------- */
@media(max-width:900px) {
   .ph-hero {
      border-radius: 0 0 28px 28px
   }

   .ph-hero-in {
      grid-template-columns: 1fr;
      min-height: 0
   }

   .ph-mosaic {
      max-width: 460px;
      margin: 0 auto
   }

   .ph-hero::after {
      background: linear-gradient(180deg, rgba(4, 28, 23, .9), rgba(4, 28, 23, .62))
   }
}

@media(max-width:640px) {
   .ph-hero-in {
      padding: 30px 16px 32px;
      gap: 22px
   }

   .ph-title {
      font-size: 2.05rem
   }

   .ph-subtitle {
      font-size: .95rem;
      margin-bottom: 18px
   }

   .ph-hero-stat {
      padding: 8px 14px
   }

   .ph-hero-stat-num {
      font-size: 1.1rem
   }

   .ph-mosaic {
      max-width: 320px
   }

   .ph-mosaic>a {
      border-width: 3px
   }

   .ph-mo-name {
      display: none
   }

   .ph-filterbar {
      padding: 10px 14px
   }

   .ph-search {
      flex: 1 1 100%;
      height: 44px
   }

   .ph-views {
      flex-wrap: nowrap;
      overflow-x: auto;
      scrollbar-width: none;
      margin: 0 -14px;
      padding: 0 14px
   }

   .ph-views::-webkit-scrollbar {
      display: none
   }

   .ph-view-btn {
      min-height: 40px;
      padding: 0 14px
   }

   .ph-suggested {
      padding-top: 24px
   }

   .ph-sugg-nav {
      display: none
   }

   .ph-suggested-row .ph-card-sugg {
      flex-basis: 168px
   }

   .ph-main {
      padding-top: 20px
   }

   .ph-status-row {
      font-size: 1rem;
      margin-bottom: 14px
   }

   .ph-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px
   }

   .ph-card {
      border-radius: 18px;
      contain-intrinsic-size: auto 330px
   }

   .ph-card-tiermark,
   .ph-reason {
      top: 8px;
      padding: 4px 9px;
      font-size: .68rem
   }

   .ph-card-tiermark {
      left: 8px
   }

   .ph-reason {
      right: 8px
   }

   .ph-card-body {
      padding: 10px 12px 12px
   }

   .ph-card-name {
      font-size: .94rem
   }

   .ph-card-country,
   .ph-card-stats {
      font-size: .78rem
   }

   .ph-follow-btn {
      min-height: 38px;
      font-size: .82rem
   }
}

@media(prefers-reduced-motion:reduce) {

   .ph-mosaic>a,
   .ph-skel,
   .ph-loading-spinner .spin,
   .ph-card.tier-pro,
   .ph-card.tier-lifetime {
      animation: none
   }

   .ph-card,
   .ph-card-photo img {
      transition: none
   }

   .ph-card:hover {
      transform: none
   }
}