:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-strong: #07111f;
  --surface-soft: #eef3f8;
  --line: #d9e1ec;
  --line-strong: #a9b8ca;
  --text: #122033;
  --muted: #5f6f82;
  --muted-strong: #334155;
  --primary: #149647;
  --primary-strong: #0f7d3b;
  --accent: #f6c54f;
  --accent-strong: #ecb11e;
  --danger: #e34848;
  --shadow-sm: 0 10px 24px rgba(11, 23, 41, .08);
  --shadow-md: 0 22px 60px rgba(10, 24, 44, .12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Tahoma, "Noto Sans Thai", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(246, 197, 79, .18), transparent 24%),
    radial-gradient(circle at top left, rgba(20, 150, 71, .15), transparent 26%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 240px, #f3f6fb 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(20, 150, 71, .18);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease, transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

button,
input,
textarea {
  font: inherit;
}

button,
.button,
a,
input[type="submit"] {
  touch-action: manipulation;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.22;
  color: var(--text);
  text-wrap: balance;
}

p,
li,
a,
span,
small {
  overflow-wrap: anywhere;
}

main {
  display: block;
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.fb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fb-skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--surface-strong);
  transform: translateY(-140%);
  box-shadow: var(--shadow-sm);
}

.fb-skip-link:focus-visible {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(246, 197, 79, .95);
  outline-offset: 3px;
}

.fb-header {
  position: relative;
  z-index: 30;
  background: linear-gradient(180deg, #07111f 0%, #0b1a2f 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(4, 12, 22, .28);
}

.fb-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.fb-topbar-inner,
.fb-header-main-inner,
.fb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fb-topbar-inner {
  gap: 16px;
  min-height: 52px;
}

.fb-breaking {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fb-breaking a {
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-breaking a:hover {
  color: #fff;
}

.fb-breaking-tag,
.fb-slide-tag,
.fb-mini-feed-badge,
.fb-side-kicker,
.fb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fb-breaking-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6a52 0%, #e34848 100%);
  color: #fff;
}

.fb-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fb-topbar-link {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 600;
}

.fb-topbar-link:hover {
  color: var(--accent);
}

.fb-header-main {
  padding: 20px 0;
}

.fb-header-main-inner {
  gap: 24px;
}

.fb-branding {
  flex: 0 0 auto;
}

.fb-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.fb-logo img {
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.fb-logo-copy {
  display: grid;
  gap: 3px;
}

.fb-logo-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.fb-logo-copy strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}

.fb-score-strip {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fb-score-card {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 100%);
}

.fb-score-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
}

.fb-score-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.wap_headerclick {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
}

.fb-nav {
  position: sticky;
  top: 0;
  z-index: 35;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, .92);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.fb-nav-inner {
  gap: 18px;
  min-height: 72px;
}

.fb-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.fb-nav ul li {
  position: relative;
}

.fb-nav ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
  font-size: 14px;
}

.fb-nav ul li a:hover,
.fb-nav ul li.act > a,
.fb-nav ul li > a:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.fb-nav ul li ul {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  min-width: 220px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: rgba(9, 20, 37, .98);
  box-shadow: var(--shadow-md);
  flex-direction: column;
}

.fb-nav ul li:hover > ul,
.fb-nav ul li:focus-within > ul {
  display: flex;
}

.fb-nav ul li ul li a {
  justify-content: flex-start;
  width: 100%;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: 12px;
}

.fb-header-search {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.fb-header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #fff;
}

.fb-header-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, .54);
}

.fb-header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #07111f;
  cursor: pointer;
}

.fb-home-hero {
  padding: 32px 0 10px;
}

.fb-home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 360px;
  gap: 24px;
  align-items: start;
}

.fb-hero-panel,
.fb-hero-side-card,
.fb-mini-feed,
.fb-section,
.fb-scroll-section,
.fb-widget,
.fb-cate-block,
.fb-links,
.fb-search-box,
.fb-detail-header,
.fb-detail-content,
.fb-comments,
.fb-detail-summary,
.fb-detail-copyright,
.fb-related-read,
.fb-list-page-head {
  background: var(--surface);
  border: 1px solid rgba(18, 32, 51, .05);
  box-shadow: var(--shadow-sm);
}

.fb-hero-panel,
.fb-hero-side-card,
.fb-mini-feed,
.fb-scroll-section,
.fb-widget,
.fb-cate-block,
.fb-links,
.fb-search-box,
.fb-comments,
.fb-list-page-head,
.fb-related-read {
  border-radius: var(--radius-md);
}

