:root {
  --fg2-ink: #1d1d1f;
  --fg2-deep: #425914;
  --fg2-forest: #6f9630;
  --fg2-moss: #8aad2e;
  --fg2-leaf: #eff8e8;
  --fg2-cream: #f6faf5;
  --fg2-paper: #ffffff;
  --fg2-line: rgba(133, 169, 128, 0.2);
  --fg2-muted: #6e6e73;
}

body.front-app--frog-guide,
body.front-app--frog-guide-detail {
  background:
    radial-gradient(circle at 82% 8%, rgba(240, 255, 184, 0.5), transparent 26rem),
    linear-gradient(180deg, #fcfffb 0%, var(--fg2-cream) 58%, #edf5eb 100%);
  color: var(--fg2-ink);
}

.fg2 {
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

.fg2-shell {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
}

.fg2-kicker {
  margin: 0;
  color: var(--fg2-moss);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.fg2-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(38px, 8vw, 72px) 0 36px;
  overflow: hidden;
  color: var(--fg2-ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 239, 106, 0.36), transparent 18rem),
    radial-gradient(circle at 8% 92%, rgba(240, 93, 165, 0.08), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 237, 0.96));
  border-bottom: 1px solid var(--fg2-line);
}

.fg2-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(138, 173, 46, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to right, transparent, #000 35%, #000);
}

.fg2-hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  aspect-ratio: 1;
  z-index: -1;
  border-radius: 50%;
  background: rgba(201, 239, 106, 0.28);
  filter: blur(58px);
}

.fg2-hero h1 {
  max-width: 680px;
  margin: 12px 0 14px;
  color: #243633;
  font-size: clamp(2.2rem, 8.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.fg2-hero__lead {
  max-width: 590px;
  margin: 0;
  color: rgba(36, 54, 51, 0.68);
  font-size: clamp(0.9rem, 2.8vw, 1.04rem);
  font-weight: 500;
  line-height: 1.8;
}

.fg2-trust {
  display: flex;
  gap: 9px;
  margin-top: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fg2-trust::-webkit-scrollbar,
.fg2-filters::-webkit-scrollbar {
  display: none;
}

.fg2-trust span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(133, 169, 128, 0.2);
  border-radius: 999px;
  color: #4b6020;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 7px 20px rgba(70, 105, 55, 0.06);
}

.fg2-browser {
  padding: 28px 0 56px;
}

.fg2-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid var(--fg2-line);
  border-radius: 22px;
  background: var(--fg2-paper);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.fg2-search i {
  color: var(--fg2-forest);
  font-size: 1.15rem;
}

.fg2-search input {
  min-width: 0;
  width: 100%;
  min-height: 52px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--fg2-ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.fg2-search a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--fg2-muted);
  text-decoration: none;
}

.fg2-filters {
  display: flex;
  gap: 8px;
  margin: 14px -16px 0;
  padding: 0 16px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fg2-filters a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--fg2-line);
  border-radius: 999px;
  color: var(--fg2-ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.fg2-filters a.is-active {
  border-color: rgba(166, 207, 54, 0.55);
  color: #2e3d0f;
  background: linear-gradient(135deg, #e7ff8a 0%, #b6e239 100%);
  box-shadow: 0 8px 18px rgba(166, 207, 54, 0.2);
}

.fg2-filters small {
  opacity: 0.62;
}

.fg2-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 36px 0 18px;
}

.fg2-heading .fg2-kicker {
  color: var(--fg2-moss);
}

.fg2-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.fg2-heading > span {
  color: var(--fg2-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.fg2-list {
  display: grid;
  gap: 12px;
}

.fg2-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--fg2-line);
  border-radius: 26px;
  color: inherit;
  background: var(--fg2-paper);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  text-decoration: none;
}

.fg2-card__media {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 239, 106, 0.22), transparent 62%),
    #eef5ec;
}

.fg2-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.fg2-card__media > span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 9px;
  color: #425914;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(36, 54, 51, 0.12);
  backdrop-filter: blur(10px);
}

.fg2-card__body {
  min-width: 0;
  padding: 17px 18px 18px;
}

