/* ==========================================================================
   HyphySpace — v1.9.134 UI Overhaul (was v1.9.131)
   Loaded LAST, so it intentionally overrides main.css / extras.css /
   ig-profile.css without touching them. Same palette, cleaner shell:
   flat surfaces, hairline borders, tight rhythm, crisp icons.
   ========================================================================== */

:root {
  /* Square-to-subtle corners instead of bubbles */
  --hs-radius:      6px;
  --hs-radius-sm:   4px;
  --hs-radius-lg:   8px;
  --hs-pill:        999px;

  /* Hairlines */
  --hs-line:        #26262c;
  --hs-line-2:      #33333c;

  /* Spacing scale */
  --hs-s1: 4px;
  --hs-s2: 8px;
  --hs-s3: 12px;
  --hs-s4: 16px;
  --hs-s5: 24px;
  --hs-s6: 32px;

  --hs-shadow:      none;
  --hs-shadow-2:    none;
}

/* --------------------------------------------------------------------------
   1. Crisp rendering — kill the blur
   -------------------------------------------------------------------------- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
svg {
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
  flex: 0 0 auto;
}
img { image-rendering: auto; }

/* Sub-pixel transforms were the main source of "blurry" buttons/icons. */
.hyphy-btn,
.hyphy-btn:hover,
.hyphy-nav__link,
.hyphy-nav__link:hover,
.hyphy-card,
.hyphy-card:hover,
.hyphy-brand:hover .hyphy-brand__mark,
.hyphy-widget,
.hyphy-chip,
.hyphy-chip:hover,
.hyphy-grid-tile,
.hyphy-grid-tile:hover,
.hyphy-grid-tile img,
.hyphy-grid-tile:hover img,
.hyphy-like-btn,
.hyphy-like-btn:hover,
.hyphy-card__action,
.hyphy-card__action:hover {
  transform: none;
}

/* Translucent + blurred chrome made text fuzzy while scrolling. */
.hyphy-topbar {
  background: var(--hs-bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid var(--hs-line);
}

/* Gradient-clipped text renders soft on most displays. */
.hyphy-brand__name {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: var(--hs-text);
  letter-spacing: -0.02em;
}
.hyphy-brand__mark {
  background: var(--hs-gold-2);
  border-radius: var(--hs-radius-sm);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   2. Buttons
   -------------------------------------------------------------------------- */
/* v1.9.134 — Every .hyphy-btn now fully matches the "Log out" button:
   outlined hairline border, transparent fill, subtle 6px radius. */
.hyphy-btn {
  border-radius: var(--hs-radius);
  box-shadow: none;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  background: transparent;
  border: 1px solid var(--hs-line-2);
  color: var(--hs-text);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hyphy-btn:hover { background: var(--hs-bg-3); border-color: var(--hs-line-2); color: var(--hs-text); }
.hyphy-btn--sm { padding: 6px 12px; font-size: 13px; }
.hyphy-btn--primary {
  background: transparent;
  border-color: var(--hs-line-2);
  color: var(--hs-text);
  box-shadow: none;
}
.hyphy-btn--primary:hover {
  background: var(--hs-bg-3);
  border-color: var(--hs-line-2);
  box-shadow: none;
  color: var(--hs-text);
}
.hyphy-btn--ghost {
  background: transparent;
  border-color: var(--hs-line-2);
  color: var(--hs-text);
}
.hyphy-btn--ghost:hover { background: var(--hs-bg-3); border-color: var(--hs-line-2); color: var(--hs-text); }
.hyphy-btn:focus-visible,
.hyphy-nav__link:focus-visible,
.hyphy-card__action:focus-visible {
  outline: 2px solid var(--hs-gold);
  outline-offset: 2px;
}

.hyphy-nav__link { border-radius: var(--hs-radius); width: 38px; height: 38px; }
.hyphy-nav__link:hover { background: var(--hs-bg-3); color: var(--hs-gold); }
.hyphy-search { border-radius: var(--hs-radius); }
.hyphy-feed-switcher { border-radius: var(--hs-radius); padding: 4px; }
.hyphy-feed-switch { border-radius: var(--hs-radius-sm); padding: 7px 16px; font-weight: 600; }
.hyphy-feed-switch.is-active { background: var(--hs-gold-2); color: #1a0e00; box-shadow: none; }

/* --------------------------------------------------------------------------
   3. Feed + cards — flat, hairline separated
   -------------------------------------------------------------------------- */
.hyphy-feed {
  gap: 0;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius);
  background: var(--hs-bg-2);
  overflow: hidden;
}
.hyphy-feed--profile,
.hyphy-feed--explore,
.hyphy-feed--tag,
.hyphy-feed--popular {
  border: 0;
  background: transparent;
  gap: 14px;
  overflow: visible;
}

.hyphy-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hs-line);
  border-radius: 0;
  box-shadow: none;
  padding: var(--hs-s4) var(--hs-s4) var(--hs-s3);
  gap: var(--hs-s3);
}
.hyphy-card:last-child { border-bottom: 0; }
.hyphy-card:hover { background: rgba(255,255,255,0.012); border-color: var(--hs-line); }

.hyphy-feed--profile > .hyphy-card,
.hyphy-feed--explore > .hyphy-card,
.hyphy-feed--tag > .hyphy-card,
.hyphy-feed--popular > .hyphy-card {
  background: var(--hs-bg-2);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius);
}

