/* Slogan bounce keyframes — global so desktop topbar always has them */
@keyframes fs-slogan-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-11px); }
}


:root {
  --fs-nav-w: 236px;
  --fs-bg: #0c0e12;
  --fs-surface: #151920;
  --fs-elevated: #1b212b;
  --fs-line: rgba(255, 255, 255, 0.08);
  --fs-line-gold: rgba(232, 201, 106, 0.28);
  --fs-text: #eef0f4;
  --fs-muted: #9aa3af;
  --fs-accent: #e8c96a;
  --fs-accent-soft: #f7e5a3;
  --fs-accent-deep: #c19549;
  --fs-brand: #e2554a;
  --fs-radius: 10px;
  --fs-content: #f4f5f7;
  --fs-content-text: #1a1d24;
  --fs-max: 1200px;
  --fs-fs-base: 17px;
  --fs-fs-sm: 14px;
  --fs-fs-md: 16px;
  --fs-fs-lg: 20px;
  --fs-fs-xl: 24px;
  --fs-fs-hero: 32px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--fs-fs-base);
  line-height: 1.7;
  color: var(--fs-text);
  background: var(--fs-bg);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--fs-accent-deep); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--fs-max);
  margin: 0 auto;
  padding: 0 16px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ========== Mobile header ========== */
.fs-m-header.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 52px;
  background: var(--fs-surface);
  border-bottom: 1px solid var(--fs-line);
  box-shadow: none;
}

.fs-m-header .header-bar {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 8px;
  justify-content: center;
  position: relative;
}

.fs-m-header .site-logo img {
  height: 28px;
  width: auto;
}

.fs-m-header .logo-text,
.site-logo .logo-text {
  display: none !important;
}

.fs-m-header .site-navbar { display: none; }

.fs-m-header .search-toggle,
.fs-m-header .m-icon-user {
  position: absolute;
  top: 0;
  height: 52px;
  width: 44px;
  border: 0;
  background: transparent;
  color: var(--fs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fs-m-header .search-toggle { right: 44px; }
.fs-m-header .m-icon-user { right: 4px; }

.m-icon-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  height: 52px;
  width: 48px;
  border: 0;
  background: transparent;
  color: var(--fs-accent);
  font-size: 20px;
  cursor: pointer;
}

.m-icon-nav .m-icon-nav-close { display: none; }
body.m-nav-show .m-icon-nav .m-icon-nav-open { display: none; }
body.m-nav-show .m-icon-nav .m-icon-nav-close { display: inline; }

@media (max-width: 900px) {
  .m-icon-nav.fs-m-header { display: block; }
  body { padding-top: 52px; }
}

.m-navbar {
  position: fixed;
  top: 0;
  left: -260px;
  bottom: 0;
  width: 240px;
  z-index: 1002;
  background: var(--fs-surface);
  border-right: 1px solid var(--fs-line);
  overflow-y: auto;
  padding: 56px 0 24px;
  transition: left .25s ease;
}

body.m-nav-show .m-navbar { left: 0; }
body.m-nav-show { overflow: hidden; }

.m-navbar a {
  display: block;
  padding: 12px 20px;
  color: var(--fs-text);
  border-bottom: 1px solid var(--fs-line);
}
.m-navbar .fs-mega-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #c19549;
  background: rgba(193, 149, 73, 0.12);
  vertical-align: middle;
}
.m-navbar .fs-mega-label {
  display: inline;
  vertical-align: middle;
}

.m-navbar .sub-menu { display: none; background: var(--fs-elevated); }
.m-navbar .is-open > .sub-menu { display: block; }
.m-navbar .menu-item-has-children { position: relative; }
.m-navbar .menu-item-has-children > a { cursor: pointer; }
.m-navbar .faa { display: none !important; }
.m-navbar .menu-item-has-children > a:after { content: none !important; display: none !important; }
.m-navbar .sub-menu a {
  padding-left: 36px;
  font-size: 14px;
}
.m-navbar .sub-menu .fs-mega-ico {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.m-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1001;
}
body.m-nav-show .m-mask { display: block; }

#site-search-panel {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--fs-surface);
  border-bottom: 1px solid var(--fs-line);
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
#site-search-panel[hidden] { display: none !important; }
body.search-on #site-search-panel { display: block; }

.site-search-form {
  display: flex;
  gap: 8px;
}
.site-search-form input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: var(--fs-fs-md);
  background: #0e1219;
  color: var(--fs-text);
}
.site-search-form input::placeholder {
  color: var(--fs-muted);
}
.site-search-form button {
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--fs-accent-deep);
  color: #fff;
  cursor: pointer;
  font-size: var(--fs-fs-md);
  font-weight: 600;
}