.fb-hero-heading {
  padding: 26px 28px 0;
}

.fb-eyebrow {
  color: var(--primary);
  margin-bottom: 10px;
}

.fb-hero-heading h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -.04em;
  max-width: 14ch;
}

.fb-hero-heading p {
  max-width: 60ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.fb-banner {
  position: relative;
  margin: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fb-banner .swiper-slide {
  height: 540px;
}

.fb-banner .swiper-slide > a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.fb-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-slide-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 22, .86) 62%, rgba(6, 12, 22, .98) 100%);
}

.fb-slide-tag {
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 150, 71, .9);
  color: #fff;
}

.fb-slide-overlay h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  margin-bottom: 10px;
  max-width: 16ch;
}

.fb-slide-overlay p {
  max-width: 58ch;
  color: rgba(255, 255, 255, .82);
}

.fb-hero-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  z-index: 4;
}

.fb-swiper-button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.fb-swiper-button:hover {
  background: rgba(255, 255, 255, .24);
}

.fb-banner .swiper-pagination {
  left: 28px;
  bottom: 22px;
  width: auto;
}

.fb-banner .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: rgba(255, 255, 255, .35);
}

.fb-banner .swiper-pagination-bullet-active {
  background: var(--accent);
}

.fb-hero-side {
  display: grid;
  gap: 18px;
}

.fb-hero-side-card,
.fb-mini-feed {
  padding: 24px;
}

.fb-side-kicker,
.fb-mini-feed-badge {
  color: var(--danger);
}

.fb-hero-side-card h2 {
  margin: 10px 0 12px;
  font-size: 1.65rem;
}

.fb-hero-side-card p {
  color: var(--muted);
}

.fb-mini-feed {
  display: grid;
  gap: 14px;
}

.fb-mini-feed-item {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4f9 100%);
  border: 1px solid var(--line);
}

.fb-mini-feed-item strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 15px;
}

.fb-mini-feed-item small,
.fb-muted,
.fb-card-meta,
.fb-list-meta,
.fb-detail-meta,
.fb-rank-views {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.fb-mini-feed-item:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.fb-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 10px 0 0;
}

.fb-mb-30 {
  margin-bottom: 24px;
}

.fb-section {
  padding: 26px;
  border-radius: var(--radius-md);
}

.fb-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.fb-section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
}

.fb-section-title i,
.fb-widget-title i,
.fb-links-title i {
  color: var(--primary);
}

.more-link {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.more-link:hover {
  color: var(--primary-strong);
}

.fb-section-title-compact {
  align-items: end;
}

.fb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fb-card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(18, 32, 51, .06);
  box-shadow: var(--shadow-sm);
}

.fb-card:hover,
.fb-list-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.fb-card-img,
.fb-list-card-media {
  overflow: hidden;
}

.fb-card-img {
  aspect-ratio: 16 / 10;
}

.fb-card-img img,
.fb-list-card-media img,
.fb-list-img img,
.fb-scroll-item img,
.fb-random-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.fb-card:hover img,
.fb-list-card:hover img,
.fb-list-item:hover img,
.fb-scroll-item:hover img,
.fb-random-card:hover img {
  transform: scale(1.04);
}

.fb-card-body {
  padding: 18px;
}

.fb-card-cat {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 150, 71, .1);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.fb-card-body h3,
.fb-scroll-item h3,
.fb-list-card-content h2,
.fb-related-item h3,
.fb-timeline-body h3 {
  margin-top: 12px;
  font-size: 1.12rem;
}

.fb-card-body h3 a:hover,
.fb-scroll-item h3 a:hover,
.fb-list-card-content h2 a:hover,
.fb-related-item h3 a:hover,
.fb-timeline-body h3 a:hover {
  color: var(--primary);
}

.fb-card-intro,
.fb-list-intro,
.fb-list-card-content p,
.fb-about-copy p,
.fb-profile p,
.fb-search-box p {
  color: var(--muted);
}

.fb-card-intro,
.fb-list-intro,
.fb-list-card-content p {
  display: -webkit-box;
  margin-top: 10px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fb-card-meta,
.fb-list-meta,
.fb-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: 13px;
}

.fb-list-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.fb-list-item-featured + .fb-list-item-featured {
  margin-top: 18px;
}

.fb-list-img {
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
}

.fb-list-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fb-news-timeline {
  display: grid;
  gap: 0;
}

.fb-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 20px;
}