.hyphy-card__head {
  padding: 0;
  align-items: flex-start;
  gap: var(--hs-s3);
  margin-bottom: var(--hs-s2);
}
.hyphy-card__author { gap: 10px; align-items: center; }
.hyphy-card__author-meta strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hs-text);
}
.hyphy-card__author-meta small { font-size: 13px; color: var(--hs-text-3); }
.hyphy-avatar { border-radius: 50%; border-width: 1px; width: 40px; height: 40px; }

.hyphy-card__body { padding: 0; }
.hyphy-card__hyphe,
.hyphy-card__caption {
  font-size: 15px;
  line-height: 1.55;
  color: var(--hs-text);
  margin: 0 0 var(--hs-s2);
}
.hyphy-card__hyphe p:last-child,
.hyphy-card__caption p:last-child { margin-bottom: 0; }

.hyphy-card__media { background: transparent; margin: var(--hs-s2) 0 0; }
.hyphy-card__media:empty { display: none; }

.hyphy-card__actions {
  padding: var(--hs-s2) 0 0;
  gap: var(--hs-s5);
  border-top: 0;
  margin-top: var(--hs-s1);
}
.hyphy-card__action,
.hyphy-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hs-text-3);
  font-size: 13px;
  border-radius: var(--hs-radius-sm);
  transition: color .15s ease;
}
.hyphy-card__action:hover,
.hyphy-like-btn:hover { color: var(--hs-gold); }
.hyphy-like-btn.is-liked { color: var(--hs-danger); }
.hyphy-card__action svg,
.hyphy-like-btn svg { width: 19px; height: 19px; }

.hyphy-card__quote {
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius);
  padding: var(--hs-s3);
  margin-bottom: var(--hs-s3);
}
.hyphy-card__rehyphe-banner { font-size: 12.5px; color: var(--hs-text-3); margin-bottom: var(--hs-s2); }
.hyphy-card__rehyphe-banner svg { width: 14px; height: 14px; fill: currentColor; }

.hyphy-chip,
.hyphy-people-chip {
  border-radius: var(--hs-radius-sm);
  font-size: 12.5px;
  border: 1px solid var(--hs-line);
  background: transparent;
}
.hyphy-card__tags { gap: 6px; margin-top: var(--hs-s2); }

.hyphy-menu__dropdown { border-radius: var(--hs-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hyphy-menu__item { border-radius: var(--hs-radius-sm); }

/* --------------------------------------------------------------------------
   4. Media previews (feeds never show full-size media)
   -------------------------------------------------------------------------- */
.hyphy-media-preview {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--hs-s2);
  margin: var(--hs-s2) 0 0;
}
.hyphy-media-preview__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius-sm);
  background: var(--hs-bg-3);
  overflow: hidden;
  max-width: 240px;
  transition: border-color .15s ease;
}
.hyphy-media-preview__item:hover { border-color: var(--hs-gold); }
.hyphy-media-preview__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 240px;
  max-height: 200px;
  object-fit: contain;   /* never crop */
}
.hyphy-media-preview--photo[data-count="1"] .hyphy-media-preview__img { max-width: 320px; max-height: 240px; }
.hyphy-media-preview__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 170px;
  color: var(--hs-text-3);
  background: var(--hs-bg-3);
}
.hyphy-media-preview__frame { pointer-events: none; background: #000; min-width: 220px; min-height: 130px; }
.hyphy-media-preview__play {
  position: absolute;
  inset: auto auto 8px 8px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.68);
  color: #fff;
}
.hyphy-media-preview__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.hyphy-media-preview__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.62);
  border-radius: var(--hs-radius-sm);
  pointer-events: none;
}

