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

:root {
  --brand: #FFCF53;
  --brand-dark: #E6B63E;
  --brand-deep: #CA8A04;
  --acg-dark: #1a1a1a;
  --acg-light: #f8f9fa;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --red-50: #fef2f2;
  --red-500: #ef4444;
  --green-50: #f0fdf4;
  --green-500: #22c55e;
  --blue-500: #3b82f6;
  --orange: #ff8a4c;
  --purple: #a78bfa;
  --pink: #fb7185;
  --teal: #2dd4bf;
  --footer-bg: #0b1220;
  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
  background-color: var(--acg-light);
  color: var(--acg-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

img,
svg,
video {
  display: block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

ul,
ol,
menu {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

.hidden {
  display: none !important;
}

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

.text_center {
  text-align: center;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line_clamp_2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.container_fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container_fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container_fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.navbar_brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar_left_group {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.site-logo {
  height: 2.5rem;
}

.navbar_logo {
  height: 2.5rem;
}

.navbar_nav {
  display: none;
  gap: 2rem;
  align-items: center;
  height: 4rem;
}

@media (min-width: 768px) {
  .navbar_nav {
    display: flex;
  }
}

.navbar_nav_link {
  color: var(--gray-600);
  font-weight: 500;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 150ms;
}

.navbar_nav_link:hover {
  color: var(--brand-deep);
}

.navbar_nav_link_active {
  color: var(--brand-deep);
  font-weight: 600;
  border-bottom: 2px solid var(--brand-deep);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar_dropdown {
  position: relative;
  height: 100%;
}

.navbar_dropdown_trigger {
  color: var(--gray-600);
  font-weight: 500;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 150ms;
}

.navbar_dropdown_trigger:hover {
  color: var(--brand-deep);
}

.navbar_dropdown_trigger svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

.navbar_dropdown_icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

.navbar_dropdown_menu {
  position: absolute;
  left: 0;
  margin-top: 0;
  width: 10rem;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 200ms;
  border: 1px solid var(--gray-100);
}

.navbar_dropdown:hover .navbar_dropdown_menu {
  opacity: 1;
  visibility: visible;
}

.navbar_dropdown_item {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: background-color 150ms, color 150ms;
}

.navbar_dropdown_item:hover {
  background-color: var(--yellow-50, #fefce8);
  color: var(--brand-deep);
}

.navbar_actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .navbar_actions {
    display: flex;
  }
}

.theme_toggle {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  line-height: 1;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background-color: var(--white);
  color: var(--gray-600);
  display: grid !important;
  place-items: center;
  transition: color 150ms, background-color 150ms;
}

.theme_toggle:hover {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.theme_toggle_icon {
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
  flex-shrink: 0;
  overflow: visible;
}

.navbar_mobile_toggle {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background-color: var(--white);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 150ms, background-color 150ms;
}

.navbar_mobile_toggle:hover {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.navbar_mobile_toggle svg {
  width: 1rem;
  height: 1rem;
}

.mobile_menu_toggle_btn {
  color: var(--gray-600);
  transition: color 150ms;
}

.mobile_menu_toggle_btn:hover {
  color: var(--brand-deep);
}

.mobile_menu_toggle_btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile_actions_wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .mobile_actions_wrapper {
    display: none;
  }
}

.mobile_login_btn {
  width: 100%;
  text-align: center;
}

.main_content_wrapper {
  margin-bottom: 4rem;
}

.modal_title_custom {
  font-size: 1.5rem;
}

.form_input_flex {
  flex: 1;
}

.mobile_menu {
  background-color: var(--white);
  border-top: 1px solid var(--gray-100);
}

/* 小屏下改为固定层，避免在分类页等长页面中被 banner / 主内容叠盖或把布局顶乱 */
@media (max-width: 767.98px) {
  .navbar .mobile_menu {
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
    left: 0;
    max-height: min(32rem, calc(100dvh - 4rem - env(safe-area-inset-bottom, 0px)));
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 4rem;
    z-index: 99;
  }
}

@media (min-width: 768px) {
  .mobile_menu {
    display: none !important;
  }
}

.mobile_menu_inner {
  padding: 0.5rem;
}

.mobile_menu_link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 150ms, background-color 150ms;
}

.mobile_menu_link:hover {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.mobile_menu_link_active {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.mobile_menu_parent_btn {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-700);
  text-align: left;
  cursor: pointer;
  transition: color 150ms, background-color 150ms;
}

.mobile_menu_parent_btn:hover {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.mobile_menu_parent_btn_active {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.mobile_menu_parent_label {
  flex: 1;
  min-width: 0;
}

.mobile_menu_chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 150ms ease;
}

.mobile_menu_group.is_open .mobile_menu_chevron {
  transform: rotate(180deg);
}

.mobile_menu_sublist {
  display: none;
}

.mobile_menu_sublink {
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}

.mobile_menu_user_section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile_user_info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--gray-50);
  border-radius: 0.5rem;
}

.mobile_user_avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.mobile_user_avatar svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile_user_nickname {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.mobile_menu_action {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 150ms, background-color 150ms;
  display: flex;
  align-items: center;
}

.mobile_menu_action svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.mobile_menu_action:hover {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.mobile_menu_action_logout {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red-500);
  transition: background-color 150ms;
  display: flex;
  align-items: center;
}

.mobile_menu_action_logout svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.mobile_menu_action_logout:hover {
  background-color: var(--red-50);
}

.btn_brand {
  background-color: var(--brand);
  color: var(--gray-900);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: background-color 150ms, box-shadow 150ms, transform 150ms;
}

.btn_brand:hover {
  background-color: var(--brand-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.125rem);
}

.btn_icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--white);
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: color 150ms, box-shadow 150ms, transform 150ms;
}

.btn_icon:hover {
  color: var(--brand-deep);
  box-shadow: var(--shadow-xl);
  transform: translateY(-0.25rem);
}

.btn_icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.btn_close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--gray-900);
  color: var(--white);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms, color 150ms;
}

.btn_close:hover {
  background-color: var(--brand);
  color: var(--gray-900);
}

.btn_close svg {
  width: 1rem;
  height: 1rem;
}

.banner {
  width: 100%;
  height: 16rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .banner {
    height: 28rem;
  }
}

.banner_video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (min-width: 768px) {
  .banner_image {
    display: none;
  }
}

@media (max-width: 767px) {
  .banner_video {
    display: none;
  }
}

.banner_overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 0.4);
  z-index: 10;
}

.banner_content {
  position: relative;
  z-index: 20;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.banner_title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 20px 13px rgb(0 0 0 / 0.03), 0 8px 5px rgb(0 0 0 / 0.08);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .banner_title {
    font-size: 3rem;
  }
}

.banner_subtitle {
  font-size: 1.125rem;
  color: var(--gray-200);
  font-weight: 500;
  text-shadow: 0 4px 3px rgb(0 0 0 / 0.07), 0 2px 2px rgb(0 0 0 / 0.06);
}

@media (min-width: 768px) {
  .banner_subtitle {
    font-size: 1.25rem;
  }
}

.quick_links_wrapper {
  margin-top: -2rem;
  position: relative;
  z-index: 11;
  margin-bottom: 3rem;
}

.quick_links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .quick_links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 0.5rem;
  }

  .quick_links::-webkit-scrollbar {
    display: none;
  }

  .quick_links {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

.quick_link_item {
  display: flex;
  align-items: center;
  background-color: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 150ms;
  border: 1px solid var(--white);
}

.quick_link_item_full {
  grid-column: span 2;
}

@media (min-width: 640px) {
  .quick_link_item_full {
    grid-column: auto;
  }
}

.quick_link_item:hover {
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .quick_link_item {
    padding: 1rem;
    min-width: 200px;
    margin-right: 1rem;
  }
}

.quick_link_icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.quick_link_icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .quick_link_icon {
    width: 3rem;
    height: 3rem;
  }

  .quick_link_icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.quick_link_icon_orange {
  background-color: var(--orange);
}

.quick_link_icon_purple {
  background-color: var(--purple);
}

.quick_link_icon_pink {
  background-color: var(--pink);
}

.quick_link_icon_teal {
  background-color: var(--teal);
}

.quick_link_icon_red {
  background-color: var(--red-500);
}

.quick_link_text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.quick_link_title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.quick_link_title span:first-child {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .quick_link_title span:first-child {
    font-size: 1rem;
  }
}

.quick_link_badge {
  padding: 0.25rem 0.375rem;
  border-radius: 9999px;
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  display: none;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .quick_link_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.quick_link_badge_orange {
  background-color: var(--orange);
}

.quick_link_badge_blue {
  background-color: var(--blue-500);
}

.quick_link_desc {
  font-size: 10px;
  color: var(--gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .quick_link_desc {
    font-size: 0.75rem;
  }
}

.section_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  display: flex;
  align-items: center;
}

.section_title_indicator {
  width: 0.5rem;
  height: 1.5rem;
  background-color: var(--brand);
  border-radius: 9999px;
  margin-right: 0.75rem;
}

.section_more_link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 150ms;
}

.section_more_link:hover {
  color: var(--brand-deep);
}

/* 资讯分类列表页 */
.category_main {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.filter_panel {
  margin-bottom: 2rem;
}

.filter_group_list {
  margin-top: 0;
}

.filter_group_item + .filter_group_item {
  margin-top: 1rem;
}

.review_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .review_grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .review_grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card_review {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card_review:hover {
  box-shadow: var(--shadow-xl);
}

.card_image_wrapper {
  width: 100%;
  position: relative;
  padding-top: 75%;
  background-color: var(--gray-200);
  overflow: hidden;
}

.card_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms;
}

.card_review:hover .card_image {
  transform: scale(1.05);
}

.card_content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 640px) {
  .card_content {
    padding: 1rem;
  }
}

.card_title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  transition: color 150ms;
}

@media (min-width: 640px) {
  .card_title {
    font-size: 1.125rem;
  }
}

.card_review:hover .card_title {
  color: var(--brand-deep);
}

.card_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.card_tag {
  background-color: var(--gray-100);
  color: var(--gray-600);
  font-size: 10px;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.card_meta {
  font-size: 10px;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .card_meta {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
}

.card_stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .card_stats {
    font-size: 0.75rem;
    padding-top: 0.75rem;
  }
}

.card_stats_left {
  display: flex;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .card_stats_left {
    gap: 0.75rem;
  }
}

.card_stats_item {
  display: flex;
  align-items: center;
}

.card_stats_icon {
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.125rem;
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.card_stats_icon_view {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9J25vbmUnIHZpZXdCb3g9JzAgMCAyNCAyNCcgc3Ryb2tlPSdjdXJyZW50Q29sb3InIHN0cm9rZS13aWR0aD0nMic+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJyBkPSdNMTUgMTJhMyAzIDAgMTEtNiAwIDMgMyAwIDAxNiAweicvPjxwYXRoIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcgZD0nTTIuNDU4IDEyQzMuNzMyIDcuOTQzIDcuNTIzIDUgMTIgNWM0LjQ3OCAwIDguMjY4IDIuOTQzIDkuNTQyIDctMS4yNzQgNC4wNTctNS4wNjQgNy05LjU0MiA3LTQuNDc3IDAtOC4yNjgtMi45NDMtOS41NDItN3onLz48L3N2Zz4=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9J25vbmUnIHZpZXdCb3g9JzAgMCAyNCAyNCcgc3Ryb2tlPSdjdXJyZW50Q29sb3InIHN0cm9rZS13aWR0aD0nMic+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJyBkPSdNMTUgMTJhMyAzIDAgMTEtNiAwIDMgMyAwIDAxNiAweicvPjxwYXRoIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcgZD0nTTIuNDU4IDEyQzMuNzMyIDcuOTQzIDcuNTIzIDUgMTIgNWM0LjQ3OCAwIDguMjY4IDIuOTQzIDkuNTQyIDctMS4yNzQgNC4wNTctNS4wNjQgNy05LjU0MiA3LTQuNDc3IDAtOC4yNjgtMi45NDMtOS41NDItN3onLz48L3N2Zz4=");
}

.card_stats_icon_like {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9J25vbmUnIHZpZXdCb3g9JzAgMCAyNCAyNCcgc3Ryb2tlPSdjdXJyZW50Q29sb3InIHN0cm9rZS13aWR0aD0nMic+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJyBkPSdNNC4zMTggNi4zMThhNC41IDQuNSAwIDAwMCA2LjM2NEwxMiAyMC4zNjRsNy42ODItNy42ODJhNC41IDQuNSAwIDAwLTYuMzY0LTYuMzY0TDEyIDcuNjM2bC0xLjMxOC0xLjMxOGE0LjUgNC41IDAgMDAtNi4zNjQgMHonLz48L3N2Zz4=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9J25vbmUnIHZpZXdCb3g9JzAgMCAyNCAyNCcgc3Ryb2tlPSdjdXJyZW50Q29sb3InIHN0cm9rZS13aWR0aD0nMic+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJyBkPSdNNC4zMTggNi4zMThhNC41IDQuNSAwIDAwMCA2LjM2NEwxMiAyMC4zNjRsNy42ODItNy42ODJhNC41IDQuNSAwIDAwLTYuMzY0LTYuMzY0TDEyIDcuNjM2bC0xLjMxOC0xLjMxOGE0LjUgNC41IDAgMDAtNi4zNjQgMHonLz48L3N2Zz4=");
}

.card_stats_icon_comment {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9J25vbmUnIHZpZXdCb3g9JzAgMCAyNCAyNCcgc3Ryb2tlPSdjdXJyZW50Q29sb3InIHN0cm9rZS13aWR0aD0nMic+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJyBkPSdNOCAxMmguMDFNMTIgMTJoLjAxTTE2IDEyaC4wMU0yMSAxMmMwIDQuNDE4LTQuMDMgOC05IDhhOS44NjMgOS44NjMgMCAwMS00LjI1NS0uOTQ5TDMgMjBsMS4zOTUtMy43MkMzLjUxMiAxNS4wNDIgMyAxMy41NzQgMyAxMmMwLTQuNDE4IDQuMDMtOCA5LThzOSAzLjU4MiA5IDh6Jy8+PC9zdmc+");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9J25vbmUnIHZpZXdCb3g9JzAgMCAyNCAyNCcgc3Ryb2tlPSdjdXJyZW50Q29sb3InIHN0cm9rZS13aWR0aD0nMic+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJyBkPSdNOCAxMmguMDFNMTIgMTJoLjAxTTE2IDEyaC4wMU0yMSAxMmMwIDQuNDE4LTQuMDMgOC05IDhhOS44NjMgOS44NjMgMCAwMS00LjI1NS0uOTQ5TDMgMjBsMS4zOTUtMy43MkMzLjUxMiAxNS4wNDIgMyAxMy41NzQgMyAxMmMwLTQuNDE4IDQuMDMtOCA5LThzOSAzLjU4MiA5IDh6Jy8+PC9zdmc+");
}

@media (min-width: 640px) {
  .card_stats_icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
  }
}
.pagination_wrapper {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination_link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}

.pagination_link:hover {
  background-color: var(--yellow-50, #fefce8);
  color: var(--brand-deep);
  border-color: var(--gray-300);
}

@media (min-width: 640px) {
  .pagination_link {
    padding: 0.5rem 1rem;
  }
}

.pagination_link_active {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background-color: var(--brand);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .pagination_link_active {
    padding: 0.5rem 1rem;
  }
}

.pagination_ellipsis {
  display: none;
  padding: 0 0.5rem;
  color: var(--gray-400);
}

@media (min-width: 640px) {
  .pagination_ellipsis {
    display: block;
  }
}

.pagination_link_desktop {
  display: none;
}

@media (min-width: 640px) {
  .pagination_link_desktop {
    display: inline-block;
  }
}

.news_pagination_links ul.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news_pagination_links ul.pagination li {
  list-style: none;
}

.news_pagination_links ul.pagination li a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}

.news_pagination_links ul.pagination li a:hover {
  background-color: var(--yellow-50, #fefce8);
  color: var(--brand-deep);
  border-color: var(--gray-300);
}

.news_pagination_links ul.pagination li.active span {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background-color: var(--brand);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.875rem;
}

.news_pagination_links ul.pagination li.disabled span {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.site_footer {
  background-color: var(--footer-bg);
  color: var(--gray-300);
  padding: 3rem 0;
}

.site_footer_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.site_footer_logo {
  height: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.site_footer_desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.625;
  max-width: 28rem;
}

.site_footer_copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.floating_buttons {
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgb(0 0 0 / 0.6);
  backdrop-filter: blur(4px);
}

.modal_open {
  display: flex !important;
}

.modal_content {
  position: relative;
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 24rem;
  margin-left: 1rem;
  margin-right: 1rem;
  box-shadow: var(--shadow-2xl);
  transform: scale(1);
  transition: transform 200ms;
}

@media (min-width: 768px) {
  .modal_content {
    padding: 2rem;
  }
}

.modal_content_large {
  max-width: 42rem;
  padding: 1.5rem;
}

.modal_content_scroll {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
}

.modal_title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .modal_title {
    font-size: 1.5rem;
  }
}

.modal_title_large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .modal_title_large {
    font-size: 1.5rem;
  }
}

.modal_subtitle {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.modal_subtitle_center {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.form_group {
  margin-bottom: 1rem;
}

.form_input_wrapper {
  position: relative;
}

.form_input_icon_left {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.form_input_icon_left svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
}

.form_input {
  display: block;
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  line-height: 1.25;
  background-color: var(--gray-50);
  font-size: 0.875rem;
  transition: background-color 150ms, border-color 150ms, box-shadow 150ms;
}

.form_input::placeholder {
  color: var(--gray-400);
}

.form_input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: var(--brand-deep);
  background-color: var(--white);
  box-shadow: 0 0 0 2px var(--brand);
}

.form_input_simple {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  line-height: 1.25;
  background-color: var(--gray-50);
  font-size: 0.875rem;
  transition: background-color 150ms, border-color 150ms, box-shadow 150ms;
}

.form_input_simple::placeholder {
  color: var(--gray-400);
}

.form_input_simple:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: var(--brand-deep);
  background-color: var(--white);
  box-shadow: 0 0 0 2px var(--brand);
}

.form_input_error {
  border-color: var(--red-500);
}

.form_input_error:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 2px var(--red-500);
}

