/* ==========================================================================
   Founder Page — blocks
   Everything added on top of the 13 core templates: status badges, contact
   buttons, projects, galleries, embeds, testimonials, newsletter, share,
   plus the dashboard controls that drive them.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Card layout: new blocks are auto-placed, so they must span the full card
   and sit above the brandmark whatever grid a template uses.
   -------------------------------------------------------------------------- */
.fp-profile__card > .fp-block,
.fp-profile__card > .fp-actions,
.fp-profile__card > .fp-share,
.fp-profile__card > .fp-tags{
  grid-area: auto;
  grid-column: 1 / -1;
  width: 100%;
}
.fp-profile__card > .fp-profile__brandmark{
  grid-area: auto;
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
}

.fp-block{ display: flex; flex-direction: column; gap: 10px; }
.fp-block__title{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fpc-dim);
}

/* --------------------------------------------------------------------------
   Verified badge
   -------------------------------------------------------------------------- */
.fp-verified{ display: inline-flex; align-items: center; vertical-align: -3px; margin-left: 5px; line-height: 0; flex-shrink: 0; }
.fp-verified svg{ display: block; width: 1.05em; height: 1.05em; }

/* --------------------------------------------------------------------------
   Location + availability status
   -------------------------------------------------------------------------- */
.fp-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  justify-content: inherit;
  margin-top: 2px;
}
.fp-profile__identity{ align-items: center; }
.fpt-3 .fp-profile__identity,
.fpt-8 .fp-profile__identity{ align-items: flex-start; }

.fp-meta__loc{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--fpc-dim);
}
.fp-status{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1F7A46;
  background: rgba(45,160,90,.12);
  border: 1px solid rgba(45,160,90,.28);
  border-radius: 999px;
  padding: 3px 10px 3px 8px;
}
.fp-status__dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2DA05A;
  box-shadow: 0 0 0 3px rgba(45,160,90,.18);
}

/* --------------------------------------------------------------------------
   Contact / booking / download buttons
   -------------------------------------------------------------------------- */