/* Single photo / video: article-style layout — media left, text beside it. */
.hyphy-card--inline-media {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  column-gap: var(--hs-s4);
}
.hyphy-card--inline-media > * { grid-column: 1 / -1; }
.hyphy-card--inline-media > .hyphy-card__media {
  grid-column: 1;
  align-self: start;
  margin: 0;
}
.hyphy-card--inline-media > .hyphy-card__body { grid-column: 2; align-self: start; }
.hyphy-card--inline-media .hyphy-media-preview { margin: 0; }
.hyphy-card--inline-media .hyphy-media-preview__item { max-width: 340px; }
.hyphy-card--inline-media .hyphy-media-preview__img { max-width: 340px; max-height: 300px; }
.hyphy-card--inline-media .hyphy-media-preview__placeholder { width: 300px; height: 170px; }
@media (max-width: 640px) {
  .hyphy-card--inline-media { display: flex; flex-direction: column; }
  .hyphy-card--inline-media > .hyphy-card__media,
  .hyphy-card--inline-media > .hyphy-card__body { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   5. Dedicated media page
   -------------------------------------------------------------------------- */
.hyphy-mediapage {
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius);
  background: var(--hs-bg-2);
  overflow: hidden;
  /* Article layout: media on the left, post + comments beside it. */
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  grid-template-areas: "stage panel" "strip panel";
  align-items: start;
}
.hyphy-mediapage__stage {
  grid-area: stage;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.hyphy-mediapage__image,
.hyphy-mediapage__video {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.hyphy-mediapage__strip {
  grid-area: strip;
  display: flex;
  gap: var(--hs-s2);
  padding: var(--hs-s3);
  overflow-x: auto;
  border-top: 1px solid var(--hs-line);
}
.hyphy-mediapage__strip-item {
  flex: 0 0 auto;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius-sm);
  overflow: hidden;
  line-height: 0;
}
.hyphy-mediapage__strip-item.is-active { border-color: var(--hs-gold); }
.hyphy-mediapage__strip-item img { width: 64px; height: 64px; object-fit: cover; }
.hyphy-mediapage__panel {
  grid-area: panel;
  padding: var(--hs-s4);
  border-left: 1px solid var(--hs-line);
  align-self: stretch;
}
.hyphy-mediapage__body { margin: var(--hs-s3) 0; }
@media (max-width: 900px) {
  .hyphy-mediapage {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "strip" "panel";
  }
  .hyphy-mediapage__panel { border-left: 0; border-top: 1px solid var(--hs-line); }
}

/* --------------------------------------------------------------------------
   6. Grid tiles / profile
   -------------------------------------------------------------------------- */
.hyphy-grid-tile,
.hyphy-grid-tile-wrap { border-radius: var(--hs-radius-sm); }
.hyphy-grid-tile { border: 1px solid var(--hs-line); }
.hyphy-grid-tile__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hs-radius-sm);
  background: rgba(0,0,0,0.62);
  color: #fff;
  padding: 3px;
}
.hyphy-grid-tile__overlay { gap: var(--hs-s3); font-size: 13px; font-weight: 600; }
.hyphy-grid-tile__overlay span { display: inline-flex; align-items: center; gap: 5px; }
.hyphy-grid-tile__overlay svg { width: 16px; height: 16px; }
.hyphy-grid-tile__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hs-radius-sm);
}
.hyphy-grid-tile__play,
.hyphy-grid-tile__videobg svg { color: #fff; }

.hyphy-ig-tab,
.hyphy-ig-icontab { border-radius: 0; }
.hyphy-ig-tab__icon { display: inline-flex; align-items: center; }
.hyphy-ig-tab__icon svg,
.hyphy-ig-icontab svg { width: 20px; height: 20px; shape-rendering: geometricPrecision; }
.hyphy-ig-tab.is-active,
.hyphy-ig-icontab.is-active { border-bottom: 2px solid var(--hs-gold); color: var(--hs-text); }

.hyphy-widget { border-radius: var(--hs-radius); padding: var(--hs-s4); }
.hyphy-widget__title { font-size: 15px; letter-spacing: -0.01em; margin-bottom: var(--hs-s3); display: flex; align-items: center; gap: 8px; }
.hyphy-widget__title svg { color: var(--hs-gold); }
.hyphy-right-rail { gap: var(--hs-s3); }

/* --------------------------------------------------------------------------
   7. Composer
   -------------------------------------------------------------------------- */
.hyphy-composer {
  border-radius: var(--hs-radius);
  border: 1px solid var(--hs-line);
  background: var(--hs-bg-2);
  box-shadow: none;
  padding: var(--hs-s4);
}
/* v1.9.131 — legacy rules used `display:flex` on panels, which beat the
   `hidden` attribute and left polls / schedule / options permanently
   expanded. Nothing in the composer is open unless the user opens it. */
.hyphy-composer [hidden] { display: none !important; }

.hyphy-composer__text { border-radius: var(--hs-radius); font-size: 15px; }
.hyphy-composer__tabs {
  background: transparent;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius);
  padding: 3px;
  gap: 2px;
  margin-bottom: var(--hs-s3);
}
.hyphy-composer__tabs button {
  border-radius: var(--hs-radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 16px;
  color: var(--hs-text-2);
}
.hyphy-composer__tabs button:hover { color: var(--hs-text); background: var(--hs-bg-3); }
.hyphy-composer__tabs button.is-active { background: var(--hs-gold-2); color: #1a0e00; }

.hyphy-composer__footer { gap: var(--hs-s3); flex-wrap: wrap; align-items: center; }
.hyphy-composer__tools { gap: 6px; flex-wrap: wrap; }
.hyphy-composer__tools svg { width: 18px; height: 18px; }
.hyphy-composer__tools > button,
.hyphy-composer__poll-toggle,
.hyphy-composer__panel-toggle,
.hyphy-composer__schedule-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: var(--hs-radius-sm);
  border: 1px solid var(--hs-line);
  background: transparent;
  color: var(--hs-text-2);
  font-size: 13px;
  font-weight: 600;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.hyphy-composer__tools > button:hover,
.hyphy-composer__poll-toggle:hover,
.hyphy-composer__panel-toggle:hover,
.hyphy-composer__schedule-toggle:hover {
  color: var(--hs-text);
  border-color: var(--hs-line-2);
  background: var(--hs-bg-3);
}
.hyphy-composer__tools > button.is-active,
.hyphy-composer__poll-toggle.is-active,
.hyphy-composer__panel-toggle.is-active,
.hyphy-composer__schedule-toggle.is-active,
.hyphy-composer__schedule-toggle.is-set {
  color: var(--hs-gold);
  border-color: var(--hs-gold);
  background: transparent;
}
.hyphy-composer__count { margin-left: 4px; color: var(--hs-text-3); font-size: 12.5px; }
/* Labels always visible next to the icon (Twitter-style tool buttons). */
.hyphy-composer__tools > button span { display: inline; white-space: nowrap; }

.hyphy-composer__panels:empty { display: none; }
.hyphy-composer__tag-row,
.hyphy-composer__poll-body,
.hyphy-composer__schedule-body,
.hyphy-composer__toggles {
  margin-top: var(--hs-s3);
  padding: var(--hs-s3);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius);
  background: var(--hs-bg-3);
}
.hyphy-composer__toggles { display: flex; flex-wrap: wrap; gap: var(--hs-s4); font-size: 13px; }
.hyphy-composer__tag-row { display: flex; flex-direction: column; gap: 6px; }
.hyphy-composer__tag-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--hs-text-2); }
.hyphy-composer__poll-body,
.hyphy-composer__schedule-body { flex-direction: column; gap: var(--hs-s2); }
.hyphy-composer__poll-opt,
.hyphy-composer__schedule-at,
.hyphy-composer__tagusers { border-radius: var(--hs-radius-sm); }