.form_error {
  display: none;
  background-color: var(--red-50);
  color: var(--red-500);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.form_error_visible {
  display: block !important;
}

.form_success {
  display: none;
  background-color: var(--green-50);
  color: var(--green-500);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.form_success_visible {
  display: block !important;
}

.form_row {
  display: flex;
  gap: 0.75rem;
}

.form_btn_get_code {
  width: 7rem;
  white-space: nowrap;
  background-color: var(--gray-100);
  color: var(--gray-700);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms;
}

.form_btn_get_code:hover {
  background-color: var(--gray-200);
}

.form_btn_get_code:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form_submit_wrapper {
  padding-top: 1rem;
}

.form_submit_btn {
  width: 100%;
  background-color: var(--brand);
  color: var(--gray-900);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: background-color 150ms, box-shadow 150ms, transform 150ms;
}

.form_submit_btn:hover {
  background-color: var(--brand-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.125rem);
}

.qr_code_placeholder {
  width: 16rem;
  height: 16rem;
  margin-left: auto;
  margin-right: auto;
}

.qr_code_placeholder_img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.75rem;
}

.qq_group_grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

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

.qq_group_item {
  background-color: var(--gray-50);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--gray-200);
}

.qq_group_name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  text-align: center;
}

.qq_group_qr {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.qq_group_qr_img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.5rem;
}

