:root {
  --bg: #f6f8ff;
  --bg-accent: radial-gradient(circle at top left, rgba(255, 117, 181, 0.16), transparent 28%), radial-gradient(circle at top right, rgba(79, 195, 247, 0.16), transparent 32%), linear-gradient(180deg, #f9fbff 0%, #f5f7ff 100%);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --panel-soft: #f4f7ff;
  --line: rgba(25, 40, 72, 0.09);
  --line-strong: rgba(25, 40, 72, 0.14);
  --text: #1f2a44;
  --text-soft: #64748b;
  --text-faint: #94a3b8;
  --primary: #3dc7d8;
  --primary-strong: #2ea4ff;
  --accent: #ff6699;
  --orange: #ff9b3d;
  --success: #23bf7e;
  --shadow: 0 18px 50px rgba(41, 63, 116, 0.08);
  --shadow-soft: 0 8px 24px rgba(41, 63, 116, 0.06);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

html[data-theme="dark"] {
  --bg: #0f1424;
  --bg-accent: radial-gradient(circle at top left, rgba(255, 94, 157, 0.15), transparent 24%), radial-gradient(circle at top right, rgba(57, 176, 255, 0.18), transparent 28%), linear-gradient(180deg, #11182b 0%, #0d1323 100%);
  --panel: rgba(19, 27, 47, 0.9);
  --panel-solid: #141d33;
  --panel-soft: #1a2743;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #eff4ff;
  --text-soft: #9fb0cf;
  --text-faint: #6f82a5;
  --primary: #47d8dc;
  --primary-strong: #47a5ff;
  --accent: #ff78aa;
  --orange: #ffae55;
  --success: #26c782;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.24);
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body.theme-zibll {
  background: var(--bg-accent);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.zibll-container {
  width: min(calc(100% - 60px), var(--container));
  margin: 0 auto;
}

.zibll-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(255, 248, 252, 0.92), rgba(245, 251, 255, 0.92));
  border-bottom: 1px solid rgba(146, 167, 207, 0.18);
}

html[data-theme="dark"] .zibll-topbar {
  background: rgba(12, 19, 34, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.zibll-topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
}

.zibll-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.zibll-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
}

.zibll-mobile-toggle span::before,
.zibll-mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.zibll-mobile-toggle span::before { top: -6px; }
.zibll-mobile-toggle span::after { top: 6px; }

.zibll-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.zibll-brand__emblem {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #26c24a, #18a34a);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  box-shadow: var(--shadow-soft);
}

.zibll-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.zibll-brand__text strong {
  font-size: 17px;
  font-weight: 900;
  color: #151c2d;
  letter-spacing: .01em;
}

.zibll-brand__text small {
  font-size: 10px;
  color: #90a0ba;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.zibll-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.zibll-mobile-drawer {
  display: none;
}

.zibll-mobile-board {
  display: none;
}

.zibll-nav__mobile-head,
.zibll-nav__mobile-tools,
.zibll-nav__mobile-grid,
.zibll-nav__mobile-member,
.zibll-nav__mobile-auth,
.zibll-nav__mobile-social-title,
.zibll-nav__mobile-socials {
  display: none;
}

.zibll-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  font-weight: 800;
  color: #34415a;
  line-height: 1.1;
  letter-spacing: -.02em;
  transition: color .2s ease;
}

.zibll-nav__item:nth-child(2)::after,
.zibll-nav__item:nth-child(3)::after,
.zibll-nav__item:nth-child(4)::after {
  margin-left: 6px;
  min-width: 32px;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  color: #fff;
  box-shadow: 0 4px 8px rgba(156, 173, 208, 0.16);
  transform: translateY(-6px);
}

.zibll-nav__item:nth-child(2)::after {
  content: '优惠';
  background: linear-gradient(135deg, #ff9558, #ffb454);
}

.zibll-nav__item:nth-child(3)::after {
  content: 'NEW';
  background: linear-gradient(135deg, #2cc7f3, #41db7b);
}

.zibll-nav__item:nth-child(4)::after {
  content: 'NEW';
  background: linear-gradient(135deg, #ff6f9f, #ff8f8f);
}

.zibll-nav__item:hover,
.zibll-nav__item.is-active {
  color: var(--accent);
}

.zibll-nav__label {
  display: inline-block;
  line-height: 1.05;
  transform: translateY(1px);
}

.zibll-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}

.zibll-nav__badge--orange {
  background: linear-gradient(135deg, #ff9852, #ffb25a);
}

.zibll-nav__badge--cyan {
  background: linear-gradient(135deg, #27c7f5, #46de7e);
}

.zibll-nav__badge--pink {
  background: linear-gradient(135deg, #ff6ea4, #ff8e8e);
}

.zibll-nav__arrow {
  font-size: 12px;
  color: var(--text-faint);
}

.zibll-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.zibll-search-mini {
  margin: 0;
}

.zibll-topbar__divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.zibll-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,247,255,0.98));
  color: #75839b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 8px 16px rgba(184, 195, 223, 0.18);
  font-size: 0;
  transition: transform .16s ease, box-shadow .16s ease, color .16s ease;
}

.zibll-icon-btn:hover {
  transform: translateY(-1px);
  color: #4f5f78;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 20px rgba(184, 195, 223, 0.24);
}

.zibll-ico {
  position: relative;
  display: inline-block;
}

.zibll-ico--search {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.zibll-ico--search::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.zibll-ico--clock {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.zibll-ico--clock::before,
.zibll-ico--clock::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 999px;
  transform-origin: bottom center;
}

.zibll-ico--clock::before {
  width: 2px;
  height: 5px;
  transform: translate(-50%, -100%);
}

.zibll-ico--clock::after {
  width: 5px;
  height: 2px;
  transform: translate(0, -50%);
}

.zibll-ico--moon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -4px 0 0 0 #f7f9ff;
}

.zibll-ico--pen {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transform: rotate(-45deg);
}

.zibll-ico--crown {
  width: 14px;
  height: 10px;
  border-bottom: 2px solid currentColor;
}

.zibll-ico--crown::before,
.zibll-ico--crown::after {
  content: '';
  position: absolute;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.zibll-ico--crown::before {
  left: 0;
}

.zibll-ico--crown::after {
  right: 0;
}

.zibll-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 9px 18px rgba(160, 178, 215, 0.22);
}

.zibll-action-btn--publish {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.zibll-action-btn--vip {
  background: linear-gradient(135deg, #2b2d33, #52555f);
}

.zibll-mobile-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 16, 28, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

html.zibll-mobile-open .zibll-mobile-mask {
  opacity: 1;
  visibility: visible;
}

.zibll-page {
  padding: 18px 0 46px;
}

.zibll-layout {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 268px;
  gap: 14px;
  align-items: start;
}

.zibll-layout--article {
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 12px;
}

.zibll-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.zibll-left {
  position: sticky;
  top: 110px;
}

.zibll-left__panel {
  padding: 14px 10px;
}

.zibll-left__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zibll-left__menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 16px;
  background: rgba(243, 246, 255, 0.92);
  color: #111111;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.zibll-left__menu a span:first-child:not(:last-child) {
  display: none;
}

.zibll-left__menu a.is-active,
.zibll-left__menu a:hover {
  color: var(--accent);
  background: linear-gradient(135deg, rgba(255, 82, 141, 0.10), rgba(94, 178, 255, 0.09));
}

.zibll-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zibll-widget {
  padding: 18px 18px 14px;
}

.zibll-widget h3 {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.2;
}

.zibll-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zibll-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(255, 126, 182, 0.12), rgba(93, 174, 255, 0.16));
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
}

.zibll-banner__icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.zibll-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 14px;
}

.zibll-board-head__meta h1 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.zibll-board-head__meta p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.zibll-searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  max-width: 560px;
}

.zibll-searchbar input {
  flex: 1 1 auto;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--text);
  font-size: 13px;
}