/* --------------------------------------------------------------------------
   9. One button shape everywhere (v1.9.132)
   Legacy stylesheets scattered 999px pills around (Edit profile, Edit cover,
   follow, explore/feed switchers, chips…). Everything now matches the
   "Log out" button. Avatars, toggle sliders and count badges stay round.
   -------------------------------------------------------------------------- */
button,
.hyphy-btn,
a.hyphy-btn,
input[type="submit"],
.hyphy-follow-btn,
.hyphy-cover-edit__btn span,
.hyphy-avatar-edit__overlay,
.hyphy-feed-switcher,
.hyphy-feed-switch,
.hyphy-profile-tabs,
.hyphy-profile-tab,
.hyphy-composer__tabs,
.hyphy-composer__tabs button,
.hyphy-explore__mode,
.hyphy-explore__mode-btn,
.hyphy-dm__new-btn,
.hyphy-chip,
.hyphy-people-chip,
.hyphy-lock-pill,
.hyphy-card__badge,
.hyphy-search,
.hyphy-userlist-tabs__back {
  border-radius: var(--hs-radius) !important;
}
.hyphy-btn--sm,
.hyphy-chip,
.hyphy-people-chip,
.hyphy-lock-pill,
.hyphy-card__badge { border-radius: var(--hs-radius-sm) !important; }