.user_view_desktop {
  position: relative;
}

.user_view_desktop:hover .user_dropdown_menu {
  opacity: 1;
  visibility: visible;
}

.user_info_btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gray-50);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: background-color 150ms;
  cursor: pointer;
}

.user_info_btn:hover {
  background-color: var(--gray-100);
}

.user_avatar_small {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.user_avatar_small svg {
  width: 1rem;
  height: 1rem;
}

.user_nickname_text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.user_dropdown_arrow {
  width: 1rem;
  height: 1rem;
  color: var(--gray-400);
  transition: color 150ms;
}

.user_view_desktop:hover .user_dropdown_arrow {
  color: var(--brand-deep);
}

.user_dropdown_menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 8rem;
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 200ms;
  z-index: 50;
  padding: 0.5rem 0;
  border: 1px solid var(--gray-100);
}

.user_dropdown_item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: color 150ms, background-color 150ms;
}

.user_dropdown_item svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.user_dropdown_item:hover {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.user_dropdown_divider {
  border-top: 1px solid var(--gray-100);
  margin: 0.25rem 0;
}

.user_dropdown_item_logout {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: color 150ms, background-color 150ms;
}

.user_dropdown_item_logout svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.user_dropdown_item_logout:hover {
  color: var(--red-500);
  background-color: var(--red-50);
}

html.dark body {
  background-color: var(--gray-900);
  color: var(--gray-200);
}

html.dark .navbar {
  background-color: var(--gray-800) !important;
}

html.dark .card_review,
html.dark .modal_content,
html.dark .pagination_link {
  background-color: var(--gray-800) !important;
}

html.dark .quick_link_item {
  background-color: var(--gray-800) !important;
  border-color: var(--gray-700) !important;
}

html.dark .form_input,
html.dark .form_input_simple {
  background-color: var(--gray-900) !important;
  color: var(--gray-200) !important;
  border-color: var(--gray-600) !important;
}

html.dark .form_input::placeholder,
html.dark .form_input_simple::placeholder {
  color: var(--gray-400) !important;
}

html.dark .form_input:focus,
html.dark .form_input_simple:focus {
  background-color: var(--gray-800) !important;
}

html.dark .card_meta,
html.dark .card_stats,
html.dark .section_more_link {
  color: var(--gray-300) !important;
}

html.dark .card_title,
html.dark .section_title,
html.dark .modal_title,
html.dark .modal_title_large,
html.dark .quick_link_title span:first-child {
  color: var(--gray-100) !important;
}

html.dark .card_tag {
  background-color: var(--gray-700) !important;
  color: var(--gray-300) !important;
}

html.dark .card_image_wrapper {
  background-color: var(--gray-700) !important;
}

html.dark .card_stats {
  border-color: var(--gray-700) !important;
}

html.dark .navbar_dropdown_menu,
html.dark .user_dropdown_menu {
  background-color: var(--gray-800) !important;
  border-color: var(--gray-700) !important;
}

html.dark .navbar_dropdown_item,
html.dark .user_dropdown_item,
html.dark .user_dropdown_item_logout {
  color: var(--gray-200) !important;
}

html.dark .navbar_dropdown_item:hover,
html.dark .user_dropdown_item:hover {
  background-color: var(--gray-700) !important;
  color: var(--gray-100) !important;
}

html.dark .user_dropdown_item_logout:hover {
  background-color: var(--red-50) !important;
  color: var(--red-500) !important;
}

html.dark .user_dropdown_divider {
  border-color: var(--gray-700) !important;
}

html.dark .user_info_btn {
  background-color: var(--gray-700) !important;
}

html.dark .user_info_btn:hover {
  background-color: var(--gray-600) !important;
}

html.dark .user_nickname_text {
  color: var(--gray-200) !important;
}

html.dark .theme_toggle {
  background-color: var(--gray-800) !important;
  border-color: var(--gray-700) !important;
  color: var(--gray-300) !important;
}

html.dark .theme_toggle:hover {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .mobile_menu {
  background-color: var(--gray-800) !important;
  border-color: var(--gray-700) !important;
}

html.dark .mobile_menu_link {
  color: var(--gray-200) !important;
}

html.dark .mobile_menu_link:hover {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .mobile_menu_link_active {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .mobile_menu_parent_btn {
  color: var(--gray-200) !important;
}

html.dark .mobile_menu_parent_btn:hover {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .mobile_menu_parent_btn_active {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .mobile_menu_user_section {
  border-top-color: var(--gray-700) !important;
}

html.dark .mobile_user_info {
  background-color: var(--gray-900) !important;
}

html.dark .mobile_user_nickname {
  color: var(--gray-200) !important;
}

html.dark .mobile_menu_action {
  color: var(--gray-200) !important;
}

html.dark .mobile_menu_action:hover {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .mobile_menu_action_logout {
  color: var(--red-500) !important;
}

html.dark .mobile_menu_action_logout:hover {
  background-color: var(--red-50) !important;
}

html.dark .btn_icon {
  background-color: var(--gray-800) !important;
  color: var(--gray-300) !important;
}

html.dark .btn_icon:hover {
  color: var(--brand) !important;
}

html.dark .btn_close {
  background-color: var(--gray-900) !important;
}

html.dark .btn_close:hover {
  background-color: var(--brand) !important;
  color: var(--gray-900) !important;
}

html.dark .form_btn_get_code {
  background-color: var(--gray-700) !important;
  color: var(--gray-200) !important;
}

html.dark .form_btn_get_code:hover {
  background-color: var(--gray-600) !important;
}

html.dark .form_error {
  background-color: var(--red-50) !important;
  color: var(--red-500) !important;
}

html.dark .form_success {
  background-color: var(--green-50) !important;
  color: var(--green-500) !important;
}

html.dark .qq_group_item {
  background-color: var(--gray-700) !important;
  border-color: var(--gray-600) !important;
}

html.dark .qq_group_name {
  color: var(--gray-100) !important;
}


html.dark .site_footer {
  background-color: var(--footer-bg) !important;
}

html.dark .site_footer_copyright {
  color: var(--gray-500) !important;
}

html.dark .pagination_link {
  border-color: var(--gray-700) !important;
  color: var(--gray-300) !important;
}

html.dark .pagination_link:hover {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
  border-color: var(--gray-600) !important;
}

html.dark .btn_brand {
  color: var(--gray-900) !important;
}

html.dark .navbar_nav_link {
  color: var(--gray-300) !important;
}

html.dark .navbar_nav_link:hover {
  color: var(--brand) !important;
}

html.dark .navbar_nav_link_active {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}

html.dark .navbar_dropdown_trigger {
  color: var(--gray-300) !important;
}

html.dark .navbar_dropdown_trigger:hover {
  color: var(--brand) !important;
}

html.dark .navbar_mobile_toggle {
  background-color: var(--gray-800) !important;
  border-color: var(--gray-700) !important;
  color: var(--gray-300) !important;
}

html.dark .navbar_mobile_toggle:hover {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .mobile_menu_toggle_btn {
  color: var(--gray-300) !important;
}

html.dark .mobile_menu_toggle_btn:hover {
  color: var(--brand) !important;
}

.guest_view {
  display: block;
}

.login_btn {
  background-color: var(--brand);
  color: var(--gray-900);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: background-color 150ms, box-shadow 150ms, transform 150ms;
}

.login_btn:hover {
  background-color: var(--brand-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.125rem);
}

.user_view {
  position: relative;
}

.change_nickname_btn {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: color 150ms, background-color 150ms;
}

.change_nickname_btn svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.change_nickname_btn:hover {
  color: var(--brand-deep);
  background-color: var(--yellow-50, #fefce8);
}

.user_avatar_icon {
  width: 1rem;
  height: 1rem;
}

.user_dropdown_icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.mobile_user_avatar_icon {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile_menu_action_icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.mobile_menu_icon {
  width: 1.5rem;
  height: 1.5rem;
}

.card_stats_icon {
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.125rem;
}

@media (min-width: 640px) {
  .card_stats_icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
  }
}

.btn_close_icon {
  width: 1rem;
  height: 1rem;
}

.btn_icon_svg {
  width: 1.5rem;
  height: 1.5rem;
}

.form_icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
}

.theme_icon_sun,
.theme_icon_moon {
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
  flex-shrink: 0;
  overflow: visible;
}

/* 仅未登录时展示访客区；勿对 .guest_view.hidden 设 display，否则会盖过 .hidden 的隐藏 */
html.dark .guest_view:not(.hidden) {
  display: block !important;
}

html.dark .login_btn {
  color: var(--gray-900) !important;
}

html.dark .change_nickname_btn {
  color: var(--gray-200) !important;
}

html.dark .change_nickname_btn:hover {
  background-color: var(--gray-700) !important;
  color: var(--brand) !important;
}

html.dark .user_view {
  position: relative !important;
}

html.dark .mobile_user_avatar_icon {
  width: 1.25rem;
  height: 1.25rem;
}

html.dark .mobile_menu_action_icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

html.dark .mobile_menu_icon {
  width: 1.5rem;
  height: 1.5rem;
}

html.dark .card_stats_icon {
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.125rem;
}

@media (min-width: 640px) {
  html.dark .card_stats_icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
  }
}

html.dark .btn_close_icon {
  width: 1rem;
  height: 1rem;
}

html.dark .btn_icon_svg {
  width: 1.5rem;
  height: 1.5rem;
}

html.dark .form_icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400) !important;
}

html.dark .theme_icon_sun,
html.dark .theme_icon_moon {
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
  flex-shrink: 0;
  overflow: visible;
}

html.dark .navbar_logo {
  height: 2.5rem;
}

html.dark .navbar_dropdown_icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

html.dark .user_avatar_icon {
  width: 1rem;
  height: 1rem;
}

html.dark .user_dropdown_icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

html.dark .mobile_actions_wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  html.dark .mobile_actions_wrapper {
    display: none;
  }
}

html.dark .mobile_login_btn {
  width: 100%;
  text-align: center;
}

html.dark .main_content_wrapper {
  margin-bottom: 4rem;
}

html.dark .modal_title_custom {
  font-size: 1.5rem;
}

html.dark .form_input_flex {
  flex: 1;
}

.category_banner {
  width: 100%;
  height: 12rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  isolation: isolate;
}

@media (min-width: 768px) {
  .category_banner {
    height: 16rem;
  }
}

.category_banner_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.category_banner_overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 0.4);
  z-index: 10;
  pointer-events: none;
}

.category_banner_content {
  position: relative;
  z-index: 20;
  width: 100%;
  text-align: center;
  /* 与 .container 组合时由 container 负责左右 padding，避免重复内边距 */
  padding-left: 0;
  padding-right: 0;
}

.category_banner_title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 20px 13px rgb(0 0 0 / 0.03), 0 8px 5px rgb(0 0 0 / 0.08);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .category_banner_title {
    font-size: 2.25rem;
  }
}

.category_banner_subtitle {
  font-size: 1rem;
  color: var(--gray-200);
  font-weight: 500;
  text-shadow: 0 4px 3px rgb(0 0 0 / 0.07), 0 2px 2px rgb(0 0 0 / 0.06);
}

@media (min-width: 768px) {
  .category_banner_subtitle {
    font-size: 1.125rem;
  }
}

.filter_toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.filter_item {
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}

.filter_item:hover {
  background-color: var(--yellow-50, #fefce8);
  color: var(--brand-deep);
  border-color: var(--gray-300);
}

.filter_item_active {
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: var(--brand);
  color: var(--gray-900);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.navbar_dropdown_item_active {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--brand-deep);
  font-weight: 700;
  background-color: var(--yellow-50, #fefce8);
  transition: background-color 150ms, color 150ms;
}

.navbar_dropdown_item_active:hover {
  background-color: var(--yellow-50, #fefce8);
  color: var(--brand-deep);
}

html.dark .category_banner {
  width: 100%;
  height: 12rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111827 0%, #030712 100%);
  isolation: isolate;
}

@media (min-width: 768px) {
  html.dark .category_banner {
    height: 16rem;
  }
}

html.dark .category_banner_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  pointer-events: none;
}

html.dark .category_banner_overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 0.4);
  z-index: 10;
  pointer-events: none;
}

html.dark .category_banner_content {
  position: relative;
  z-index: 20;
  width: 100%;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

html.dark .category_banner_title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 20px 13px rgb(0 0 0 / 0.03), 0 8px 5px rgb(0 0 0 / 0.08);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  html.dark .category_banner_title {
    font-size: 2.25rem;
  }
}

html.dark .category_banner_subtitle {
  font-size: 1rem;
  color: var(--gray-200);
  font-weight: 500;
  text-shadow: 0 4px 3px rgb(0 0 0 / 0.07), 0 2px 2px rgb(0 0 0 / 0.06);
}

@media (min-width: 768px) {
  html.dark .category_banner_subtitle {
    font-size: 1.125rem;
  }
}

html.dark .filter_toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

html.dark .filter_item {
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: var(--gray-800);
  border: 1px solid var(--gray-700);
  color: var(--gray-300);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}

html.dark .filter_item:hover {
  background-color: var(--gray-700);
  color: var(--brand);
  border-color: var(--gray-600);
}

html.dark .filter_item_active {
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: var(--brand);
  color: var(--gray-900);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

html.dark .navbar_dropdown_item_active {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--brand);
  font-weight: 700;
  background-color: var(--gray-700);
  transition: background-color 150ms, color 150ms;
}

html.dark .navbar_dropdown_item_active:hover {
  background-color: var(--gray-700);
  color: var(--brand);
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.breadcrumb_link {
  color: var(--gray-500);
  transition: color 150ms;
}

.breadcrumb_link:hover {
  color: var(--brand-deep);
}

.breadcrumb_separator {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.breadcrumb_current {
  color: var(--gray-800);
  font-weight: 500;
}

.detail_main_wrapper {
  margin-bottom: 4rem;
}

.detail_content_layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .detail_content_layout {
    flex-direction: row;
  }
}

.detail_main_content {
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .detail_main_content {
    width: 66.666667%;
  }
}

.detail_cover_image {
  width: 100%;
  position: relative;
  padding-top: 50%;
  background-color: var(--gray-200);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .detail_cover_image {
    padding-top: 40%;
  }
}

.detail_cover_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail_article {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .detail_article {
    padding: 2rem;
  }
}

.detail_article_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .detail_article_title {
    font-size: 1.875rem;
  }
}

.detail_article_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.detail_author_info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail_author_avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--yellow-200, #fef08a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-600, #ca8a04);
  font-weight: 700;
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);
}

