/* FINYUE cross-product refinements loaded after the captured Sites stylesheet. */

/* Keep the second title line intact at the fixed desktop canvas width. */
.home-v31-brand h1 b {
  white-space: nowrap;
  font-size: .78em;
  letter-spacing: -.065em;
}

/* COURSE DIRECTORY CONTRACT · general and professional share one selector
   geometry, while selector and lessons remain two genuinely separate cards. */
html[data-finyue-device="desktop"] body .course-directory-v32 {
  box-sizing: border-box !important;
  width: min(1600px, calc(100% - 32px)) !important;
  max-width: 1600px !important;
  margin-inline: auto !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-launch, .professional-course-switcher),
html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-carousel, .all-professional-route-maps) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-catalog-stack {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 15px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-panel {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 170px !important;
  min-height: 170px !important;
  max-height: 170px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  overflow: hidden !important;
  border: 1px solid #d2dfda !important;
  border-radius: 18px !important;
  color: #234b44 !important;
  background:
    radial-gradient(circle at 4% 0, #f0d47a25, transparent 25%),
    linear-gradient(145deg, #fffef9, #f4f8f6) !important;
  box-shadow: 0 4px 0 #d4dfda, 0 14px 32px #173b3412 !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-panel > header {
  box-sizing: border-box !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 2px 5px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-panel > header strong {
  font-size: 20px !important;
  line-height: 1.15 !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-controls {
  display: grid !important;
  justify-items: end !important;
  gap: 2px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-controls nav {
  display: flex !important;
  gap: 7px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-controls nav button {
  box-sizing: border-box !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 1px solid #c9d8d2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 3px 0 #d3ded9 !important;
  font-size: 17px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-swipe-hint {
  display: block !important;
  color: #536f68 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.05 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-panel > .general-course-progress {
  box-sizing: border-box !important;
  height: 21px !important;
  min-height: 21px !important;
  margin: 0 2px 5px !important;
  display: grid !important;
  grid-template-columns: auto minmax(120px, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-panel > .general-course-progress > small {
  display: block !important;
  color: #355c55 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-panel > .general-course-progress > span {
  height: 7px !important;
  min-height: 7px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-selector-panel .course-selection-rail {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-mini-grid, .direction-track).course-selection-track {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 2px 2px 7px !important;
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  scroll-snap-type: x mandatory !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-mini-grid, .direction-track).course-selection-track > button {
  box-sizing: border-box !important;
  flex: 0 0 176px !important;
  width: 176px !important;
  min-width: 176px !important;
  max-width: 176px !important;
  height: 63px !important;
  min-height: 63px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  align-content: center !important;
  gap: 9px !important;
  color: #3d5d56 !important;
  border: 1px solid #d2ddd8 !important;
  border-bottom: 3px solid #c2d0cb !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: left !important;
  scroll-snap-align: start !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-mini-grid, .direction-track).course-selection-track > button > small {
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #8d6c2d !important;
  border: 1px solid #d9c98f !important;
  border-radius: 9px !important;
  background: #fff8df !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-mini-grid, .direction-track).course-selection-track > button > b {
  min-width: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  color: inherit !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-mini-grid, .direction-track).course-selection-track > button.active {
  color: #fff !important;
  border-color: #2b6f65 !important;
  border-bottom-color: #174c45 !important;
  background: linear-gradient(145deg, #438c80, #2d7167) !important;
  box-shadow: 0 6px 15px #1f5c521e !important;
  transform: none !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-mini-grid, .direction-track).course-selection-track > button.active > small {
  color: #f4d77e !important;
  border-color: #ffffff42 !important;
  background: #ffffff16 !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  .course-content-panel {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 16px !important;
  overflow: hidden !important;
  border: 1px solid #ccd9d4 !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 3% 3%, #f4d77725, transparent 22%),
    #fff !important;
  box-shadow: 0 14px 34px #193a3510 !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .course-directory-client
  :is(.general-course-drawer, .professional-course-grid-panel).course-content-panel {
  grid-template-columns: 248px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 16px !important;
}

.course-directory-v32 .general-lesson-count {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.course-directory-v32 .general-lesson-count > b {
  color: #1e5e56;
  font-size: 24px;
  line-height: 1.05;
}

.course-directory-v32 .general-lesson-count > span {
  display: block;
  max-width: 238px;
  overflow: visible;
  color: #61756f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  white-space: normal;
}

.course-directory-v32 .general-lesson-pagination {
  display: grid !important;
  justify-items: center;
  gap: 7px !important;
}

.course-directory-v32 .general-lesson-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.course-directory-v32 .general-lesson-more-hint {
  display: block;
  color: #6c7e79;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .general-lesson-pagination {
  gap: 8px !important;
  margin-top: 12px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .general-lesson-pagination button {
  width: 46px !important;
  min-width: 46px !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 11px !important;
  font-size: 19px !important;
}

html[data-finyue-device="desktop"] body .course-directory-v32
  .general-lesson-pagination b {
  min-width: 58px !important;
  font-size: 17px !important;
}

/* The content card starts with its own catalogue heading. General scenes and
   professional directions use the same pagination scale and reading rhythm. */
.course-directory-v32 .catalog-card-heading {
  box-sizing: border-box !important;
  min-width: 0 !important;
  align-self: start !important;
}

.course-directory-v32 .general-drawer-heading.catalog-card-heading > small,
.course-directory-v32 .professional-grid-heading.catalog-card-heading > div > small {
  color: #956d2d !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .07em !important;
}

.course-directory-v32 .general-drawer-heading.catalog-card-heading > h3,
.course-directory-v32 .professional-grid-heading.catalog-card-heading h2 {
  margin: 5px 0 0 !important;
  color: #173f43 !important;
  font: 760 29px/1.12 "Noto Serif TC", "Songti TC", serif !important;
}

.course-directory-v32 .professional-grid-heading.catalog-card-heading p {
  margin: 8px 0 0 !important;
  color: #526d66 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.course-directory-v32 .catalog-card-heading > nav {
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.course-directory-v32 .catalog-card-heading > nav > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.course-directory-v32 .catalog-card-heading > nav button {
  box-sizing: border-box !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 1px solid #bfd1ca !important;
  border-radius: 11px !important;
  color: #245e56 !important;
  background: #fff !important;
  box-shadow: 0 3px 0 #d0ddd8 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

.course-directory-v32 .catalog-card-heading > nav b {
  min-width: 58px !important;
  color: #315d57 !important;
  font-size: 17px !important;
  text-align: center !important;
}

.course-directory-v32 .catalog-card-heading > nav > small,
.course-directory-v32 .catalog-card-heading .general-lesson-more-hint {
  display: block !important;
  color: #5d756f !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* The stable number and one complete title are the entire selector tile. */
.course-directory-v32 .course-selection-track > button > b::before,
.course-directory-v32 .course-selection-track > button > b::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 932px) {
  html[data-finyue-device="mobile"] body .course-directory-v32 {
    box-sizing: border-box !important;
    width: min(100%, calc(100% - 16px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-launch, .professional-course-switcher),
  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-carousel, .all-professional-route-maps) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-catalog-stack {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    overflow: hidden !important;
    border: 1px solid #d2dfda !important;
    border-radius: 16px !important;
    color: #294b45 !important;
    background: #fffdf8 !important;
    box-shadow: 0 3px 0 #d6e0dc !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-panel > header {
    box-sizing: border-box !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 1px 4px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 6px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-panel > header strong {
    font-size: 18px !important;
    line-height: 1.1 !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-controls {
    display: grid !important;
    justify-items: end !important;
    gap: 1px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-controls nav {
    display: flex !important;
    gap: 6px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-controls nav button {
    box-sizing: border-box !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    font-size: 16px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-swipe-hint {
    display: block !important;
    color: #526e67 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-panel > .general-course-progress {
    box-sizing: border-box !important;
    height: 17px !important;
    min-height: 17px !important;
    margin: 0 1px 5px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 7px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-panel > .general-course-progress > small {
    display: block !important;
    color: #365d56 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-panel > .general-course-progress > span {
    height: 5px !important;
    min-height: 5px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-selector-panel .course-selection-rail {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-mini-grid, .direction-track).course-selection-track {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 1px 1px 4px !important;
    display: flex !important;
    gap: 7px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-mini-grid, .direction-track).course-selection-track > button {
    box-sizing: border-box !important;
    flex: 0 0 144px !important;
    width: 144px !important;
    min-width: 144px !important;
    max-width: 144px !important;
    height: 59px !important;
    min-height: 59px !important;
    margin: 0 !important;
    padding: 6px 8px !important;
    display: grid !important;
    grid-template-columns: 27px minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    align-content: center !important;
    gap: 7px !important;
    border: 1px solid #d3ded9 !important;
    border-bottom: 3px solid #bdcdc7 !important;
    border-radius: 12px !important;
    color: #405f58 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-align: left !important;
    scroll-snap-align: start !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-mini-grid, .direction-track).course-selection-track > button > small {
    box-sizing: border-box !important;
    width: 27px !important;
    height: 27px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid #bfd2ca !important;
    border-radius: 8px !important;
    color: #4f756d !important;
    background: #f1f7f4 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-mini-grid, .direction-track).course-selection-track > button > b,
  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .general-course-mini-grid.course-selection-track > button > b[data-mobile-title] {
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 15.5px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .general-course-mini-grid.course-selection-track > button > b[data-mobile-title]::after {
    content: none !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-mini-grid, .direction-track).course-selection-track > button.active {
    color: #fff !important;
    border-color: #2f776c !important;
    border-bottom-color: #1c564e !important;
    background: linear-gradient(145deg, #438c80, #2d7268) !important;
    box-shadow: 0 5px 12px #1f5c521f !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    .course-content-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 11px !important;
    overflow: hidden !important;
    border: 1px solid #cedbd6 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px #193a350f !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-course-drawer, .professional-course-grid-panel).course-content-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .course-directory-client
    :is(.general-scene-topics, .professional-course-card-grid) {
    box-sizing: border-box !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-lesson-count {
    margin-top: 6px !important;
    gap: 3px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-lesson-count > b {
    font-size: 22px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-lesson-count > span {
    max-width: none !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-lesson-pagination {
    gap: 7px !important;
    margin-top: 9px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-lesson-pagination button {
    width: 42px !important;
    min-width: 42px !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 18px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-lesson-pagination b {
    min-width: 54px !important;
    font-size: 16px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-lesson-more-hint {
    font-size: 13.5px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-drawer-heading.catalog-card-heading > small,
  html[data-finyue-device="mobile"] body .course-directory-v32
    .professional-grid-heading.catalog-card-heading > div > small {
    font-size: 10.5px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .general-drawer-heading.catalog-card-heading > h3,
  html[data-finyue-device="mobile"] body .course-directory-v32
    .professional-grid-heading.catalog-card-heading h2 {
    font-size: 23px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .professional-grid-heading.catalog-card-heading p {
    display: block !important;
    font-size: 13px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .catalog-card-heading > nav {
    justify-items: start !important;
    gap: 7px !important;
    margin-top: 9px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .catalog-card-heading > nav button {
    width: 42px !important;
    min-width: 42px !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 18px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .catalog-card-heading > nav b {
    min-width: 54px !important;
    font-size: 16px !important;
  }

  html[data-finyue-device="mobile"] body .course-directory-v32
    .catalog-card-heading > nav > small,
  html[data-finyue-device="mobile"] body .course-directory-v32
    .catalog-card-heading .general-lesson-more-hint {
    font-size: 13.5px !important;
  }
}

/* Friendly circle creation: one name, one optional sentence, no proposal
   essay.  The modal owns its layout across desktop and phone. */
.peer-modal-layer:has(.peer-create-modal-v2) {
  padding: 18px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(12, 34, 31, 0.58) !important;
  backdrop-filter: blur(8px) !important;
}

.peer-create-modal-v2 {
  box-sizing: border-box !important;
  width: min(620px, calc(100vw - 36px)) !important;
  max-height: min(720px, calc(100svh - 36px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 0 !important;
  overflow: auto !important;
  border: 1px solid rgba(209, 188, 122, 0.86) !important;
  border-radius: 23px !important;
  background: #fffdf7 !important;
  box-shadow: 0 28px 80px rgba(9, 31, 28, 0.34) !important;
}

.peer-create-modal-v2 > header {
  min-height: 92px !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 213, 123, 0.27), transparent 29%),
    linear-gradient(130deg, #163e38, #286f63) !important;
}

.peer-create-modal-v2 > header span {
  color: #f2d57e !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
}

.peer-create-modal-v2 > header h2 {
  margin: 4px 0 0 !important;
  font: 760 27px/1.15 "Noto Serif TC", "Songti TC", serif !important;
}

.peer-create-modal-v2 > header > button {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.11) !important;
  font-size: 23px !important;
  cursor: pointer !important;
}

.peer-create-welcome {
  margin: 18px 22px 0 !important;
  padding: 13px 15px !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  border: 1px solid #dfd8bd !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #fff9e9, #f1f7f3) !important;
}

.peer-create-welcome img {
  width: 58px !important;
  height: 58px !important;
  object-fit: cover !important;
  border: 3px solid #fff !important;
  border-radius: 15px !important;
  box-shadow: 0 6px 15px rgba(31, 68, 59, 0.16) !important;
}

.peer-create-welcome b {
  color: #214f47 !important;
  font-size: 15px !important;
}

.peer-create-welcome p {
  margin: 4px 0 0 !important;
  color: #61736e !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.peer-create-modal-v2 .peer-form-grid {
  padding: 17px 22px !important;
  display: grid !important;
  gap: 13px !important;
}

.peer-create-modal-v2 .peer-form-grid label {
  display: grid !important;
  gap: 7px !important;
  color: #294f48 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

.peer-create-modal-v2 .peer-form-grid label small {
  margin-left: 5px !important;
  color: #8a9894 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.peer-create-modal-v2 :is(input, textarea) {
  box-sizing: border-box !important;
  width: 100% !important;
  color: #173d37 !important;
  border: 1px solid #cddbd6 !important;
  border-radius: 11px !important;
  background: #fff !important;
  outline: none !important;
  font-size: 14px !important;
}

.peer-create-modal-v2 input {
  min-height: 48px !important;
  padding: 0 13px !important;
}

.peer-create-modal-v2 textarea {
  min-height: 92px !important;
  padding: 12px 13px !important;
  resize: vertical !important;
}

.peer-create-modal-v2 :is(input, textarea):focus {
  border-color: #2c786b !important;
  box-shadow: 0 0 0 3px rgba(44, 120, 107, 0.13) !important;
}

.peer-create-modal-v2 > p {
  margin: 0 22px 13px !important;
  padding: 9px 11px !important;
  color: #2f675d !important;
  border-radius: 9px !important;
  background: #eaf6f0 !important;
  font-size: 12px !important;
}

.peer-create-modal-v2 > footer {
  padding: 14px 22px 20px !important;
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 9px !important;
  border-top: 1px solid #e1e7e3 !important;
}

.peer-create-modal-v2 > footer button {
  min-height: 46px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.peer-create-modal-v2 > footer button:first-child {
  color: #4f625e !important;
  border: 1px solid #d2dcd8 !important;
  background: #f5f7f6 !important;
}

.peer-create-modal-v2 > footer button:last-child {
  color: #fff !important;
  border: 1px solid #1e6559 !important;
  background: linear-gradient(135deg, #2e8071, #1e6157) !important;
  box-shadow: 0 4px 0 #164b43 !important;
}

@media (max-width: 600px) {
  .peer-modal-layer:has(.peer-create-modal-v2) {
    padding: 10px !important;
    align-items: end !important;
  }

  .peer-create-modal-v2 {
    width: 100% !important;
    max-height: calc(100svh - 20px) !important;
    border-radius: 20px 20px 14px 14px !important;
  }

  .peer-create-modal-v2 > header {
    min-height: 78px !important;
    padding: 15px 17px !important;
  }

  .peer-create-modal-v2 > header h2 {
    font-size: 24px !important;
  }

  .peer-create-welcome {
    margin: 13px 14px 0 !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    padding: 10px !important;
  }

  .peer-create-welcome img {
    width: 48px !important;
    height: 48px !important;
  }

  .peer-create-welcome p {
    font-size: 11px !important;
  }

  .peer-create-modal-v2 .peer-form-grid {
    padding: 14px !important;
  }

  .peer-create-modal-v2 > p {
    margin-inline: 14px !important;
  }

  .peer-create-modal-v2 > footer {
    padding: 12px 14px calc(15px + env(safe-area-inset-bottom)) !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }
}

/* Give brush-word slightly more room and make the secondary action visible. */
.home-core-product.is-learning > nav {
  grid-template-columns: minmax(0, 1.55fr) minmax(142px, .85fr);
}

.home-core-product.is-learning > nav > a.home-core-secondary {
  border-color: #f3d176e8;
  background: #fff8da52;
  box-shadow: inset 0 0 0 1px #f3d17638, 0 5px 14px #0c292433;
}

.home-core-product.is-learning > nav > a.home-core-secondary:hover {
  background: #fff1b55e;
  box-shadow: inset 0 0 0 1px #f3d17670, 0 8px 18px #0c292447;
}

/* Homepage question CTA is intentionally a little larger than its sibling. */
.home-community-actions > a:last-child {
  min-height: 43px;
  display: grid;
  place-items: center;
  padding: 0 17px;
  border-width: 1.5px;
  font-size: 12px;
  box-shadow: 0 3px 0 #b9cfc8;
}

/* Compact Meet heading while keeping all filters and tabs immediately visible. */
.meet-single-product .meet-head-compact {
  min-height: 0;
  padding: 13px 20px 0;
  gap: 8px 18px;
}

.meet-single-product .meet-head-compact .meet-brand h1 {
  margin-top: 1px;
  font-size: 32px;
}

.meet-single-product .meet-head-tools > button {
  min-height: 36px;
  padding: 0 11px;
  font-size: 11px;
}

.meet-single-product .meet-head-tools .meet-build-button {
  min-width: 176px;
}

.meet-single-product .meet-head-compact > nav {
  min-height: 42px;
}

.meet-single-product .meet-head-compact > nav button {
  min-height: 40px;
  padding: 5px 13px 8px;
}

/* v2026.07.31: keep the Meet title readable against every banner state. */
.meet-single-product .meet-head-compact .meet-brand > span {
  color: #55736d !important;
  opacity: 1 !important;
}

.meet-single-product .meet-head-compact .meet-brand h1 {
  color: #173f46 !important;
  -webkit-text-fill-color: #173f46 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.meet-single-product .meet-head-compact .meet-brand h1 > span {
  color: #a86f16 !important;
  -webkit-text-fill-color: #a86f16 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Pointer dragging works on desktop as well as the existing mobile gesture. */
html[data-finyue-device="desktop"] .meet-swipe-card {
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  will-change: transform;
  transform:
    translate3d(var(--meet-swipe-x, 0), 0, 0)
    rotate(var(--meet-swipe-rotate, 0));
  transform-origin: 50% 88%;
  transition: transform .16s ease, opacity .16s ease;
}

html[data-finyue-device="desktop"] .meet-swipe-card.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* The desktop "My" destination is a compact tabbed workspace. */
html[data-finyue-device="desktop"] .my-workspace {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 18px auto 64px;
  padding: 0;
  color: #193b35;
}

.my-identity-hero {
  position: relative;
  min-height: 238px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 390px 210px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px 22px;
  border: 1px solid #b9cec7;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 15%, #efd78255, transparent 26%),
    linear-gradient(125deg, #173f38 0%, #246b60 62%, #d9e8df 62%);
  box-shadow: 0 17px 45px #173b3218;
}

.my-identity-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #ffffff09 1px, transparent 1px);
  background-size: 44px 100%;
}

.my-identity-copy {
  z-index: 1;
  grid-row: 1 / 3;
  align-self: center;
  color: #fff;
}

.my-identity-copy > span,
.my-next-action > span,
.my-journey-snapshot header span,
.my-community-snapshot > div > span {
  color: #f1d47d;
  letter-spacing: .13em;
  font-size: 9px;
  font-weight: 950;
}

.my-identity-copy h1 {
  margin: 8px 0 7px;
  color: #fffdf6;
  font: 400 38px/1.08 "Noto Serif TC", "Songti TC", STSong, serif;
}

.my-public-id {
  display: block;
  width: fit-content;
  margin: 0 0 8px;
  padding: 5px 8px;
  color: #f4d780;
  border: 1px solid #f3d67b52;
  border-radius: 7px;
  background: #0c302a66;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
}

.my-identity-copy > p {
  max-width: 500px;
  margin: 0;
  color: #dbe9e5;
  font-size: 11px;
  line-height: 1.65;
}

.my-identity-copy > div {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.my-identity-copy > div b {
  padding: 6px 9px;
  border: 1px solid #ffffff36;
  border-radius: 99px;
  color: #fff;
  background: #ffffff12;
  font-size: 9px;
}

.my-identity-kpis {
  z-index: 1;
  grid-row: 1 / 3;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.my-identity-kpis article {
  min-height: 86px;
  padding: 13px 15px;
  display: grid;
  align-content: center;
  border: 1px solid #ffffff31;
  border-radius: 13px;
  color: #fff;
  background: #0e312b7d;
  backdrop-filter: blur(8px);
}

.my-identity-kpis strong {
  font: 400 30px/1 "Noto Serif TC", "Songti TC", serif;
}

.my-identity-kpis span {
  margin-top: 7px;
  color: #d3e3de;
  font-size: 9px;
}

.my-identity-mascot {
  z-index: 1;
  position: relative;
  min-height: 158px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ffffff8a;
  border-radius: 15px;
  background: linear-gradient(145deg, #eef5ed, #f7df98);
}

.my-identity-mascot > div {
  position: absolute;
  inset: -5px 2px 22px;
}

.my-identity-mascot img {
  object-fit: contain;
  filter: drop-shadow(0 10px 10px #3e5b4b2b);
}

.my-identity-mascot figcaption {
  position: absolute;
  inset: auto 9px 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
}

.my-identity-mascot figcaption span {
  color: #5e746d;
}

.my-identity-mascot figcaption b {
  color: #214c44;
}

.header-my-link {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 42px;
  padding: 0 12px;
  color: #244b46;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  white-space: nowrap;
  border: 1px solid #cfdad6;
  border-radius: 13px;
  background: linear-gradient(180deg, #fff, #f4f7f5);
  box-shadow: 0 3px 0 #d2dcd8, 0 8px 18px #17393212;
  transition: transform .16s ease, box-shadow .16s ease, color .16s ease,
    background .16s ease;
}

.header-my-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #c8d5d0, 0 10px 22px #17393218;
}

.header-my-link.active {
  color: #fff;
  border-color: #274f49;
  background: linear-gradient(150deg, #315f58, #214840);
  box-shadow: 0 3px 0 #173d37, 0 9px 20px #17393226;
}

.my-account-shortcut {
  z-index: 1;
  min-height: 50px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid #9fb9b0;
  border-radius: 12px;
  color: #224a43;
  background: #f7faf7e8;
  transition: transform .16s ease, box-shadow .16s ease;
}

.my-account-shortcut:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px #153c3218;
}

.my-account-shortcut > i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #246b60;
}

.my-account-shortcut span {
  display: grid;
  gap: 2px;
}

.my-account-shortcut small {
  color: #86948f;
  font-size: 7px;
  letter-spacing: .1em;
}

.my-account-shortcut b {
  font-size: 10px;
}

.my-priority-overview {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 12px;
}

.my-priority-learning,
.my-priority-community {
  min-height: 176px;
  padding: 18px 20px;
  border: 1px solid #cbdad4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 11px 28px #183b3210;
}

.my-priority-learning {
  background:
    radial-gradient(circle at 88% 18%, #f1d27235, transparent 24%),
    linear-gradient(120deg, #f7fbf9, #fff);
}

.my-priority-learning header,
.my-priority-community header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.my-priority-learning header span,
.my-priority-community header span {
  color: #9a7631;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .13em;
}

.my-priority-learning h2,
.my-priority-community h2 {
  margin: 5px 0 0;
  font: 500 21px/1.15 "Noto Serif TC", "Songti TC", serif;
}

.my-priority-learning header button,
.my-priority-community header > a {
  min-height: 31px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid #b9cec7;
  border-radius: 8px;
  color: #24665d;
  background: #fff;
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
}

.my-priority-learning dl,
.my-priority-community dl {
  margin: 13px 0 0;
  display: grid;
  border: 1px solid #d8e2de;
  border-radius: 10px;
  overflow: hidden;
}

.my-priority-learning dl {
  grid-template-columns: repeat(3, 1fr);
}

.my-priority-community dl {
  grid-template-columns: repeat(4, 1fr);
}

.my-priority-learning dl > div,
.my-priority-community dl > div {
  min-height: 52px;
  padding: 8px 10px;
  border-right: 1px solid #d8e2de;
}

.my-priority-learning dl > div:last-child,
.my-priority-community dl > div:last-child {
  border-right: 0;
}

.my-priority-learning dt,
.my-priority-community dt {
  margin-top: 5px;
  color: #7b8984;
  font-size: 8px;
}

.my-priority-learning dd,
.my-priority-community dd {
  margin: 0;
  font: 500 21px/1 "Noto Serif TC", "Songti TC", serif;
}

.my-priority-learning > a {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #536b64;
  font-size: 9px;
}

.my-priority-learning > a b {
  color: #24675e;
}

.my-priority-community {
  color: #fff;
  border-color: #1d574f;
  background:
    radial-gradient(circle at 92% 10%, #f0cf7045, transparent 24%),
    linear-gradient(130deg, #183f48, #205f55);
}

.my-priority-community header span {
  color: #f0cf70;
}

.my-priority-community header p {
  margin: 5px 0 0;
  color: #c7dcd6;
  font-size: 8px;
}

.my-priority-community header > a {
  color: #fff;
  border-color: #ffffff38;
  background: #ffffff10;
}

.my-priority-community dl {
  border-color: #ffffff2b;
}

.my-priority-community dl > div {
  border-color: #ffffff2b;
}

.my-priority-community dt {
  color: #c5d8d3;
}

.my-priority-community nav {
  margin-top: 9px;
  display: flex;
  gap: 7px;
}

.my-priority-community nav a {
  padding: 5px 8px;
  color: #e2eee9;
  border: 1px solid #ffffff2d;
  border-radius: 7px;
  font-size: 8px;
}

.my-workspace-tabs {
  position: sticky;
  z-index: 25;
  top: 8px;
  min-height: 70px;
  margin-top: 12px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid #cbd8d3;
  border-radius: 15px;
  background: #f7f8f5ef;
  box-shadow: 0 12px 30px #17352e12;
  backdrop-filter: blur(15px);
}

.my-workspace-tabs button {
  min-height: 56px;
  padding: 6px 13px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #5c6c67;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.my-workspace-tabs button:hover {
  border-color: #c5d4ce;
  background: #fff;
  transform: translateY(-1px);
}

.my-workspace-tabs button > i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #2b6c62;
  background: #e5efeb;
}

.my-workspace-tabs button span {
  display: grid;
  gap: 3px;
}

.my-workspace-tabs button b {
  font-size: 11px;
}

.my-workspace-tabs button small {
  color: #8b9692;
  font-size: 8px;
}

.my-workspace-tabs button.active {
  color: #fff;
  border-color: #174d45;
  background: linear-gradient(135deg, #246e63, #174f47);
  box-shadow: 0 4px 0 #103c36, 0 9px 18px #153d351a;
}

.my-workspace-tabs button.active > i {
  color: #174f47;
  background: #f0d278;
}

.my-workspace-tabs button.active small {
  color: #d7e6e1;
}

.my-workspace-panel {
  min-height: 540px;
  margin-top: 12px;
  padding: 16px;
  scroll-margin-top: 92px;
  border: 1px solid #d1d8d3;
  border-radius: 19px;
  background: #fbfaf6;
  box-shadow: 0 15px 38px #283e3510;
}

.my-workspace-panel.is-account {
  padding: 12px;
}

.account-embedded {
  width: 100%;
  margin: 0;
}

.my-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 12px;
}

.my-next-action,
.my-journey-snapshot,
.my-community-snapshot,
.my-quick-grid {
  border: 1px solid #d2dad5;
  border-radius: 15px;
  background: #fff;
}

.my-next-action {
  grid-row: span 2;
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 18%, #f4d98152, transparent 26%),
    linear-gradient(145deg, #203047, #263d54);
  color: #fff;
}

.my-next-action h2 {
  max-width: 580px;
  margin: 14px 0 10px;
  font: 400 32px/1.25 "Noto Serif TC", "Songti TC", serif;
}

.my-next-action > p {
  max-width: 560px;
  margin: 0;
  color: #cbd3dc;
  font-size: 11px;
  line-height: 1.7;
}

.my-next-action > a {
  width: fit-content;
  min-width: 160px;
  min-height: 43px;
  margin-top: 24px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid #efcf70;
  border-radius: 10px;
  color: #173b35;
  background: #efd27c;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 4px 0 #b99b47;
}

.my-next-action > div {
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: baseline;
  gap: 7px 10px;
  border-top: 1px solid #ffffff25;
}

.my-next-action > div strong {
  font: 400 29px/1 "Noto Serif TC", "Songti TC", serif;
}

.my-next-action > div span {
  color: #cbd4dc;
  font-size: 9px;
}

.my-journey-snapshot {
  min-height: 188px;
  padding: 20px;
}

.my-journey-snapshot header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.my-journey-snapshot h2,
.my-community-snapshot h2 {
  margin: 6px 0 0;
  font: 400 23px/1.2 "Noto Serif TC", "Songti TC", serif;
}

.my-journey-snapshot header button {
  padding: 7px 9px;
  border: 1px solid #bfd0c9;
  border-radius: 8px;
  color: #24675e;
  background: #f1f7f4;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
}

.my-journey-snapshot > div {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #e1e5e2;
}

.my-journey-snapshot article {
  min-height: 57px;
  padding: 9px 10px;
  border-right: 1px solid #e1e5e2;
}

.my-journey-snapshot article:last-child {
  border-right: 0;
}

.my-journey-snapshot strong,
.my-journey-snapshot span {
  display: block;
}

.my-journey-snapshot strong {
  font: 400 22px/1 "Noto Serif TC", "Songti TC", serif;
}

.my-journey-snapshot article span {
  margin-top: 6px;
  color: #7e8985;
  font-size: 8px;
}

.my-journey-snapshot > p {
  margin: 10px 0 0;
  color: #89918e;
  font-size: 8px;
}

.my-quick-grid {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.my-quick-grid button {
  min-height: 125px;
  padding: 12px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 7px;
  border: 1px solid #d9dfdc;
  border-radius: 11px;
  color: #3f5d57;
  background: #f7f9f7;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.my-quick-grid button:hover {
  border-color: #8eaea4;
  transform: translateY(-2px);
  box-shadow: 0 8px 17px #193e3412;
}

.my-quick-grid button > i {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #246d62;
}

.my-quick-grid button span {
  display: grid;
  gap: 4px;
}

.my-quick-grid button b {
  font-size: 10px;
}

.my-quick-grid button small {
  color: #85908c;
  font-size: 8px;
}

.my-quick-grid button strong {
  justify-self: end;
  color: #9a7830;
}

.my-community-snapshot {
  grid-column: 1 / -1;
  min-height: 142px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(360px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.my-community-snapshot > div > p {
  margin: 6px 0 0;
  color: #7e8884;
  font-size: 9px;
}

.my-community-snapshot dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dae1dd;
  border-radius: 10px;
  overflow: hidden;
}

.my-community-snapshot dl > div {
  min-height: 65px;
  padding: 10px;
  display: grid;
  align-content: center;
  border-right: 1px solid #dae1dd;
}

.my-community-snapshot dl > div:last-child {
  border-right: 0;
}

.my-community-snapshot dt {
  color: #7b8782;
  font-size: 8px;
}

.my-community-snapshot dd {
  margin: 5px 0 0;
  font: 400 22px/1 "Noto Serif TC", "Songti TC", serif;
}

.my-community-snapshot nav {
  display: grid;
  gap: 5px;
}

.my-community-snapshot nav a {
  min-width: 100px;
  padding: 8px 10px;
  border: 1px solid #cfdbd6;
  border-radius: 8px;
  color: #2c675e;
  background: #f5f8f6;
  font-size: 9px;
  font-weight: 850;
}

@media (max-width: 840px) {
  .my-priority-overview {
    grid-template-columns: 1fr;
  }
}

.my-loading-card,
.my-signin-card {
  min-height: 520px;
  border: 1px solid #cbd7d2;
  border-radius: 24px;
  background: #fff;
}

.my-loading-card {
  display: grid;
  place-content: center;
  text-align: center;
}

.my-loading-card span,
.my-signin-card > div > span {
  color: #a17e31;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
}

.my-loading-card h1 {
  margin-top: 10px;
  font: 400 29px/1.2 "Noto Serif TC", "Songti TC", serif;
}

.my-signin-card {
  padding: 48px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 50px;
  background:
    radial-gradient(circle at 86% 18%, #f0d5785c, transparent 28%),
    linear-gradient(130deg, #183f38, #24695f);
  color: #fff;
}

.my-signin-card h1 {
  max-width: 650px;
  margin: 14px 0;
  font: 400 43px/1.17 "Noto Serif TC", "Songti TC", serif;
}

.my-signin-card p {
  max-width: 650px;
  color: #d5e5e0;
  line-height: 1.7;
}

.my-signin-card a {
  width: fit-content;
  min-height: 45px;
  margin-top: 22px;
  padding: 0 17px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #173c35;
  background: #efd176;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 4px 0 #b49134;
}

.my-signin-card figure {
  position: relative;
  height: 360px;
  margin: 0;
  border: 1px solid #ffffff4a;
  border-radius: 28px;
  background: #ffffff15;
}

.my-signin-card img {
  object-fit: contain;
}

/* Guest entry actions are product navigation, not utility links. */
html[data-finyue-device="desktop"] .my-signin-card .my-signin-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

html[data-finyue-device="desktop"]
  .my-signin-card
  .my-signin-actions
  > a {
  margin-top: 0;
}

html[data-finyue-device="desktop"]
  .my-signin-card
  .my-signin-actions
  > a:not(.my-signin-admin-link) {
  min-width: 136px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 15px;
}

html[data-finyue-device="desktop"]
  .my-signin-card
  .my-signin-actions
  > .my-signin-admin-link {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #e8f2ef;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  font-size: 11px;
}

.meet-copy-toast {
  position: fixed;
  z-index: 2400;
  top: 50%;
  left: 50%;
  width: min(360px, calc(100vw - 34px));
  min-height: 58px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #cbdcd6;
  border-radius: 16px;
  color: #244f47;
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 20px 55px rgba(19, 54, 55, 0.25);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.meet-copy-toast > i {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #24756a;
  font-style: normal;
  font-weight: 950;
}

.meet-copy-toast.is-error > i {
  background: #a4594f;
}

.my-inline-message {
  margin-bottom: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  border: 1px solid #d7c482;
  border-radius: 9px;
  color: #725b20;
  background: #fff8dc;
  font-size: 10px;
}

.my-inline-message button {
  border: 0;
  color: #24675e;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.my-embedded-heading {
  min-height: 88px;
  padding: 4px 5px 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d9dfdb;
}

.my-embedded-heading .eyebrow {
  margin: 0;
  color: #9d7b30;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .13em;
}

.my-embedded-heading h1 {
  margin: 7px 0 4px !important;
  color: #1c453e;
  font: 400 29px/1.1 "Noto Serif TC", "Songti TC", serif !important;
}

.my-embedded-heading p:not(.eyebrow) {
  margin: 0 !important;
  color: #76827e !important;
  font-size: 10px !important;
}

/* Embedded learning data stays dense and does not create another full page. */
.progress-embedded {
  width: auto !important;
  margin: 0 !important;
  gap: 10px !important;
}

.progress-embedded .progress-hero {
  min-height: 145px;
  padding: 22px 26px;
  border-radius: 14px;
}

.progress-embedded .progress-hero h2 {
  margin: 8px 0 6px;
  font-size: 29px;
}

.progress-embedded .progress-hero aside {
  padding: 13px 16px;
}

.progress-embedded .progress-hero aside strong {
  font-size: 42px;
}

.progress-embedded .progress-kpis article {
  min-height: 122px;
  padding: 16px 18px;
  border-width: 1px;
  border-radius: 12px;
  box-shadow: 0 3px 0 #1b2232;
}

.progress-embedded .progress-kpis article strong {
  font-size: 35px;
}

.progress-embedded .progress-mini-stats article,
.progress-embedded .progress-insights > section,
.progress-embedded .progress-insights > aside {
  padding: 16px;
}

.progress-embedded .continue-course {
  min-height: 86px;
}

.lifebook-embedded,
.companion-embedded {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lifebook-embedded .lifebook-summary {
  margin-top: 10px;
}

.lifebook-embedded .lifebook-summary article {
  min-height: 82px;
  padding: 13px 18px;
}

.lifebook-embedded .lifebook-next {
  min-height: 92px;
  padding: 15px 20px;
}

.lifebook-embedded .lifebook-grid {
  margin-top: 10px;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
  gap: 10px;
}

.lifebook-embedded .lifebook-timeline {
  max-height: 470px;
  padding: 19px 21px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.lifebook-embedded .lifebook-side {
  gap: 10px;
}

.lifebook-embedded .lifebook-side > section {
  padding: 17px;
}

.companion-embedded .companion-room {
  min-height: 365px;
  margin-top: 10px;
  grid-template-columns: minmax(0, 1.35fr) 360px;
  border-radius: 16px;
}

.companion-embedded .companion-scene {
  min-height: 365px;
}

.companion-embedded .companion-panel {
  padding: 22px;
}

.companion-embedded .companion-actions-grid {
  margin-top: 10px;
  gap: 7px;
}

.companion-embedded .companion-actions-grid button {
  min-height: 82px;
  padding: 10px;
  grid-template-columns: 32px 1fr auto;
}

.companion-embedded .companion-actions-grid button > b {
  width: 32px;
  height: 32px;
}

/* Achievement collection becomes a compact workbench inside My. */
.collection-embedded {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.collection-embedded .collection-cover {
  min-height: 236px !important;
  padding: 20px 24px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, .75fr) minmax(420px, 1.15fr) 220px !important;
  gap: 20px !important;
  border-radius: 16px !important;
}

.collection-embedded .collection-cover-copy {
  align-self: center;
}

.collection-embedded .collection-cover-copy h1 {
  margin: 8px 0 0 !important;
  font-size: 30px !important;
  line-height: 1.12 !important;
}

.collection-embedded .collection-cover-copy blockquote,
.collection-embedded .collection-cover-copy > p,
.collection-embedded .collection-cover-copy > nav {
  display: none !important;
}

.collection-embedded .collection-cover-progress {
  min-height: 190px !important;
  padding: 17px !important;
}

.collection-embedded .collection-cover-featured {
  margin-top: 9px !important;
}

.collection-embedded .collection-cover-mascot {
  min-height: 190px !important;
}

.collection-embedded .collection-new-arrivals {
  min-height: 102px !important;
  margin-top: 10px !important;
  padding: 14px 17px !important;
  grid-template-columns: minmax(250px, 1fr) minmax(360px, 1fr) auto !important;
  gap: 14px !important;
}

.collection-embedded .collection-new-arrivals h2 {
  margin: 4px 0 !important;
  font-size: 20px !important;
}

.collection-embedded .collection-new-arrivals p {
  display: none !important;
}

.collection-embedded .collection-new-arrivals > div:nth-child(2) button {
  width: 54px !important;
  height: 54px !important;
}

.collection-embedded .collection-album-index {
  margin-top: 10px !important;
  padding: 14px !important;
}

.collection-embedded .collection-album-index > header {
  min-height: 38px !important;
  align-items: center !important;
}

.collection-embedded .collection-album-index > header h2 {
  margin: 3px 0 0 !important;
  font-size: 20px !important;
}

.collection-embedded .collection-album-index > header > p {
  display: none !important;
}

.collection-embedded .collection-album-index > nav {
  margin-top: 10px !important;
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

.collection-embedded .collection-album-index > nav button {
  min-height: 58px !important;
  padding: 8px !important;
}

.collection-embedded .collection-album-index > nav button span small {
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-embedded .collection-workspace {
  margin-top: 10px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 10px !important;
}

.collection-embedded .collection-workspace > main,
.collection-embedded .collection-side > section {
  padding: 15px !important;
}

.collection-embedded .collection-grid-heading h2,
.collection-embedded .collection-side h2 {
  font-size: 20px !important;
}

.collection-embedded .collection-sticker-grid {
  max-height: 510px;
  padding-right: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  overflow-y: auto;
  scrollbar-width: thin;
}

.collection-embedded .collection-sticker-card {
  min-height: 220px !important;
  padding: 10px !important;
}

.collection-embedded .collection-side {
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
}

.collection-embedded .collection-nearest > p,
.collection-embedded .collection-identity > p,
.collection-embedded .collection-principles {
  display: none !important;
}

.collection-embedded .collection-nearest > div,
.collection-embedded .collection-identity > div {
  margin-top: 9px !important;
}

/* Completion and 01-08 stages share one row on desktop. */
html[data-finyue-device="desktop"] .audio-learning-roadmap {
  width: min(1180px, 100%);
  min-height: 76px;
  margin: 12px auto 0;
  padding: 5px;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 5px;
  border: 1px solid #cfd9d5;
  border-radius: 13px;
  background: #fbfcfa;
  box-shadow: 0 8px 22px #193c350b;
}

html[data-finyue-device="desktop"] .audio-learning-roadmap > header {
  padding: 8px 11px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 2px 8px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(140deg, #24485a, #1d6b63);
}

.audio-learning-roadmap > header span {
  grid-column: 1 / -1;
  color: #efd47c;
  letter-spacing: .1em;
  font-size: 7px;
  font-weight: 950;
}

.audio-learning-roadmap > header b,
.audio-learning-roadmap > header strong {
  font-size: 11px;
}

.audio-learning-roadmap > header strong {
  justify-self: end;
  color: #f5dc8c;
}

.audio-learning-roadmap > header > i {
  grid-column: 1 / -1;
  height: 5px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #ffffff30;
}

.audio-learning-roadmap > header > i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #efd06f;
}

.audio-learning-roadmap > header small {
  grid-column: 1 / -1;
  color: #c8dbd7;
  font-size: 7px;
}

html[data-finyue-device="desktop"] .audio-learning-roadmap .audio-stage-nav {
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

html[data-finyue-device="desktop"] .audio-learning-roadmap .audio-stage-nav button {
  min-height: 64px !important;
  padding: 5px 4px !important;
  display: grid !important;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 3px;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #47605b !important;
  background: #f1f5f3 !important;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

html[data-finyue-device="desktop"] .audio-learning-roadmap .audio-stage-nav button:hover {
  border-color: #9eb8af !important;
  background: #fff !important;
  transform: translateY(-1px);
}

.audio-learning-roadmap .audio-stage-nav button > i {
  color: #a07b2c;
  font: 900 9px/1 sans-serif;
}

.audio-learning-roadmap .audio-stage-nav button > span {
  margin: 0 !important;
  font-size: 10px !important;
}

.audio-learning-roadmap .audio-stage-nav button > small {
  color: #87938f;
  font-size: 7px;
}

html[data-finyue-device="desktop"] .audio-learning-roadmap .audio-stage-nav button.is-done {
  border-color: #c5d9d2 !important;
  background: #e7f1ed !important;
}

html[data-finyue-device="desktop"] .audio-learning-roadmap .audio-stage-nav button.is-done > i {
  color: #1d7166;
}

html[data-finyue-device="desktop"] .audio-learning-roadmap .audio-stage-nav button.active {
  color: #fff !important;
  border-color: #183e49 !important;
  background: linear-gradient(140deg, #243d55, #1e5f5a) !important;
  box-shadow: 0 3px 0 #142d37;
}

.audio-learning-roadmap .audio-stage-nav button.active > i {
  color: #f1d474;
}

.audio-learning-roadmap .audio-stage-nav button.active > small {
  color: #d5e2df;
}

/* Community compose controls and channel feedback: compact but unmistakable. */
html[data-finyue-device="desktop"] body .fy-community {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px)) !important;
  min-width: 0 !important;
  max-width: 1180px !important;
  margin-inline: auto;
}

html[data-finyue-device="desktop"] body .fy-community .fy-community-hero {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  grid-template:
    "copy art search actions" 72px /
    minmax(180px, 220px)
    minmax(210px, 280px)
    minmax(240px, 1fr)
    minmax(132px, 144px) !important;
}

html[data-finyue-device="desktop"] body .fy-community > .fy-community-feature-zone,
html[data-finyue-device="desktop"] body .fy-community > .fy-hot-ribbon,
html[data-finyue-device="desktop"] body .fy-community > .fy-community-control-bar,
html[data-finyue-device="desktop"] body .fy-community > .fy-community-content-layout {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions {
  width: 100%;
  height: 66px;
  padding: 2px;
  align-self: center;
  justify-self: stretch;
  gap: 6px;
  border: 1px solid #ffffff25;
  border-radius: 11px;
  background: #ffffff0b;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions button,
html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions a {
  width: 100%;
  min-height: 27px !important;
  padding: 0 9px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 0 #123e39, 0 5px 12px #0b2d2819 !important;
  font-size: 9px !important;
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions button:hover,
html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions a:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions button:active,
html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions a:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #123e39 !important;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-channel-strip {
  padding: 4px !important;
  gap: 4px !important;
  border-color: #bccfc8 !important;
  border-radius: 11px !important;
  background: linear-gradient(#edf4f1, #e6efeb) !important;
  box-shadow: inset 0 1px #ffffffc9;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-channel-strip button {
  min-height: 30px !important;
  border: 1px solid #cbd8d3 !important;
  border-radius: 7px !important;
  color: #506a64 !important;
  background: linear-gradient(#fff, #f5f8f6) !important;
  box-shadow: 0 2px 0 #c3d0cb;
  transition: transform .14s ease, color .14s ease, border-color .14s ease,
    background .14s ease, box-shadow .14s ease;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-channel-strip button:hover {
  color: #1e6259 !important;
  border-color: #8fafaa !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 #aebfba, 0 6px 12px #173b3210;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-channel-strip button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #aebfba;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-channel-strip button.active {
  color: #fff !important;
  border-color: #1b6259 !important;
  background: linear-gradient(135deg, #27766b, #1b5e56) !important;
  box-shadow: 0 3px 0 #123e39, 0 7px 14px #173b3218;
}

.fy-community .fy-community-channel-strip button:focus-visible,
.fy-community .fy-community-hero-actions button:focus-visible,
.fy-community .fy-community-hero-actions a:focus-visible {
  outline: 3px solid #f0ce6d;
  outline-offset: 2px;
}

.meet-floating-rail {
  display: none;
}

@media (min-width: 1200px) {
  html[data-finyue-device="desktop"] .meet-floating-rail {
    position: fixed;
    z-index: 32;
    top: 190px;
    left: max(16px, calc((100vw - 1390px) / 2));
    display: grid;
    justify-items: center;
    gap: 7px;
    width: 78px;
    padding: 10px 8px 12px;
    border: 1px solid #cbd8d3;
    border-radius: 18px;
    background: #f9fbf9ed;
    box-shadow: 0 16px 42px #16352e20;
    backdrop-filter: blur(12px);
  }

  html[data-finyue-device="desktop"] .meet-floating-rail::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 68px;
    bottom: 18px;
    left: 50%;
    width: 1px;
    background: linear-gradient(#9fb5ae00, #9fb5ae, #9fb5ae00);
  }

  .meet-floating-rail-brand {
    display: grid;
    place-items: center;
    width: 58px;
    min-height: 42px;
    border-bottom: 1px solid #d6dfdb;
    color: #173f38;
  }

  .meet-floating-rail-brand small {
    color: #a47739;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .12em;
  }

  .meet-floating-rail-brand b {
    font-size: 11px;
    letter-spacing: .08em;
  }

  .meet-floating-rail > button {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    width: 58px;
    min-height: 54px;
    padding: 5px 3px;
    border: 1px solid #d5dfdb;
    border-radius: 13px;
    color: #506963;
    background: #fff;
    box-shadow: 0 3px 0 #dbe3df;
    cursor: pointer;
    transition:
      transform .16s ease,
      border-color .16s ease,
      color .16s ease,
      background .16s ease;
  }

  .meet-floating-rail > button:hover {
    z-index: 2;
    transform: translateX(4px);
    border-color: #80a99f;
    color: #1c665d;
  }

  .meet-floating-rail > button > i {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 9px;
    color: #1d695f;
    background: #e8f3ef;
    font-size: 11px;
  }

  .meet-floating-rail > button > span {
    font-size: 9px;
    font-weight: 900;
    line-height: 1.15;
  }

  .meet-floating-rail > button.active {
    color: #fff;
    border-color: #164f49;
    background: linear-gradient(145deg, #26766c, #17584f);
    box-shadow: 0 4px 0 #0e403a, 0 9px 18px #17463f2b;
  }

  .meet-floating-rail > button.active > i {
    color: #1b665d;
    background: #fff;
  }
}

@media (max-width: 700px) {
  .home-v31-brand h1 b {
    white-space: normal;
    font-size: .92em;
  }

  .home-core-product.is-learning > nav {
    grid-template-columns: 1fr;
  }
}

/* 2026-07-31 course, review and community interaction refinement. */
html[data-finyue-device="desktop"] .course-directory-v32 .general-course-launch {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 18px 20px 22px !important;
}

html[data-finyue-device="desktop"]
  .course-directory-v32
  .general-course-carousel {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

html[data-finyue-device="desktop"] .professional-mobile-catalog,
.course-selection-swipe-cue {
  display: none !important;
}

.general-course-progress > span,
.course-route-progress > span {
  display: block !important;
  width: 100% !important;
  min-width: 120px;
  height: 7px !important;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe9e5 !important;
}

.general-course-progress > span > i,
.course-route-progress > span > i {
  display: block !important;
  height: 100% !important;
  border-radius: inherit;
  background: linear-gradient(90deg, #25756a, #e2bd54) !important;
  transition: width .28s ease;
}

html[data-finyue-device="desktop"] .audio-term-grid .word-insight {
  position: relative;
}

html[data-finyue-device="desktop"] .audio-term-grid > article {
  position: relative;
  overflow: visible !important;
}

html[data-finyue-device="desktop"] .audio-term-grid > article:hover,
html[data-finyue-device="desktop"] .audio-term-grid > article:focus-within {
  z-index: 60;
}

html[data-finyue-device="desktop"]
  .audio-term-grid
  .word-insight:hover,
html[data-finyue-device="desktop"]
  .audio-term-grid
  .word-insight:focus-within {
  z-index: 61;
}

html[data-finyue-device="desktop"]
  .audio-term-grid
  .course-term-insight-popover {
  position: absolute;
  z-index: 45;
  top: calc(100% + 9px);
  left: 0;
  display: grid;
  gap: 9px;
  width: min(310px, 72vw);
  padding: 14px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  border: 1px solid #cbd9d4;
  border-radius: 14px;
  color: #294a44;
  background: #fffdf8 !important;
  box-shadow: 0 18px 46px #132d272b;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

html[data-finyue-device="desktop"]
  .audio-term-grid
  .word-insight:hover
  .course-term-insight-popover,
html[data-finyue-device="desktop"]
  .audio-term-grid
  .word-insight:focus-within
  .course-term-insight-popover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.course-term-insight-popover > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e7e3;
}

.course-term-insight-popover > header small {
  grid-column: 1 / -1;
  color: #98763b;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
}

.course-term-insight-popover > header b {
  font-size: 21px;
}

.course-term-insight-popover > header span {
  align-self: end;
  color: #6a7d77;
  font-size: 11px;
}

.course-term-insight-popover > p {
  margin: 0;
  color: #244b45;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.55;
}

.course-term-insight-popover > footer {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-left: 3px solid #dbb94f;
  border-radius: 0 9px 9px 0;
  background: #fff6db;
}

.course-term-insight-popover > footer b {
  font-size: 14px;
}

.course-term-insight-popover > footer small {
  color: #6f7975;
  font-size: 11px;
}

.sentence-card-main-line > button {
  min-width: 1.65em;
  font: inherit !important;
  font-size: 1em !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
}

.sentence-replace-drawer > div > button {
  min-height: 82px !important;
}

.sentence-replace-drawer > div > button b {
  font-size: 21px !important;
  line-height: 1.25 !important;
}

.sentence-replace-drawer > div > button small {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.review-coverage {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid #d5e0db;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf8, #edf5f1);
}

.review-coverage > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.review-coverage > header > div {
  display: grid;
  gap: 3px;
}

.review-coverage > header small {
  color: #98743a;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
}

.review-coverage > header b {
  font-size: 17px;
}

.review-coverage > header strong {
  color: #236f65;
  font-size: 20px;
}

.review-coverage > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.review-coverage article {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #dbe4e0;
  border-radius: 11px;
  background: #fff;
}

.review-coverage article span,
.review-coverage article small {
  color: #697b75;
  font-size: 10px;
}

.review-coverage article b {
  color: #245f57;
  font-size: 20px;
}

.review-card-source {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce4e0;
}

.review-card-source span,
.review-card-source em {
  padding: 4px 7px;
  border-radius: 99px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.review-card-source span {
  color: #fff;
  background: #2d756b;
}

.review-card-source b {
  color: #506a64;
  font-size: 12px;
}

.review-card-source em {
  margin-left: auto;
  color: #825e20;
  background: #fff0be;
}

.fy-community-search button:disabled {
  opacity: .7;
  cursor: wait;
}

.fy-feed-view:focus {
  outline: none;
}

/* Opportunities should reveal real cards inside the first desktop viewport. */
html[data-finyue-device="desktop"] .opportunity-hero {
  grid-template-columns: minmax(260px, .72fr) minmax(480px, 1.28fr) !important;
  grid-template-rows: 70px 42px !important;
  gap: 8px 24px !important;
  min-height: 0 !important;
  padding: 22px 30px !important;
  border-radius: 20px !important;
}

html[data-finyue-device="desktop"] .opportunity-hero > div {
  grid-row: 1 / 3;
  align-self: center;
}

html[data-finyue-device="desktop"] .opportunity-hero > div > span {
  font-size: 8px !important;
}

html[data-finyue-device="desktop"] .opportunity-hero h1 {
  margin: 7px 0 5px !important;
  font-size: 40px !important;
  line-height: 1.05 !important;
}

html[data-finyue-device="desktop"] .opportunity-hero > div > p {
  margin: 0 !important;
  font-size: 12px !important;
}

html[data-finyue-device="desktop"] .opportunity-hero > aside {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  gap: 2px 16px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
}

html[data-finyue-device="desktop"] .opportunity-hero > aside > b {
  font-size: 14px !important;
}

html[data-finyue-device="desktop"] .opportunity-hero > aside > p {
  overflow: hidden;
  margin: 0 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html[data-finyue-device="desktop"] .opportunity-hero > aside > button {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  font-size: 10px !important;
}

html[data-finyue-device="desktop"] .opportunity-hero > label {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
}

html[data-finyue-device="desktop"] .opportunity-filters {
  gap: 7px !important;
  padding: 13px 20px !important;
  border-radius: 16px !important;
}

html[data-finyue-device="desktop"] .opportunity-filters > div {
  min-height: 28px !important;
}

html[data-finyue-device="desktop"] .opportunity-filters button {
  min-height: 27px !important;
  padding: 0 10px !important;
  font-size: 10px !important;
}

/* Post details borrow a media-first reading rhythm; question details keep a
   clear answer-first knowledge hierarchy while retaining FINYUE identity. */
.fy-thread,
.fy-qdetail {
  width: min(1180px, calc(100% - 36px)) !important;
  margin-inline: auto !important;
}

.fy-thread-layout,
.fy-qdetail-layout {
  grid-template-columns: minmax(0, 1fr) 292px !important;
  gap: 18px !important;
  align-items: start;
}

.fy-thread-article,
.fy-question-head,
.fy-answer-card,
.fy-answer-editor {
  border: 1px solid #dbe3df !important;
  border-radius: 17px !important;
  background: #fff !important;
  box-shadow: 0 9px 26px #203a3310 !important;
}

.fy-thread-article {
  overflow: clip;
}

.fy-thread-title,
.fy-thread-body,
.fy-thread-update {
  padding-inline: clamp(20px, 4vw, 48px) !important;
}

.fy-thread-cover {
  width: 100% !important;
  max-height: 620px !important;
  object-fit: cover !important;
}

.fy-thread-actions {
  position: sticky;
  z-index: 8;
  bottom: 12px;
  margin: 0 14px 14px !important;
  padding: 9px !important;
  border: 1px solid #d4dfda !important;
  border-radius: 14px !important;
  background: #fffdf8ed !important;
  box-shadow: 0 10px 30px #18322c24 !important;
  backdrop-filter: blur(12px);
}

.fy-floor-discussion,
.fy-answer-list {
  margin-top: 14px !important;
}

.fy-floors > article,
.fy-answer-card {
  padding: 20px !important;
}

.fy-thread-side,
.fy-qdetail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
}

.fy-question-head h1 {
  max-width: 850px;
  font-size: clamp(30px, 3.5vw, 44px) !important;
  line-height: 1.25 !important;
}

.fy-answer-toolbar {
  position: sticky;
  z-index: 9;
  top: 76px;
  border-radius: 13px !important;
  background: #fffdf8ed !important;
  backdrop-filter: blur(12px);
}

.fy-answer-card > footer {
  position: sticky;
  bottom: 8px;
  border-radius: 12px;
  background: #fff;
}

.fy-qdetail-mobile-related,
.content-detail-mobile-tools {
  display: none;
}

.fy-thread-nested {
  margin-top: 12px;
  padding: 4px 12px;
  border-left: 2px solid #cbdad4;
  border-radius: 0 10px 10px 0;
  background: #f5f8f6;
}

.fy-thread-nested > article {
  padding: 11px 0;
  border-bottom: 1px solid #dfe7e3;
}

.fy-thread-nested > article:last-child {
  border-bottom: 0;
}

.fy-thread-nested header {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fy-thread-nested header span,
.fy-thread-nested header time {
  color: #7c8b86;
  font-size: 9px;
}

.fy-thread-nested header time {
  margin-left: auto;
}

.fy-thread-nested p {
  margin: 7px 0 0;
  color: #3f5752;
  font-size: 12px;
  line-height: 1.65;
}

/* FINYUE founding-member identity: public IDs 00001–00100 only. */
.seed-vip-badge {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  padding: 3px 9px 3px 3px;
  overflow: hidden;
  color: #fff;
  vertical-align: middle;
  border: 1px solid rgba(233, 189, 75, 0.72);
  border-radius: 11px;
  background:
    radial-gradient(circle at 15% 12%, rgba(117, 230, 208, 0.22), transparent 34%),
    linear-gradient(135deg, #173e49 0%, #111a35 57%, #371d4b 100%);
  box-shadow:
    0 7px 18px rgba(16, 27, 51, 0.19),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.seed-vip-badge::after {
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -38%;
  width: 26%;
  content: "";
  transform: rotate(17deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: seed-vip-sheen 4.8s ease-in-out infinite;
}

.seed-vip-crest {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(3, 9, 22, 0.34));
  place-items: center;
}

.seed-vip-crest svg {
  display: block;
  width: 100%;
  height: 100%;
}

.seed-vip-copy {
  display: grid;
  min-width: 0;
  line-height: 1;
  text-align: left;
}

.seed-vip-copy b {
  color: #ffe789 !important;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.17em;
}

.seed-vip-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: #bcece3 !important;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 7px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.seed-vip-badge.is-compact {
  gap: 3px;
  min-height: 21px;
  padding: 1px 5px 1px 1px;
  border-radius: 7px;
  box-shadow:
    0 3px 8px rgba(16, 27, 51, 0.17),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.seed-vip-badge.is-compact .seed-vip-crest {
  width: 18px;
  height: 18px;
}

.seed-vip-badge.is-compact .seed-vip-copy b {
  font-size: 8px !important;
  letter-spacing: 0.12em;
}

.seed-vip-badge.is-compact .seed-vip-copy small {
  display: none;
}

.account-seed-vip-name,
.unified-profile-seed-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.account-seed-vip-name h2,
.unified-profile-seed-name h1 {
  margin-top: 0;
  margin-bottom: 0;
}

.my-seed-vip-name,
.my-community-identity-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.my-seed-vip-name h1,
.my-community-identity-line p {
  margin-top: 0;
  margin-bottom: 0;
}

.fy-post-author b,
.fy-questioner b,
.fy-answer-card header b,
.community-post-author,
.community-post-detail strong,
.single-photo-identity h2,
.single-person-detail h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

@keyframes seed-vip-sheen {
  0%,
  58% {
    left: -38%;
    opacity: 0;
  }
  68% {
    opacity: 0.85;
  }
  84%,
  100% {
    left: 118%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seed-vip-badge::after {
    animation: none;
  }
}

/* Empty launch state after retiring generated community examples. */
.home-social-community-lead.is-empty{
  min-height:94px;
  padding:18px 20px;
  display:grid;
  grid-template-columns:1fr;
  align-content:center;
  border:1px dashed #b9cec7;
  border-radius:14px;
  background:linear-gradient(120deg,#f2f8f5,#fffaf0);
}
.home-social-community-lead.is-empty span{display:grid;gap:6px}
.home-social-community-lead.is-empty small{color:#9a742f;font-size:11px;font-weight:900;letter-spacing:.1em}
.home-social-community-lead.is-empty b{color:#234f47;font-size:17px;line-height:1.45}
.home-community-questions>p{margin:10px 0 0;color:#687b75;font-size:12px;line-height:1.55}

/* Homepage social cards are fed by the site's live post/question data. */
.home-social-community-lead.is-hot{
  min-height:94px;
  padding:16px 18px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  border:1px solid #c8d9d2;
  border-radius:14px;
  background:linear-gradient(125deg,#edf7f3,#fff8e9);
  box-shadow:0 7px 18px #173d3712;
}
.home-social-community-lead.is-hot>span{min-width:0;display:grid;gap:6px}
.home-social-community-lead.is-hot small{color:#956d2d;font-size:10px;font-weight:950;letter-spacing:.08em}
.home-social-community-lead.is-hot b{overflow:hidden;color:#214d46;font-size:17px;line-height:1.42;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.home-social-community-lead.is-hot em{min-width:max-content;padding:7px 9px;border:1px solid #d5bc78;border-radius:99px;color:#795719;background:#fff9e8;font-size:10px;font-style:normal;font-weight:950}
.home-live-community-topic,.home-meet-hot-topic{min-width:0;display:grid;gap:4px}
.home-live-community-topic{margin-top:8px}
.home-live-community-topic b,.home-meet-hot-topic b{overflow:hidden;color:#294f48;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.home-live-community-topic span,.home-meet-hot-topic span{color:#75847f;font-size:9px;font-weight:800}
.home-meet-hot-topic{padding:11px 12px;border:1px solid #d8e1dd;border-radius:11px;background:#f6faf8}
.home-meet-hot-topic small{color:#9a712f;font-size:9px;font-weight:950;letter-spacing:.08em}

/* Compact, reading-first community detail pages. */
html[data-finyue-device="desktop"] :is(.fy-thread,.fy-qdetail){
  width:min(1060px,calc(100% - 32px))!important;
  max-width:1060px!important;
  min-width:0!important;
  padding-bottom:64px;
}
html[data-finyue-device="desktop"] :is(.fy-thread-layout,.fy-qdetail-layout){
  grid-template-columns:minmax(0,1fr) 244px!important;
  gap:16px!important;
}
html[data-finyue-device="desktop"] .fy-thread-breadcrumb{
  min-height:36px;
  margin:12px 0 8px!important;
  font-size:11px!important;
}
html[data-finyue-device="desktop"] :is(.fy-question-head,.fy-answer-card,.fy-answer-editor,.fy-thread-article){
  border-radius:13px!important;
  box-shadow:0 5px 18px #203a330d!important;
}
html[data-finyue-device="desktop"] .fy-question-head{
  padding:24px 28px!important;
}
html[data-finyue-device="desktop"] .fy-question-head-status{
  margin-bottom:8px!important;
}
html[data-finyue-device="desktop"] .fy-question-head h1{
  max-width:720px!important;
  margin:8px 0 10px!important;
  font-size:32px!important;
  line-height:1.3!important;
}
html[data-finyue-device="desktop"] .fy-question-head>p{
  margin:0 0 14px!important;
  color:#435552!important;
  font-size:15px!important;
  line-height:1.75!important;
}
html[data-finyue-device="desktop"] .fy-questioner{
  min-height:44px!important;
  margin:12px 0 8px!important;
  gap:10px!important;
}
html[data-finyue-device="desktop"] :is(.fy-questioner,.fy-answer-card>header) .fy-answer-avatar{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
}
html[data-finyue-device="desktop"] .fy-questioner :is(b,small){
  line-height:1.45!important;
}
html[data-finyue-device="desktop"] .fy-question-head>nav{
  margin:8px 0!important;
  gap:6px!important;
}
html[data-finyue-device="desktop"] .fy-question-head>footer{
  min-height:42px!important;
  margin:12px -28px -24px!important;
  padding:8px 18px!important;
  gap:5px!important;
}
html[data-finyue-device="desktop"] .fy-question-head>footer :is(button,a){
  min-height:32px!important;
  padding:0 9px!important;
  font-size:10px!important;
}
html[data-finyue-device="desktop"] .fy-question-head>footer>span{
  margin-left:auto!important;
  font-size:10px!important;
}
html[data-finyue-device="desktop"] .fy-answer-toolbar{
  position:static!important;
  margin-top:12px!important;
  padding:14px 18px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:12px!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
html[data-finyue-device="desktop"] .fy-answer-toolbar h2{
  margin:3px 0!important;
  font-size:22px!important;
}
html[data-finyue-device="desktop"] .fy-answer-toolbar p{
  max-width:510px!important;
  margin:0!important;
  font-size:10px!important;
  line-height:1.5!important;
}
html[data-finyue-device="desktop"] .fy-answer-toolbar nav{
  max-width:250px!important;
  justify-content:flex-end!important;
  gap:4px!important;
}
html[data-finyue-device="desktop"] .fy-answer-toolbar button{
  min-height:29px!important;
  padding:0 8px!important;
  font-size:9px!important;
}
html[data-finyue-device="desktop"] .fy-answer-list{
  display:grid!important;
  gap:10px!important;
  margin-top:10px!important;
}
html[data-finyue-device="desktop"] .fy-answer-card{
  padding:16px 18px!important;
}
html[data-finyue-device="desktop"] .fy-answer-card>header{
  min-height:48px!important;
  gap:10px!important;
}
html[data-finyue-device="desktop"] .fy-answer-card>header :is(p,small){
  margin:1px 0!important;
  line-height:1.4!important;
}
html[data-finyue-device="desktop"] .fy-answer-author-actions{
  gap:6px!important;
}
html[data-finyue-device="desktop"] .fy-answer-badges{
  min-height:0!important;
  margin:9px 0 0!important;
  padding:7px 0!important;
  gap:6px!important;
}
html[data-finyue-device="desktop"] .fy-answer-body{
  margin-top:4px!important;
  padding:10px 0 4px!important;
}
html[data-finyue-device="desktop"] .fy-answer-body h2{
  margin:0 0 7px!important;
  font-size:17px!important;
}
html[data-finyue-device="desktop"] .fy-answer-body>p{
  margin:0!important;
  color:#334744!important;
  font-size:15px!important;
  line-height:1.8!important;
}
html[data-finyue-device="desktop"] .fy-answer-body dl{
  margin:13px 0 0!important;
  padding:9px 0!important;
}
html[data-finyue-device="desktop"] .fy-answer-body dl>div{
  min-height:46px!important;
  padding:6px 10px!important;
}
html[data-finyue-device="desktop"] .fy-answer-card>footer{
  position:static!important;
  min-height:38px!important;
  margin:10px -18px -16px!important;
  padding:7px 12px!important;
  gap:4px!important;
  border-top:1px solid #e4e9e6!important;
  border-radius:0 0 12px 12px!important;
  box-shadow:none!important;
}
html[data-finyue-device="desktop"] .fy-answer-card>footer button{
  min-height:29px!important;
  padding:0 8px!important;
  font-size:9px!important;
}
html[data-finyue-device="desktop"] .fy-answer-editor{
  margin-top:12px!important;
  padding:18px!important;
}
html[data-finyue-device="desktop"] .fy-answer-editor>header{
  margin-bottom:10px!important;
}
html[data-finyue-device="desktop"] .fy-answer-editor textarea{
  min-height:138px!important;
  padding:14px 16px!important;
  font-size:14px!important;
  line-height:1.7!important;
}
html[data-finyue-device="desktop"] .fy-question-community-bridge{
  margin-top:12px!important;
  padding:18px 20px!important;
}
html[data-finyue-device="desktop"] :is(.fy-thread-side,.fy-qdetail-side){
  top:84px!important;
  gap:8px!important;
}
html[data-finyue-device="desktop"] :is(.fy-thread-side,.fy-qdetail-side)>section{
  padding:14px!important;
  border-radius:11px!important;
}
html[data-finyue-device="desktop"] :is(.fy-thread-side,.fy-qdetail-side)>section :is(p,small,a){
  line-height:1.55!important;
}
html[data-finyue-device="desktop"] .fy-thread-title{
  padding:25px 30px 18px!important;
}
html[data-finyue-device="desktop"] .fy-thread-title h1{
  max-width:720px!important;
  margin:8px 0 13px!important;
  font-size:34px!important;
  line-height:1.28!important;
}
html[data-finyue-device="desktop"] .fy-thread-author{
  min-height:44px!important;
  margin:8px 0!important;
}
html[data-finyue-device="desktop"] .fy-thread-avatar{
  width:42px!important;
  height:42px!important;
}
html[data-finyue-device="desktop"] .fy-thread-title>nav{
  margin-top:10px!important;
  gap:6px!important;
}
html[data-finyue-device="desktop"] .fy-thread-cover{
  max-height:460px!important;
}
html[data-finyue-device="desktop"] .fy-thread-body{
  padding:24px 34px!important;
}
html[data-finyue-device="desktop"] .fy-thread-body p{
  margin:11px 0!important;
  font-size:15px!important;
  line-height:1.82!important;
}
html[data-finyue-device="desktop"] .fy-thread-body :is(h2,h3){
  margin:20px 0 8px!important;
}
html[data-finyue-device="desktop"] .fy-thread-body blockquote{
  margin:16px 0!important;
  padding:13px 16px!important;
}
html[data-finyue-device="desktop"] .fy-thread-update{
  margin:0!important;
  padding:14px 34px!important;
}
html[data-finyue-device="desktop"] .fy-thread-actions{
  position:static!important;
  margin:0!important;
  border-width:1px 0 0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html[data-finyue-device="desktop"] .fy-floor-discussion{
  margin-top:10px!important;
}
html[data-finyue-device="desktop"] .fy-floor-discussion>header{
  padding:13px 16px!important;
}
html[data-finyue-device="desktop"] .fy-floor-discussion>form{
  padding:13px 16px!important;
}
html[data-finyue-device="desktop"] .fy-floors>article{
  padding:14px 16px!important;
}

/* Community hero actions are two genuinely independent controls.  Keep a
   visible right edge even when an older hero grid tries to stretch the cell. */
html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:4px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:repeat(2,32px)!important;
  gap:7px!important;
  overflow:visible!important;
  border:1px solid #ffffff2e!important;
  border-radius:12px!important;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions>button,
html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions>a{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:32px!important;
  height:32px!important;
  margin:0!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  border-style:solid!important;
  border-width:1.5px!important;
  border-radius:9px!important;
  background-clip:padding-box!important;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions>button{
  border-color:#73a69d!important;
}

html[data-finyue-device="desktop"] .fy-community .fy-community-hero-actions>a{
  border-color:#bd963c!important;
}

/* Course directory: general and professional use the same split-panel shell.
   The legacy general wrapper used to paint one large card behind both the
   selector and the selected scene.  Keep only the two child panels visible. */
html[data-finyue-device="desktop"]
  .course-directory-v32
  .course-directory-client
  .general-course-launch {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-finyue-device="desktop"]
  .course-directory-v32
  .course-directory-client
  .general-course-carousel {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Homepage community is a compact live-content window, not a second Meet wall. */
.home-community-live{
  min-width:0;
  padding:8px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  border:1px solid #d5e1dc;
  border-radius:14px;
  background:linear-gradient(125deg,#f5faf8,#fffaf2);
}
.home-community-live>figure{
  min-width:0;
  min-height:154px;
  margin:0;
  overflow:hidden;
  border-radius:11px;
  background:#183d3a;
}
.home-community-live>figure img{
  width:100%;
  height:100%;
  min-height:154px;
  display:block;
  object-fit:cover;
  object-position:48% center;
}
.home-community-live>div{
  min-width:0;
}
.home-community-live>div>header{
  min-height:25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.home-community-live>div>header span{
  color:#8d6b2d;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
}
.home-community-live>div>header a{
  color:#1f675e;
  font-size:9px;
  font-weight:900;
}
.home-community-topic-list{
  display:grid;
  gap:4px;
}
.home-community-topic-list>a{
  min-width:0;
  min-height:39px;
  padding:6px 7px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:3px 7px;
  border:1px solid #e0e7e4;
  border-radius:9px;
  background:#ffffffd9;
  transition:transform .16s, border-color .16s, box-shadow .16s;
}
.home-community-topic-list>a:hover{
  transform:translateY(-1px);
  border-color:#b9cec7;
  box-shadow:0 5px 14px #173a3414;
}
.home-community-topic-list>a small{
  grid-row:1/3;
  place-self:center;
  padding:4px 5px;
  color:#fff;
  border-radius:6px;
  background:#39796f;
  font-size:8px;
  font-weight:950;
}
.home-community-topic-list>a b{
  min-width:0;
  overflow:hidden;
  color:#294a44;
  font-size:11px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-community-topic-list>a span{
  grid-column:2;
  color:#7a8984;
  font-size:8px;
  font-weight:750;
}
.home-community-loading{
  display:grid;
  gap:6px;
  padding-top:4px;
}
.home-community-loading i{
  height:34px;
  border-radius:9px;
  background:linear-gradient(90deg,#edf2ef,#f8faf8,#edf2ef);
  background-size:200% 100%;
  animation:homeCommunityLoading 1.2s linear infinite;
}
@keyframes homeCommunityLoading{to{background-position:-200% 0}}
.home-community-empty-actions{
  min-height:116px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-content:center;
  gap:7px;
}
.home-community-empty-actions a{
  min-height:44px;
  padding:0 10px;
  display:grid;
  place-items:center;
  color:#27675e;
  border:1px solid #cbdad5;
  border-radius:9px;
  background:#fff;
  font-size:10px;
  font-weight:900;
}
.home-community-actions{
  grid-template-columns:minmax(0,1fr) auto auto!important;
}
.home-community-actions>a:not(.home-social-action){
  min-height:36px;
  padding:0 12px;
  display:grid;
  place-items:center;
  color:#1d6b62;
  border:1px solid #a9c9c1;
  border-radius:9px;
  background:#f8fcfa;
  font-size:10px;
  font-weight:900;
  box-shadow:none;
}
.home-community-actions>a:last-child{
  min-height:36px;
  padding:0 12px;
  border-width:1px;
  font-size:10px;
  box-shadow:none;
}
@media (max-width:768px){
  .home-community-live{
    grid-template-columns:minmax(0,1fr);
    gap:0;
    padding:8px;
  }
  .home-community-live>figure,
  .home-community-live>figure img{
    min-height:146px;
  }
  .home-community-topic-list>a{
    grid-template-columns:34px minmax(0,1fr);
  }
  .home-community-topic-list>a span{
    display:none;
  }
  .home-community-topic-list>a b{
    grid-column:2;
    font-size:10px;
    white-space:normal;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
}
@media (max-width:430px){
  .home-community-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .home-community-actions>.home-social-action{
    grid-column:1/-1;
  }
}

/* Course lessons: keep the learning controls readable but bring the first
   listening action substantially closer to the top of every lesson. */
html[data-finyue-device="desktop"] .audio-course-page .audio-mode-stage.is-collapsed {
  margin: 8px auto 0 !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-mode-compact {
  grid-template-columns: minmax(280px, 1fr) 104px 176px 142px 166px !important;
  gap: 10px !important;
  min-height: 74px !important;
  padding: 6px 9px 6px 13px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-course-directory-link {
  min-height: 36px !important;
  padding: 0 9px !important;
  font-size: 10px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-mode-compact-identity {
  grid-template-columns: 52px minmax(0, 1fr) !important;
  gap: 10px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-mode-compact-identity img {
  width: 52px !important;
  height: 58px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-mode-compact-identity b {
  font-size: 17px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-mode-compact select {
  height: 36px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-mode-compact-progress {
  gap: 5px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-mode-compact > button {
  min-height: 46px !important;
  padding: 7px 10px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-learning-roadmap {
  min-height: 68px !important;
  margin-top: 8px !important;
  padding: 4px !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 4px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-learning-roadmap > header {
  padding: 6px 9px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-learning-roadmap .audio-stage-nav,
html[data-finyue-device="desktop"] .audio-course-page .audio-learning-roadmap .audio-stage-nav button {
  min-height: 56px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-learning-roadmap .audio-stage-nav button {
  padding: 4px 3px !important;
  gap: 2px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-stage-shell {
  padding: 16px clamp(18px, 3vw, 42px) 0 !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-stage-heading {
  margin-bottom: 14px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-stage-heading h2 {
  margin: 5px 0 4px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-stage-heading p {
  margin: 0 !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-scene-grid {
  gap: 12px !important;
}

html[data-finyue-device="desktop"] .audio-course-page .audio-preview-card {
  padding: 22px !important;
}

/* Meet desktop: keep one person's photo present without letting it dominate
   the page. Profile context and the decision controls share the same compact
   desktop workspace; mobile keeps its dedicated touch layout. */
@media (min-width: 901px) {
  html[data-finyue-device="desktop"] .meet-single-product .meet-head-compact {
    min-height: 0 !important;
    padding: 10px 20px 0 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-head-compact
    .meet-brand,
  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-head-compact
    .meet-head-tools {
    height: 62px !important;
    min-height: 0 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-head-compact
    .meet-brand
    h1 {
    margin: 0 !important;
    font-size: 40px !important;
    line-height: 40px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-head-compact
    > nav {
    height: 40px !important;
    min-height: 40px !important;
    margin-top: 7px !important;
  }

  html[data-finyue-device="desktop"] .meet-single-product .meet-gate-strip {
    min-height: 42px !important;
    margin-top: 8px !important;
    padding: 6px 17px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-single-discovery {
    padding-bottom: 28px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-deck-status {
    width: min(1160px, calc(100% - 48px)) !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 auto 8px !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-single-card-shell {
    width: min(1210px, calc(100% - 48px)) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: clamp(306px, 23vw, 328px) minmax(0, 1fr) !important;
    grid-template-areas:
      "person profile"
      "person actions" !important;
    align-items: start !important;
    row-gap: 5px !important;
    column-gap: 18px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-single-layout {
    display: contents !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-mobile-reason-deck {
    display: none !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-photo-card {
    grid-area: person !important;
    width: 100% !important;
    max-width: 328px !important;
    min-width: 0 !important;
    height: auto !important;
    align-self: start !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-photo-frame {
    width: 100% !important;
    height: 410px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 16px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-photo-identity
    h2 {
    margin-top: 6px !important;
    font-size: clamp(27px, 2.15vw, 31px) !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel {
    grid-area: profile !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 17px 20px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-content: start !important;
    gap: 8px 11px !important;
    border-radius: 16px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > header,
  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > .single-common-points,
  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > .single-reason,
  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > blockquote,
  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > footer {
    grid-column: 1 / -1 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > header {
    min-height: 45px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > header
    h2 {
    margin: 2px 0 0 !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > .single-common-points {
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > .single-common-points
    span {
    width: auto !important;
    min-height: 27px !important;
    padding: 5px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12.5px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > .single-reason {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > blockquote {
    min-height: 68px !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 2px 10px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > blockquote
    small,
  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > blockquote
    p {
    grid-column: 1 !important;
    margin: 0 !important;
    font-size: 15px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > blockquote
    button {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding-inline: 14px !important;
    font-size: 13px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > section {
    min-width: 0 !important;
    min-height: 86px !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border: 1px solid #dce5e1 !important;
    border-radius: 10px !important;
    background: #f8faf9 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > section
    p,
  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > section
    nav {
    margin-top: 5px !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > section
    > span {
    font-size: 12.5px !important;
    font-weight: 900 !important;
  }

  html[data-finyue-device="desktop"] body
    .meet-single-product
    .single-why-panel
    > section.single-intro
    > p {
    font-size: 14.5px !important;
    line-height: 1.48 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-why-panel
    > footer {
    min-height: 30px !important;
    padding-top: 2px !important;
    font-size: 13px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-meet-actions {
    grid-area: actions !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    min-height: 62px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    grid-template-columns: 0.72fr 1fr 1fr 1.28fr 0.9fr !important;
    gap: 6px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px #17383218 !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-meet-actions
    button {
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 6px 8px !important;
    flex-direction: row !important;
    gap: 6px !important;
    font-size: 14px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .single-meet-actions
    button
    i {
    font-size: 17px !important;
  }

  html[data-finyue-device="desktop"]
    .meet-single-product
    .meet-keyboard-guide {
    display: none !important;
  }
}

/* Meet overlays close from the large backdrop as well as the visible close
   control. Keep long forms inside the viewport instead of growing the page. */
.meet-modal-layer {
  cursor: pointer;
}

.meet-modal-layer > :is(.safety-modal, .single-person-detail, .meet-wizard) {
  max-height: min(88vh, 820px);
  overflow-y: auto;
  cursor: default;
}

.meet-modal-layer
  > :is(.safety-modal, .single-person-detail, .meet-wizard)
  > header
  > button {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  font-size: 24px !important;
}

/* Author-only question actions share the existing action rail but keep the
   destructive choice visually secondary and unmistakable. */
.fy-question-head > footer .fy-question-owner-delete {
  border-color: #e5c9c4 !important;
  color: #9a4740 !important;
  background: #fff8f6 !important;
}

.fy-question-head > footer .fy-question-owner-delete:hover {
  border-color: #c98479 !important;
  background: #fff0ed !important;
}

/* Community question detail pass: compact actions, human author hierarchy and
   a useful data rail instead of an oversized policy box. */
.fy-answer-author-line {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px 9px !important;
}

.fy-answer-author-line > b {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #203e39 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

.fy-answer-author-line > p {
  margin: 0 !important;
  color: #8a6330 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.fy-answer-author-line > i {
  color: #236e63 !important;
  font-size: 10px !important;
}

.fy-answer-editor-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) repeat(2, 132px) !important;
  align-items: center !important;
  gap: 9px !important;
}

.fy-answer-editor-actions > button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.fy-question-data,
.fy-professional-links {
  overflow: hidden !important;
  border: 1px solid #d7e2dd !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px #183a3210 !important;
}

.fy-question-data > header,
.fy-professional-links > header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: -14px -14px 12px !important;
  padding: 13px 14px !important;
  background: #edf6f2 !important;
}

.fy-question-data > header > span,
.fy-professional-links > header > span {
  color: #315e56 !important;
  letter-spacing: .08em !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

.fy-question-data > header > b {
  padding: 5px 8px !important;
  border: 1px solid #bed5cc !important;
  border-radius: 999px !important;
  color: #246a5f !important;
  background: #fff !important;
  font-size: 9px !important;
}

.fy-question-data dl {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 0 !important;
}

.fy-question-data dl > div {
  min-width: 0 !important;
  padding: 9px 4px !important;
  border: 1px solid #e1e9e5 !important;
  border-radius: 10px !important;
  background: #f8fbf9 !important;
  text-align: center !important;
}

.fy-question-data dt {
  color: #7b8a85 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}

.fy-question-data dd {
  margin: 3px 0 0 !important;
  color: #214f47 !important;
  font-size: 21px !important;
  font-weight: 950 !important;
}

.fy-professional-links > header > small {
  color: #87958f !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}

.fy-professional-links > a {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 43px !important;
  padding: 5px 2px !important;
  border-bottom: 1px solid #e5ebe8 !important;
  color: #31554e !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

.fy-professional-links > a:last-child {
  border-bottom: 0 !important;
}

.fy-professional-links > a i {
  display: grid !important;
  place-items: center !important;
  width: 29px !important;
  height: 29px !important;
  border-radius: 9px !important;
  color: #fff !important;
  background: #37796e !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

.fy-professional-links > a b {
  color: #9a7133 !important;
  font-size: 15px !important;
}

html[data-finyue-device="desktop"] .fy-question-head > footer {
  min-height: 52px !important;
  padding: 9px 18px !important;
  gap: 7px !important;
}

html[data-finyue-device="desktop"] .fy-question-head > footer :is(button, a) {
  min-height: 38px !important;
  padding: 0 13px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

html[data-finyue-device="desktop"] .fy-question-head > footer a:first-of-type {
  color: #fff !important;
  border-color: #236c61 !important;
  background: #236c61 !important;
}

html[data-finyue-device="desktop"] .fy-question-head > footer > span {
  display: none !important;
}

/* Encounter cards are intentionally kept to one screen, but their prose and
   decisions still need to read like product content rather than captions. */
.meet-single-discovery .meet-deck-status,
.meet-single-discovery .meet-deck-status > small {
  font-size: 14px !important;
}

.single-photo-identity p,
.single-photo-identity > b,
.single-why-panel :is(p, blockquote),
.single-why-panel .single-decision-panel > header > span {
  font-size: 16px !important;
  line-height: 1.62 !important;
}

.single-why-panel :is(small, header > span),
.single-decision-panel button small,
.single-photo-switch-hint {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.single-decision-panel button b,
.single-secondary-actions button,
.single-meet-actions button,
.single-meet-actions a {
  font-size: 15px !important;
}

.meet-copy-toast {
  min-height: 52px;
  font-size: 16px !important;
}

@media (max-width: 820px) {
  .single-why-panel {
    padding: 18px 20px !important;
  }

  .single-why-panel :is(p, blockquote),
  .single-photo-identity p,
  .single-photo-identity > b {
    font-size: 15px !important;
  }

  .single-decision-panel button {
    min-height: 58px !important;
  }
}

/* Pass 95: loading is a quiet mascot moment, not another content page. */
.my-loading-card,
.account-loading {
  gap: 14px !important;
  place-items: center !important;
  place-content: center !important;
}

.my-loading-mascot,
.account-loading-mascot {
  width: 104px !important;
  height: 104px !important;
  object-fit: cover !important;
  border: 5px solid #fff;
  border-radius: 28px;
  background: #fff9e8;
  box-shadow: 0 14px 34px rgba(31, 74, 65, .16);
}

.my-loading-progress,
.account-loading-progress {
  width: min(210px, 62vw);
  height: 8px;
  overflow: hidden;
  display: block;
  border-radius: 999px;
  background: #dce9e4;
}

.my-loading-progress > b,
.account-loading-progress > b {
  width: 42%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d6d62, #55ae91, #e0ad3e);
  animation: finyue-loading-mascot-progress 1.15s ease-in-out infinite alternate;
}

.my-loading-card .my-signin-actions {
  width: min(340px, 100%);
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px !important;
}

.my-loading-card .my-signin-actions > :is(button, a) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0 !important;
  min-height: 44px;
  margin: 0 !important;
}

@keyframes finyue-loading-mascot-progress {
  from { transform: translateX(-20%); }
  to { transform: translateX(155%); }
}

@media (prefers-reduced-motion: reduce) {
  .my-loading-progress > b,
  .account-loading-progress > b {
    width: 70%;
    animation: none;
    transform: none;
  }
}

/* The resume action is information, not a legacy icon button. */
.home-core-product.is-learning .home-core-resume-link {
  writing-mode: horizontal-tb !important;
  white-space: normal !important;
}

.home-core-product.is-learning .home-core-resume-link > div,
.home-core-product.is-learning .home-core-resume-link > footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-width: 0 !important;
  writing-mode: horizontal-tb !important;
}

.home-core-product.is-learning .home-core-resume-link > div > b {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
}

.home-core-product.is-learning .home-core-resume-link > footer > span {
  display: inline !important;
  writing-mode: horizontal-tb !important;
  white-space: nowrap !important;
}

/* A unique hot-list item stays put; the former ticker animation required a clone. */
.fy-community > .fy-hot-ribbon > div > div {
  animation: none !important;
  transform: none !important;
}

/* Community answer actions: readable labels and full-size click targets. */
html[data-finyue-device="desktop"] .fy-answer-card > footer {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  min-height: 48px !important;
  padding: 8px 12px !important;
}

html[data-finyue-device="desktop"] .fy-answer-card > footer button {
  min-height: 36px !important;
  padding: 0 11px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

/* Resume information sits above two equal primary actions. */
.home-core-product.is-learning nav.home-core-learning-nav.has-resume {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 9px !important;
}

.home-core-product.is-learning .home-core-resume-summary {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  writing-mode: horizontal-tb !important;
}

.home-core-product.is-learning nav.home-core-learning-nav.has-resume
  > :is(.home-core-resume-action, .home-core-secondary) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
}

/* Community hero copy needs breathing room at both heading sizes. */
.fy-community-hero-copy {
  align-content: center !important;
  gap: 12px !important;
}

.fy-community-hero-copy h1 {
  margin: 0 !important;
  font-size: clamp(34px, 3.2vw, 50px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
}

.fy-community-hero-copy p {
  max-width: 560px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.72 !important;
}

/* Keep the Meet rail outside the portrait and centre the two-column card. */
@media (min-width: 821px) {
  html[data-finyue-device="desktop"] .meet-single-layout {
    grid-template-columns: minmax(360px, 400px) minmax(0, 1fr) !important;
    width: min(1040px, calc(100% - 32px)) !important;
    gap: 28px !important;
  }

  html[data-finyue-device="desktop"] .single-photo-card {
    position: relative !important;
    z-index: 2 !important;
    justify-self: end !important;
    margin-left: auto !important;
  }

  html[data-finyue-device="desktop"] .single-why-panel {
    position: relative !important;
    z-index: 1 !important;
    inset: auto !important;
    margin: 0 !important;
    transform: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1319px) {
  html[data-finyue-device="desktop"] .meet-floating-rail {
    display: none !important;
  }
}

@media (min-width: 1320px) {
  html[data-finyue-device="desktop"] .meet-floating-rail {
    left: max(14px, calc((100vw - 1120px) / 2 - 90px)) !important;
  }
}
/* Pass 7a: the mascot name is a desktop-only discoverable admin doorway. */
.account-login-admin-easter-egg {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, text-shadow 160ms ease;
}

.account-login-admin-easter-egg:hover,
.account-login-admin-easter-egg:focus-visible {
  color: #b47a18;
  border-bottom-color: #e0a943;
  text-shadow: 0 0 14px #f3cc6b75;
  outline: 0;
}

html[data-finyue-device="mobile"] .account-login-admin-easter-egg {
  pointer-events: none;
  border-bottom: 0;
}
