.fn-ig-section-back {
  display: none;
}

@media (max-width: 899px) {
  .fn-ig-section-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    margin: 0 0 12px;
    padding: 0 4px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    -webkit-tap-highlight-color: transparent;
  }

  .fn-ig-section-back .fn-icon {
    width: 20px;
    height: 20px;
  }
}

/* Account profile — Instagram-style immersive mobile layout */

.fn-account-page .account-main {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.fn-account-page .account-desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  margin-right: auto;
  min-width: 0;
}

.fn-account-page .account-desktop-nav .fn-header-link {
  white-space: nowrap;
}

@media (min-width: 960px) {
  .fn-account-page .account-desktop-nav {
    display: flex;
    margin-left: 12px;
    margin-right: auto;
  }

  .fn-account-page .fn-bottom-nav {
    display: none;
  }

  .fn-account-page .account-main {
    padding-bottom: 32px;
  }
}

.fn-account-page .account-nav-item.is-active {
  color: var(--fn-orange, #ff8a00);
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
}

.fn-account-page .account-venue-invite-submit {
  background: var(--fn-orange, #ff8a00);
  color: #0a0a0a;
  border: 0;
  border-radius: var(--fn-radius-control, 6px);
  font-weight: 800;
}

/* Account-specific dock is replaced by the shared main navigation. */
body.account-page .account-nav-dock,
.account-page .account-nav-dock,
body.account-page-app .account-nav-dock,
.account-page-app .account-nav-dock,
body.account-profile-immersive .account-nav-dock,
.account-profile-immersive .account-nav-dock {
  display: none !important;
}

body.account-profile-immersive .account-main,
.account-profile-immersive .account-main,
body.account-page-app .account-main,
.account-page-app .account-main {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 899px) {
  .account-profile-immersive .account-topbar {
    display: none;
  }

  .account-profile-immersive .account-app {
    display: block;
  }

  .account-profile-immersive .account-nav-sidebar {
    display: none !important;
  }

  .account-profile-immersive .account-app-body {
    padding: 0;
  }
}

/* Profile fills the account body. Cards inside carry the surface, not a narrow column. */
.account-profile-immersive .account-panel-profile,
.account-panel-profile {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-profile-immersive .account-app-body {
  width: 100%;
  min-width: 0;
}

/* —— Account settings shell (minimal list) —— */
.fn-ig-account {
  --fn-ig-surface: rgba(255, 255, 255, 0.035);
  --fn-ig-surface-border: rgba(255, 255, 255, 0.07);
  --fn-ig-row-gap: 12px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: #f3f4f6;
  background:
    radial-gradient(90% 42% at 50% -8%, rgba(139, 92, 246, 0.14), transparent 58%),
    var(--fn-bg, #0b0d10);
}

.fn-ig-chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: env(safe-area-inset-top, 0px) 0 0;
  background: color-mix(in srgb, var(--fn-bg, #0b0d10) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fn-ig-topbar {
  display: grid;
  grid-template-columns: minmax(44px, auto) 1fr minmax(44px, auto);
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 4px 8px;
}

.fn-ig-back,
.fn-ig-topbar-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}

.fn-ig-back:hover,
.fn-ig-topbar-action:hover,
.fn-ig-back:focus-visible,
.fn-ig-topbar-action:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.fn-ig-back .fn-icon,
.fn-ig-topbar-action .fn-icon {
  width: 22px;
  height: 22px;
}

.fn-ig-topbar-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--fn-radius-control, 6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  background: #8b5cf6;
  color: #fff;
  box-shadow: 0 0 0 2px var(--fn-bg, #0b0d10);
}

.fn-ig-back-label {
  display: none;
  font-size: 14px;
  font-weight: 600;
}

.fn-ig-topbar-title {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fn-ig-search {
  padding: 0 12px 10px;
}

.fn-ig-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fn-ig-search-field:focus-within {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(139, 92, 246, 0.45);
}

.fn-ig-search-icon {
  color: rgba(255, 255, 255, 0.42);
  display: inline-flex;
  flex-shrink: 0;
}

.fn-ig-search-icon .fn-icon {
  width: 16px;
  height: 16px;
}

.fn-ig-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  -webkit-appearance: none;
  appearance: none;
}

.fn-ig-search-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.fn-ig-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.fn-ig-search-empty {
  margin: 12px 16px 0;
  font-size: 13px;
  color: var(--fn-text-muted, #8b9099);
  text-align: center;
}

.fn-ig-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 0;
}

/* Identity */
.fn-ig-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 12px 0;
  padding: 8px 8px 8px 12px;
  border-radius: 16px;
  border: 1px solid var(--fn-ig-surface-border);
  background: var(--fn-ig-surface);
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.fn-ig-identity-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 4px 4px 4px 0;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.fn-ig-identity-main:hover,
.fn-ig-identity-main:active {
  background: rgba(255, 255, 255, 0.04);
}

.fn-ig-qr-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  min-width: 48px;
  min-height: 48px;
  padding: 6px 10px;
  border-radius: var(--fn-radius-control, 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #e8eaed;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
}

.fn-ig-qr-btn:hover,
.fn-ig-qr-btn:focus-visible {
  border-color: rgba(255, 138, 0, 0.42);
  background: rgba(255, 138, 0, 0.12);
  color: #ffd7a8;
}

.fn-ig-qr-btn:active {
  transform: scale(0.97);
}

.fn-ig-qr-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.fn-ig-qr-btn-icon .fn-icon {
  width: 20px;
  height: 20px;
}

.fn-ig-qr-btn-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.fn-ig-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--fn-radius-round, 999px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #a78bfa, #8b5cf6 55%, #6d28d9);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.22);
}

.fn-ig-identity-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.fn-ig-identity-copy strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fn-ig-identity-copy > span {
  font-size: 13px;
  color: var(--fn-text-muted, #8b9099);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fn-ig-identity-copy em {
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
}

.fn-ig-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 12px 0;
  padding: 0 2px;
}

.fn-ig-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: var(--fn-radius-control, 6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(139, 92, 246, 0.14);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.28);
}

/* Menu groups */
.fn-ig-menu {
  padding: 4px 0 8px;
}

.fn-ig-group {
  margin: 0;
}

.fn-ig-menu-label {
  margin: 16px 16px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.fn-ig-menu-list {
  list-style: none;
  margin: 0 var(--fn-ig-row-gap) 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--fn-ig-surface-border);
  background: var(--fn-ig-surface);
}

.fn-ig-menu-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.fn-ig-menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease;
}

.fn-ig-menu-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.fn-ig-menu-row:active {
  background: rgba(255, 255, 255, 0.055);
}

.fn-ig-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

.fn-ig-menu-icon.is-violet {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
}

.fn-ig-menu-icon.is-amber {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
}

.fn-ig-menu-icon.is-cyan {
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
}

.fn-ig-menu-icon.is-green {
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
}

.fn-ig-menu-icon.is-pink {
  background: rgba(244, 114, 182, 0.12);
  color: #f9a8d4;
}

.fn-ig-menu-icon .fn-icon {
  width: 18px;
  height: 18px;
}

.fn-ig-menu-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.fn-ig-menu-copy strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.fn-ig-menu-copy span {
  font-size: 12px;
  color: var(--fn-text-muted, #8b9099);
  line-height: 1.35;
}

.fn-ig-menu-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--fn-radius-control, 6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  background: #8b5cf6;
  color: #fff;
}

.fn-ig-menu-pct {
  flex-shrink: 0;
  min-width: 2.75rem;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #c4b5fd;
  font-variant-numeric: tabular-nums;
}

.fn-ig-menu-chevron {
  color: rgba(255, 255, 255, 0.28);
  display: inline-flex;
  flex-shrink: 0;
}

.fn-ig-menu-chevron .fn-icon {
  width: 16px;
  height: 16px;
}

/* Content sections */
.fn-ig-section {
  margin: 16px 12px 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--fn-ig-surface-border);
  background: var(--fn-ig-surface);
  scroll-margin-top: 120px;
}