.fp-actions{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.fp-action{ flex: 1 1 auto; min-width: 150px; }
.fp-action svg{ flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Interests / skills tags
   -------------------------------------------------------------------------- */
.fp-tags{ display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.fp-tag{
  font-size: 12px;
  font-weight: 600;
  color: var(--fpc-soft);
  border: 1px solid var(--fpc-line);
  border-radius: 999px;
  padding: 4px 11px;
}

/* --------------------------------------------------------------------------
   Links: per-link icon + the Featured link
   -------------------------------------------------------------------------- */
.fp-linkbtn{
  position: relative;
  gap: 10px;
  justify-content: center;
  padding-left: 44px;
  padding-right: 44px;
  color: var(--fpc-text);
}
.fp-linkbtn__icon{
  display: inline-flex;
  flex-shrink: 0;
  opacity: .8;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.fp-linkbtn__label{ flex: 0 1 auto; text-align: center; min-width: 0; }
.fp-linkbtn__flag{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fpc-on-accent);
  background: var(--fpc-accent);
  border-radius: 999px;
  padding: 3px 8px;
  opacity: 1;
}

/* List-style templates keep their left-aligned rows. */
.fpt-1 .fp-linkbtn,
.fpt-3 .fp-linkbtn,
.fpt-8 .fp-linkbtn{ justify-content: flex-start; padding-left: 42px; }
.fpt-1 .fp-linkbtn__label,
.fpt-3 .fp-linkbtn__label,
.fpt-8 .fp-linkbtn__label{ text-align: left; flex: 1; }
.fpt-3 .fp-linkbtn__icon,
.fpt-8 .fp-linkbtn__icon{ left: 2px; }
.fpt-3 .fp-linkbtn{ padding-left: 28px; }

.fp-linkbtn.is-featured{
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 16px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--fpc-accent);
  background: var(--fpc-surface-soft);
  color: var(--fpc-text);
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.fp-linkbtn.is-featured .fp-linkbtn__icon{ opacity: 1; color: var(--fpc-accent); }

/* --------------------------------------------------------------------------
   Projects / case studies
   -------------------------------------------------------------------------- */
.fp-projects{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fp-project{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fpc-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .12s, transform .12s;
}
a.fp-project:hover{ border-color: var(--fpc-accent); transform: translateY(-2px); }
.fp-project__img{
  display: block;
  height: 96px;
  background-size: cover;
  background-position: center;
  background-color: var(--fpc-surface-soft);
}
.fp-project__body{ display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
.fp-project__title{ font-size: 14px; font-weight: 600; }
.fp-project__desc{ font-size: 12px; line-height: 1.5; color: var(--fpc-dim); }

@media (max-width: 460px){
  .fp-projects{ grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Photo gallery + lightbox
   -------------------------------------------------------------------------- */
.fp-gallery{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fp-gallery__item{ display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--fpc-surface-soft); }
.fp-gallery__item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.fp-gallery__item:hover img{ transform: scale(1.05); }

.fp-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,9,14,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.fp-lightbox[hidden]{ display: none; }
.fp-lightbox img{ max-width: 100%; max-height: 100%; border-radius: 10px; }
.fp-lightbox__close{
  position: absolute;
  top: 16px; right: 20px;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Video / music embed
   -------------------------------------------------------------------------- */
.fp-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.fp-embed iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fp-embed--audio{ aspect-ratio: auto; height: 152px; background: transparent; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.fp-quotes{ display: flex; flex-direction: column; gap: 10px; }
.fp-quote{
  margin: 0;
  border: 1px solid var(--fpc-line);
  border-radius: 12px;
  padding: 14px 16px;
}
.fp-quote blockquote{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fpc-soft);
}
.fp-quote blockquote::before{ content: "“"; }
.fp-quote blockquote::after{ content: "”"; }
.fp-quote figcaption{ margin-top: 8px; font-size: 12px; font-weight: 600; }
.fp-quote figcaption span{ font-weight: 400; color: var(--fpc-dim); }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */
.fp-news{
  border: 1px solid var(--fpc-line);
  border-radius: 12px;
  padding: 14px 16px;
  gap: 8px;
}
.fp-news__row{ display: flex; gap: 8px; }
.fp-news__input{ flex: 1; min-width: 0; border-radius: 999px; padding: 11px 18px; }
.fp-news__btn{ border-radius: 999px; padding: 11px 22px; flex-shrink: 0; }
.fp-news__msg{ font-size: 12px; min-height: 16px; }
.fp-news__msg.is-ok{ color: #2C6E31; }
.fp-news__msg.is-error{ color: #B3261E; }

@media (max-width: 420px){
  .fp-news__row{ flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Share + QR
   -------------------------------------------------------------------------- */
.fp-share{ display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: flex-start; }
.fp-share__btn{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fpc-soft);
  background: transparent;
  border: 1px solid var(--fpc-line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color .12s, color .12s;
}
.fp-share__btn:hover{ border-color: var(--fpc-accent); color: var(--fpc-accent); }
.fp-share__qr{
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.fp-share__qr[hidden]{ display: none; }
.fp-share__qr img{
  width: 180px; height: 180px;
  background: #fff;
  border: 1px solid var(--fpc-line);
  border-radius: 12px;
  padding: 8px;
}
.fp-share__qr small{ font-size: 11px; color: var(--fpc-dim); }

/* --------------------------------------------------------------------------
   Page background (image or video)
   -------------------------------------------------------------------------- */
.fp-pagebg{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fp-pagebg span{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.fp-pagebg video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-pagebg__veil{ position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.has-pagebg .fp-profile__bg{ display: none; }
.has-pagebg .fp-profile__card{ position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Founder's own colours + font (premium)
   -------------------------------------------------------------------------- */
.fp-profile.fp-has-bg{ background: var(--fp-bg); }
.fp-profile.fp-has-bg .fp-profile__bg{ display: none; }

.fp-profile.fp-has-text,
.fp-profile.fp-has-text .fp-profile__name,
.fp-profile.fp-has-text .fp-profile__bio,
.fp-profile.fp-has-text .fp-linkbtn,
.fp-profile.fp-has-text .fp-social,
.fp-profile.fp-has-text .fp-project__title,
.fp-profile.fp-has-text .fp-block__title,
.fp-profile.fp-has-text .fp-profile__tagline{ color: var(--fp-text); }

.fp-profile.fp-has-accent .fp-linkbtn:hover{ border-color: var(--fp-accent); }
.fp-profile.fp-has-accent .fp-linkbtn.is-featured{
  border-color: var(--fp-accent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--fp-accent) 22%, transparent);
}
.fp-profile.fp-has-accent .fp-btn--brand{ background: var(--fp-accent); border-color: var(--fp-accent); }
.fp-profile.fp-has-accent .fp-share__btn:hover{ border-color: var(--fp-accent); color: var(--fp-accent); }
.fp-profile.fp-has-accent .fp-linkbtn__icon{ color: var(--fp-accent); opacity: 1; }

.fp-profile.fp-has-font,
.fp-profile.fp-has-font .fp-profile__name,
.fp-profile.fp-has-font .fp-input,
.fp-profile.fp-has-font .fp-btn{ font-family: var(--fp-font); }

/* --------------------------------------------------------------------------
   Contrast sweep: every block inside the card states its own colour so it
   stays readable on dark, glass and gradient templates.
   -------------------------------------------------------------------------- */
.fp-profile__card{ color: var(--fpc-text); }
.fp-profile__brandmark,
.fp-profile__brandmark a{ color: var(--fpc-dim); }
.fp-profile__brandmark a:hover{ color: var(--fpc-soft); }

.fp-block__title{ color: var(--fpc-dim); }
.fp-meta__loc{ color: var(--fpc-dim); }

.fp-tag{ color: var(--fpc-soft); border-color: var(--fpc-line); background: var(--fpc-surface); }

.fp-project{ background: var(--fpc-surface); }
.fp-project__title{ color: var(--fpc-text); }
.fp-project__desc{ color: var(--fpc-dim); }

.fp-quote{ background: var(--fpc-surface); border-color: var(--fpc-line); }
.fp-quote blockquote{ color: var(--fpc-soft); }
.fp-quote figcaption{ color: var(--fpc-text); }
.fp-quote figcaption span{ color: var(--fpc-dim); }

.fp-news{ background: var(--fpc-surface); border-color: var(--fpc-line); }
.fp-news .fp-block__title{ color: var(--fpc-soft); }
.fp-news__input{
  background: var(--fpc-surface-soft);
  border: 1px solid var(--fpc-line);
  color: var(--fpc-text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.fp-news__input:focus{ border-color: var(--fpc-accent); }
.fp-news__input::placeholder{ color: var(--fpc-dim); }
.fp-news__btn{ background: var(--fpc-accent); border-color: var(--fpc-accent); color: var(--fpc-on-accent); }
.fp-news__btn:hover{ filter: brightness(1.08); }
.fp-news__msg{ color: var(--fpc-soft); }

.fp-share__btn{ color: var(--fpc-soft); border-color: var(--fpc-line); background: var(--fpc-surface); }
.fp-share__btn svg{ color: var(--fpc-soft); }
.fp-share__btn:hover{ border-color: var(--fpc-accent); color: var(--fpc-text); background: var(--fpc-surface-soft); }
.fp-share__qr small{ color: var(--fpc-dim); }
.fp-share__qr img{ border-color: var(--fpc-line); }

.fp-action.fp-btn--ghost{ color: var(--fpc-text); border-color: var(--fpc-line); background: var(--fpc-surface); }
.fp-action.fp-btn--ghost:hover{ background: var(--fpc-surface-soft); border-color: var(--fpc-accent); }
.fp-action.fp-btn--brand{ background: var(--fpc-accent); border-color: var(--fpc-accent); color: var(--fpc-on-accent); }

/* Availability badge: brighter on the dark templates. */
.fpt-5 .fp-status, .fpt-6 .fp-status, .fpt-7 .fp-status,
.fpt-8 .fp-status, .fpt-9 .fp-status, .fpt-11 .fp-status,
.fpt-13 .fp-status, .has-pagebg .fp-status{
  color: #7CE0A3;
  background: rgba(74,222,128,.16);
  border-color: rgba(74,222,128,.42);
}
.fpt-5 .fp-status__dot, .fpt-6 .fp-status__dot, .fpt-7 .fp-status__dot,
.fpt-8 .fp-status__dot, .fpt-9 .fp-status__dot, .fpt-11 .fp-status__dot,
.fpt-13 .fp-status__dot, .has-pagebg .fp-status__dot{
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.22);
}

/* Glass templates: the tick badge and gallery tiles need their own surface. */
.fp-gallery__item{ background: var(--fpc-surface-soft); }

/* ==========================================================================
   Dashboard controls
   ========================================================================== */
.fp-grid2{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.fp-grid3{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 720px){
  .fp-grid2, .fp-grid3{ grid-template-columns: 1fr; }
}

.fp-panel__sub{
  font-size: 14px;
  font-weight: 700;
  margin: 24px 0 6px;
  padding-top: 18px;
  border-top: 1px solid var(--fp-line);
}
.fp-panel--wide{ grid-column: 2 / 3; }
@media (max-width: 1080px){
  .fp-panel--wide{ grid-column: auto; }
}

/* The preview is a picture of the page, not a working copy of it. */
.fp-dash__preview-frame .fp-share__btn,
.fp-dash__preview-frame .fp-news__btn,
.fp-dash__preview-frame .fp-news__input,
.fp-dash__preview-frame .fp-action,
.fp-dash__preview-frame .fp-project,
.fp-dash__preview-frame .fp-gallery__item{ pointer-events: none; }
.fp-panel.is-locked .fp-lockfield{ opacity: .55; }
.fp-lockfield{ border: 0; margin: 0; padding: 0; min-width: 0; }

.fp-check{ display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--fp-ink-soft); margin-bottom: 14px; cursor: pointer; }
.fp-check--sm{ font-size: 12px; font-weight: 500; margin-bottom: 0; white-space: nowrap; }
.fp-check input{ width: 15px; height: 15px; accent-color: var(--fp-brand); }

.fp-input--sm{ padding: 8px 10px; font-size: 13px; }
.fp-input--color{ padding: 4px; height: 42px; cursor: pointer; }
.fp-btn--sm{ padding: 7px 12px; font-size: 13px; }

/* Repeater rows -------------------------------------------------------- */
.fp-repeater{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.fp-rrow{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--fp-line);
  border-radius: 10px;
  padding: 12px;
  background: var(--fp-paper);
}
.fp-rrow__handle{ display: inline-flex; color: var(--fp-muted); padding-top: 10px; }
.fp-rrow__fields{ flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fp-rrow__fields > .fp-input{ flex: 1 1 160px; }
.fp-rrow--stack .fp-rrow__fields{ flex-direction: column; align-items: stretch; }
.fp-rrow__del{
  background: none;
  border: none;
  color: var(--fp-muted);
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 6px;
}
.fp-rrow__del:hover{ color: #B3261E; }
.fp-addrow{ margin-bottom: 6px; }
.fp-addrow[disabled]{ opacity: .45; cursor: not-allowed; }

/* Image picker inside a repeater row ------------------------------------ */
.fp-imgpick{ display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fp-imgpick__thumb{
  width: 46px; height: 46px;
  border-radius: 8px;
  border: 1px solid var(--fp-line);
  background: var(--fp-paper-soft) center/cover no-repeat;
  flex-shrink: 0;
}
.fp-filepick{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fp-filepick__name{ font-size: 12px; font-weight: 400; color: var(--fp-muted); word-break: break-all; }

/* Gallery editor --------------------------------------------------------- */
.fp-gal-edit{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fp-gal-edit__item{
  position: relative;
  width: 72px; height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--fp-line);
}
.fp-gal-edit__item img{ width: 100%; height: 100%; object-fit: cover; }
.fp-gal-edit__item.is-new{ outline: 2px dashed var(--fp-brand); outline-offset: -2px; }
.fp-gal-edit__del{
  position: absolute;
  top: 2px; right: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

/* Analytics -------------------------------------------------------------- */
.fp-stats{ display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.fp-stat{
  flex: 1 1 130px;
  border: 1px solid var(--fp-line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fp-stat__num{ font-family: var(--fp-font-display); font-size: 26px; font-weight: 700; }
.fp-stat__lbl{ font-size: 12px; color: var(--fp-muted); font-weight: 600; }

.fp-chart{
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 90px;
  padding: 10px 12px;
  border: 1px solid var(--fp-line);
  border-radius: 12px;
}
.fp-chart__bar{
  flex: 1;
  min-height: 4px;
  border-radius: 4px 4px 2px 2px;
  background: var(--fp-brand);
  opacity: .8;
}

.fp-table{ width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.fp-table th, .fp-table td{ text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--fp-line); }
.fp-table th{ font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fp-muted); }
.fp-table td:last-child, .fp-table th:last-child{ text-align: right; width: 90px; }

.fp-panel__sub{ font-size: 13px; font-weight: 700; margin: 26px 0 12px; }

.fp-analytics-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 4px 0 16px;
}
.fp-breakdown-col__title{ font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fp-muted); margin: 0 0 10px; }
.fp-breakdown__row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 34px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 5px 0;
}
.fp-breakdown__label{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-breakdown__bar{ position: relative; height: 7px; border-radius: 4px; background: var(--fp-line); overflow: hidden; }
.fp-breakdown__bar span{ position: absolute; inset: 0; width: 0; border-radius: 4px; background: var(--fp-brand); }
.fp-breakdown__val{ text-align: right; color: var(--fp-muted); font-weight: 600; font-variant-numeric: tabular-nums; }

.fp-urlbox{
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed var(--fp-line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.fp-urlbox code{ font-family: var(--fp-font-mono, ui-monospace, monospace); font-size: 13px; word-break: break-all; }

.fp-brandform{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.fp-brandform .fp-check{ margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Sidebar-as-tabs: one section open at a time.
   The class is added by JS, so without JS the dashboard still scrolls.
   -------------------------------------------------------------------------- */
.fp-dash__shell.is-tabbed .fp-panel{ display: none; }
.fp-dash__shell.is-tabbed .fp-panel.is-active{ display: block; margin-bottom: 18px; }
.fp-dash__shell.is-tabbed .fp-editor[hidden]{ display: none; }
.fp-dash__shell.is-tabbed .fp-dash__navitem{ cursor: pointer; }

/* ==========================================================================
   Look controls (Design tab): icon style + icon / name / about-text size.
   Medium is the default and adds no class, so untouched pages don't change.
   Every template's own size is multiplied by these scales, so Big Type stays
   big and Terminal stays small -- just one step smaller or larger.
   ========================================================================== */
.fp-profile.fp-isize-s{ --fp-icon-scale: .8; }
.fp-profile.fp-isize-l{ --fp-icon-scale: 1.25; }
.fp-profile.fp-nsize-s{ --fp-name-scale: .8; }
.fp-profile.fp-nsize-l{ --fp-name-scale: 1.2; }
.fp-profile.fp-bsize-s{ --fp-bio-scale: .86; }
.fp-profile.fp-bsize-l{ --fp-bio-scale: 1.14; }
.fp-profile.fp-nsize-l .fp-profile__name{ overflow-wrap: anywhere; }

/* Real brand icons: a solid brand-coloured circle with the white logo. It
   reads the same on light, dark, glass and gradient templates. */
[data-social-icon="x"],         [data-brand="x"]{         --fp-bi: #000000; }
[data-social-icon="instagram"], [data-brand="instagram"]{ --fp-bi: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
[data-social-icon="facebook"],  [data-brand="facebook"]{  --fp-bi: #1877f2; }
[data-social-icon="linkedin"],  [data-brand="linkedin"]{  --fp-bi: #0a66c2; }
[data-social-icon="youtube"],   [data-brand="youtube"]{   --fp-bi: #ff0000; }
[data-social-icon="github"],    [data-brand="github"]{    --fp-bi: #24292f; }
[data-social-icon="tiktok"],    [data-brand="tiktok"]{    --fp-bi: #000000; }
[data-social-icon="telegram"],  [data-brand="telegram"]{  --fp-bi: #229ed9; }
[data-social-icon="whatsapp"],  [data-brand="whatsapp"]{  --fp-bi: #25d366; }
[data-social-icon="email"],     [data-brand="email"]{     --fp-bi: #ea4335; }

.fp-profile.fp-icons-brand .fp-social[data-social-icon]{
  background: var(--fp-bi, #444);
  border-color: transparent;
  color: #fff;
}
.fp-profile.fp-icons-brand .fp-social[data-social-icon]:hover{
  background: var(--fp-bi, #444);
  border-color: transparent;
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-1px);
}
/* Black / near-black logos get a faint ring so they don't vanish on dark templates. */
.fp-profile.fp-icons-brand .fp-social[data-social-icon="x"],
.fp-profile.fp-icons-brand .fp-social[data-social-icon="tiktok"],
.fp-profile.fp-icons-brand .fp-social[data-social-icon="github"]{
  box-shadow: 0 0 0 1px rgba(255,255,255,.28);
}