/* ========== Layout: content + sidebar ========== */
.fs-main {
  padding: 20px 0 40px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
}

.content-panel,
.widget {
  background: var(--fs-surface);
  border-radius: var(--fs-radius);
  border: 1px solid var(--fs-line);
  box-shadow: none;
  color: var(--fs-text);
}

.content-panel { padding: 8px 16px 20px; overflow: visible; }

.page-head {
  padding: 18px 6px 14px;
  border-bottom: 1px solid var(--fs-line);
  margin-bottom: 16px;
}
.page-head__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 6px;
}
.page-head__title-row h1 {
  margin-bottom: 0;
}
.page-head h1 {
  font-size: var(--fs-fs-xl);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.page-head p {
  margin: 0;
  color: var(--fs-muted);
  font-size: var(--fs-fs-sm);
}

/* Breadcrumb after category title */
.fs-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fs-muted);
  font-weight: 400;
}
.fs-breadcrumb a {
  color: var(--fs-muted);
  text-decoration: none;
}
.fs-breadcrumb a:hover {
  color: var(--fs-accent);
}
.fs-breadcrumb__sep {
  color: rgba(154, 163, 175, 0.55);
  font-size: 11px;
  user-select: none;
}
.fs-breadcrumb__current {
  color: var(--fs-accent-soft, #c9b06a);
}

/* ========== Post grid: 6 cards per row ========== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 8px;
  overflow: visible;
}

.post-card {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 0;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-elevated);
  overflow: visible;
  border-bottom: 1px solid var(--fs-line);
  transform-origin: center center;
  transition:
    border-color .28s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform .32s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow .32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.post-card .post-card__thumb {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.post-card .post-card__body {
  position: relative;
  z-index: 1;
  border-radius: 0 0 12px 12px;
  background: inherit;
}
.post-card:hover {
  z-index: 8;
  background: var(--fs-elevated);
  border-color: rgba(193, 149, 73, 0.5);
  transform: translateY(-6px) scale(1.045);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.4),
    0 8px 18px rgba(193, 149, 73, 0.1);
}
.post-card:last-child { border-bottom: 1px solid var(--fs-line); }

/* Sticky — span 2 cols: image left 2/3, title/meta right 1/3 */
.post-card--sticky {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  grid-column: span 2;
  align-items: stretch;
  overflow: hidden;
  /* Keep overall height close to a normal 1-col card */
  aspect-ratio: 2.1 / 1;
  border: 1px solid rgba(232, 201, 106, 0.55);
  background:
    linear-gradient(90deg, rgba(247, 229, 163, 0.06) 0%, transparent 42%),
    var(--fs-elevated);
  box-shadow:
    0 0 0 1px rgba(232, 201, 106, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.12);
}
.post-card--sticky .post-card__thumb {
  grid-column: 1;
  grid-row: 1;
  border-radius: 0;
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
  padding: 10px 8px 10px 10px;
  box-sizing: border-box;
}
.post-card--sticky .post-card__frame {
  height: 100%;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(247, 229, 163, 0.1), transparent 42%),
    #0a0d12;
}
.post-card--sticky .post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}
.post-card--sticky:hover .post-card__thumb img {
  transform: none;
}
.post-card--sticky .post-card__body {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  /* Align with image frame (thumb padding-top 10px) */
  padding: 10px 12px 10px 4px;
  border-radius: 0;
  min-width: 0;
  min-height: 0;
  background: transparent;
  overflow: hidden;
}
.post-card--sticky .post-card__title {
  margin: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: block;
  padding: 11px 12px 11px 13px;
  border-radius: 8px;
  border: 1px solid rgba(232, 201, 106, 0.22);
  background: rgba(18, 20, 28, 0.72);
  box-sizing: border-box;
  overflow: hidden;
  -webkit-line-clamp: unset;
}
.post-card--sticky .post-card__title a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-image: linear-gradient(
    90deg,
    #ff4d4f 0%,
    #ffa940 16%,
    #ffec3d 33%,
    #73d13d 50%,
    #40a9ff 66%,
    #9254de 83%,
    #f759ab 100%,
    #ff4d4f 100%
  );
  background-size: 200% 100%;
  background-repeat: repeat;
  background-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: fs-date-rainbow 2.4s linear infinite;
  transition: filter 0.18s ease;
}
.post-card--sticky .post-card__title a:hover {
  background-image: linear-gradient(
    90deg,
    #ff4d4f 0%,
    #ffa940 16%,
    #ffec3d 33%,
    #73d13d 50%,
    #40a9ff 66%,
    #9254de 83%,
    #f759ab 100%,
    #ff4d4f 100%
  );
  background-color: transparent;
  border: 0;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.12);
}
@media (prefers-reduced-motion: reduce) {
  .post-card--sticky .post-card__title a {
    animation-duration: 6s;
  }
}
.post-card--sticky .post-card__meta {
  margin-top: 8px;
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 2px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
}
.post-card--sticky .post-card__meta .post-card__date {
  flex-shrink: 0;
}
.post-card--sticky .post-card__meta a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(201, 176, 106, 0.88);
}
.post-card--sticky .post-card__meta a:hover {
  color: var(--fs-accent, #e8c96a);
}
.post-card--sticky::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(247, 229, 163, 0.35),
    rgba(232, 201, 106, 0.08) 40%,
    rgba(193, 149, 73, 0.22)
  );
  filter: blur(4px);
  opacity: 0.45;
  transition: opacity .32s ease, filter .32s ease, inset .32s ease;
}
.post-card--sticky::after {
  content: none;
}
.post-card--sticky:hover {
  border-color: rgba(232, 201, 106, 0.8);
  box-shadow:
    0 0 0 1px rgba(232, 201, 106, 0.22),
    0 16px 36px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(193, 149, 73, 0.12);
}
.post-card--sticky:hover::before {
  inset: -4px;
  opacity: 0.7;
  filter: blur(7px);
}
.post-card--sticky:hover .post-card__frame {
  border-color: rgba(232, 201, 106, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(232, 201, 106, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.post-card__thumb {
  display: block;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  padding: 8px 8px 0;
  box-sizing: border-box;
}
.post-card__frame {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 106, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(145deg, rgba(247, 229, 163, 0.12), transparent 42%),
    #0e1219;
}
.post-card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%);
  opacity: 0.85;
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.post-card:hover .post-card__thumb img {
  transform: scale(1.04);
}
.post-card:hover .post-card__frame {
  border-color: rgba(232, 201, 106, 0.65);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(232, 201, 106, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

/* Sticky ribbon — diagonal corner badge */
.post-card__sticky {
  position: absolute;
  top: 14px;
  left: -28px;
  z-index: 3;
  width: 112px;
  padding: 6px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1a1408;
  background: linear-gradient(180deg, #fff4c8 0%, #f7e5a3 28%, #e8c96a 58%, #c19549 100%);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: rotate(-45deg);
  transform-origin: center;
  pointer-events: none;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 14px;
  min-width: 0;
}

.post-card__title {
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  font-weight: 700;
}
.post-card__title a { color: var(--fs-text); }
.post-card__title a:hover { color: var(--fs-accent); }

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--fs-muted);
  margin-top: auto;
}
.post-card__meta a { color: var(--fs-accent); }

/* Sticky date: always "today" + rainbow cycling text */
.post-card__date--shine {
  display: inline-block;
  font-weight: 700;
  background-image: linear-gradient(
    90deg,
    #ff6b6b 0%,
    #fbbf24 16%,
    #34d399 33%,
    #60a5fa 50%,
    #c084fc 66%,
    #fb7185 83%,
    #ff6b6b 100%
  );
  background-size: 200% 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: fs-date-rainbow 2.4s linear infinite;
  will-change: background-position;
}
@keyframes fs-date-rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: -200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card__date--shine {
    animation-duration: 6s;
  }
}

@media (max-width: 1500px) {
  .post-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

  /* Mobile: sticky = normal 1-slot vertical card (keep 置顶角标) */
  .post-card--sticky {
    display: flex;
    flex-direction: column;
    grid-column: span 1;
    grid-template-columns: none;
    grid-template-rows: none;
    aspect-ratio: auto;
    align-items: stretch;
    overflow: visible;
    border: 1px solid rgba(232, 201, 106, 0.48);
    background:
      linear-gradient(165deg, rgba(247, 229, 163, 0.07) 0%, transparent 40%),
      var(--fs-elevated);
    box-shadow:
      0 0 0 1px rgba(232, 201, 106, 0.1),
      0 6px 18px rgba(0, 0, 0, 0.12);
  }
  .post-card--sticky .post-card__thumb {
    grid-column: auto;
    grid-row: auto;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    padding: 8px 8px 0;
  }
  .post-card--sticky .post-card__frame {
    height: 100%;
    border-radius: 8px;
  }
  .post-card--sticky .post-card__thumb img {
    object-fit: cover;
  }
  .post-card--sticky:hover .post-card__thumb img {
    transform: scale(1.04);
  }
  .post-card--sticky .post-card__body {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 14px;
    border-radius: 0 0 12px 12px;
    background: inherit;
    overflow: visible;
  }
  .post-card--sticky .post-card__title {
    flex: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    min-height: 2.9em;
    font-size: 15px;
  }
  .post-card--sticky .post-card__title a {
    display: inline;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
    letter-spacing: normal;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: var(--fs-text) !important;
    -webkit-text-fill-color: var(--fs-text) !important;
    animation: none !important;
    filter: none !important;
    overflow-wrap: normal;
    word-break: normal;
  }
  .post-card--sticky .post-card__title a:hover {
    color: var(--fs-accent) !important;
    -webkit-text-fill-color: var(--fs-accent) !important;
    background: none !important;
    background-image: none !important;
    filter: none !important;
  }
  .post-card--sticky .post-card__meta {
    margin-top: auto;
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    white-space: normal;
    overflow: visible;
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 480px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card__title { font-size: 16px; min-height: 0; }
}

/* ========== Single ========== */
.article-header {
  padding: 28px 30px 14px;
}
.article-title {
  font-size: var(--fs-fs-hero);
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  color: var(--fs-accent);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--fs-muted);
}
.article-meta a { color: var(--fs-accent); }
.fs-edit-post {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(232, 201, 106, 0.45);
  background: rgba(232, 201, 106, 0.12);
  color: var(--fs-accent) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  line-height: 1.4;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.fs-edit-post:hover {
  background: rgba(232, 201, 106, 0.22);
  border-color: rgba(232, 201, 106, 0.75);
  color: #f7e5a3 !important;
}

.article-content {
  padding: 10px 30px 32px;
  font-size: 18px;
  line-height: 1.9;
  word-break: break-word;
  font-weight: 400;
}
.article-content h2,
.article-content h3 {
  margin: 1.4em 0 .6em;
  color: var(--fs-accent);
  font-weight: 700;
}
.article-content h2 { font-size: 1.35em; }
.article-content h3 { font-size: 1.18em; }
.article-content p,
.article-content li,
.article-content td {
  font-weight: 400;
}
.article-content p { margin: 0 0 1em; }
/* Body copy stays regular (editor often wraps whole blocks in strong) */
.article-content > *,
.article-content p,
.article-content p strong,
.article-content p b,
.article-content li strong,
.article-content li b {
  font-weight: 400;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  font-weight: 700;
}
.article-content ul,
.article-content ol {
  margin: 0 0 1em 1.2em;
  list-style: disc;
}
.article-content a {
  color: var(--fs-accent-deep);
  text-decoration: underline;
}

/* External / store / cloud — button chips */
.article-content a.fs-ext-link,
.article-content a.fs-store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(100%, 340px);
  margin: 6px 0;
  padding: 10px 16px 10px 12px;
  vertical-align: middle;
  text-decoration: none !important;
  border-radius: 12px;
  border: 1px solid transparent;
  box-sizing: border-box;
  color: #fff !important;
  line-height: 1.25;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}
.article-content a.fs-ext-link:hover,
.article-content a.fs-store-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  text-decoration: none !important;
}
.fs-ext-link__icon,
.fs-store-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
}
.fs-ext-link__svg,
.fs-store-link__svg { display: block; }
.fs-ext-link__body,
.fs-store-link__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.fs-ext-link__title,
.fs-store-link__title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.fs-ext-link__desc,
.fs-store-link__desc {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-content a.fs-ext-link--ios,
.article-content a.fs-store-link--ios {
  background: linear-gradient(180deg, #5aa8ff 0%, #1e6fff 55%, #1357d6 100%);
  border-color: rgba(90, 168, 255, 0.45);
  box-shadow: 0 8px 18px rgba(30, 111, 255, 0.28);
}
.article-content a.fs-ext-link--android,
.article-content a.fs-store-link--android {
  background: linear-gradient(180deg, #6ad576 0%, #34a853 55%, #2a8f45 100%);
  border-color: rgba(106, 213, 118, 0.4);
  box-shadow: 0 8px 18px rgba(52, 168, 83, 0.28);
}
.article-content a.fs-ext-link--cloud,
.article-content a.fs-ext-link--file {
  color: #1a1408 !important;
  background: linear-gradient(180deg, #f7e5a3 0%, #e8c96a 48%, #c19549 100%);
  border-color: rgba(247, 229, 163, 0.55);
  box-shadow: 0 8px 18px rgba(193, 149, 73, 0.28);
}
.article-content a.fs-ext-link--cloud .fs-ext-link__icon,
.article-content a.fs-ext-link--file .fs-ext-link__icon {
  background: rgba(26, 20, 8, 0.12);
  color: #1a1408;
}
.article-content a.fs-ext-link--web {
  background: linear-gradient(180deg, #3a4454 0%, #252b36 55%, #1a1f28 100%);
  border-color: rgba(232, 201, 106, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  color: #f0e6c8 !important;
}
.article-content a.fs-ext-link--web .fs-ext-link__icon {
  background: rgba(232, 201, 106, 0.16);
  color: #e8c96a;
}

.article-content img {
  margin: 1em auto;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .article-header { padding: 18px 16px 10px; }
  .article-title { font-size: 24px; }
  .article-content { padding: 8px 16px 22px; font-size: 16px; }
}

/* TB Member download — taller two-zone panel + motion */
.article-content .tbm-tbdown {
  clear: both;
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "icon name action"
    "icon info action";
  column-gap: 20px;
  row-gap: 14px;
  align-items: center;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 100%;
  margin: 32px 0 !important;
  padding: 0 !important;
  min-height: 132px;
  border-radius: 18px !important;
  border: 1px solid rgba(232, 201, 106, 0.32) !important;
  background:
    radial-gradient(ellipse 70% 140% at 8% 50%, rgba(232, 201, 106, 0.12), transparent 52%),
    radial-gradient(ellipse 50% 100% at 100% 0%, rgba(232, 201, 106, 0.06), transparent 45%),
    linear-gradient(180deg, #1e2430 0%, #12161e 100%) !important;
  color: var(--fs-text, #eef0f4) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  text-align: left !important;
  animation: fs-dl-rise 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.article-content .tbm-tbdown::before {
  content: none !important;
  display: none !important;
}
.article-content .tbm-tbdown::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 55%;
  height: 180%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.045) 45%,
    transparent 70%
  );
  transform: translateX(-60%) skewX(-18deg);
  animation: fs-dl-sheen 5.5s ease-in-out infinite;
}
@keyframes fs-dl-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fs-dl-sheen {
  0%, 55% { transform: translateX(-70%) skewX(-18deg); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}
@keyframes fs-dl-pulse {
  0%, 100% { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 22px rgba(193, 149, 73, 0.28); }
  50% { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 12px 28px rgba(193, 149, 73, 0.42); }
}
.article-content .tbm-tbdown #download {
  position: absolute !important;
  top: -160px !important;
  left: 0 !important;
}
.article-content .tbm-tbdown .-icon {
  grid-area: icon;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0 0 0 28px !important;
  width: 58px !important;
  height: 58px !important;
  line-height: 1 !important;
  font-size: 24px !important;
  border-radius: 14px !important;
  color: #e8c96a !important;
  background: rgba(232, 201, 106, 0.11) !important;
  border: 1px solid rgba(232, 201, 106, 0.36);
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.article-content .tbm-tbdown:hover .-icon {
  transform: scale(1.04);
  border-color: rgba(247, 229, 163, 0.55);
}
.article-content .tbm-tbdown .-name {
  grid-area: name;
  margin: 28px 12px 0 0 !important;
  min-width: 0;
  padding-right: 8px;
  font-size: 20px !important;
  font-weight: 750 !important;
  line-height: 1.45;
  color: #f5ebc8 !important;
  letter-spacing: 0.015em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.article-content .tbm-tbdown .-info {
  grid-area: info;
  margin: 0 12px 28px 0 !important;
  min-width: 0;
  padding-right: 8px;
  font-size: 13px !important;
  line-height: 1.4;
  color: #9aa3af !important;
}
.article-content .tbm-tbdown .-type,
.article-content .tbm-tbdown .-money {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin: 0 8px 0 0 !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(232, 201, 106, 0.38) !important;
  background: rgba(232, 201, 106, 0.12) !important;
  color: #e8c96a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  line-height: 1.3;
}
.article-content .tbm-tbdown .-code {
  color: #c8ced8 !important;
}
.article-content .tbm-tbdown .-action {
  grid-area: action;
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px !important;
  align-self: stretch;
  margin: 0 !important;
  padding: 28px 28px !important;
  min-width: 240px;
  visibility: visible !important;
  background:
    linear-gradient(180deg, rgba(232, 201, 106, 0.09) 0%, rgba(232, 201, 106, 0.03) 100%),
    rgba(8, 10, 14, 0.4);
  border-left: 1px solid rgba(232, 201, 106, 0.16);
}
.article-content .tbm-tbdown .-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  visibility: visible !important;
  margin: 0 !important;
  min-height: 62px;
  padding: 18px 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(247, 229, 163, 0.75) !important;
  background: linear-gradient(180deg, #fff0b8 0%, #e8c96a 45%, #c19549 100%) !important;
  color: #1a1408 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 22px rgba(193, 149, 73, 0.28);
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
  animation: fs-dl-pulse 2.8s ease-in-out infinite;
}
.article-content .tbm-tbdown .-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 16px 32px rgba(193, 149, 73, 0.4);
  opacity: 1 !important;
  animation: none;
}
.article-content .tbm-tbdown .-btn.-vip {
  background: linear-gradient(180deg, #fff0b8 0%, #e8c96a 45%, #c19549 100%) !important;
  color: #1a1408 !important;
}
.article-content .tbm-tbdown a {
  text-decoration: none !important;
}

@media (max-width: 720px) {
  .article-content .tbm-tbdown {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon name"
      "icon info"
      "action action";
    row-gap: 10px;
    min-height: 0;
  }
  .article-content .tbm-tbdown .-icon {
    margin: 22px 0 0 18px !important;
    width: 50px !important;
    height: 50px !important;
  }
  .article-content .tbm-tbdown .-name {
    margin: 22px 16px 0 0 !important;
    font-size: 17px !important;
  }
  .article-content .tbm-tbdown .-info {
    margin: 0 16px 6px 0 !important;
  }
  .article-content .tbm-tbdown .-action {
    border-left: 0;
    border-top: 1px solid rgba(232, 201, 106, 0.16);
    min-width: 0;
    padding: 16px 18px 18px !important;
  }
  .article-content .tbm-tbdown .-btn {
    width: 100%;
    min-height: 54px;
    padding: 15px 22px !important;
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-content .tbm-tbdown,
  .article-content .tbm-tbdown::after,
  .article-content .tbm-tbdown .-btn {
    animation: none !important;
  }
}

/* ========== Single: prev/next + related ========== */
.fs-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 28px 0 8px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--fs-line);
}
.fs-post-nav__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fs-post-nav__item--next {
  text-align: right;
  align-items: flex-end;
}
.fs-post-nav__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fs-accent);
}
.fs-post-nav__link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fs-text);
  text-decoration: none;
  word-break: break-word;
}
.fs-post-nav__link:hover {
  color: var(--fs-accent);
}

.fs-related {
  margin: 20px 0 8px;
  padding-top: 8px;
}
.fs-related__head {
  margin-bottom: 14px !important;
}
.fs-related__grid {
  padding-bottom: 4px;
}

@media (max-width: 700px) {
  .fs-post-nav {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fs-post-nav__item--next {
    text-align: left;
    align-items: flex-start;
  }
}

/* ========== Sidebar ========== */
.sidebar .widget {
  margin-bottom: 0;
  padding: 0;
}
.widget-title {
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fs-line);
  color: var(--fs-text);
}
.widget ul li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--fs-line);
  font-size: 15px;
  line-height: 1.55;
}
.widget ul li:last-child { border-bottom: 0; }

/* ========== Pagination ========== */
.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 22px;
}
.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--fs-elevated);
  border: 1px solid var(--fs-line);
  color: var(--fs-text);
  font-size: 15px;
}
.pagination .current,
.nav-links .current {
  background: var(--fs-accent-deep);
  border-color: var(--fs-accent-deep);
  color: #fff;
}