.fn-ig-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.fn-ig-section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.fn-ig-section-head a {
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  text-decoration: none;
}

.fn-ig-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.fn-ig-list-row {
  display: grid;
  gap: 2px;
  padding: 10px 4px;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  min-height: 44px;
}

a.fn-ig-list-row:hover strong,
a.fn-ig-list-row:active strong {
  color: #c4b5fd;
}

.fn-ig-list-row strong {
  font-size: 14px;
}

.fn-ig-list-row span {
  font-size: 12px;
  color: var(--fn-text-muted, #8b9099);
  line-height: 1.4;
}

.fn-ig-empty {
  margin: 0;
  font-size: 13px;
  color: var(--fn-text-muted, #8b9099);
  line-height: 1.45;
}

.fn-ig-share-block {
  max-width: 280px;
}

.fn-ig-session {
  display: grid;
  gap: 14px;
  margin: 20px 12px 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.fn-ig-session-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.fn-ig-session-copy strong {
  color: var(--fn-text, #fff);
  font-size: 14px;
  line-height: 1.35;
}

.fn-ig-session-copy span {
  overflow-wrap: anywhere;
  color: var(--fn-text-muted, #8b9099);
  font-size: 12px;
  line-height: 1.45;
}

.fn-ig-signout {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: 14px;
  background: rgba(248, 113, 113, 0.07);
  color: #fca5a5;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.fn-ig-signout:hover {
  background: rgba(248, 113, 113, 0.12);
}

.fn-ig-signout .fn-icon {
  width: 18px;
  height: 18px;
}

/* Preferences nested in IG profile */
.fn-ig-account .fn-pref-questionnaire {
  margin: 16px 12px 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--fn-ig-surface-border);
  background: var(--fn-ig-surface);
  scroll-margin-top: 120px;
}

.fn-ig-account .fn-pref-questionnaire .account-section-title {
  font-size: 15px;
  margin: 0;
}

@media (min-width: 900px) {
  .account-profile-immersive .account-topbar {
    display: flex;
  }

  .fn-ig-account {
    background: transparent;
    max-width: none;
    width: 100%;
  }

  .fn-ig-chrome {
    position: static;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
  }

  .fn-ig-topbar {
    padding: 0 0 8px;
  }

  .fn-ig-back-label {
    display: inline;
  }

  .fn-ig-search {
    padding: 0 0 12px;
  }

  .fn-ig-identity,
  .fn-ig-meta-row,
  .fn-ig-menu-list,
  .fn-ig-section,
  .fn-ig-account .fn-pref-questionnaire,
  .fn-ig-session {
    margin-left: 0;
    margin-right: 0;
  }

  .fn-ig-menu-label {
    margin-left: 4px;
  }

  .fn-ig-session {
    padding-left: 0;
    padding-right: 0;
  }
}

/* —— Preference questionnaire —— */
.fn-pref-questionnaire {
  margin-bottom: 28px;
}

.fn-pref-questionnaire-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.fn-pref-questionnaire-lead {
  margin: 6px 0 0;
  color: var(--fn-text-muted, #a7abb2);
  font-size: 14px;
  line-height: 1.45;
  max-width: 52ch;
}

.fn-pref-questionnaire-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(167, 139, 250, 0.85);
  line-height: 1.4;
}

.fn-pref-progress {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.fn-pref-progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.fn-pref-progress-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}

.fn-pref-progress-fill {
  fill: none;
  stroke: #8b5cf6;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.25s ease;
}

.fn-pref-progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.fn-pref-save-status {
  position: fixed;
  top: calc(var(--fn-header-h, 60px) + 10px);
  right: 12px;
  z-index: 90;
  width: max-content;
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(12, 12, 17, 0.94);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.fn-pref-save-status.is-success {
  color: rgba(167, 139, 250, 0.95);
}

.fn-pref-save-status.is-error {
  color: #f87171;
}

.fn-pref-section {
  border: 1px solid var(--fn-border, #252930);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.fn-pref-section[open] {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.045);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.fn-pref-section-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.fn-pref-section-summary::-webkit-details-marker {
  display: none;
}

.fn-pref-section-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.fn-pref-section-copy strong {
  font-size: 14px;
}

.fn-pref-section-copy span {
  font-size: 12px;
  color: var(--fn-text-muted, #a7abb2);
}

.fn-pref-section-pct {
  font-size: 12px;
  font-weight: 700;
  color: #8b5cf6;
  flex-shrink: 0;
}

.fn-pref-section-chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--fn-text-muted, #a7abb2);
  transition: transform 0.2s ease;
}

.fn-pref-section[open] .fn-pref-section-chevron {
  transform: rotate(180deg);
}

.fn-pref-section-body {
  padding: 0 14px 14px;
  display: grid;
  gap: 16px;
}

.fn-pref-question {
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}

.fn-pref-question + .fn-pref-question {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.fn-pref-question-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}

.fn-pref-question.is-answered .fn-pref-question-label::after {
  content: "✓";
  margin-left: 7px;
  color: #86efac;
  font-size: 11px;
}

.fn-pref-question-hint {
  margin: -3px 0 9px;
  color: var(--fn-text-muted, #a7abb2);
  font-size: 11px;
}

.fn-pref-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fn-pref-chip {
  display: inline-flex;
  cursor: pointer;
}

.fn-pref-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fn-pref-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--fn-radius-control, 6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  line-height: 1.25;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fn-pref-chip input:checked + span,
.fn-pref-chip input:focus-visible + span {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.14);
}

.fn-pref-chip input:checked + span {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.18);
}

.fn-pref-scale {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fn-pref-scale-edge {
  font-size: 11px;
  color: var(--fn-text-muted, #a7abb2);
  flex: 1 1 80px;
}

.fn-pref-scale-inputs {
  display: flex;
  gap: 6px;
}

.fn-pref-scale-dot {
  cursor: pointer;
}

.fn-pref-scale-dot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fn-pref-scale-dot span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--fn-radius-round, 999px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.fn-pref-section-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.fn-pref-next,
.fn-pref-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--fn-violet, #8b5cf6);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.fn-pref-next:hover,
.fn-pref-next:focus-visible,
.fn-pref-done:hover,
.fn-pref-done:focus-visible {
  background: var(--fn-violet-hot, #7c3aed);
  outline: 2px solid rgba(167, 139, 250, 0.65);
  outline-offset: 2px;
}

.fn-pref-next .fn-icon,
.fn-pref-done .fn-icon {
  width: 16px;
  height: 16px;
}

.fn-pref-scale-dot input:checked + span {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.18);
  color: #fff;
}

.fn-pref-text {
  width: 100%;
  min-height: 72px;
  resize: vertical;
}

.fn-pref-questionnaire.is-saving {
  opacity: 0.92;
}

@media (max-width: 640px) {
  .fn-pref-questionnaire-head {
    position: sticky;
    top: var(--fn-header-h, 60px);
    z-index: 7;
    align-items: center;
    padding: 9px 0;
    background: rgba(12, 12, 17, 0.94);
    backdrop-filter: blur(14px);
  }

  .fn-pref-progress {
    width: 54px;
    height: 54px;
  }

  .fn-pref-questionnaire-hint {
    margin-top: 3px;
  }

  .fn-pref-scale {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fn-pref-scale-inputs {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: space-between;
  }

  .fn-pref-scale-edge:last-child {
    text-align: right;
  }

  .fn-pref-section-footer > * {
    width: 100%;
  }
}

/* —— Account redesign (fn-acct) —— */
.fn-acct.fn-ig-account {
  --fn-acct-bg: transparent;
  --fn-acct-card: var(--fn-surface-2, #121218);
  --fn-acct-accent: var(--fn-violet, #8b5cf6);
  --fn-acct-accent-hot: var(--fn-violet-hot, #7c3aed);
  --fn-ig-surface: var(--fn-surface-2, #121218);
  --fn-ig-surface-border: var(--fn-border, rgba(255, 255, 255, 0.08));
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  color: var(--fn-text, #fff);
}

.fn-acct .fn-ig-chrome {
  background: var(--fn-bg, #07070a);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.fn-acct .fn-ig-topbar {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
}

.fn-acct .fn-ig-topbar-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 44px;
}

.fn-acct .fn-ig-topbar .fn-return,
.fn-acct .fn-ig-topbar-action {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f5f7fc;
}

.fn-acct .fn-ig-topbar .fn-return:hover,
.fn-acct .fn-ig-topbar-action:hover,
.fn-acct .fn-ig-topbar .fn-return:focus-visible,
.fn-acct .fn-ig-topbar-action:focus-visible {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  outline: 1px solid rgba(255, 255, 255, 0.28);
  outline-offset: -1px;
}

.fn-acct .fn-ig-search {
  padding: 8px 12px 14px;
}

.fn-acct .fn-ig-search-field {
  min-height: 44px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  box-shadow: none;
}

.fn-acct .fn-ig-search-field:focus-within {
  border-color: rgba(255, 255, 255, 0.14);
  background: transparent;
  box-shadow: none;
  outline: none;
}

/* One field, not a native control. The border stays on the label.
   Focus must not add a second frame or hide the letters being typed. */
.fn-acct .fn-ig-search-input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #f5f7fc;
  -webkit-text-fill-color: #f5f7fc;
  caret-color: #f5f7fc;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-user-select: text;
  user-select: text;
}

.fn-acct .fn-ig-search-input::placeholder {
  color: rgba(245, 247, 252, 0.46);
  -webkit-text-fill-color: rgba(245, 247, 252, 0.46);
  opacity: 1;
}

.fn-premium .fn-acct .fn-ig-search-input:focus,
.fn-premium .fn-acct .fn-ig-search-input:focus-visible,
.fn-acct .fn-ig-search-input:focus,
.fn-acct .fn-ig-search-input:focus-visible {
  outline: none !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent;
  color: #f5f7fc;
  -webkit-text-fill-color: #f5f7fc;
  caret-color: #f5f7fc;
}

.fn-acct .fn-ig-search-input::-webkit-search-cancel-button,
.fn-acct .fn-ig-search-input::-webkit-search-decoration,
.fn-acct .fn-ig-search-input::-webkit-search-results-button,
.fn-acct .fn-ig-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.fn-acct .fn-ig-search-input:-webkit-autofill,
.fn-acct .fn-ig-search-input:-webkit-autofill:hover,
.fn-acct .fn-ig-search-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f5f7fc;
  caret-color: #f5f7fc;
  box-shadow: 0 0 0 1000px #07070a inset;
  transition: background-color 99999s ease-out 0s;
}

.fn-acct .fn-ig-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: -6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(245, 247, 252, 0.55);
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.fn-ig-search-clear:hover,
.fn-ig-search-clear:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.fn-ig-search-clear .fn-icon {
  width: 16px;
  height: 16px;
}

.fn-ig-search-clear[hidden] {
  display: none !important;
}

.fn-acct .fn-ig-body {
  gap: 0;
  padding: 0 0 8px;
  background: transparent;
}

.fn-acct-profile {
  margin: 0;
  padding: 20px 20px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

.fn-acct-profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fn-acct-profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.fn-acct-avatar {
  width: 56px;
  height: 56px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #5b2be0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
}

.fn-acct-avatar img,
.account-user-avatar img,
.account-user-panel-avatar img,
.account-nav-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.fn-acct-avatar-form { position: relative; flex: 0 0 56px; }
.fn-acct-avatar-edit {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: var(--fn-accent, #ff8a00);
  color: #111;
}
.fn-acct-avatar-edit .fn-icon { width: 11px; height: 11px; }
.fn-acct-avatar-status {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 2;
  width: max-content;
  max-width: min(70vw, 260px);
  color: var(--fn-text-secondary);
  font-size: 11px;
  line-height: 1.25;
}
.fn-acct-avatar-form.is-uploading .fn-acct-avatar { opacity: .6; cursor: wait; }
.fn-acct-avatar:focus-visible { outline: 2px solid var(--fn-accent, #ff8a00); outline-offset: 3px; }

.fn-acct-profile-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.fn-acct-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.fn-acct-name {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.fn-acct-handle {
  font-size: 13px;
  font-weight: 500;
  color: var(--fn-text-muted, #71717a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fn-acct-plus {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 8px;
}

.fn-acct-plus-btn,
.fn-acct-plus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--fn-radius-control, 6px);
  background: var(--fn-violet, #8b5cf6);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  line-height: 1.2;
  max-width: 100%;
  min-width: 0;
  height: auto;
  padding-block: 6px;
  white-space: normal;
  text-align: left;
}

.fn-acct-plus-btn:hover,
.fn-acct-plus-btn:focus-visible,
.fn-acct-plus-badge:focus-visible {
  background: var(--fn-violet-hot, #7c3aed);
  outline: 2px solid var(--fn-violet-soft, rgba(139, 92, 246, 0.45));
  outline-offset: 2px;
}

.fn-acct-plus-btn .fn-icon,
.fn-acct-plus-badge .fn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.fn-acct-plus-meta,
.fn-acct-plus-expired {
  font-size: 12px;
  color: var(--fn-text-muted, #71717a);
}

.fn-acct-plus-expired {
  color: #fca5a5;
  font-weight: 600;
}

.fn-acct-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  min-width: 52px;
  min-height: 48px;
  padding: 4px 8px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--fn-text-secondary, #a1a1aa);
  text-decoration: none;
}

.fn-acct-profile-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}

.fn-acct-qr:hover,
.fn-acct-qr:focus-visible {
  border: 0;
  background: transparent;
  color: var(--fn-text, #fff);
  outline: 1px solid rgba(255, 255, 255, 0.28);
  outline-offset: -1px;
}

.fn-acct-qr-icon .fn-icon {
  width: 20px;
  height: 20px;
}

.fn-acct-qr-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fn-acct-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fn-text-muted, #a1a1aa);
  text-decoration: none;
  line-height: 0;
}

.fn-acct-edit:hover,
.fn-acct-edit:focus-visible {
  color: var(--fn-text, #f4f4f5);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.fn-acct-edit .fn-icon {
  width: 16px;
  height: 16px;
}

.fn-acct-quick {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.fn-acct-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  min-width: 0;
  padding: 10px 20px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.fn-acct-quick-card:hover,
.fn-acct-quick-card:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  outline: none;
}

.fn-acct-quick-icon {
  width: 20px;
  height: 20px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.fn-acct-quick-icon.is-blue,
.fn-acct-quick-icon.is-magenta {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.fn-acct-quick-icon .fn-icon {
  width: 20px;
  height: 20px;
}

.fn-acct-quick-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.fn-acct-quick-copy strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.fn-acct-quick-copy span {
  font-size: 13px;
  color: var(--fn-text-muted, #71717a);
  line-height: 1.35;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.fn-acct-chevron {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.fn-acct-chevron .fn-icon {
  width: 16px;
  height: 16px;
}

.fn-acct .fn-ig-menu {
  padding: 0;
}

.fn-acct .fn-ig-menu-label {
  margin: 28px 20px 8px;
  padding: 0;
  border: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.fn-acct .fn-ig-menu-list {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.fn-acct .fn-ig-menu-list li + li {
  border-top: 0;
}

.fn-acct .fn-ig-menu-row {
  min-height: 64px;
  padding: 10px 20px;
  gap: 14px;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fn-acct .fn-ig-menu-row:hover,
.fn-acct .fn-ig-menu-row:focus-visible {
  background: rgba(255, 255, 255, 0.035);
  outline: none;
}

.fn-acct .fn-ig-menu-icon,
.fn-acct .fn-ig-menu-icon.is-violet,
.fn-acct .fn-ig-menu-icon.is-amber,
.fn-acct .fn-ig-menu-icon.is-cyan,
.fn-acct .fn-ig-menu-icon.is-green,
.fn-acct .fn-ig-menu-icon.is-pink {
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.fn-acct .fn-ig-menu-icon .fn-icon {
  width: 20px;
  height: 20px;
}

.fn-acct .fn-ig-menu-copy strong {
  font-size: 15px;
  font-weight: 600;
}

.fn-acct .fn-ig-menu-copy span {
  font-size: 13px;
  white-space: normal;
}

.fn-acct-biz-promo,
.fn-acct-biz-card {
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.fn-acct .fn-ig-menu-pct {
  color: var(--fn-accent, #ff8a00);
  font-weight: 700;
  font-size: 13px;
}

.fn-acct-business {
  margin: 0;
}

.fn-acct-biz-promo,
.fn-acct-biz-card {
  padding: 4px 20px 20px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.fn-acct-biz-promo {
  background: transparent;
}

.fn-acct-biz-promo-head,
.fn-acct-biz-status {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fn-acct-biz-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.fn-acct-biz-icon.is-sm {
  width: 20px;
  height: 20px;
  border-radius: 0;
}

.fn-acct-biz-icon .fn-icon {
  width: 20px;
  height: 20px;
}

.fn-acct-biz-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fn-acct-biz-promo-copy strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fn-acct-biz-promo-copy span {
  font-size: 13px;
  color: var(--fn-text-secondary, #a1a1aa);
  line-height: 1.35;
}

.fn-acct-biz-offer {
  margin: 14px 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fn-text, #fff);
}

.fn-acct-biz-note {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--fn-text-muted, #71717a);
  line-height: 1.4;
}

.fn-acct-biz-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
  width: auto;
  max-width: 36rem;
}

.fn-acct-biz-offer,
.fn-acct-biz-note,
.fn-acct .fn-acct-biz-actions {
  margin-left: 34px;
}

.fn-acct-biz-actions-stack {
  grid-template-columns: 1fr;
}

.fn-acct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--fn-radius-control, 6px);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
}

.fn-acct .fn-acct-btn {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.fn-acct-btn-primary {
  background: var(--fn-accent, #ff8a00);
  color: var(--fn-on-accent, #101014);
  border: 0;
}

.fn-acct-btn-primary:hover,
.fn-acct-btn-primary:focus-visible {
  background: var(--fn-accent-hot, #ff6b00);
  color: var(--fn-on-accent, #101014);
  outline: 2px solid var(--fn-accent-soft, rgba(255, 138, 0, 0.45));
  outline-offset: 2px;
}

.fn-acct-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #f4f4f5;
}

.fn-acct-btn-secondary:hover,
.fn-acct-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.fn-acct-btn-block {
  width: 100%;
  margin-top: 12px;
}

.fn-acct-biz-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.fn-acct-biz-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
}

.fn-acct-biz-count {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--fn-text-muted, #71717a);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.fn-acct-biz-count:hover,
.fn-acct-biz-count:focus-visible {
  color: #fff;
  outline: none;
}

.fn-acct-biz-count .fn-icon {
  width: 14px;
  height: 14px;
}

.fn-acct-venue-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fn-acct-venue-row:first-of-type {
  border-top: 0;
}

.fn-acct-venue-row:focus-visible .fn-acct-venue-copy strong {
  color: var(--fn-acct-accent);
}

.fn-acct-venue-photo {
  width: 56px;
  height: 56px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.fn-acct-venue-photo.is-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}

.fn-acct-venue-photo.is-placeholder .fn-icon {
  width: 22px;
  height: 22px;
}

.fn-acct-venue-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.fn-acct-venue-copy strong {
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.fn-acct-venue-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--fn-text-muted, #71717a);
}

.fn-acct-role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 0;
  background: var(--fn-violet-soft, rgba(139, 92, 246, 0.18));
  color: #d8c6ff;
  font-size: 11px;
  font-weight: 700;
}

.fn-acct-biz-expired-banner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 10px;
  padding: 10px 0;
  border-radius: 0;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.fn-acct-biz-expired-banner strong {
  font-size: 13px;
  color: #fca5a5;
}

.fn-acct-biz-expired-banner span {
  font-size: 12px;
  color: var(--fn-text-secondary, #a1a1aa);
}

.fn-acct-claims-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  min-height: 64px;
  padding: 10px 20px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.fn-acct-claims-link:hover,
.fn-acct-claims-link:focus-visible {
  background: rgba(255, 255, 255, 0.035);
  outline: none;
}

.fn-acct .fn-ig-session {
  margin: 0;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fn-acct .fn-ig-signout {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  color: #fca5a5;
  min-height: 44px;
  width: auto;
  align-self: flex-start;
  padding-inline: 16px;
}

.fn-acct .fn-ig-signout:hover,
.fn-acct .fn-ig-signout:focus-visible {
  background: rgba(239, 68, 68, 0.08);
  outline: none;
}

@media (max-width: 380px) {
  .fn-acct .fn-acct-biz-actions {
    grid-template-columns: 1fr;
  }
}

/* Full-width account board: identity band, then tool columns. */
.fn-acct-board,
.fn-acct-hero,
.fn-acct-cols,
.fn-acct-rail {
  min-width: 0;
  max-width: 100%;
}

.fn-acct-board,
.fn-acct-hero {
  display: flex;
  flex-direction: column;
}

.fn-acct-cols > .fn-ig-group {
  min-width: 0;
}

@media (min-width: 900px) {
  .account-profile-immersive .account-app-body > .account-panel-profile {
    width: 100%;
    max-width: none;
  }

  .fn-acct.fn-ig-account {
    width: 100%;
    max-width: none;
  }

  .fn-acct .fn-ig-chrome {
    position: static;
    padding: 0 0 4px;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .fn-acct .fn-ig-topbar,
  .fn-acct .fn-ig-search {
    padding-left: 0;
    padding-right: 0;
  }

  .fn-acct-board,
  .fn-acct-hero,
  .fn-acct-cols {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .fn-acct-hero .fn-acct-profile,
  .fn-acct-hero .fn-acct-quick {
    margin: 0;
    min-width: 0;
    height: auto;
  }

  .fn-acct-hero .fn-acct-profile {
    display: block;
    padding: 22px 24px 18px;
  }

  .fn-acct-hero .fn-acct-quick {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .fn-acct-hero .fn-acct-quick-card {
    min-height: 64px;
    height: auto;
  }

  .fn-acct-cols > .fn-ig-group:not(.fn-acct-business) .fn-ig-menu-list {
    margin: 0;
  }

  .fn-acct-cols .fn-ig-menu-label {
    margin: 28px 24px 8px;
  }

  .fn-acct-cols > .fn-acct-business {
    margin: 0;
  }

  .fn-acct .fn-agent-status,
  .fn-acct .fn-acct-quick-card,
  .fn-acct .fn-ig-menu-row,
  .fn-acct .fn-acct-claims-link {
    padding-left: 24px;
    padding-right: 24px;
  }

  .fn-acct .fn-acct-biz-promo,
  .fn-acct .fn-acct-biz-card,
  .fn-acct .fn-ig-session {
    padding-left: 24px;
    padding-right: 24px;
  }

  .fn-acct .fn-ig-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .fn-acct .fn-ig-signout {
    width: auto;
    min-width: 12rem;
    padding-inline: 20px;
  }

  .fn-acct .fn-ig-search-empty {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

/* Keep the final account action clear of the fixed mobile navigation. */
@media (max-width: 959px) {
  .fn-acct.fn-ig-account {
    padding-bottom: calc(var(--fn-bottom-nav-h, 64px) + var(--fn-safe-bottom, env(safe-area-inset-bottom, 0px)) + 24px);
  }
}

@media (min-width: 960px) {
  .fn-acct .fn-ig-session {
    margin-bottom: 8px;
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .fn-acct-hero,
  .fn-acct-hero .fn-acct-quick {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 899px) {
  .fn-acct-hero .fn-acct-profile,
  .fn-acct-hero .fn-acct-quick,
  .fn-acct-cols .fn-ig-menu-list,
  .fn-acct-business {
    max-width: 100%;
  }
}

/* Tour-agent row on the account page. Same flat list as the rows below it. */
.fn-acct .fn-agent-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  min-height: 64px;
  padding: 12px 20px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.fn-acct .fn-agent-status:hover,
.fn-acct .fn-agent-status:focus-visible {
  background: rgba(255, 255, 255, 0.035);
  outline: none;
}

.fn-acct .fn-agent-status strong,
.fn-acct .fn-agent-status small {
  display: block;
  line-height: 1.35;
}

.fn-acct .fn-agent-status strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fn-acct .fn-agent-status small {
  margin-top: 2px;
  color: var(--fn-text-muted, #a7abb2);
  font-size: 13px;
}

.fn-acct .fn-agent-status > span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.28);
  font-size: 20px;
  line-height: 1;
}

.fn-acct .fn-agent-status progress {
  width: 72px;
  height: 4px;
  accent-color: var(--fn-accent, #ff8a00);
  flex-shrink: 0;
}

.fn-acct .fn-agent-status.is-expiring {
  border-bottom-color: rgba(255, 138, 0, 0.45);
}