.detail_author_name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
}

.detail_publish_date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.detail_article_stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.detail_stats_item {
  display: flex;
  align-items: center;
}

.detail_stats_icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.25rem;
  color: var(--gray-400);
}

.detail_article_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail_tag_item {
  background-color: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

.detail_article_body {
  color: var(--gray-700);
  line-height: 2;
}

.detail_article_content_rt {
  overflow-wrap: anywhere;
  min-width: 0;
}

.detail_article_content_rt > :first-child {
  margin-top: 0;
}

.detail_article_content_rt > :last-child {
  margin-bottom: 0;
}

.detail_article_content_rt p {
  margin: 0 0 1rem;
}

.detail_article_content_rt h1,
.detail_article_content_rt h2,
.detail_article_content_rt h3,
.detail_article_content_rt h4,
.detail_article_content_rt h5,
.detail_article_content_rt h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.5;
  margin: 1.5rem 0 0.75rem;
}

.detail_article_content_rt h1 {
  font-size: 2rem;
}

.detail_article_content_rt h2 {
  font-size: 1.75rem;
}

.detail_article_content_rt h3 {
  font-size: 1.5rem;
}

.detail_article_content_rt h4 {
  font-size: 1.25rem;
}

.detail_article_content_rt h5 {
  font-size: 1.125rem;
}