.fb-timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(20, 150, 71, .35) 0%, rgba(20, 150, 71, .05) 100%);
}

.fb-timeline-item:last-child::before {
  display: none;
}

.fb-timeline-dot {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, var(--accent) 30%, rgba(20, 150, 71, .2) 31%, rgba(20, 150, 71, .2) 100%);
}

.fb-timeline-body {
  padding: 0 0 0 6px;
}

.fb-widget {
  padding: 22px;
  margin-bottom: 20px;
}

.fb-widget-title,
.fb-links-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 800;
}

.fb-widget-about {
  background: linear-gradient(180deg, rgba(20, 150, 71, .08) 0%, rgba(20, 150, 71, .02) 100%);
}

.fb-about-points {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}

.fb-about-points li {
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--muted-strong);
}

.fb-about-points i {
  margin-top: 5px;
  color: var(--primary);
}

.fb-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: #fff;
  font-weight: 700;
}

.fb-inline-cta:hover {
  background: var(--primary);
}

.fb-rank-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fb-rank-list li:last-child {
  border-bottom: 0;
}

.fb-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #dbe4ee;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.fb-rank-list li:nth-child(1) .fb-rank-num {
  background: rgba(227, 72, 72, .16);
  color: var(--danger);
}

.fb-rank-list li:nth-child(2) .fb-rank-num {
  background: rgba(246, 197, 79, .24);
  color: #a36c00;
}

.fb-rank-list li:nth-child(3) .fb-rank-num {
  background: rgba(20, 150, 71, .16);
  color: var(--primary-strong);
}

.fb-rank-list li a {
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fb-tag-cloud,
.fb-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-tag-cloud a,
.fb-links-list a,
.fb-inline-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted-strong);
}

.fb-tag-cloud a:hover,
.fb-links-list a:hover,
.fb-inline-tags a:hover,
.fb-detail-tags a:hover {
  background: var(--primary);
  color: #fff;
}

.fb-random-stack {
  display: grid;
  gap: 14px;
}

.fb-random-card {
  position: relative;
  display: block;
  min-height: 176px;
  border-radius: 18px;
  overflow: hidden;
}

.fb-random-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 22, .86) 100%);
}

.fb-random-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
}

.fb-three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fb-category-wrap,
.fb-links-wrap {
  padding: 6px 0 0;
}

.fb-cate-block {
  overflow: hidden;
}

.fb-cate-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4f9 100%);
}

.fb-cate-block-header h3 {
  font-size: 1rem;
}

.fb-cate-block-header a {
  color: var(--primary);
  font-weight: 700;
}

.fb-cate-block-list {
  padding: 10px 20px 18px;
}

.fb-cate-block-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fb-cate-block-list li:last-child {
  border-bottom: 0;
}

.fb-list-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.fb-cate-block-list li:nth-child(1) .fb-list-num {
  background: rgba(227, 72, 72, .14);
  color: var(--danger);
}

.fb-cate-block-list li:nth-child(2) .fb-list-num {
  background: rgba(246, 197, 79, .2);
  color: #9f6b00;
}

.fb-cate-block-list li:nth-child(3) .fb-list-num {
  background: rgba(20, 150, 71, .14);
  color: var(--primary-strong);
}

.date {
  color: var(--muted);
  font-size: 12px;
}

.fb-cate-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.fb-cate-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  font-weight: 700;
}

.fb-cate-tabs a:hover,
.fb-cate-tabs a.is-active,
.fb-cate-tabs a[style*="font-weight:bold"] {
  border-color: var(--primary);
  background: rgba(20, 150, 71, .08);
  color: var(--primary-strong);
}

.fb-list-page-head {
  padding: 24px;
  margin-bottom: 18px;
}

.fb-list-page-head h1,
.fb-search-box h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.fb-list-stack {
  display: grid;
  gap: 18px;
}

.fb-list-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.fb-list-card-media {
  min-height: 220px;
}

.fb-list-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  min-width: 0;
}

.fb-inline-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fb-detail {
  margin-bottom: 22px;
}

.fb-detail-header {
  padding: 28px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.fb-detail-breadcrumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.fb-detail-breadcrumb a:hover {
  color: var(--primary);
}

.fb-detail-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.045em;
  margin-top: 10px;
}

.fb-detail-summary {
  margin: 18px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(180deg, rgba(20, 150, 71, .09) 0%, rgba(20, 150, 71, .04) 100%);
}

.fb-detail-summary strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-strong);
}