/* Genuinely circular things keep their shape. */
.hyphy-avatar,
.hyphy-avatar img,
img.avatar,
.avatar,
.hyphy-switch__slider,
.hyphy-switch__slider::after,
.hyphy-nav__badge,
.hyphy-side-msg__badge,
.hyphy-dm-thread__dot,
.hyphy-media-preview__play,
.hyphy-story-ring { border-radius: 50% !important; }
.hyphy-switch__slider { border-radius: 999px !important; }
.hyphy-nav__badge,
.hyphy-side-msg__badge,
.hyphy-dm-thread__dot { border-radius: 999px !important; }

/* --------------------------------------------------------------------------
   10. Rhythm
   -------------------------------------------------------------------------- */
.hyphy-main { padding: var(--hs-s5) var(--hs-s4) 72px; }
.hyphy-shell { gap: var(--hs-s4) var(--hs-s5); }
.hyphy-page-title { font-size: 24px; letter-spacing: -0.02em; }
.hyphy-section-title { font-size: 17px; letter-spacing: -0.01em; margin: var(--hs-s5) 0 var(--hs-s3); }
.hyphy-empty { border-radius: var(--hs-radius); border: 1px solid var(--hs-line); }

@media (max-width: 720px) {
  .hyphy-card { padding: var(--hs-s3); }
  .hyphy-media-preview__img { max-width: 180px; max-height: 160px; }
  .hyphy-media-preview--photo[data-count="1"] .hyphy-media-preview__img { max-width: 100%; max-height: 220px; }
}

/* --------------------------------------------------------------------------
   11. v1.9.134 — Buttons on media (Edit cover / avatar camera) match the
   Log out treatment while staying legible over images.
   -------------------------------------------------------------------------- */