.detail_article_content_rt h6 {
  font-size: 1rem;
}

.detail_article_content_rt ul,
.detail_article_content_rt ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.detail_article_content_rt li {
  margin-bottom: 0.5rem;
}

.detail_article_content_rt ul {
  list-style: disc;
}

.detail_article_content_rt ol {
  list-style: decimal;
}

.detail_article_content_rt blockquote {
  background: var(--gray-50);
  border-left: 4px solid var(--brand-deep);
  border-radius: 0.5rem;
  color: var(--gray-600);
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
}

.detail_article_content_rt a {
  color: var(--brand-deep);
  text-decoration: underline;
}

.detail_article_content_rt strong {
  font-weight: 700;
}

.detail_article_content_rt em {
  font-style: italic;
}

.detail_article_content_rt code {
  background: var(--gray-100);
  border-radius: 0.25rem;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.875em;
  padding: 0.125rem 0.375rem;
}

.detail_article_content_rt pre {
  background: var(--gray-900);
  border-radius: 0.75rem;
  color: #f8fafc;
  margin: 0 0 1rem;
  overflow-x: auto;
  padding: 1rem;
}

.detail_article_content_rt pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.detail_table_scroll {
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1rem;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  width: 100%;
}

/* 正文 overflow-wrap:anywhere 会继承到单元格，导致逐字竖排；CMS 常带 width:100%，列被压扁 */
.detail_article_content_rt table,
.detail_table_scroll table {
  border-collapse: collapse;
  margin: 0;
  max-width: none !important;
  min-width: 0;
  overflow-wrap: normal;
  table-layout: auto !important;
  width: max-content !important;
  word-break: normal;
}

