/* PH Sites Directory 1.0.12
 * ThePornLinks-inspired information architecture, PlayHard054 visual system.
 * IMPORTANT: styling is scoped to the directory stage; the site's Elementor header/footer stay untouched.
 */
.phsd-page,
.phsd-embed {
  --phsd-bg: #0d0716;
  --phsd-bg-soft: #130b20;
  --phsd-panel: #181022;
  --phsd-panel-2: #21162e;
  --phsd-text: #f8f4fb;
  --phsd-muted: #b7acc0;
  --phsd-muted-2: #8f839b;
  --phsd-border: rgba(255,255,255,.09);
  --phsd-border-strong: rgba(255,255,255,.15);
  --phsd-accent: #d34cff;
  --phsd-accent-2: #ff4da7;
  --phsd-accent-soft: rgba(211,76,255,.10);
  --phsd-pink-soft: rgba(255,77,167,.09);
  --phsd-shadow: 0 12px 32px rgba(0,0,0,.22);
}

body.phsd-page.phsd-nav-open,
body.phsd-page.phsd-quickview-open { overflow: hidden; }

.phsd-directory-stage {
  position: relative;
  width: 100%;
  color: var(--phsd-text);
  background:
    radial-gradient(circle at 14% -12%, rgba(211,76,255,.12), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(255,77,167,.08), transparent 26%),
    var(--phsd-bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.phsd-directory-stage *,
.phsd-embed * { box-sizing: border-box; }

.phsd-shell {
  width: min(1500px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 56px;
  color: var(--phsd-text) !important;
  background: transparent;
}
.phsd-directory-stage .phsd-shell h1,
.phsd-directory-stage .phsd-shell h2,
.phsd-directory-stage .phsd-shell h3,
.phsd-directory-stage .phsd-shell h4 { color: var(--phsd-text) !important; line-height: 1.18; }
.phsd-directory-stage .phsd-shell a { color: inherit; }
.phsd-directory-stage .phsd-shell p { color: var(--phsd-muted) !important; }
.phsd-directory-stage .phsd-shell button,
.phsd-directory-stage .phsd-shell input { font: inherit; }
.phsd-eyebrow { margin: 0; color: var(--phsd-accent) !important; font-size: 11px; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.phsd-lead { max-width: 850px; margin: 0; color: var(--phsd-muted) !important; font-size: 15px; line-height: 1.62; }
.phsd-text-link { color: #e278ff !important; font-weight: 700; text-decoration: none; }
.phsd-text-link:hover { color: var(--phsd-accent-2) !important; }
.phsd-section { margin-top: 32px; }
.phsd-search-empty,
.phsd-empty { padding: 20px; border: 1px dashed var(--phsd-border-strong); border-radius: 8px; background: var(--phsd-bg-soft); color: var(--phsd-muted); text-align: center; }

/* Directory toolbar below the normal PlayHard header. */
.phsd-directory-toolbar {
  position: relative;
  z-index: 50;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.035);
  border-bottom: 1px solid var(--phsd-border);
  background: rgba(19,11,32,.96);
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
}
.phsd-directory-toolbar__inner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) minmax(260px,360px);
  gap: 24px;
  align-items: center;
  width: min(1500px, calc(100% - 36px));
  min-height: 56px;
  margin: 0 auto;
}
.phsd-directory-toolbar__identity { display: flex; align-items: center; gap: 8px; }
.phsd-directory-toolbar__title {
  color: #fff !important;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.015em;
  text-decoration: none !important;
  white-space: nowrap;
}
.phsd-directory-menu-toggle { display: none; appearance: none; align-content: center; gap: 4px; width: 32px; height: 32px; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.phsd-directory-menu-toggle > span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,var(--phsd-accent),var(--phsd-accent-2)); transition: transform .18s ease, opacity .18s ease; }
.phsd-directory-menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.phsd-directory-menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.phsd-directory-menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.phsd-directory-nav { min-width: 0; }
.phsd-directory-nav__inner { display: flex; align-items: center; gap: 19px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.phsd-directory-nav__inner::-webkit-scrollbar { display: none; }
.phsd-directory-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 19px 0 17px;
  color: #c9bfce !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none !important;
}
.phsd-directory-nav a:hover,
.phsd-directory-nav a.is-active { color: #fff !important; }
.phsd-directory-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--phsd-accent),var(--phsd-accent-2));
}
.phsd-directory-toolbar__actions { display: grid; grid-template-columns: minmax(0,1fr) 36px; gap: 8px; align-items: center; }
.phsd-global-search {
  position: relative;
  display: grid;
  grid-template-columns: 19px minmax(0,1fr) 22px;
  align-items: center;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid var(--phsd-border-strong);
  border-radius: 7px;
  background: rgba(255,255,255,.045);
  transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.phsd-global-search:focus-within { border-color: rgba(211,76,255,.65); background: rgba(255,255,255,.065); box-shadow: 0 0 0 3px rgba(211,76,255,.09); }
.phsd-global-search > span { color: var(--phsd-muted-2); font-size: 16px; }
.phsd-global-search input { width: 100%; min-width: 0; padding: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; color: #fff !important; font-size: 12px; }
.phsd-global-search input::placeholder { color: #8f839b !important; opacity: 1; }
.phsd-global-search button { appearance: none; padding: 0; border: 0; background: transparent; color: var(--phsd-muted-2); font-size: 17px; cursor: pointer; }
.phsd-header-saved { display: flex; align-items: center; justify-content: center; min-height: 34px; color: #f06aff !important; font-size: 18px; font-weight: 800; text-decoration: none !important; }
.phsd-header-saved:hover { color: var(--phsd-accent-2) !important; }
.phsd-header-saved span { margin-left: 2px; font-size: 9px; }
.phsd-search-suggest { position: absolute; top: calc(100% + 7px); right: 0; left: 0; z-index: 80; overflow: hidden; border: 1px solid var(--phsd-border-strong); border-radius: 8px; background: #181022; box-shadow: 0 18px 42px rgba(0,0,0,.42); }
.phsd-search-suggest__group + .phsd-search-suggest__group { border-top: 1px solid var(--phsd-border); }
.phsd-search-suggest__group > strong { display: block; padding: 8px 11px 5px; color: var(--phsd-muted-2); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.phsd-search-suggest__group a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 11px; color: #eee8f2 !important; font-size: 12px; font-weight: 650; text-decoration: none !important; }
.phsd-search-suggest__group a:hover { background: rgba(211,76,255,.10); color: #fff !important; }
.phsd-search-suggest__group a small { margin-left: auto; overflow: hidden; color: var(--phsd-muted-2); font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.phsd-search-suggest__empty { padding: 12px; color: var(--phsd-muted); font-size: 11px; }

/* Compact page intro. */
.phsd-directory-hero {
  min-height: 112px;
  display: flex;
  align-items: center;
  margin: 0 -18px 10px;
  padding: 22px 18px 20px;
  border-bottom: 1px solid var(--phsd-border);
  background:
    radial-gradient(circle at 12% 20%, rgba(211,76,255,.11), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(255,77,167,.08), transparent 24%);
}
.phsd-directory-hero h1 { margin: 4px 0 6px; color: #fff !important; font-size: clamp(29px,3vw,42px); font-weight: 820; letter-spacing: -.04em; }
.phsd-directory-hero > div > p:last-child { margin: 0; color: #95899f !important; font-size: 12px; }

/* Home utilities. */
.phsd-directory-utility { display: flex; align-items: center; min-height: 32px; padding: 1px 2px 9px; border-bottom: 1px solid var(--phsd-border); }
.phsd-popular-searches { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.phsd-popular-searches strong { color: #8f839b; font-size: 11px; }
.phsd-popular-searches button { appearance: none; padding: 0; border: 0; background: none; color: #d66df6; font-size: 11px; cursor: pointer; }
.phsd-popular-searches button:hover { color: var(--phsd-accent-2); text-decoration: underline; }

.phsd-quick-categories { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--phsd-border); border-radius: 8px; background: rgba(24,16,34,.82); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.phsd-quick-categories__head { display: flex; align-items: baseline; gap: 7px; margin-bottom: 9px; }
.phsd-quick-categories__head h2 { margin: 0; color: #fff !important; font-size: 14px; font-weight: 800; }
.phsd-quick-categories__head span { color: var(--phsd-muted-2); font-size: 10px; }
.phsd-quick-categories__links { display: flex; flex-wrap: wrap; gap: 6px; }
.phsd-quick-categories__links a { min-height: 29px; padding: 6px 10px; border: 1px solid rgba(211,76,255,.22); border-radius: 6px; background: rgba(211,76,255,.055); color: #dcd3e2 !important; font-size: 11px; font-weight: 650; line-height: 1.2; text-decoration: none !important; transition: color .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease; }
.phsd-quick-categories__links a:nth-of-type(3n+2) { border-color: rgba(255,77,167,.22); background: rgba(255,77,167,.05); }
.phsd-quick-categories__links a:nth-of-type(3n+3) { border-color: rgba(211,76,255,.32); background: linear-gradient(135deg,rgba(211,76,255,.065),rgba(255,77,167,.045)); }
.phsd-quick-categories__links a:hover { border-color: rgba(226,120,255,.66); background: rgba(211,76,255,.12); color: #fff !important; box-shadow: 0 0 18px rgba(211,76,255,.08); }

.phsd-directory-index { margin-top: 22px; }
.phsd-directory-index__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 12px; }
.phsd-directory-index__head h2 { margin: 3px 0 0; color: #fff !important; font-size: 23px; letter-spacing: -.03em; }
.phsd-directory-index__head > p { max-width: 450px; margin: 0; color: #8f839b !important; font-size: 11px; text-align: right; }

/* All categories are shown. 4 columns on large desktop. */
.phsd-category-masonry { column-count: 4; column-gap: 14px; }
.phsd-index-category {
  --phsd-card-accent: var(--phsd-accent);
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--phsd-border);
  border-radius: 8px;
  background: rgba(24,16,34,.96);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
  scroll-margin-top: 72px;
}
.phsd-index-category::before { content: ""; display: block; width: 100%; height: 3px; background: var(--phsd-card-accent); }
.phsd-index-category--accent-1 { --phsd-card-accent: var(--phsd-accent-2); }
.phsd-index-category--accent-2 { --phsd-card-accent: var(--phsd-accent); }
.phsd-index-category--accent-3 { --phsd-card-accent: linear-gradient(90deg,var(--phsd-accent),var(--phsd-accent-2)); }
.phsd-index-category__head { padding: 11px 12px 4px; }
.phsd-index-category__title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.phsd-index-category h3 { display: flex; align-items: center; gap: 7px; min-width: 0; margin: 0; color: #fff !important; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.phsd-index-category h3 > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; color: #e27aff !important; font-size: 10px; font-weight: 900; }
.phsd-index-category h3 a { overflow: hidden; color: #fff !important; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.phsd-index-category h3 a:hover { color: #ef9aff !important; }
.phsd-index-category__title small { flex: 0 0 auto; color: #887d91 !important; font-size: 9px; font-weight: 600; }
.phsd-index-category__intro { display: -webkit-box; overflow: hidden; min-height: 43px; margin: 0; padding: 3px 12px 9px; color: #a99db3 !important; font-size: 11px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.phsd-index-category__list { margin: 0; padding: 0; border-top: 1px solid var(--phsd-border); list-style: none; }
.phsd-index-site { display: grid; grid-template-columns: 22px 18px minmax(0,1fr) 18px; gap: 7px; align-items: center; min-height: 36px; padding: 5px 10px; border-bottom: 1px solid rgba(255,255,255,.065); transition: background .12s ease; }
.phsd-index-site:last-child { border-bottom: 0; }
.phsd-index-site:hover { background: rgba(211,76,255,.075); }
.phsd-index-site__rank { color: #786d82 !important; font-size: 10px; font-weight: 800; text-align: center; }
.phsd-index-site__name { overflow: hidden; color: #eee8f2 !important; font-size: 12px; font-weight: 650; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.phsd-index-site__name:hover { color: #fff !important; }
.phsd-index-site__recommended { color: var(--phsd-accent-2) !important; font-size: 12px; text-align: center; }
.phsd-index-category__foot { border-top: 1px solid var(--phsd-border); background: rgba(13,7,22,.48); }
.phsd-index-category__foot a { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; color: #dc76fa !important; font-size: 11px; font-weight: 700; text-decoration: none !important; }
.phsd-index-category__foot a:hover { color: #ff77bb !important; }
.phsd-index-category__foot a span { transition: transform .14s ease; }
.phsd-index-category__foot a:hover span { transform: translateX(3px); }

/* Site icons. */
.phsd-site-icon { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; overflow: hidden; border: 1px solid var(--phsd-border); border-radius: 8px; background: #21162e; color: #e27aff; isolation: isolate; }
.phsd-site-icon img { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.phsd-site-icon__favicon { padding: 5px; object-fit: contain !important; }
.phsd-site-icon__fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: linear-gradient(135deg,rgba(211,76,255,.18),rgba(255,77,167,.12)); color: #f0c6ff; font-size: 1rem; font-weight: 800; }
.phsd-site-icon--xs { width: 18px; height: 18px; border: 0; border-radius: 50%; }
.phsd-site-icon--xs .phsd-site-icon__favicon { padding: 0; background: transparent; }
.phsd-site-icon--xs .phsd-site-icon__fallback { font-size: 8px; }
.phsd-site-icon--sm { width: 30px; height: 30px; border-radius: 7px; }
.phsd-site-icon--md { width: 46px; height: 46px; border-radius: 9px; }
.phsd-site-icon--lg { width: 64px; height: 64px; border-radius: 11px; }
.phsd-site-icon--xl { width: 96px; height: 96px; border-radius: 14px; }

/* Editorial / SEO block. */
.phsd-directory-editorial { margin-top: 38px; padding: 28px clamp(20px,4vw,42px); border: 1px solid var(--phsd-border); border-radius: 9px; background: rgba(19,11,32,.82); }
.phsd-directory-editorial > header { max-width: 860px; margin-bottom: 22px; }
.phsd-directory-editorial > header h2 { margin: 4px 0 0; color: #fff !important; font-size: clamp(25px,3vw,34px); letter-spacing: -.035em; }
.phsd-directory-editorial__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; }
.phsd-directory-editorial__grid section { min-width: 0; padding-bottom: 4px; }
.phsd-directory-editorial h3 { margin: 0 0 8px; color: #f4edf7 !important; font-size: 16px; }
.phsd-directory-editorial p { margin: 0 0 10px; color: #aca1b5 !important; font-size: 13px; line-height: 1.7; }
.phsd-directory-editorial a { color: #df7bfa !important; }
.phsd-directory-editorial__footer { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--phsd-border); }
.phsd-directory-editorial--elementor { padding: 0; border: 0; background: transparent; }

/* Quick preview drawer. */
.phsd-quickview[hidden] { display: none !important; }
.phsd-quickview { position: fixed; inset: 0; z-index: 999999; font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
.phsd-quickview__overlay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0,0,0,.70); opacity: 0; transition: opacity .18s ease; cursor: default; }
.phsd-quickview__panel { position: absolute; top: 0; right: 0; width: min(420px,92vw); height: 100%; overflow-y: auto; padding: 24px; border-left: 1px solid var(--phsd-border); background: #130b20; color: #f8f4fb; box-shadow: -18px 0 48px rgba(0,0,0,.46); transform: translateX(100%); transition: transform .2s ease; }
.phsd-quickview.is-open .phsd-quickview__overlay { opacity: 1; }
.phsd-quickview.is-open .phsd-quickview__panel { transform: translateX(0); }
.phsd-quickview__close { position: sticky; top: 0; z-index: 2; float: right; display: grid; place-items: center; width: 32px; height: 32px; margin: -6px -6px 8px 8px; border: 1px solid var(--phsd-border-strong); border-radius: 50%; background: #21162e; color: #fff; font-size: 21px; cursor: pointer; }
.phsd-quickview__loading { padding: 60px 0; color: var(--phsd-muted); text-align: center; }
.phsd-quickview__brand { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 12px; align-items: center; clear: both; }
.phsd-quickview__brand > img { width: 54px; height: 54px; padding: 6px; border: 1px solid var(--phsd-border); border-radius: 10px; background: #21162e; object-fit: contain; }
.phsd-quickview__brand span { color: #e27aff; font-size: 10px; font-weight: 700; }
.phsd-quickview__brand h2 { margin: 2px 0; color: #fff !important; font-size: 24px; letter-spacing: -.03em; }
.phsd-quickview__brand small { color: var(--phsd-muted-2); font-size: 10px; }
.phsd-quickview__image { margin: 18px 0 0; overflow: hidden; border: 1px solid var(--phsd-border); border-radius: 9px; background: #181022; }
.phsd-quickview__image img { display: block; width: 100%; height: auto; }
.phsd-quickview__score { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(211,76,255,.23); border-radius: 8px; background: linear-gradient(135deg,rgba(211,76,255,.11),rgba(255,77,167,.07)); }
.phsd-quickview__score > span { color: #aa9cb3; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.phsd-quickview__score strong { color: #e680ff; font-size: 26px; line-height: 1; }
.phsd-quickview__score small { color: var(--phsd-muted-2); font-size: 10px; }
.phsd-quickview__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; }
.phsd-quickview__facts span { padding: 9px 10px; border: 1px solid var(--phsd-border); border-radius: 7px; background: #181022; }
.phsd-quickview__facts small { display: block; color: var(--phsd-muted-2); font-size: 8px; text-transform: uppercase; }
.phsd-quickview__facts b { display: block; margin-top: 2px; color: #eee8f2; font-size: 11px; }
.phsd-quickview__description { margin: 16px 0; color: #b1a6ba; font-size: 13px; line-height: 1.6; }
.phsd-quickview__proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.phsd-quickview__proscons section { padding: 11px; border: 1px solid var(--phsd-border); border-radius: 8px; background: #181022; }
.phsd-quickview__proscons h3 { margin: 0 0 7px; color: #fff !important; font-size: 12px; }
.phsd-quickview__proscons ul { margin: 0; padding: 0; list-style: none; }
.phsd-quickview__proscons li { margin-top: 5px; color: #b7acc0; font-size: 10px; line-height: 1.4; }
.phsd-quickview__actions { display: grid; gap: 8px; margin-top: 18px; }

/* Buttons */
.phsd-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; background: linear-gradient(135deg,var(--phsd-accent),var(--phsd-accent-2)); color: #fff !important; font-size: 11px; font-weight: 800; line-height: 1; text-decoration: none !important; cursor: pointer; transition: filter .14s ease, border-color .14s ease, background .14s ease; }
.phsd-button:hover { filter: brightness(1.07); }
.phsd-button--ghost { border-color: rgba(211,76,255,.30); background: #181022; color: #e381ff !important; }
.phsd-button--ghost:hover { background: rgba(211,76,255,.11); }
.phsd-button--wide { width: 100%; }
.phsd-button.is-saved { border-color: rgba(255,77,167,.32); background: rgba(255,77,167,.10); color: #ff85c1 !important; }

/* Breadcrumbs */
.phsd-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; color: #82768c !important; font-size: 10px; }
.phsd-breadcrumbs a { color: #9f93a8 !important; text-decoration: none; }
.phsd-breadcrumbs a:hover { color: #e27aff !important; }

/* Category page */
.phsd-category-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 18px 0 20px; border-bottom: 1px solid var(--phsd-border); }
.phsd-category-hero h1 { display: flex; align-items: center; gap: 9px; margin: 4px 0 8px; color: #fff !important; font-size: clamp(28px,4vw,42px); letter-spacing: -.04em; }
.phsd-category-hero h1 > span { color: #e27aff !important; font-size: 20px; }
.phsd-category-hero .phsd-lead p { margin: 0; color: #b7acc0 !important; }
.phsd-category-ranking { margin-top: 24px; }
.phsd-ranking-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 12px; }
.phsd-ranking-toolbar h2 { margin: 3px 0 0; color: #fff !important; font-size: 23px; }
.phsd-ranking-search { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: center; width: min(300px,100%); min-height: 38px; padding: 0 9px; border: 1px solid var(--phsd-border-strong); border-radius: 7px; background: #181022; color: var(--phsd-muted-2); }
.phsd-ranking-search input { min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; color: #fff !important; font-size: 11px; }
.phsd-ranking-search input::placeholder { color: #82768c; opacity: 1; }
.phsd-ranking-list { display: grid; gap: 6px; }
.phsd-rank-row { display: grid; grid-template-columns: 32px 46px minmax(0,1fr) 62px auto; gap: 10px; align-items: center; min-width: 0; padding: 9px 10px; border: 1px solid var(--phsd-border); border-radius: 8px; background: #181022; }
.phsd-rank-row:hover { border-color: rgba(211,76,255,.32); background: #1d1328; }
.phsd-rank-row__rank { color: #81758a !important; font-size: 11px; font-weight: 850; text-align: center; }
.phsd-rank-row__copy { min-width: 0; }
.phsd-rank-row__title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.phsd-rank-row__title a { overflow: hidden; color: #f2edf5 !important; font-size: 13px; font-weight: 750; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.phsd-rank-row__title a:hover { color: #e78aff !important; }
.phsd-rank-row__title > span { flex: 0 0 auto; color: var(--phsd-muted-2); font-size: 9px; }
.phsd-rank-row__copy p { margin: 3px 0 0; color: #9f94a7 !important; font-size: 10px; line-height: 1.38; }
.phsd-rank-row__facts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.phsd-rank-row__facts span { padding: 2px 5px; border: 1px solid var(--phsd-border); border-radius: 5px; color: #958a9e !important; font-size: 8px; }
.phsd-rank-row__score { display: flex; align-items: baseline; justify-content: center; color: #e27aff; }
.phsd-rank-row__score strong { color: #e27aff !important; font-size: 17px; }
.phsd-rank-row__score span { color: var(--phsd-muted-2); font-size: 8px; }
.phsd-rank-row__actions { display: flex; gap: 5px; }
.phsd-rank-row__actions .phsd-button { min-height: 31px; padding: 6px 9px; font-size: 9px; }
.phsd-rank-row--compact { grid-template-columns: 26px 36px minmax(0,1fr) 54px auto; }
.phsd-rank-row--compact .phsd-site-icon--md { width: 36px; height: 36px; }
.phsd-rank-row--compact .phsd-rank-row__copy p,
.phsd-rank-row--compact .phsd-rank-row__facts { display: none; }
.phsd-rank-row[hidden] { display: none !important; }
.phsd-category-copy { max-width: 900px; margin: 32px auto 0; padding-top: 22px; border-top: 1px solid var(--phsd-border); }
.phsd-category-copy h2 { margin: 4px 0 10px; color: #fff !important; font-size: 23px; }
.phsd-category-copy p { color: #afa4b8 !important; font-size: 13px; line-height: 1.68; }

/* Review / overview page */
.phsd-editorial-draft { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 12px; padding: 9px 11px; border: 1px solid rgba(255,190,77,.22); border-radius: 7px; background: rgba(255,190,77,.055); color: #d9c79f; font-size: 10px; }
.phsd-editorial-draft strong { display: block; margin-bottom: 2px; color: #f0dcab; }
.phsd-editorial-draft span { color: #b9aa89; }
.phsd-editorial-draft__actions { display: flex; flex: 0 0 auto; gap: 6px; }
.phsd-editorial-draft__actions a { padding: 5px 7px; border: 1px solid rgba(255,190,77,.20); border-radius: 6px; color: #e7cf98 !important; font-weight: 700; text-decoration: none; }
.phsd-review-hero { display: grid; grid-template-columns: 104px minmax(0,1fr) 120px; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--phsd-border); border-radius: 9px; background: rgba(24,16,34,.96); box-shadow: 0 8px 26px rgba(0,0,0,.14); }
.phsd-review-hero__logo { display: grid; place-items: center; }
.phsd-review-kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 3px; }
.phsd-review-kicker a,
.phsd-review-kicker span { padding: 3px 6px; border: 1px solid var(--phsd-border); border-radius: 5px; background: rgba(255,255,255,.025); color: #a99db2 !important; font-size: 9px; font-weight: 650; text-decoration: none; }
.phsd-review-hero h1 { margin: 5px 0 8px; color: #fff !important; font-size: clamp(28px,4vw,44px); letter-spacing: -.045em; }
.phsd-review-hero__actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.phsd-review-score { padding: 12px; border: 1px solid rgba(211,76,255,.25); border-radius: 8px; background: linear-gradient(135deg,rgba(211,76,255,.12),rgba(255,77,167,.07)); text-align: center; }
.phsd-review-score > span { display: block; margin-bottom: 3px; color: #a99db2 !important; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.phsd-review-score strong { display: inline-block; color: #e27aff !important; font-size: 31px; line-height: 1; }
.phsd-review-score small { color: var(--phsd-muted-2); font-size: 9px; }
.phsd-fact-strip { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.phsd-fact-strip > div { min-width: 0; padding: 8px 10px; border: 1px solid var(--phsd-border); border-radius: 6px; background: #181022; }
.phsd-fact-strip span { display: block; color: var(--phsd-muted-2) !important; font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }
.phsd-fact-strip strong { display: block; overflow: hidden; margin-top: 2px; color: #f1ebf4 !important; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.phsd-screenshot { margin: 14px 0 0; overflow: hidden; border: 1px solid var(--phsd-border); border-radius: 9px; background: #181022; }
.phsd-screenshot img { display: block; width: 100%; height: auto; }
.phsd-review-layout { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 15px; margin-top: 16px; }
.phsd-review-content--boxed { min-width: 0; padding: clamp(20px,3vw,30px); border: 1px solid var(--phsd-border); border-radius: 9px; background: #181022; color: #b8aec1; font-size: 13px; line-height: 1.72; }
.phsd-review-content--elementor { min-width: 0; }
.phsd-review-content--boxed > *:first-child { margin-top: 0; }
.phsd-review-content--boxed h2 { margin-top: 1.45em; color: #fff !important; font-size: clamp(21px,2.5vw,28px); letter-spacing: -.025em; }
.phsd-review-content--boxed h3 { color: #f4edf7 !important; font-size: 18px; }
.phsd-review-content--boxed p,
.phsd-review-content--boxed li { color: #b8aec1 !important; }
.phsd-review-content--boxed a:not(.phsd-button):not(.elementor-button) { color: #e27aff !important; }
.phsd-review-section + .phsd-review-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--phsd-border); }
.phsd-review-section h2 { margin-top: 0; }
.phsd-review-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.phsd-review-tags a { padding: 5px 8px; border: 1px solid rgba(211,76,255,.22); border-radius: 6px; background: rgba(211,76,255,.055); color: #d8cde0 !important; font-size: 9px; font-weight: 700; text-decoration: none; }
.phsd-review-sidebar { align-self: start; position: sticky; top: 14px; padding: 14px; border: 1px solid var(--phsd-border); border-radius: 9px; background: #181022; }
.phsd-side-score { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--phsd-border); }
.phsd-side-score > span { color: var(--phsd-muted-2) !important; font-size: 9px; }
.phsd-side-score > strong { color: #e27aff !important; font-size: 24px; line-height: 1; }
.phsd-side-score small { color: var(--phsd-muted-2); font-size: 8px; }
.phsd-side-category { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 8px; margin: 8px 0; padding: 8px 0; border-bottom: 1px solid var(--phsd-border); text-decoration: none !important; }
.phsd-side-category span { color: var(--phsd-muted-2) !important; font-size: 8px; text-transform: uppercase; }
.phsd-side-category strong { color: #f2ebf5 !important; font-size: 11px; }
.phsd-side-category b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #e27aff; }
.phsd-side-ratings { margin-bottom: 11px; }
.phsd-rating-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--phsd-border); color: #a79caf; font-size: 9px; }
.phsd-rating-row strong { color: #eee8f2 !important; }
.phsd-checked,
.phsd-disclosure { color: var(--phsd-muted-2) !important; font-size: 8px; line-height: 1.5; }
.phsd-related-section { margin-top: 26px; }
.phsd-index-section__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 10px; }
.phsd-index-section__head h2 { margin: 3px 0 0; color: #fff !important; font-size: 22px; }
.phsd-ranking-list--related { grid-template-columns: 1fr 1fr; }
.phsd-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; }
.phsd-pros-cons section { padding: 13px; border: 1px solid var(--phsd-border); border-radius: 8px; background: #130b20; }
.phsd-pros-cons h2 { margin: 0 0 8px; color: #fff !important; font-size: 18px; }
.phsd-pros-cons ul { margin: 0; padding-left: 18px; }
.phsd-faq details { margin-top: 7px; padding: 11px 12px; border: 1px solid var(--phsd-border); border-radius: 7px; background: #181022; }
.phsd-faq summary { color: #f0eaf3 !important; font-weight: 750; cursor: pointer; }

/* Saved / shortcode cards */
.phsd-saved-hero { padding: 18px 0 22px; border-bottom: 1px solid var(--phsd-border); }
.phsd-saved-hero h1 { margin: 4px 0 8px; color: #fff !important; font-size: 34px; letter-spacing: -.04em; }
.phsd-saved-hero .phsd-button { margin-top: 13px; }
.phsd-list { display: grid; gap: 8px; }
.phsd-card { position: relative; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; padding: 12px; border: 1px solid var(--phsd-border); border-radius: 8px; background: #181022; }
.phsd-card--compact { grid-template-columns: 42px minmax(0,1fr); }
.phsd-rank { position: absolute; left: -5px; top: -5px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(211,76,255,.28); border-radius: 50%; background: #21162e; color: #e27aff; font-size: 8px; font-weight: 900; }
.phsd-card__media { display: grid; place-items: center; }
.phsd-card__body { min-width: 0; }
.phsd-card__headline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phsd-card h3 { margin: 0; color: #fff !important; font-size: 15px; }
.phsd-card p { margin: 6px 0 9px; color: #a99db2 !important; font-size: 10px; line-height: 1.45; }
.phsd-score { color: #e27aff !important; font-size: 11px; font-weight: 850; }
.phsd-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.phsd-badges span { padding: 2px 5px; border-radius: 5px; background: rgba(211,76,255,.10); color: #e0a0f6 !important; font-size: 8px; font-weight: 700; }
.phsd-card__actions { display: flex; flex-wrap: wrap; gap: 5px; }
.phsd-card__actions .phsd-button { min-height: 30px; padding: 6px 8px; font-size: 9px; }
.phsd-category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.phsd-category-block { padding: 14px; border: 1px solid var(--phsd-border); border-radius: 8px; background: #181022; }
.phsd-category-block h3 { margin: 0; color: #fff !important; font-size: 17px; }
.phsd-mini-list { margin: 12px 0; padding-left: 22px; }
.phsd-mini-list li { padding: 5px 0; border-bottom: 1px solid var(--phsd-border); }
.phsd-table-wrap { overflow-x: auto; border: 1px solid var(--phsd-border); border-radius: 8px; }
.phsd-comparison { width: 100%; min-width: 700px; border-collapse: collapse; background: #181022; color: #f0eaf3; }
.phsd-comparison th,
.phsd-comparison td { padding: 9px; border-bottom: 1px solid var(--phsd-border); text-align: left; vertical-align: top; }
.phsd-comparison th { color: #df7bfa !important; font-size: 9px; text-transform: uppercase; }
.phsd-internal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.phsd-internal-grid a { display: flex; flex-direction: column; gap: 3px; min-height: 80px; padding: 13px; border: 1px solid var(--phsd-border); border-radius: 8px; background: #181022; text-decoration: none; }
.phsd-facts { padding: 12px; border: 1px solid var(--phsd-border); border-radius: 8px; background: #181022; }
.phsd-embed { color: inherit; }

@media (max-width: 1299px) {
  .phsd-category-masonry { column-count: 3; }
}

@media (max-width: 1080px) {
  .phsd-directory-toolbar__inner { grid-template-columns: auto minmax(0,1fr) minmax(220px,300px); gap: 15px; }
  .phsd-directory-nav__inner { gap: 14px; }
  .phsd-directory-nav a { font-size: 11px; }
  .phsd-review-layout { grid-template-columns: minmax(0,1fr) 250px; }
  .phsd-fact-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .phsd-category-masonry { column-count: 2; }
  .phsd-directory-toolbar__inner { grid-template-columns: auto minmax(0,1fr); gap: 10px; min-height: 54px; padding: 8px 0; }
  .phsd-directory-menu-toggle { display: grid; }
  .phsd-directory-toolbar__actions { justify-self: end; width: min(360px,100%); }
  .phsd-directory-nav { display: none; grid-column: 1 / -1; grid-row: 2; padding: 6px 0 2px; }
  .phsd-directory-nav.is-open { display: block; }
  .phsd-directory-nav__inner { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 10px; overflow: visible; }
  .phsd-directory-nav a { padding: 10px 4px; border-bottom: 1px solid var(--phsd-border); }
  .phsd-directory-nav a.is-active::after { width: 34px; }
  .phsd-directory-index__head,
  .phsd-ranking-toolbar,
  .phsd-category-hero,
  .phsd-editorial-draft { align-items: stretch; flex-direction: column; }
  .phsd-directory-index__head > p { text-align: left; }
  .phsd-directory-editorial__grid,
  .phsd-directory-editorial__footer { grid-template-columns: 1fr; }
  .phsd-review-layout { grid-template-columns: 1fr; }
  .phsd-review-sidebar { position: static; }
  .phsd-review-hero { grid-template-columns: 82px minmax(0,1fr); }
  .phsd-review-hero__logo .phsd-site-icon--xl { width: 82px; height: 82px; }
  .phsd-review-score { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: flex-start; gap: 6px; text-align: left; }
  .phsd-review-score > span { margin-right: 6px; }
  .phsd-ranking-list--related { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .phsd-shell { width: min(100% - 24px,1500px); padding-top: 13px; }
  .phsd-directory-toolbar__inner { width: min(100% - 24px,1500px); grid-template-columns: minmax(0,1fr) auto; }
  .phsd-directory-toolbar__identity { min-width: 0; }
  .phsd-directory-toolbar__actions { grid-column: 1 / -1; width: 100%; }
  .phsd-directory-nav { grid-row: 3; }
  .phsd-directory-nav__inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .phsd-directory-hero { min-height: 96px; margin: 0 -12px 8px; padding: 17px 12px; }
  .phsd-directory-hero h1 { font-size: 27px; }
  .phsd-category-masonry { column-count: 1; }
  .phsd-directory-index__head h2 { font-size: 21px; }
  .phsd-quick-categories { padding: 10px; }
  .phsd-quick-categories__links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .phsd-quick-categories__links a { flex: 0 0 auto; }
  .phsd-directory-editorial { padding: 22px 16px; }
  .phsd-rank-row,
  .phsd-rank-row--compact { grid-template-columns: 26px 38px minmax(0,1fr) 50px; padding: 8px; }
  .phsd-rank-row__actions { grid-column: 3 / -1; }
  .phsd-rank-row__copy p,
  .phsd-rank-row__facts,
  .phsd-rank-row__title > span { display: none; }
  .phsd-fact-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .phsd-review-hero { grid-template-columns: 64px minmax(0,1fr); gap: 12px; padding: 14px; }
  .phsd-review-hero__logo .phsd-site-icon--xl { width: 64px; height: 64px; }
  .phsd-review-hero h1 { font-size: 28px; }
  .phsd-pros-cons { grid-template-columns: 1fr; }
  .phsd-quickview__panel { top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: min(90vh,760px); padding: 18px; border-radius: 14px 14px 0 0; transform: translateY(100%); }
  .phsd-quickview.is-open .phsd-quickview__panel { transform: translateY(0); }
  .phsd-quickview__proscons { grid-template-columns: 1fr; }
  .phsd-category-grid,
  .phsd-internal-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================\n   PH Sites Directory 1.0.12 — readability + row-major grid pass\n   Reference dictates information architecture only; visual language stays\n   PlayHard054. These rules intentionally remain inside PHSD components.\n   ========================================================================== */

.phsd-directory-stage .phsd-shell,
.phsd-directory-stage .phsd-directory-toolbar__inner {
  width: min(1560px, calc(100% - 48px));
}

/* Toolbar: keep it quiet and native to PlayHard. */
.phsd-directory-toolbar__inner {
  grid-template-columns: auto minmax(0,1fr) minmax(280px,380px);
  min-height: 54px;
}
.phsd-directory-toolbar__identity::before,
.phsd-directory-toolbar__identity::after { content: none !important; display: none !important; }
.phsd-directory-toolbar__title { font-size: 14px; line-height: 1.25; }
.phsd-directory-nav a { padding-top: 18px; padding-bottom: 17px; font-size: 12px; line-height: 1.2; }

/* Compact hero: glow belongs to the page, not to a boxed marketing panel. */
.phsd-directory-hero {
  min-height: 84px;
  margin: 0;
  padding: 14px 0 14px;
  border-bottom: 1px solid var(--phsd-border);
  background:
    radial-gradient(circle at 9% 24%, rgba(211,76,255,.12), transparent 24%),
    radial-gradient(circle at 70% -20%, rgba(255,77,167,.065), transparent 30%);
}
.phsd-directory-hero h1 {
  margin: 4px 0 5px;
  font-size: clamp(30px,2.2vw,37px);
  line-height: 1.14 !important;
  letter-spacing: -.035em;
}
.phsd-directory-hero > div > p:last-child { font-size: 11px; line-height: 1.4; }

/* Utility bands: reduce vertical stacking while keeping every shortcut. */
.phsd-directory-utility { min-height: 30px; padding: 3px 2px 7px; }
.phsd-popular-searches { gap: 8px; }
.phsd-quick-categories { margin-top: 9px; padding: 11px 13px; background: rgba(24,16,34,.74); }
.phsd-quick-categories__head { margin-bottom: 8px; }
.phsd-quick-categories__links { gap: 6px; }
.phsd-quick-categories__links a {
  min-height: 31px;
  padding: 7px 10px;
  color: #e4dce9 !important;
  font-size: 11.5px;
  line-height: 1.25;
}
.phsd-quick-categories__links a:focus-visible,
.phsd-quick-categories__links a:hover {
  border-color: rgba(230,128,255,.78);
  background: linear-gradient(135deg,rgba(211,76,255,.18),rgba(255,77,167,.11));
  color: #fff !important;
  outline: none;
}

/* Section heading: no duplicate eyebrow or explanatory micro-copy. */
.phsd-directory-index { margin-top: 18px; }
.phsd-directory-index__head {
  display: block;
  margin-bottom: 11px;
}
.phsd-directory-index__head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25 !important;
}
.phsd-directory-index__head > p,
.phsd-directory-index__head .phsd-eyebrow { display: none !important; }

/* Critical 1.0.12 change: CSS Grid preserves PHP priority order left-to-right. */
.phsd-category-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  column-count: initial !important;
  column-gap: initial !important;
  align-items: stretch;
}
.phsd-index-category {
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  break-inside: auto;
  border-color: rgba(255,255,255,.105);
  background: #181022;
  box-shadow: 0 5px 16px rgba(0,0,0,.14);
}
.phsd-index-category::before { flex: 0 0 3px; height: 3px; }
.phsd-index-category__head {
  padding: 12px 12px 5px;
  border-bottom: 0;
}
.phsd-index-category__title {
  align-items: flex-start;
  gap: 10px;
}
.phsd-index-category h3 {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  margin: 0;
  overflow: visible;
  color: #fff !important;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.34 !important;
  letter-spacing: -.018em;
}
.phsd-index-category h3 a {
  display: inline;
  min-width: 0;
  overflow: visible;
  color: #fff !important;
  line-height: inherit !important;
  text-overflow: clip;
  white-space: normal;
}
.phsd-index-category__title small {
  padding-top: 3px;
  color: #998da1 !important;
  font-size: 9.5px;
  line-height: 1.3;
  white-space: nowrap;
}
.phsd-category-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  color: #e47bff !important;
}
.phsd-index-category--accent-1 .phsd-category-icon { color: #ff69b0 !important; }
.phsd-category-icon svg { display: block; width: 16px; height: 16px; overflow: visible; }
.phsd-index-category h3 > span:not(.phsd-category-icon) { display: none !important; }

/* Full, human-length intros. No ellipsis/clamp. */
.phsd-index-category__intro {
  display: block;
  overflow: visible;
  min-height: 48px;
  margin: 0;
  padding: 3px 12px 10px;
  color: #b4a9bd !important;
  font-size: 11.5px;
  line-height: 1.46 !important;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

/* Site name is the primary signal; favicon and rank are secondary. */
.phsd-index-category__list {
  flex: 1 0 auto;
  border-top-color: rgba(255,255,255,.085);
}
.phsd-index-site {
  grid-template-columns: 22px 18px minmax(0,1fr) 18px;
  gap: 8px;
  min-height: 39px;
  padding: 6px 11px;
  overflow: visible;
  border-bottom-color: rgba(255,255,255,.07);
}
.phsd-index-site__rank {
  color: #8c7d98 !important;
  font-size: 10.5px;
  line-height: 1.2;
}
.phsd-index-site__name {
  display: block;
  min-width: 0;
  overflow: visible;
  color: #f7f2fa !important;
  font-size: 13.5px;
  font-weight: 680;
  line-height: 1.34 !important;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}
.phsd-index-site:hover { background: rgba(211,76,255,.09); }
.phsd-index-site:hover .phsd-index-site__name { color: #fff !important; }
.phsd-index-site__recommended { color: #ff67ae !important; font-size: 13px; line-height: 1; }
.phsd-index-category__foot { margin-top: auto; border-top-color: rgba(255,255,255,.09); background: #130b20; }
.phsd-index-category__foot a {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 11.5px;
  line-height: 1.3;
}

/* Favicon stays secondary and never creates a large boxed visual. */
.phsd-index-site .phsd-site-icon--xs {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  border: 0 !important;
  border-radius: 4px;
  background: transparent !important;
  box-shadow: none !important;
}
.phsd-index-site .phsd-site-icon--xs img,
.phsd-index-site .phsd-site-icon--xs .phsd-site-icon__favicon { width: 18px !important; height: 18px !important; border-radius: 4px; }
.phsd-index-site .phsd-site-icon__fallback { font-size: 9px; line-height: 18px; }

/* Responsive column contract from the approved 1.0.12 spec. */
@media (max-width: 1499px) {
  .phsd-category-masonry { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1049px) {
  .phsd-category-masonry { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .phsd-directory-stage .phsd-shell,
  .phsd-directory-stage .phsd-directory-toolbar__inner { width: min(100% - 32px, 1560px); }
}
@media (max-width: 699px) {
  .phsd-directory-stage .phsd-shell,
  .phsd-directory-stage .phsd-directory-toolbar__inner { width: min(100% - 24px, 1560px); }
  .phsd-category-masonry { grid-template-columns: 1fr; gap: 12px; }
  .phsd-directory-hero { min-height: 76px; margin: 0; padding: 13px 0 12px; }
  .phsd-directory-hero h1 { font-size: 27px; line-height: 1.16 !important; }
  .phsd-quick-categories { margin-right: -12px; margin-left: -12px; border-right: 0; border-left: 0; border-radius: 0; }
  .phsd-quick-categories__links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .phsd-quick-categories__links::-webkit-scrollbar { display: none; }
  .phsd-quick-categories__links a { flex: 0 0 auto; }
  .phsd-index-category h3 { font-size: 16.5px; }
  .phsd-index-site__name { font-size: 13.5px; }
}