.hyphy-cover-edit__btn span {
  background: rgba(19, 19, 22, 0.78);
  border: 1px solid var(--hs-line-2);
  border-radius: var(--hs-radius) !important;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hyphy-cover-edit__btn:hover span {
  background: var(--hs-bg-3);
  border-color: var(--hs-line-2);
  color: var(--hs-text);
}
.hyphy-avatar-edit__overlay {
  background: var(--hs-bg-2);
  color: var(--hs-text);
  border: 1px solid var(--hs-line-2);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   12. v1.9.134 — Profile header cleanup
   -------------------------------------------------------------------------- */
/* BP member pages print the member's display name as the page H1 above the
   cover banner. Removed at template level (page.php); this rule catches any
   other render path and closes the leftover gap so the banner moves up. */
body.bp-user .hyphy-page-title { display: none !important; }
body.bp-user .hyphy-page { margin-top: 0; padding-top: 0; }
body.bp-user .hyphy-prose { margin-top: 0; }

/* Shield/sheriff-style verified badge (BP Verified Member plugin) hidden
   everywhere it renders. Verification logic/meta untouched — the theme's
   round check (.hyphy-verified) next to the @handle stays visible. */
.bp-verified-badge { display: none !important; }

/* Links styled as buttons must not pick up the gold prose link color. */
.hyphy-prose a.hyphy-btn { color: var(--hs-text); }
.hyphy-prose a.hyphy-btn:hover { color: var(--hs-text); }

/* --------------------------------------------------------------------------
   13. v1.9.135 — Settings modal (gear button): Account / Saved / Verification
   -------------------------------------------------------------------------- */
.hyphy-settings-btn { font-size: 15px; line-height: 1; }
.hyphy-settings-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.hyphy-settings-modal[hidden] { display: none; }
.hyphy-settings-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); }
.hyphy-settings-modal__panel {
  position: relative; width: 100%; max-width: 680px;
  background: var(--hs-bg-2); border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  overflow: hidden; max-height: 90vh; display: flex; flex-direction: column;
  animation: hsZoom .2s ease;
}
.hyphy-settings-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--hs-line); flex-shrink: 0; }
.hyphy-settings-modal__head h2 { margin: 0; font-family: var(--hs-font-head); font-size: 17px; }
.hyphy-settings-modal__close { background: transparent; border: 0; color: var(--hs-text); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.hyphy-settings-modal__close:hover { color: var(--hs-gold); }
.hyphy-settings-modal__body { display: flex; flex: 1; min-height: 340px; overflow: hidden; }
.hyphy-settings-menu { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--hs-line); min-width: 168px; flex-shrink: 0; }
.hyphy-settings-menu__item {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px;
  background: transparent; border: 0; border-radius: var(--hs-radius);
  color: var(--hs-text-2); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.hyphy-settings-menu__item:hover { background: var(--hs-bg-3); color: var(--hs-text); }
.hyphy-settings-menu__item.is-active { background: var(--hs-bg-3); color: var(--hs-gold); }
.hyphy-settings-menu__icon { width: 18px; text-align: center; flex: 0 0 auto; }
.hyphy-settings-panels { flex: 1; overflow-y: auto; padding: 18px 20px; }
.hyphy-settings-panel[hidden] { display: none !important; }
.hyphy-settings-lang-msg,
.hyphy-settings-privacy-msg { min-height: 16px; font-size: 12.5px; color: var(--hs-text-3); margin-top: 4px; }
/* Inline-styled plugin buttons rendered inside the settings modal follow the
   sitewide "Log out" button system (deletion trigger keeps its red fill). */
.hyphy-settings-modal .hyphy-verif-form__submit {
  background: transparent !important; background-image: none !important;
  border: 1px solid var(--hs-line-2) !important; border-radius: var(--hs-radius) !important;
  color: var(--hs-text) !important; font-weight: 600 !important;
}
.hyphy-settings-modal .hyphy-verif-form__submit:hover { background: var(--hs-bg-3) !important; }
.hyphy-settings-modal .hyphy-delreq-trigger { border-radius: var(--hs-radius) !important; }
@media (max-width: 640px) {
  .hyphy-settings-modal { padding: 0; align-items: flex-end; }
  .hyphy-settings-modal__panel { max-width: 100%; max-height: 94vh; border-radius: var(--hs-radius-lg) var(--hs-radius-lg) 0 0; }
  .hyphy-settings-modal__body { flex-direction: column; }
  .hyphy-settings-menu { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--hs-line); overflow-x: auto; min-width: 0; }
  .hyphy-settings-menu__item { flex: 0 0 auto; }
}

/* --------------------------------------------------------------------------
   14. v1.9.138 — "Who to follow" sidebar widget (5 random user suggestions)
   -------------------------------------------------------------------------- */
.hyphy-suggest-widget__list { display: flex; flex-direction: column; gap: 12px; }
.hyphy-suggest-widget .hyphy-userlist-row { padding: 0; gap: 10px; }
.hyphy-suggest-widget .hyphy-userlist-row__main { min-width: 0; }
.hyphy-suggest-widget .hyphy-userlist-row__main > div { min-width: 0; }
.hyphy-suggest-widget .hyphy-userlist-row strong,
.hyphy-suggest-widget .hyphy-userlist-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hyphy-suggest-widget .hyphy-avatar { width: 40px; height: 40px; }
.hyphy-suggest-widget .hyphy-follow-btn { flex: 0 0 auto; }