.detail_article_content_rt th,
.detail_article_content_rt td {
  border: 1px solid var(--gray-200);
  line-height: 1.45;
  max-width: none;
  overflow-wrap: normal;
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  word-break: normal;
}

.detail_article_content_rt th {
  background: var(--gray-50);
  color: var(--gray-900);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  /* 仅表格区域横向滑满卡片内宽，正文其它块不参与横滑 */
  .detail_table_scroll {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .detail_article_content_rt th,
  .detail_article_content_rt td {
    font-size: max(0.875rem, 14px);
    padding: 0.75rem 0.75rem;
  }
}

.detail_article_content_rt hr {
  border: 0;
  border-top: 1px solid var(--gray-200);
  margin: 1.5rem 0;
}

.detail_article_content_rt img,
.detail_article_content_rt video {
  border-radius: 0.75rem;
  display: block;
  height: auto;
  margin: 1rem 0;
  max-width: 100%;
}

/* 行内 text-align: center 对 display:block 的 img 不生效，需 margin 水平居中；右对齐同理 */
.detail_article_content_rt p[style*="text-align: center"] img,
.detail_article_content_rt p[style*="text-align:center"] img,
.detail_article_content_rt div[style*="text-align: center"] img,
.detail_article_content_rt div[style*="text-align:center"] img,
.detail_article_content_rt figure[style*="text-align: center"] img,
.detail_article_content_rt figure[style*="text-align:center"] img {
  margin-left: auto;
  margin-right: auto;
}

.detail_article_content_rt p[style*="text-align: right"] img,
.detail_article_content_rt p[style*="text-align:right"] img,
.detail_article_content_rt div[style*="text-align: right"] img,
.detail_article_content_rt div[style*="text-align:right"] img,
.detail_article_content_rt figure[style*="text-align: right"] img,
.detail_article_content_rt figure[style*="text-align:right"] img {
  margin-left: auto;
  margin-right: 0;
}

.detail_section_heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  border-left: 4px solid var(--brand-deep);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.detail_paragraph {
  margin-bottom: 1rem;
}

.detail_image_placeholder {
  width: 100%;
  height: 16rem;
  background-color: var(--gray-100);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.detail_list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail_list li {
  margin-bottom: 0.5rem;
}

.detail_recommendation_box {
  background-color: var(--yellow-50, #fefce8);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--yellow-200, #fef08a);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.detail_recommendation_title {
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 0.5rem;
}

.detail_article_interaction {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.detail_like_button {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.detail_like_icon_wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--yellow-50, #fefce8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms, color 150ms;
}

.detail_like_button:hover .detail_like_icon_wrap {
  background-color: var(--brand);
  color: var(--gray-900);
}

.detail_like_icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand-deep);
  transition: color 150ms;
}

.detail_like_button:hover .detail_like_icon {
  color: var(--white);
}

.detail_like_text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  transition: color 150ms;
}

.detail_like_button:hover .detail_like_text {
  color: var(--brand-deep);
}

.detail_comment_section {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .detail_comment_section {
    padding: 2rem;
  }
}

.detail_comment_guest_tip {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.detail_comment_empty {
  font-size: 0.875rem;
  color: var(--gray-500);
  padding: 1rem 0;
}

.detail_comment_title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.detail_comment_title_indicator {
  width: 0.375rem;
  height: 1.25rem;
  background-color: var(--brand);
  border-radius: 9999px;
  margin-right: 0.5rem;
}

.detail_comment_form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail_comment_avatar_placeholder {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--gray-200);
  flex-shrink: 0;
}

.detail_comment_form_content {
  flex-grow: 1;
}

.detail_comment_textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  outline: none;
  resize: none;
  height: 6rem;
  transition: border-color 150ms, box-shadow 150ms;
}