.fb-detail-content {
  padding: 34px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 17px;
  color: var(--muted-strong);
}

.fb-detail-content > * + * {
  margin-top: 18px;
}

.fb-detail-content h2,
.fb-detail-content h3,
.fb-detail-content h4 {
  scroll-margin-top: 110px;
}

.fb-detail-content img {
  border-radius: 20px;
  max-width: 100%;
}

.fb-detail-content table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.fb-detail-copyright,
.fb-related-read {
  margin-top: 20px;
  padding: 20px 24px;
}

.fb-detail-tags {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.fb-detail-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.fb-prev-next-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.fb-prev-next-item span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.fb-prev-next-item a {
  color: var(--text);
  font-weight: 700;
}

.fb-prev-next-item-right {
  text-align: right;
}

.fb-prev-next-item em {
  color: var(--muted);
  font-style: normal;
}

.fb-related-list {
  display: grid;
  gap: 14px;
}

.fb-related-item {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.fb-related-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fb-comments {
  padding: 26px;
}

.fb-comments h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.fb-comment-form {
  margin-bottom: 22px;
}

.fb-form-field {
  display: grid;
  gap: 8px;
}

.fb-form-field label,
.fb-captcha-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-strong);
}

.fb-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.fb-form-field input[type="text"],
.fb-form-field input[type="search"],
.fb-form-field textarea,
.fb-form-field input[type="email"],
.fb-form-field input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
}

.fb-form-field textarea {
  min-height: 150px;
  padding: 16px;
  resize: vertical;
}

.fb-form-actions {
  margin-top: 16px;
}

.button,
.fb-search-box button,
#load_more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.fb-search-box button:hover,
#load_more:hover {
  filter: brightness(.97);
}

.fb-text-button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 700;
  cursor: pointer;
}

.fb-reply-box {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.fb-reply-box p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.fb-captcha-wrap {
  display: grid;
  gap: 8px;
}

.fb-captcha-wrap img {
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid var(--line);
}

.fb-comment-list ul.msg {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fb-comment-list ul.msg:last-child {
  border-bottom: 0;
}

.fb-comment-list .msgname {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.fb-comment-list .avatar {
  border-radius: 50%;
  object-fit: cover;
}

.fb-comment-list .commentname {
  font-weight: 800;
}

.fb-comment-list small {
  color: var(--muted);
  font-size: 12px;
}

.fb-comment-list .reply_comment {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.fb-comment-list .msgarticle,
.fb-comment-list .reply_msgarticle {
  padding-left: 46px;
}

.fb-comment-list .reply_msgarticle {
  margin-bottom: 8px;
  color: var(--muted);
}

#load_more {
  margin-top: 16px;
}

.fb-profile {
  text-align: center;
}

.fb-profile img {
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
}

.fb-profile h3 {
  font-size: 1.12rem;
}

.fb-profile p {
  margin-top: 10px;
}

.fb-profile-stats,
.fb-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.fb-profile-stats li,
.fb-footer-stats li {
  padding: 12px 10px;
  border-radius: 16px;
  background: var(--surface-soft);
  text-align: center;
}

.fb-profile-stats span,
.fb-footer-stats strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-strong);
}

.fb-profile-stats small,
.fb-footer-stats span {
  color: var(--muted);
  font-size: 12px;
}

.fb-search-box {
  padding: 28px;
  margin-bottom: 20px;
}

.fb-search-box form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.pagebar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 10px;
}

.pagebar a,
.pagebar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted-strong);
}

.pagebar a:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.pagebar span {
  background: rgba(20, 150, 71, .1);
  border-color: rgba(20, 150, 71, .24);
  color: var(--primary-strong);
  font-weight: 800;
}