/* ========== Footer (xw996-style panel) ========== */
.site-footer {
  margin-top: 8px;
  padding: 8px 0 28px;
  text-align: center;
  color: var(--fs-muted);
  font-size: 14px;
  line-height: 1.75;
  border-top: none;
  background: transparent;
}

.fs-footer-inner {
  width: 100%;
  max-width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 0 4px;
  box-sizing: border-box;
}

.fs-flinks {
  margin: 0 0 16px;
  padding: 14px 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 201, 106, 0.22);
  border-radius: 8px;
}
.fs-flinks__group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0;
  line-height: 1.9;
}
.fs-flinks__label {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e8c96a;
  white-space: nowrap;
}
.fs-flinks__label::after {
  content: "：";
  color: #e8c96a;
}
.fs-flinks ul,
.fs-flinks ul.xoxo,
.fs-flinks ul.blogroll {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fs-flinks li { display: inline; margin: 0; padding: 0; }
.fs-flinks li:not(:last-child)::after {
  content: "·";
  margin: 0 8px;
  color: rgba(232, 201, 106, 0.4);
  font-weight: 700;
  pointer-events: none;
}
.fs-flinks li a {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  color: rgba(168, 168, 168, 0.95);
  background: none;
  text-decoration: none;
}
.fs-flinks li a:hover {
  color: #f7e5a3;
  background: none;
}

.fs-footer-panel {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 201, 106, 0.22);
  border-radius: 8px;
  text-align: center;
}
.fs-footer-panel__body { padding: 20px 28px 14px; }