.zibll-searchbar button {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.zibll-board-head__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.zibll-stat {
  padding: 10px;
  border-radius: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.zibll-stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.zibll-stat span {
  color: var(--text-soft);
  font-size: 13px;
}

.zibll-feed {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.zibll-post {
  padding: 14px 15px;
}

.zibll-post__head {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.zibll-post__avatar {
  flex: 0 0 46px;
}

.zibll-post__avatar img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  background: var(--panel-soft);
}

.zibll-post__authorbox {
  min-width: 0;
  flex: 1 1 auto;
}

.zibll-post__author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.zibll-post__author strong {
  font-size: 13px;
  line-height: 1.2;
}

.zibll-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.zibll-badge--blue { background: linear-gradient(135deg, #4ea6ff, #6b80ff); }
.zibll-badge--green { background: linear-gradient(135deg, #32d49f, #23c8d2); }
.zibll-badge--violet { background: linear-gradient(135deg, #7d6cff, #b38cff); }
.zibll-badge--pink { background: linear-gradient(135deg, #ff6da8, #ff8d78); }
.zibll-badge--orange { background: linear-gradient(135deg, #ff9f43, #ffc053); }

.zibll-post__submeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--text-soft);
  font-size: 10px;
}

.zibll-post__actions {
  display: flex;
  gap: 6px;
}

.zibll-post__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 58px;
  height: 28px;
  padding: 0 9px;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 800;
  background: #f3f7ff;
  color: var(--primary-strong);
}

.zibll-post__action--follow {
  color: var(--accent);
  background: #fff1f6;
}

.zibll-post__body {
  margin-left: 54px;
  margin-top: 6px;
}

.zibll-post__title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.zibll-post__title a:hover {
  color: var(--primary-strong);
}

.zibll-post__excerpt {
  margin: 0 0 9px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zibll-post__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.zibll-post__gallery img,
.zibll-post__hero img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--panel-soft);
}

.zibll-post__hero {
  position: relative;
  margin-bottom: 8px;
}

.zibll-post__hero img {
  height: 156px;
}

.zibll-post__hero-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-width: 38px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(19, 25, 38, 0.74);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}

.zibll-post__tags {
  display: none;
}

.zibll-post__tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
}

.zibll-post__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-left: 54px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.zibll-post__footer-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.zibll-board-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
}

.zibll-post__footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
}

.zibll-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-soft);
  font-size: 10px;
}

.zibll-meta i {
  font-style: normal;
  color: var(--text-faint);
}

.zibll-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zibll-logincard {
  overflow: hidden;
}

.zibll-logincard__cover {
  height: 118px;
  background: linear-gradient(135deg, rgba(255, 111, 152, 0.45), rgba(70, 175, 255, 0.4)), url("../img/login_top_bg.png") center/cover no-repeat;
}

.zibll-logincard__body {
  padding: 0 16px 16px;
  text-align: center;
  margin-top: -32px;
}

.zibll-logincard__avatar {
  width: 66px;
  height: 66px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  background: var(--panel-solid);
}

.zibll-logincard__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.zibll-logincard h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.zibll-logincard p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.75;
}

.zibll-logincard__buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.zibll-logincard__buttons a {
  flex: 1 1 0;
  min-height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.zibll-logincard__buttons .is-login { background: linear-gradient(135deg, #3f98ff, #37c9f1); }
.zibll-logincard__buttons .is-register { background: linear-gradient(135deg, #ff9f43, #ff7a4e); }

.zibll-socials {
  display: none;
}

.zibll-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.zibll-socials a:nth-child(1) { background: #1da1f2; }
.zibll-socials a:nth-child(2) { background: #2ebd59; }
.zibll-socials a:nth-child(3) { background: #5f87ff; }
.zibll-socials a:nth-child(4) { background: #1f7cff; }
.zibll-socials a:nth-child(5) { background: #3c3c43; }

.zibll-logincard__social-title {
  display: none;
}

.zibll-logincard__social-title::before,
.zibll-logincard__social-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 52px);
  height: 1px;
  background: var(--line);
}

.zibll-logincard__social-title::before {
  left: 0;
}

.zibll-logincard__social-title::after {
  right: 0;
}

.zibll-widget {
  padding: 14px 16px;
}

.zibll-widget h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #2b3347;
}

.zibll-links {
  display: flex;
  flex-direction: column;
}

.zibll-links a {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 36px;
  padding: 0 2px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.zibll-links a:first-child { border-top: 0; }

.zibll-links a span {
  display: none;
}

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

.zibll-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
}

.zibll-rightlist {
  display: flex;
  flex-direction: column;
}

.zibll-rightlist a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.zibll-rightlist a:first-child { border-top: 0; }

.zibll-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 2px;
}

.zibll-pagination a,
.zibll-pagination b,
.zibll-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
}

.zibll-pagination b {
  background: var(--panel-solid);
  border: 1px solid var(--line-strong);
  color: var(--primary-strong);
  box-shadow: var(--shadow-soft);
}

.zibll-pagination span {
  min-width: 14px;
  padding: 0;
  color: var(--text-faint);
}

.zibll-pagination a:hover {
  color: var(--primary-strong);
}

.zibll-article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zibll-postview {
  padding: 18px 20px;
}

.zibll-postview__crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 700;
}

.zibll-postview__header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.zibll-postview__header-main {
  min-width: 0;
}

.zibll-postview__header h1 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.25;
}

.zibll-postview__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zibll-postview__author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.zibll-postview__author strong {
  display: block;
  font-size: 16px;
}

.zibll-postview__author p {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.zibll-postview__actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.zibll-postview__body {
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

.zibll-postview__body img {
  border-radius: 16px;
}

.zibll-postview__body,
.zibll-postview__body p,
.zibll-postview__body div,
.zibll-postview__body span,
.zibll-postview__body li,
.zibll-postview__body td,
.zibll-postview__body th,
.zibll-postview__body blockquote,
.zibll-postview__body h1,
.zibll-postview__body h2,
.zibll-postview__body h3,
.zibll-postview__body h4,
.zibll-postview__body h5,
.zibll-postview__body h6,
.zibll-postview__body strong {
  color: var(--text) !important;
}

.zibll-postview__body a {
  color: var(--primary-strong) !important;
}

.zibll-postview__body input,
.zibll-postview__body button,
.zibll-postview__body textarea,
.zibll-postview__body select {
  color: var(--text) !important;
}

.zibll-postview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.zibll-thread-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.zibll-thread-tools a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
}

.zibll-thread-tools a.is-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.zibll-commentbox {
  padding: 18px 20px;
}

.zibll-commentbox h3,
.zibll-sidecard h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.zibll-comment-form textarea {
  width: 100%;
  min-height: 112px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  color: var(--text);
  font-size: 14px;
  resize: vertical;
}

.zibll-comment-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.zibll-comment-form button {
  min-width: 100px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.zibll-commentlist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.zibll-comment {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.zibll-comment:first-child {
  border-top: 0;
  padding-top: 0;
}

.zibll-comment__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.zibll-comment__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zibll-comment__author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.zibll-comment__author strong {
  display: block;
  font-size: 14px;
}

.zibll-comment__author span {
  display: block;
  color: var(--text-faint);
  font-size: 12px;
}

.zibll-comment__content {
  color: var(--text-soft);
  font-size: 14px;
}

.zibll-empty {
  color: var(--text-faint);
  font-size: 14px;
}

.zibll-sidecard {
  padding: 14px 16px;
}

.zibll-authorpanel {
  overflow: hidden;
}

.zibll-authorpanel__cover {
  height: 108px;
  margin: -14px -16px 0;
  background: linear-gradient(135deg, rgba(255, 105, 169, 0.42), rgba(68, 175, 255, 0.46)), url("../img/bg-0.png") center/cover no-repeat;
}

.zibll-authorpanel__inner {
  margin-top: -32px;
  text-align: center;
}

.zibll-authorpanel__avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.92);
  background: var(--panel-solid);
}

.zibll-authorpanel__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.zibll-authorpanel__inner h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.zibll-authorpanel__inner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.zibll-authorstats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.zibll-authorstats div {
  padding: 10px;
  border-radius: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.zibll-authorstats strong {
  display: block;
  font-size: 16px;
}

.zibll-authorstats span {
  color: var(--text-soft);
  font-size: 12px;
}

.zibll-footer {
  margin-top: 18px;
  padding: 20px 0 30px;
  color: var(--text-soft);
}

.zibll-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.zibll-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.zibll-float-tools {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 32;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.zibll-float-tools.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.zibll-float-tools__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-solid);
  box-shadow: var(--shadow-soft);
  color: var(--text-soft);
  font-size: 20px;
  cursor: pointer;
}

.zibll-float-tools__btn:hover {
  color: var(--primary-strong);
}

body.theme-zibll .backtop,
body.theme-zibll #backtop,
body.theme-zibll .rollbar,
body.theme-zibll .side-toolbar,
body.theme-zibll .fixed-tools {
  display: none !important;
}

@media (max-width: 1360px) {
  .zibll-layout {
    grid-template-columns: 98px minmax(0, 1fr) 252px;
  }

  .zibll-layout--article {
    grid-template-columns: minmax(0, 1fr) 246px;
  }

  .zibll-post__hero img {
    height: 182px;
  }
}

@media (max-width: 1120px) {
  .zibll-topbar__inner {
    gap: 14px;
    min-height: 76px;
  }

  .zibll-nav {
    gap: 18px;
  }

  .zibll-layout {
    grid-template-columns: 1fr;
  }

  .zibll-layout--article {
    grid-template-columns: 1fr;
  }

  .zibll-left {
    position: static;
    order: -1;
  }

  .zibll-left__panel {
    display: none;
  }

  .zibll-main,
  .zibll-aside {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .zibll-container {
    width: min(calc(100% - 18px), var(--container));
  }

  .zibll-topbar__inner {
    min-height: 62px;
    gap: 8px;
  }

  .zibll-mobile-toggle {
    display: inline-flex;
  }

  .zibll-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .zibll-brand__text strong {
    font-size: 14px;
  }

  .zibll-brand__text small {
    font-size: 9px;
  }

  .zibll-nav {
    display: none;
  }

  .zibll-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(380px, calc(100vw - 18px));
    max-width: min(380px, calc(100vw - 18px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 18px;
    background: var(--panel-solid);
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(-108%);
    transition: transform .22s ease;
    z-index: 10010;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .zibll-mobile-drawer.is-open {
    transform: translateX(0);
  }

  .zibll-nav__mobile-head,
  .zibll-nav__mobile-tools,
  .zibll-nav__mobile-grid,
  .zibll-nav__mobile-member,
  .zibll-nav__mobile-auth,
  .zibll-nav__mobile-social-title,
  .zibll-nav__mobile-socials,
  .zibll-mobile-board {
    display: block;
  }

  .zibll-nav__mobile-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 10px;
    padding: 18px 16px 14px;
    background: linear-gradient(90deg, rgba(241, 255, 244, 0.65), rgba(242, 249, 255, 0.65));
    border-bottom: 1px solid var(--line);
  }

  .zibll-nav__mobile-close,
  .zibll-nav__mobile-search {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: var(--panel-soft);
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
  }

  .zibll-nav__mobile-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
  }

  .zibll-nav__mobile-brand .zibll-brand__emblem {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .zibll-nav__mobile-brand .zibll-brand__text strong {
    font-size: 14px;
  }

  .zibll-nav__mobile-brand .zibll-brand__text small {
    font-size: 8px;
  }

  .zibll-nav__mobile-tools {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px 6px;
  }

  html.zibll-mobile-open {
    overflow: hidden;
  }

  html.zibll-mobile-open .zibll-topbar__actions,
  html.zibll-mobile-open .zibll-brand,
  html.zibll-mobile-open .zibll-mobile-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .zibll-mobile-drawer .zibll-nav__item {
    min-height: 46px;
    margin: 0 16px;
    padding: 0 2px;
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .zibll-mobile-drawer .zibll-nav__label {
    font-size: 15px;
  }

  .zibll-mobile-drawer .zibll-nav__badge {
    min-width: 34px;
    height: 19px;
    font-size: 10px;
  }

  .zibll-nav__mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 16px 0;
  }

  .zibll-nav__mobile-grid a {
    min-height: 42px;
    border-radius: 10px;
    background: var(--panel-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
  }

  .zibll-mobile-board {
    padding: 10px 16px 0;
  }

  .zibll-mobile-board__title {
    margin-bottom: 8px;
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
  }

  .zibll-mobile-board__list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .zibll-mobile-board__list a {
    position: relative;
    min-height: 40px;
    padding: 0 2px;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #5f6d84;
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid rgba(206, 216, 236, 0.68);
  }

  .zibll-mobile-board__list a.is-home::before {
    content: '';
    width: 14px;
    height: 12px;
    margin-right: 10px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
    opacity: .9;
  }

  .zibll-mobile-board__list a.is-active {
    color: var(--accent);
    background: transparent;
  }

  .zibll-nav__mobile-member {
    padding: 16px 16px 0;
  }

  .zibll-nav__mobile-member a {
    min-height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2e313a, #4a4c56);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
  }

  .zibll-nav__mobile-auth {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 16px 0;
  }

  .zibll-nav__mobile-auth a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 80px;
    border-radius: 14px;
    background: var(--panel-soft);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-soft);
  }

  .zibll-nav__mobile-auth a span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(94, 178, 255, 0.12);
    color: var(--primary-strong);
    font-size: 18px;
  }

  .zibll-nav__mobile-social-title {
    position: relative;
    margin: 18px 16px 0;
    text-align: center;
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 700;
  }

  .zibll-nav__mobile-social-title::before,
  .zibll-nav__mobile-social-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 40px);
    height: 1px;
    background: var(--line);
  }

  .zibll-nav__mobile-social-title::before { left: 0; }
  .zibll-nav__mobile-social-title::after { right: 0; }

  .zibll-nav__mobile-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px 4px;
  }

  .zibll-nav__mobile-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
  }

  .zibll-nav__mobile-socials a:nth-child(1) { background: #1da1f2; }
  .zibll-nav__mobile-socials a:nth-child(2) { background: #2ebd59; }
  .zibll-nav__mobile-socials a:nth-child(3) { background: #5f87ff; }
  .zibll-nav__mobile-socials a:nth-child(4) { background: #1f7cff; }
  .zibll-nav__mobile-socials a:nth-child(5) { background: #3c3c43; }

  .zibll-topbar__actions {
    gap: 6px;
    transition: opacity .16s ease;
  }

  .zibll-topbar__divider {
    display: none;
  }

  .zibll-topbar__actions .zibll-icon-btn:nth-child(1),
  .zibll-topbar__actions .zibll-icon-btn:nth-child(2) {
    display: none;
  }

  .zibll-action-btn {
    height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .zibll-action-btn--vip {
    display: none;
  }

  .zibll-page {
    padding-top: 18px;
  }

  .zibll-board-head {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .zibll-post {
    padding: 14px;
  }

  .zibll-post__head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
  }

  .zibll-post__avatar {
    flex: 0 0 44px;
  }

  .zibll-post__avatar img {
    width: 44px;
    height: 44px;
    border-width: 2px;
  }

  .zibll-post__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .zibll-post__action {
    min-width: 60px;
    height: 28px;
    padding: 0 9px;
    border-radius: 11px;
    font-size: 11px;
  }

  .zibll-post__body,
  .zibll-post__footer {
    margin-left: 0;
  }

  .zibll-post__title {
    font-size: 15px;
    line-height: 1.45;
  }

  .zibll-searchbar {
    flex-direction: column;
    align-items: stretch;
  }

  .zibll-searchbar button {
    width: 100%;
  }

  .zibll-post__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zibll-post__gallery img {
    height: 124px;
  }

  .zibll-post__hero img {
    height: 136px;
  }

  .zibll-post__footer {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .zibll-postview,
  .zibll-commentbox,
  .zibll-sidecard,
  .zibll-widget {
    padding: 18px;
  }

  .zibll-layout--article {
    gap: 0;
  }

  .zibll-postview__header {
    flex-direction: column;
  }

  .zibll-postview__header h1 {
    font-size: 25px;
  }

  .zibll-logincard__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .zibll-logincard__buttons {
    flex-direction: column;
  }

  .zibll-pagination {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-right: 68px;
    scrollbar-width: none;
  }

  .zibll-pagination::-webkit-scrollbar {
    display: none;
  }

  .zibll-pagination a,
  .zibll-pagination b,
  .zibll-pagination span {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    font-size: 13px;
    border-radius: 11px;
    flex: 0 0 auto;
  }

  .zibll-float-tools {
    right: 10px;
    bottom: 12px;
  }

  .zibll-float-tools__btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 20px;
  }
}