.fb-footer {
  margin-top: 36px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  color: rgba(255, 255, 255, .76);
  background: linear-gradient(180deg, #08111f 0%, #050c17 100%);
}

.fb-footer-top {
  padding: 42px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.fb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.fb-footer h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1rem;
}

.fb-footer p {
  color: rgba(255, 255, 255, .68);
}

.fb-footer a {
  color: rgba(255, 255, 255, .82);
}

.fb-footer a:hover {
  color: var(--accent);
}

.fb-footer-links,
.fb-footer-contact {
  display: grid;
  gap: 10px;
}

.fb-footer-contact li {
  display: flex;
  align-items: start;
  gap: 10px;
}

.fb-footer-contact i {
  margin-top: 6px;
  color: var(--accent);
}

.fb-footer-bottom {
  padding: 20px 0 28px;
  text-align: center;
}

.fb-footer-bottom p + p {
  margin-top: 8px;
}

.fb-gotop {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 40;
}

.fb-gotop button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.fb-404 {
  padding: 72px 20px 90px;
  text-align: center;
}

.fb-404 h1 {
  font-size: clamp(6rem, 18vw, 10rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fb-404 h2 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.fb-404 p {
  max-width: 54ch;
  margin: 12px auto 24px;
  color: var(--muted);
}

.fb-404 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: #fff;
  font-weight: 800;
}

.fb-404 a:hover {
  background: var(--primary);
}

.style-night {
  background: #101621;
  color: #e8eef6;
}

.style-night .fb-hero-panel,
.style-night .fb-hero-side-card,
.style-night .fb-mini-feed,
.style-night .fb-section,
.style-night .fb-scroll-section,
.style-night .fb-widget,
.style-night .fb-cate-block,
.style-night .fb-links,
.style-night .fb-search-box,
.style-night .fb-detail-header,
.style-night .fb-detail-content,
.style-night .fb-comments,
.style-night .fb-detail-summary,
.style-night .fb-detail-copyright,
.style-night .fb-related-read,
.style-night .fb-list-page-head,
.style-night .fb-card,
.style-night .fb-list-card {
  background: #152132;
  border-color: rgba(255, 255, 255, .06);
}

.style-night .fb-card-cat,
.style-night .fb-tag-cloud a,
.style-night .fb-links-list a,
.style-night .fb-inline-tags a,
.style-night .fb-detail-tags a,
.style-night .fb-profile-stats li,
.style-night .fb-footer-stats li,
.style-night .fb-mini-feed-item,
.style-night .fb-cate-tabs a,
.style-night .fb-prev-next-item {
  background: #1d2b40;
  color: #dce6f2;
}

.style-night .fb-card-intro,
.style-night .fb-list-intro,
.style-night .fb-list-card-content p,
.style-night .fb-about-copy p,
.style-night .fb-profile p,
.style-night .fb-search-box p,
.style-night .fb-card-meta,
.style-night .fb-list-meta,
.style-night .fb-detail-meta,
.style-night .fb-detail-breadcrumb,
.style-night .fb-comment-list small,
.style-night .date {
  color: #a8b7c8;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1180px) {
  .fb-home-hero-layout,
  .fb-two-col,
  .fb-footer-grid {
    grid-template-columns: 1fr;
  }

  .fb-card-grid,
  .fb-three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fb-score-strip,
  .fb-header-search {
    display: none;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .wap_headerclick {
    display: inline-flex;
  }

  .fb-topbar-actions {
    display: none;
  }

  .fb-nav-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 0;
  }

  .fb-nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .fb-nav ul.open {
    display: flex;
  }

  .fb-nav ul li a {
    justify-content: space-between;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .fb-nav ul li ul {
    position: static;
    display: none;
    min-width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .fb-nav ul li:hover > ul {
    display: none;
  }

  .fb-nav ul li.child-open > ul {
    display: flex;
  }

  .fb-banner .swiper-slide {
    height: 420px;
  }

  .fb-card-grid,
  .fb-three-col,
  .fb-list-card,
  .fb-list-item,
  .fb-form-row,
  .fb-search-box form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fb-home-hero {
    padding-top: 20px;
  }

  .fb-header-main {
    padding: 16px 0;
  }

  .fb-logo-copy strong {
    font-size: 22px;
  }

  .fb-banner {
    margin: 16px;
  }

  .fb-banner .swiper-slide {
    height: 320px;
  }

  .fb-slide-overlay,
  .fb-section,
  .fb-widget,
  .fb-scroll-section,
  .fb-search-box,
  .fb-comments,
  .fb-detail-header,
  .fb-detail-content,
  .fb-detail-copyright,
  .fb-related-read {
    padding: 20px;
  }

  .fb-slide-overlay h2,
  .fb-detail-title,
  .fb-list-page-head h1,
  .fb-search-box h1 {
    text-wrap: pretty;
  }

  .fb-card-grid,
  .fb-three-col,
  .fb-profile-stats,
  .fb-footer-stats,
  .fb-detail-prev-next {
    grid-template-columns: 1fr;
  }

  .fb-list-img,
  .fb-list-card-media {
    min-height: 200px;
  }

  .fb-comment-list .msgarticle,
  .fb-comment-list .reply_msgarticle {
    padding-left: 0;
  }
}