.detail_comment_textarea:focus {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 1px var(--brand);
}

.detail_comment_form_actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.detail_comment_submit_btn {
  background-color: var(--brand);
  color: var(--gray-900);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background-color 150ms;
}

.detail_comment_submit_btn:hover {
  background-color: var(--yellow-500, #eab308);
}

.detail_comment_error {
  color: var(--red-500);
  font-size: 0.875rem;
}

.detail_comment_list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail_comment_item {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--gray-50);
  padding-bottom: 1.5rem;
}

.detail_comment_user_avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  background-color: var(--gray-100);
}

.detail_comment_content {
  flex-grow: 1;
}

.detail_comment_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.detail_comment_username {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
}

.detail_comment_time {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.detail_comment_text {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.detail_comment_actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.detail_comment_action_btn {
  display: flex;
  align-items: center;
  transition: color 150ms;
}

.detail_comment_action_btn:hover {
  color: var(--brand-deep);
}

.detail_comment_action_icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

.detail_comment_reply_btn {
  transition: color 150ms;
}

.detail_comment_reply_btn:hover {
  color: var(--brand-deep);
}

.detail_comment_load_more {
  text-align: center;
  margin-top: 1.5rem;
}

.detail_comment_load_more_btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: color 150ms;
}

.detail_comment_load_more_btn:hover {
  color: var(--brand-deep);
}

.detail_comment_arrow_icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

.detail_sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .detail_sidebar {
    width: 33.333333%;
  }
}

.detail_sidebar_card {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.detail_sidebar_title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 0.5rem;
}

.detail_sidebar_title_indicator {
  width: 0.375rem;
  height: 1rem;
  background-color: var(--brand-deep);
  border-radius: 9999px;
  margin-right: 0.5rem;
}

.detail_sidebar_title_indicator_blue {
  background-color: var(--blue-400, #60a5fa);
}

.detail_recent_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail_recent_item {
  display: flex;
}

.detail_recent_thumbnail {
  width: 5rem;
  height: 3.75rem;
  flex-shrink: 0;
  background-color: var(--gray-200);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.detail_recent_thumb_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail_recent_info {
  margin-left: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail_recent_title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  transition: color 150ms;
}

.detail_recent_item:hover .detail_recent_title {
  color: var(--brand-deep);
}

.detail_recent_date {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.detail_sidebar_ad {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.detail_ad_link {
  display: block;
  width: 100%;
  height: 16rem;
  background-color: var(--gray-100);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms;
  position: relative;
}

.detail_ad_link:hover {
  opacity: 0.9;
}

.detail_ad_text {
  color: var(--gray-400);
  font-weight: 700;
  z-index: 10;
}

.detail_ad_label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  border: 1px solid var(--gray-300);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  z-index: 10;
}

.detail_hot_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail_hot_tag {
  background-color: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  transition: background-color 150ms, color 150ms;
  border: 1px solid var(--gray-100);
}

.detail_hot_tag:hover {
  background-color: var(--yellow-50, #fefce8);
  color: var(--brand-deep);
}

html.dark .breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

html.dark .breadcrumb_link {
  color: var(--gray-500);
  transition: color 150ms;
}

html.dark .breadcrumb_link:hover {
  color: var(--brand);
}

html.dark .breadcrumb_separator {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

html.dark .breadcrumb_current {
  color: var(--gray-200);
  font-weight: 500;
}

html.dark .detail_main_wrapper {
  margin-bottom: 4rem;
}

html.dark .detail_content_layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  html.dark .detail_content_layout {
    flex-direction: row;
  }
}

html.dark .detail_main_content {
  width: 100%;
}

@media (min-width: 1024px) {
  html.dark .detail_main_content {
    width: 66.666667%;
  }
}

html.dark .detail_cover_image {
  width: 100%;
  position: relative;
  padding-top: 50%;
  background-color: var(--gray-700);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  html.dark .detail_cover_image {
    padding-top: 40%;
  }
}

html.dark .detail_cover_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.dark .detail_article {
  background-color: var(--gray-800);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  html.dark .detail_article {
    padding: 2rem;
  }
}

html.dark .detail_article_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  html.dark .detail_article_title {
    font-size: 1.875rem;
  }
}

html.dark .detail_article_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-700);
}

html.dark .detail_author_info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html.dark .detail_author_avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--yellow-200, #fef08a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-600, #ca8a04);
  font-weight: 700;
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);
}

html.dark .detail_author_name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-100);
}