.fg2-card__status {
  margin-bottom: 7px;
  color: #7ca529;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fg2-card__body h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.fg2-card__scientific {
  margin: 3px 0 0;
  color: var(--fg2-muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.fg2-card__aliases,
.fg2-card__summary {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--fg2-muted);
  font-size: 0.79rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fg2-card__aliases {
  -webkit-line-clamp: 2;
}

.fg2-card__more {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-top: 10px;
  color: #5f821f;
  font-size: 0.78rem;
  font-weight: 800;
}

.fg2-empty {
  display: grid;
  min-height: 250px;
  padding: 32px;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(24, 36, 30, 0.22);
  border-radius: 24px;
  color: var(--fg2-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
}

.fg2-empty i {
  margin-bottom: 10px;
  color: var(--fg2-moss);
  font-size: 2rem;
}

.fg2-empty strong {
  color: var(--fg2-ink);
}

.fg2-empty p {
  margin: 6px 0 0;
  font-size: 0.82rem;
}

.fg2-policy {
  padding: 0 0 54px;
  color: var(--fg2-muted);
  background: transparent;
}

.fg2-policy .fg2-shell {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--fg2-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.fg2-policy > div > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(133, 169, 128, 0.2);
  border-radius: 50%;
  color: #6f9630;
  background: var(--fg2-leaf);
  font-size: 1.15rem;
}

.fg2-policy h2 {
  margin: 0;
  color: var(--fg2-ink);
  font-size: 1rem;
}

.fg2-policy p {
  margin: 7px 0 0;
  font-size: 0.76rem;
  line-height: 1.8;
}

.fg2-detail {
  min-height: 100vh;
  padding-bottom: 56px;
  background: transparent;
}

.fg2-detail__hero {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 239, 106, 0.24), transparent 28rem),
    #edf5eb;
}

.fg2-detail__hero img {
  width: 100%;
  height: min(66vh, 620px);
  min-height: 420px;
  object-fit: contain;
  object-position: center;
}

.fg2-detail__hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, transparent 50%, rgba(246, 250, 245, 0.98));
  pointer-events: none;
}

.fg2-detail__back {
  position: absolute;
  top: 18px;
  left: 16px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--fg2-line);
  border-radius: 50%;
  color: var(--fg2-ink);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.fg2-detail__identity {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 820px);
  margin: -112px auto 0;
  padding: 25px 22px;
  border: 1px solid var(--fg2-line);
  border-radius: 24px;
  color: var(--fg2-ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.fg2-detail__identity h1 {
  margin: 8px 0 5px;
  font-size: clamp(1.8rem, 7vw, 3.4rem);
  line-height: 1.2;
}

.fg2-detail__identity p {
  margin: 0;
  color: var(--fg2-muted);
  font-style: italic;
}

.fg2-detail__verified {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #6f9630;
  font-size: 0.7rem;
  font-weight: 800;
}

.fg2-detail__content {
  display: grid;
  gap: 16px;
  width: min(100% - 32px, 820px);
  margin: 24px auto 0;
}

.fg2-detail__intro,
.fg2-detail__facts,
.fg2-detail__source {
  border: 1px solid var(--fg2-line);
  border-radius: 22px;
  background: var(--fg2-paper);
  box-shadow: 0 12px 36px rgba(24, 50, 37, 0.05);
}

.fg2-detail__intro {
  padding: 22px;
  font-size: 0.9rem;
  line-height: 1.9;
}

.fg2-detail__facts {
  overflow: hidden;
}

.fg2-fact {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 19px 20px;
  border-bottom: 1px solid var(--fg2-line);
}

.fg2-fact:last-child {
  border-bottom: 0;
}

.fg2-fact > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--fg2-forest);
  background: var(--fg2-leaf);
  font-size: 1.1rem;
}

.fg2-fact strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.74rem;
}

.fg2-fact p {
  margin: 0;
  color: var(--fg2-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.fg2-detail__source {
  padding: 20px;
}

.fg2-detail__source h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.fg2-detail__source dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0;
  font-size: 0.76rem;
}

.fg2-detail__source dt {
  color: var(--fg2-muted);
}

.fg2-detail__source dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.fg2-detail__source a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--fg2-forest);
  font-weight: 800;
}

@media (min-width: 720px) {
  .fg2-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fg2-card {
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 240px;
  }

  .fg2-card__media {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .fg2-card__body {
    padding: 22px;
  }

  .fg2-card__body h3 {
    font-size: 1.24rem;
  }

  .fg2-card__summary {
    font-size: 0.78rem;
    -webkit-line-clamp: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fg2 *,
  .fg2-detail * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