.fs-copy-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.fs-copy-icon {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(to right, #c19549, #f7e5a3, #e8c96a, #f7e5a3, #c19549);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.fs-copy-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e8c96a;
}
.fs-copy-main {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: rgba(220, 220, 220, 0.88);
}
.fs-copy-main a {
  color: #e8c96a;
  text-decoration: none;
  border-bottom: 1px dashed rgba(232, 201, 106, 0.4);
  font-weight: 600;
}
.fs-copy-main a:hover {
  color: #f7e5a3;
  border-bottom-color: #f7e5a3;
}
.fs-copy-notice {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(168, 168, 168, 0.9);
}

.fs-copy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 12px 28px 18px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(168, 168, 168, 0.92);
  text-align: center;
}
.fs-copy-meta__item,
.fs-copy-meta__seo,
.fs-copy-meta__seo a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(168, 168, 168, 0.92);
  text-decoration: none;
  font-weight: 400;
}
.fs-copy-meta__seo {
  position: relative;
  margin-left: 18px;
  padding-left: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.fs-copy-meta__seo::before,
.fs-copy-meta__gongan::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(232, 201, 106, 0.45);
  font-weight: 700;
}
.fs-copy-meta__gongan {
  position: relative;
  margin-left: 18px;
  padding-left: 18px;
}
.fs-copy-meta a:hover { color: #e8c96a; }
.fs-copy-meta__seo script { display: none !important; }
.fs-gongan {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .site-footer { padding: 8px 0 22px; }
  .fs-footer-inner { max-width: calc(100vw - 24px); }
  .fs-flinks {
    padding: 12px 14px;
    text-align: center;
  }
  .fs-flinks__group { justify-content: center; }
  .fs-flinks__label {
    width: 100%;
    justify-content: center;
    margin: 0 0 2px;
  }
  .fs-footer-panel__body { padding: 18px 16px 12px; }
  .fs-copy-meta { padding: 10px 14px 16px; }
  .fs-copy-meta__seo,
  .fs-copy-meta__gongan {
    margin-left: 12px;
    padding-left: 12px;
  }
}

/* Desktop workspace top search */
@media (min-width: 901px) {
  body {
    padding-top: 0;
    background: var(--fs-bg);
    color: var(--fs-text);
  }
  .fs-main { padding: 12px 0 40px; }
  .content-panel,
  .sidebar .widget {
    background: var(--fs-surface);
    color: var(--fs-text);
    border: 1px solid var(--fs-line);
    box-shadow: none;
  }
  .page-head {
    border-bottom-color: var(--fs-line);
  }
  .page-head h1 {
    font-size: 22px;
  }
  .page-head p,
  .article-meta { color: var(--fs-muted); }
  .article-title,
  .article-content h2,
  .article-content h3 {
    color: var(--fs-accent) !important;
  }
  .post-grid {
    gap: 14px;
  }
  .post-card {
    background: var(--fs-elevated);
    border-color: var(--fs-line);
  }
  .post-card .post-card__body {
    background: var(--fs-elevated);
  }
  .post-card:hover {
    background: var(--fs-elevated);
    border-color: var(--fs-line-gold);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.4),
      0 8px 20px rgba(193, 149, 73, 0.1);
  }
  .post-card--sticky {
    background:
      linear-gradient(165deg, rgba(247, 229, 163, 0.07) 0%, transparent 40%),
      var(--fs-elevated);
    border-color: rgba(232, 201, 106, 0.48);
    box-shadow:
      0 0 0 1px rgba(232, 201, 106, 0.1),
      0 8px 20px rgba(0, 0, 0, 0.28);
  }
  .post-card--sticky .post-card__body {
    background: transparent;
  }
  .post-card--sticky:hover {
    background:
      linear-gradient(165deg, rgba(247, 229, 163, 0.1) 0%, transparent 42%),
      var(--fs-elevated);
    border-color: rgba(232, 201, 106, 0.75);
    box-shadow:
      0 0 0 1px rgba(232, 201, 106, 0.2),
      0 18px 40px rgba(0, 0, 0, 0.42),
      0 8px 22px rgba(193, 149, 73, 0.14);
  }
  .post-card__thumb {
    background: transparent;
  }
  .post-card__frame {
    border-color: rgba(232, 201, 106, 0.32);
    background:
      linear-gradient(145deg, rgba(247, 229, 163, 0.1), transparent 42%),
      #0e1219;
  }
  .post-card__title {
    font-size: 16px;
  }
  .post-card__title a {
    color: var(--fs-text);
  }
  .post-card__meta {
    font-size: 12px;
    color: var(--fs-muted);
  }
  .post-card__meta a {
    color: var(--fs-accent);
  }
  .post-card__title a:hover,
  .article-meta a,
  .article-content a { color: var(--fs-accent); }
  .article-content a.fs-ext-link,
  .article-content a.fs-ext-link:hover,
  .article-content a.fs-store-link,
  .article-content a.fs-store-link:hover {
    color: #fff !important;
  }
  .article-content a.fs-ext-link--cloud,
  .article-content a.fs-ext-link--cloud:hover,
  .article-content a.fs-ext-link--file,
  .article-content a.fs-ext-link--file:hover {
    color: #1a1408 !important;
  }
  .article-content a.fs-ext-link--web,
  .article-content a.fs-ext-link--web:hover {
    color: #f0e6c8 !important;
  }
  .widget-title {
    font-size: 18px;
    color: var(--fs-text);
    border-bottom-color: var(--fs-line);
  }
  .widget ul li {
    font-size: 15px;
    border-bottom-color: var(--fs-line);
  }
  .pagination a,
  .pagination span,
  .nav-links a,
  .nav-links span {
    background: var(--fs-elevated);
    border-color: var(--fs-line);
    color: var(--fs-text);
  }
  .site-footer { color: var(--fs-muted); }

  .fs-tagslist li {
    background: var(--fs-elevated);
    border-color: var(--fs-line);
  }
  .fs-tagslist li:hover {
    border-color: var(--fs-line-gold);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }
  .fs-tagslist li .name {
    background: rgba(255, 255, 255, 0.06);
    color: var(--fs-text);
  }
  .fs-tagslist li:hover .name {
    background: linear-gradient(180deg, #f7e5a3 0%, #e8c96a 50%, #c19549 100%);
    color: #1a1408;
  }
  .fs-tagslist li small,
  .fs-tagslist li .tit { color: var(--fs-muted); }
  .fs-tagslist li .tit:hover { color: var(--fs-accent-soft); }

  .fs-archives .item { border-bottom-color: var(--fs-line); }
  .fs-archives h3 { color: var(--fs-accent-soft); }
  .fs-archives .archives-list time,
  .fs-archives .archives-list .text-muted,
  .fs-archives h3 small { color: var(--fs-muted); }
  .fs-archives .archives-list a { color: var(--fs-text); }
  .fs-archives .archives-list a:hover { color: var(--fs-accent-soft); }
  .fs-empty { color: var(--fs-muted); }

  .fs-workspace-top {
    display: block;
    padding: 0 20px 12px;
  }
}

/* ========== Tag cloud page ========== */
.fs-tagslist ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
}
.fs-tagslist li {
  padding: 14px;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: var(--fs-elevated);
  transition: border-color .15s ease, transform .2s ease, box-shadow .2s ease;
}
.fs-tagslist li:hover {
  border-color: var(--fs-line-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.fs-tagslist li .name {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: var(--fs-text);
}
.fs-tagslist li:hover .name {
  background: linear-gradient(180deg, #f7e5a3 0%, #e8c96a 50%, #c19549 100%);
  color: #1a1408;
}
.fs-tagslist li small {
  margin-left: 8px;
  color: var(--fs-muted);
  font-size: 13px;
}
.fs-tagslist li p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fs-tagslist li .tit { color: var(--fs-muted); }
.fs-tagslist li .tit:hover { color: var(--fs-accent-soft); }

/* ========== Archives page ========== */
.fs-archives .item {
  overflow: hidden;
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fs-line);
}
.fs-archives h3 {
  float: left;
  width: 110px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fs-accent-soft);
}
.fs-archives h3 small {
  font-weight: 500;
  color: var(--fs-muted);
}
.fs-archives .archives-list {
  margin: 0 0 12px 130px;
  padding: 0 0 0 18px;
  list-style: disc;
}
.fs-archives .archives-list li {
  margin: 0 0 6px;
  line-height: 1.55;
  font-size: 15px;
  color: var(--fs-text);
}
.fs-archives .archives-list time {
  display: inline-block;
  width: 42px;
  color: var(--fs-muted);
  font-size: 13px;
}
.fs-archives .archives-list a { color: var(--fs-text); }
.fs-archives .archives-list a:hover { color: var(--fs-accent-soft); }
.fs-archives .archives-list .text-muted {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  color: var(--fs-muted);
}
.fs-page-intro { margin-bottom: 18px; }
.fs-empty {
  padding: 40px 12px;
  text-align: center;
  color: var(--fs-muted);
}

@media (max-width: 1100px) {
  .fs-tagslist ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .fs-tagslist ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fs-archives h3 {
    float: none;
    width: auto;
  }
  .fs-archives .archives-list {
    margin-left: 0;
    padding-left: 18px;
  }
}
@media (max-width: 480px) {
  .fs-tagslist ul { grid-template-columns: 1fr; }
}

.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: #888;
}