html.dark .detail_publish_date {
  font-size: 0.75rem;
  color: var(--gray-400);
}

html.dark .detail_article_stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

html.dark .detail_stats_item {
  display: flex;
  align-items: center;
}

html.dark .detail_stats_icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.25rem;
  color: var(--gray-500);
}

html.dark .detail_article_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

html.dark .detail_tag_item {
  background-color: var(--gray-700);
  color: var(--gray-300);
  border: 1px solid var(--gray-600);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

html.dark .detail_article_body {
  color: var(--gray-300);
  line-height: 2;
}

html.dark .detail_article_content_rt h1,
html.dark .detail_article_content_rt h2,
html.dark .detail_article_content_rt h3,
html.dark .detail_article_content_rt h4,
html.dark .detail_article_content_rt h5,
html.dark .detail_article_content_rt h6 {
  color: var(--gray-100);
}

html.dark .detail_section_heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-100);
  border-left: 4px solid var(--brand-deep);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

html.dark .detail_paragraph {
  margin-bottom: 1rem;
}

html.dark .detail_image_placeholder {
  width: 100%;
  height: 16rem;
  background-color: var(--gray-700);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

html.dark .detail_list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

html.dark .detail_list li {
  margin-bottom: 0.5rem;
}

html.dark .detail_recommendation_box {
  background-color: var(--gray-700);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-600);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

html.dark .detail_recommendation_title {
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

html.dark .detail_article_interaction {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-700);
}

html.dark .detail_like_button {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  outline: none;
}

html.dark .detail_like_icon_wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms, color 150ms;
}

html.dark .detail_like_button:hover .detail_like_icon_wrap {
  background-color: var(--brand);
  color: var(--gray-900);
}

html.dark .detail_like_icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand);
  transition: color 150ms;
}

html.dark .detail_like_button:hover .detail_like_icon {
  color: var(--white);
}

html.dark .detail_like_text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  font-weight: 500;
  transition: color 150ms;
}

html.dark .detail_like_button:hover .detail_like_text {
  color: var(--brand);
}

html.dark .detail_comment_section {
  background-color: var(--gray-800);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  html.dark .detail_comment_section {
    padding: 2rem;
  }
}

html.dark .detail_comment_title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

html.dark .detail_comment_title_indicator {
  width: 0.375rem;
  height: 1.25rem;
  background-color: var(--brand);
  border-radius: 9999px;
  margin-right: 0.5rem;
}

html.dark .detail_comment_form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

html.dark .detail_comment_avatar_placeholder {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--gray-700);
  flex-shrink: 0;
}

html.dark .detail_comment_form_content {
  flex-grow: 1;
}

html.dark .detail_comment_textarea {
  width: 100%;
  border: 1px solid var(--gray-600);
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  outline: none;
  resize: none;
  height: 6rem;
  background-color: var(--gray-900);
  color: var(--gray-200);
  transition: border-color 150ms, box-shadow 150ms;
}

html.dark .detail_comment_textarea:focus {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 1px var(--brand);
}

html.dark .detail_comment_form_actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

html.dark .detail_comment_submit_btn {
  background-color: var(--brand);
  color: var(--gray-900);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background-color 150ms;
}

html.dark .detail_comment_submit_btn:hover {
  background-color: var(--yellow-500, #eab308);
}

html.dark .detail_comment_error {
  color: var(--red-500);
  font-size: 0.875rem;
}

html.dark .detail_comment_list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

html.dark .detail_comment_item {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--gray-700);
  padding-bottom: 1.5rem;
}

html.dark .detail_comment_user_avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  background-color: var(--gray-800);
}

html.dark .detail_comment_content {
  flex-grow: 1;
}

html.dark .detail_comment_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

html.dark .detail_comment_username {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-100);
}

html.dark .detail_comment_time {
  font-size: 0.75rem;
  color: var(--gray-500);
}

html.dark .detail_comment_text {
  font-size: 0.875rem;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

html.dark .detail_comment_actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

html.dark .detail_comment_action_btn {
  display: flex;
  align-items: center;
  transition: color 150ms;
}

html.dark .detail_comment_action_btn:hover {
  color: var(--brand);
}

html.dark .detail_comment_action_icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

html.dark .detail_comment_reply_btn {
  transition: color 150ms;
}

html.dark .detail_comment_reply_btn:hover {
  color: var(--brand);
}

html.dark .detail_comment_load_more {
  text-align: center;
  margin-top: 1.5rem;
}

html.dark .detail_comment_load_more_btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: color 150ms;
}

html.dark .detail_comment_load_more_btn:hover {
  color: var(--brand);
}

html.dark .detail_comment_arrow_icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

html.dark .detail_sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  html.dark .detail_sidebar {
    width: 33.333333%;
  }
}

html.dark .detail_sidebar_card {
  background-color: var(--gray-800);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

html.dark .detail_sidebar_title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-700);
  padding-bottom: 0.5rem;
}

html.dark .detail_sidebar_title_indicator {
  width: 0.375rem;
  height: 1rem;
  background-color: var(--brand-deep);
  border-radius: 9999px;
  margin-right: 0.5rem;
}

html.dark .detail_sidebar_title_indicator_blue {
  background-color: var(--blue-400, #60a5fa);
}

html.dark .detail_recent_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html.dark .detail_recent_item {
  display: flex;
}

html.dark .detail_recent_thumbnail {
  width: 5rem;
  height: 3.75rem;
  flex-shrink: 0;
  background-color: var(--gray-700);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

html.dark .detail_recent_info {
  margin-left: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html.dark .detail_recent_title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-200);
  transition: color 150ms;
}

html.dark .detail_recent_item:hover .detail_recent_title {
  color: var(--brand);
}

html.dark .detail_recent_date {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

html.dark .detail_sidebar_ad {
  background-color: var(--gray-800);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

html.dark .detail_ad_link {
  display: block;
  width: 100%;
  height: 16rem;
  background-color: var(--gray-700);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms;
  position: relative;
}

html.dark .detail_ad_link:hover {
  opacity: 0.9;
}

html.dark .detail_ad_text {
  color: var(--gray-500);
  font-weight: 700;
  z-index: 10;
}

html.dark .detail_ad_label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
  border: 1px solid var(--gray-600);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  z-index: 10;
}

html.dark .detail_hot_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

html.dark .detail_hot_tag {
  background-color: var(--gray-700);
  color: var(--gray-300);
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  transition: background-color 150ms, color 150ms;
  border: 1px solid var(--gray-600);
}

html.dark .detail_hot_tag:hover {
  background-color: var(--gray-600);
  color: var(--brand);
}
