﻿/* base.css - 自动拆分: 2026-01-18 */
:root {
  /* 基础色彩 */
  --ink: #0b1114;
  --surface: #0f161b;
  --panel: #141d23;
  --panel-2: #1a252c;
  --text: #eef3f4;
  --muted: #a8b6c0;  /* 提亮后的辅助文字色，对比度约 5.2:1 */
  --accent: #6fd98a;
  --accent-2: #6fb2ff;
  --stroke: #26333b;

  /* 语义化颜色 */
  --color-success: #6fd98a;
  --color-info: #6fb2ff;
  --color-warning: #ffbd78;
  --color-danger: #ff8a8a;
  --color-pending: #f6c15c;

  /* 阴影 */
  --shadow: 0 22px 50px rgba(5, 8, 11, 0.55);
  --shadow-sm: 0 4px 12px rgba(5, 8, 11, 0.35);
  --shadow-lg: 0 32px 60px rgba(5, 8, 11, 0.65);

  /* 圆角 */
  --radius: 4px;
  --radius-sm: 4px;

  /* 输入框统一样式 */
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-text: #e6edf2;
  --input-placeholder: #8c969d;

  /* 间距系统 (4px 基准网格) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* 滚动条 */
  --scrollbar-track: rgba(17, 21, 25, 0.75);
  --scrollbar-thumb: rgba(120, 132, 142, 0.55);
  --scrollbar-thumb-hover: rgba(140, 152, 162, 0.75);

  /* 布局 */
  --site-header-height: 52px;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  opacity: 0;
  transition: opacity 0.35s ease;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
  opacity: 0;
  transition: opacity 0.35s ease, background-color 0.25s ease;
}

body.is-scroll-active *::-webkit-scrollbar-track {
  opacity: 1;
}

body.is-scroll-active *::-webkit-scrollbar-thumb {
  opacity: 1;
}

body.is-scroll-active *::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}

body.is-scroll-active * {
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body {
  margin: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(111, 217, 138, 0.18), transparent 45%),
    radial-gradient(circle at 88% 0%, rgba(111, 178, 255, 0.2), transparent 50%),
    linear-gradient(140deg, #0b1114, #0f181d 55%, #0b1114);
  font-family: "Noto Sans SC", "Microsoft Yahei", sans-serif;
}


body.moedes-body {
  min-height: 0;
}

body.is-nav-open {
  overflow: hidden;
}

body.moedes-body .site {
  padding-top: 40px;
  margin-top: 0;
  min-height: 0;
}

.ban-banner {
  margin: 12px auto 0;
  max-width: 1200px;
  width: calc(100% - 24px);
  background: rgba(255, 120, 120, 0.14);
  border: 1px solid rgba(255, 120, 120, 0.4);
  color: #ffe7e7;
  border-radius: 4px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ban-banner__content {
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.ban-banner__title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.ban-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 231, 231, 0.85);
}

/* 移动端响应式样式已移除 - 保持PC端布局 */

html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 以下样式始终应用（移除媒体查询包装） */
html {
  overflow-y: auto;
}

body {
  width: 100vw;
  overflow-x: hidden;
}

html.wp-toolbar,
body.admin-bar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#wpadminbar {
  display: none !important;
}

body.single-wallpaper {
  overflow: hidden;
  height: 100vh;
  overscroll-behavior: none;
}

body.single-wallpaper.has-site-header .site {
  padding-top: 20px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 180px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 140px);
  pointer-events: none;
  z-index: -1;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
}

button,
select,
input {
  font-family: inherit;
}

/* 统一输入框样式 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select option,
select optgroup {
  background-color: #1b242c;
  color: #e6edf2;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(111, 217, 138, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}

.site-header {
  background: linear-gradient(180deg, #2a2f33, #161a1d);
  border-bottom: 1px solid #0b0f12;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding-top: 0;
}

body.is-nav-open .site-header {
  z-index: 80;
}

.has-site-header .site {
  padding-top: calc(var(--site-header-height) + env(safe-area-inset-top));
}

.site > main,
.site > .page {
  flex: 1 0 auto;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 20px;
  max-width: none;
  margin: 0 auto;
  width: 100%;
  min-height: 42px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  flex: 1 1 auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  font-family: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  font-size: 22px;
  letter-spacing: 0.4px;
  color: #eef2f4;
  text-transform: none;
}

.brand-name {
  color: inherit;
}

.main-nav {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  color: #c7cfd5;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}

.nav-link {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  color: var(--nav-color, #c7cfd5);
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: 1.1;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.is-active {
  color: #ffffff;
  border-color: var(--nav-color, #6fd98a);
}

.nav-link--latest {
  --nav-color: #7edc6f;
}

.nav-link--hot {
  --nav-color: #ff6b4a;
}

.nav-link--toplist {
  --nav-color: #f7d26a;
}

.nav-link--random {
  --nav-color: #f1a45a;
}

.nav-link--guide {
  --nav-color: #a9b8c4;
}

.nav-link--upload {
  --nav-color: #ffb45a;
}

.nav-link--forums {
  --nav-color: #ff8b5a;
}

.nav-link--more {
  --nav-color: #c9d2d8;
}

.nav-link--more::after {
  content: "\25BE";
  margin-left: 6px;
  font-size: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #101418;
  background: linear-gradient(180deg, #31363a, #1f2327);
  color: #cfd6db;
  cursor: pointer;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

body.is-nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search {
  display: flex;
  gap: 6px;
  background: linear-gradient(180deg, #2b3136, #1a1f23);
  border: 1px solid #0f1316;
  border-radius: 4px;
  padding: 2px 6px 2px 10px;
  align-items: center;
  height: 26px;
  width: 300px;
  max-width: 360px;
  margin: 0;
  align-self: center;
}

.search input {
  background: transparent;
  border: none;
  outline: none;
  color: #dde3e7;
  flex: 1;
  font-size: 12px;
  min-width: 0;
  line-height: 1;
}

.search input::placeholder {
  color: #8c969d;
}

.search button,
.search .search-tool {
  border: 1px solid #0f1316;
  background: linear-gradient(180deg, #2f353a, #1a1f23);
  color: #aab3ba;
  border-radius: 4px;
  width: 24px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search button:hover,
.search .search-tool:hover {
  color: #ffffff;
}

.search svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-btn {
  height: 26px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.auth-btn--primary {
  background: linear-gradient(180deg, #8fd45a, #62b33f);
  color: #0b1416;
  border-color: #5aa73c;
}

.auth-btn--secondary {
  background: linear-gradient(180deg, #2f5a6d, #223d4a);
  color: #e6edf2;
  border-color: #1b313c;
}

.auth-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.auth-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-bell,
.header-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #0f1316;
  background: linear-gradient(180deg, #2f353a, #1a1f23);
  color: #d6dde2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-bell svg,
.header-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #ff6b4a;
  color: #ffffff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid #0b0f12;
}

.header-avatar-link {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111;
}

.header-avatar-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-user-menu {
  position: relative;
}

.user-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #0f1316;
  background: linear-gradient(180deg, #2b3136, #1a1f23);
  color: #d6dde2;
  border-radius: 4px;
  padding: 0 8px 0 10px;
  height: 28px;
  cursor: pointer;
  font-size: 12px;
}

.user-menu-avatar {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.user-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 320px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #1d2226, #14181b);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 12px;
  display: grid;
  gap: 12px;
  z-index: 20;
}

.user-menu-panel[hidden] {
  display: none;
}

.user-menu-title {
  font-size: 12px;
  color: #c7cfd5;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
  display: none;
}

.user-menu-profile {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(20, 28, 34, 0.85), rgba(15, 20, 24, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-menu-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
}

.user-menu-avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu-meta {
  display: grid;
  gap: 6px;
}

.user-menu-name {
  font-size: 14px;
  color: #58b7ff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.user-menu-role {
  font-size: 11px;
  color: #9aa5ac;
}

.user-menu-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 6px 10px;
  font-size: 11px;
  color: #c7cfd5;
}

.user-menu-xp {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.user-menu-xp-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.user-menu-xp-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6fd98a, #6fb2ff);
  transition: width 0.3s ease;
}

.user-menu-xp-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #9fb2be;
}

.user-menu-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  font-size: 11px;
  color: #cfe7ff;
}

.user-menu-links a {
  color: inherit;
  background: rgba(17, 28, 36, 0.7);
  border: 1px solid rgba(125, 198, 255, 0.35);
  border-radius: 4px;
  padding: 4px 6px;
  text-align: center;
}

.user-menu-section {
  display: grid;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #eef1f4;
}

.user-menu-section-title {
  font-size: 11px;
  color: #4b5563;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.user-menu-section-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  font-size: 11px;
  color: #374151;
}

.user-menu-section-links a {
  color: inherit;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px 6px;
  text-align: center;
}

.user-menu-badge {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #ffdfb0;
  background: rgba(255, 180, 90, 0.14);
  border: 1px solid rgba(255, 180, 90, 0.4);
}

.user-menu-footer {
  display: flex;
  justify-content: flex-end;
  font-size: 11px;
}

.user-menu-footer a {
  color: #c7cfd5;
}

.user-menu-footer a:hover {
  color: #ffffff;
}

/* 用户下拉框：主题色系 + 紧凑 */
.user-menu-panel {
  width: 320px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  gap: 8px;
}

.user-menu-profile {
  grid-template-columns: 48px 1fr;
  padding: 8px;
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  border-radius: 8px;
}

.user-menu-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.user-menu-name {
  color: var(--text);
}

.user-menu-role {
  color: var(--muted);
}

.user-menu-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
  padding: 6px;
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  border-radius: 8px;
}

.user-menu-stat-label {
  font-size: 10px;
  color: var(--muted);
  display: block;
}

.user-menu-stat-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.user-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.user-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  text-decoration: none;
}

.user-menu-item-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(111, 217, 138, 0.18);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.user-menu-item-text {
  display: grid;
  gap: 2px;
}

.user-menu-item-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.user-menu-item-desc {
  font-size: 10px;
  color: var(--muted);
}

.user-menu-section {
  padding: 6px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--stroke);
}

.user-menu-section-title {
  color: var(--muted);
  font-weight: 600;
}

.user-menu-section-links {
  color: var(--text);
}

.user-menu-section-links a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 6px;
}

.user-menu-footer {
  justify-content: flex-end;
}

.user-menu-footer a {
  color: var(--muted);
}

.user-menu-footer a:hover {
  color: var(--text);
}

.user-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.user-avatar {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn {
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn.primary {
  background: var(--accent);
  color: #0f1417;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn.small {
  padding: 8px 14px;
}

main.page {
  padding: 24px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

body.page-messages main.page,
body.page-template-page-messages-php main.page,
body.page-template-page-messages main.page {
  margin-top: -20px;
}

main.page.user-center {
  padding: 0 0 32px;
  max-width: none;
}

main.page.single-wallpaper {
  max-width: 100%;
  padding: 0;
  height: calc(100vh - var(--site-header-height) - env(safe-area-inset-top));
  min-height: 0;
  overflow: hidden;
}

body.single-wallpaper main.page.single-wallpaper {
  margin-top: -20px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

main.page.home {
  padding: 0 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.home-Moedes {
  display: grid;
  gap: 18px;
}

.home-hero {
  padding: 32px 36px 22px;
  background: transparent;
  border-bottom: none;
  border-radius: 4px;
  display: grid;
  gap: 10px;
  align-items: center;
}

.home-brand {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.home-logo {
  font-family: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  font-size: 32px;
  letter-spacing: 0.6px;
  color: #eaf2f6;
}

.home-slogan {
  color: #cfe2ee;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.home-title {
  font-size: 34px;
  line-height: 1.15;
  margin: 0;
  color: #f4f8fb;
  letter-spacing: 0.3px;
}

.home-subtitle {
  margin: 0;
  color: #c7d6e2;
  font-size: 14px;
}

.home-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-btn--primary {
  background: linear-gradient(135deg, #9fb3bf, #7e94a1);
  color: #0b1114;
  box-shadow: 0 12px 26px rgba(12, 18, 22, 0.35);
}

.home-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(12, 18, 22, 0.45);
}

.home-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.home-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.home-nav-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.home-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

.home-nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(111, 217, 138, 0.35);
  background: rgba(10, 16, 18, 0.9);
  color: #d6f2df;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.home-nav-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.home-nav-backdrop {
  display: none;
}

.home-stats {
  margin: 10px 0 0;
}

.home-nav-item {
  font-size: 12px;
  letter-spacing: 0.2px;
  padding: 6px 0;
  border-bottom: 2px solid rgba(111, 217, 138, 0.28);
  color: rgba(214, 242, 223, 0.72);
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-nav-item.is-active {
  color: #eafff1;
  border-color: var(--accent);
  box-shadow: 0 10px 18px rgba(111, 217, 138, 0.2);
}

.home-nav-item:hover {
  color: #eafff1;
  border-color: rgba(111, 217, 138, 0.65);
}

.home-search {
  margin: 2px auto 0;
  max-width: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(9, 16, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.home-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #eaf2f6;
  font-size: 13px;
}

.home-search-advanced,
.home-search-submit {
  width: 36px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 22, 0.9);
  color: #cfdbe3;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
}

.home-search-advanced svg,
.home-search-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-stat {
  background: rgba(10, 16, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  text-align: center;
}

.home-stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #f4f8fb;
}

.home-stat-label {
  font-size: 11px;
  color: #9fb2bf;
}

.home-tags-section {
  padding: 8px 36px 0;
  display: grid;
  gap: 12px;
}

.home-tags {
  margin: 0;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-start;
  color: #b7d3df;
  font-size: 13px;
}

.home-tag {
  color: #9cd4b3;
  white-space: nowrap;
}

.home-tag--more {
  color: #dfeaf1;
}

.home-announcements {
  padding: 8px 36px 0;
  display: grid;
  gap: 12px;
}

.home-section-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #e2edf4;
}

.home-section-title h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.home-section-note {
  font-size: 12px;
  color: #9fb7c5;
  font-weight: 500;
}

.home-section-link {
  margin-left: auto;
  font-size: 12px;
  color: #b6c7d3;
  border-bottom: 1px solid rgba(182, 199, 211, 0.4);
}

.home-section-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-section-actions .home-section-link {
  margin-left: 0;
}

.home-announcement-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.home-announcement-card {
  border-radius: 4px;
  overflow: hidden;
  background: rgba(10, 18, 24, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 12px 24px rgba(2, 6, 10, 0.45);
  transition: box-shadow 0.2s ease;
  position: relative;
}

.home-announcement-link img {
  transition: filter 0.2s ease;
}

.home-announcement-card:hover {
  box-shadow: 0 14px 28px rgba(2, 6, 10, 0.5);
}

.home-announcement-card:hover img {
  filter: brightness(0.92);
}

.home-announcement-link {
  display: block;
  aspect-ratio: 16 / 9;
}

.home-announcement-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

@keyframes home-skeleton {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

body.is-home-loading .home-announcement-card::after,
body.is-home-loading .home-Moedes .wall-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 34, 42, 0.6) 0%, rgba(54, 66, 76, 0.5) 50%, rgba(24, 34, 42, 0.6) 100%);
  background-size: 200px 100%;
  animation: home-skeleton 1.2s ease-in-out infinite;
  z-index: 1;
}

body.is-home-loading .home-announcement-link img,
body.is-home-loading .home-Moedes .wall-card img {
  opacity: 0;
}

body.is-home-loading .home-Moedes .wall-card {
  position: relative;
}

.home-cta {
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    color: #d6f2df;
    border-radius: 4px;
    border: 1px solid rgba(111, 217, 138, 0.22);
    background: linear-gradient(135deg, rgba(24, 45, 36, 0.6), rgba(12, 24, 20, 0.5));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

.home-cta a {
    color: #e1f7e6;
    margin: 0 6px;
    border-bottom: 1px solid rgba(111, 217, 138, 0.55);
  }

.home-latest {
  padding: 10px 36px 0;
}

.home-latest .section-head {
  justify-content: flex-start;
}

.home-Moedes .wall-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-Moedes .wall-link img {
  object-position: 50% 35%;
  transition: filter 0.25s ease;
}

.home-Moedes .wall-card {
  transition: box-shadow 0.25s ease;
}

.home-Moedes .wall-card:hover img {
  filter: brightness(0.92);
}

.home-featured .home-announcement-card:nth-child(n+7) {
  display: none;
}

.home-latest .wall-card:nth-child(n+21) {
  display: none;
}

.home-community {
  padding: 10px 36px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 16px;
  align-items: start;
}

.home-community-card {
  background: rgba(12, 18, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: 0 14px 30px rgba(2, 6, 10, 0.4);
}

.home-forum-list {
  display: grid;
  gap: 8px;
}

.home-forum-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-forum-item:last-child {
  border-bottom: none;
}

.home-forum-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-forum-avatar {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
}

.home-forum-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-forum-title-link {
  font-size: 14px;
  color: #e6edf2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-forum-right {
  display: grid;
  gap: 2px;
  text-align: right;
  font-size: 12px;
  color: #9fb2bf;
  flex: 0 0 auto;
}

.home-forum-author {
  color: #c9d4dc;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.home-forum-author-link {
  color: #6fb2ff;
}

.home-forum-time {
  color: #8da2b0;
}

.home-stats-text {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: #b8c6d0;
  line-height: 1.6;
}

.home-stats-text strong {
  color: #e8f0f6;
}

.home-stats-text a {
  color: #6fb2ff;
  border-bottom: 1px solid rgba(182, 199, 211, 0.4);
}


.home-guide {
  padding: 10px 36px 0;
  display: grid;
  gap: 16px;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-guide-card {
  background: rgba(12, 18, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 16px;
  display: grid;
  gap: 8px;
  min-height: 150px;
  box-shadow: 0 14px 30px rgba(2, 6, 10, 0.4);
}

.home-guide-card h3 {
  margin: 0;
  font-size: 16px;
}

.home-guide-card p {
  margin: 0;
  font-size: 13px;
  color: #a9bdc9;
}

.home-guide-step {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: #0b1114;
  background: linear-gradient(135deg, #9fb3bf, #7e94a1);
}

.home-guide-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home section {
  animation: fadeUp 0.7s ease both;
  animation-delay: var(--delay, 0s);
}

.hero-rebuild {
  gap: 18px;
}

.hero-surface {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  padding: 26px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(12, 18, 22, 0.85));
  box-shadow: var(--shadow);
}

.hero-surface::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(111, 217, 138, 0.3), transparent 70%);
  opacity: 0.7;
}

.hero-surface::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -160px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(111, 178, 255, 0.25), transparent 70%);
  opacity: 0.6;
}

.hero-content {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(10, 14, 18, 0.7);
  border: 1px solid var(--stroke);
  border-radius: 4px;
}

.hero-search input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  padding: 6px 8px;
}

.hero-search button {
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  background: var(--accent);
  color: #0b1114;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.hero-quick {
  display: grid;
  gap: 14px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-panel {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.hero-panel-block {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  background: rgba(12, 18, 22, 0.6);
  display: grid;
  gap: 12px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.sitemap-card {
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  min-height: 76px;
}

.sitemap-card:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 217, 138, 0.6);
  background: rgba(111, 217, 138, 0.12);
}

.sitemap-title {
  font-size: 14px;
  font-weight: 700;
}

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

.hero-color-bar {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(111, 217, 138, 0.08));
  display: grid;
  gap: 10px;
}

.hero-color-title {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.hero-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.color-chip.is-active {
  box-shadow: 0 0 0 2px rgba(111, 217, 138, 0.7);
  transform: translateY(-2px);
}

.color-clear {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.filter-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-radius: 4px;
  border: 1px solid #0f0f0f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-dock .filter-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: #9aa6ae;
}

.filter-dock .chip-row {
  gap: 6px;
}

.filter-dock .filter-state {
  margin-left: auto;
}

.filter-state {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.filter-state a {
  color: var(--text);
  margin-left: 6px;
}

.filter-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rail-section {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 4px;
  background: rgba(12, 18, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wall-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.wall-card.is-compact .wall-link {
  aspect-ratio: 4 / 3;
}

.wall-card.is-compact .wall-overlay {
  padding: 10px 12px;
}

.wall-views {
  color: var(--muted);
}

.section-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-tab {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.section-tab:hover {
  color: var(--text);
  border-color: rgba(111, 217, 138, 0.45);
  background: rgba(111, 217, 138, 0.12);
  transform: translateY(-1px);
}

.section-tab.is-active {
  border-color: rgba(111, 217, 138, 0.7);
  color: var(--text);
  background: rgba(111, 217, 138, 0.2);
}

.section-link {
  font-size: 12px;
  color: var(--accent);
  border-bottom: 1px solid rgba(111, 217, 138, 0.6);
  padding-bottom: 2px;
}

.section-lead {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.home-latest {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.user-center {
  display: grid;
  gap: 24px;
}

.user-center--Moedes {
  max-width: 100%;
  padding: 0 0 40px;
}

.user-center--Moedes .user-center-tabs {
  display: grid;
  gap: 0;
  padding: 0 32px 32px;
}

.user-hero-Moedes {
  position: relative;
  padding: 32px;
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  margin-bottom: 0;
  border-radius: 4px;
  border: 1px solid rgba(10, 28, 44, 0.6);
  background:
    radial-gradient(500px 120px at 10% 0%, rgba(80, 160, 220, 0.65), transparent 70%),
    radial-gradient(460px 140px at 78% 0%, rgba(160, 210, 245, 0.85), transparent 75%),
    linear-gradient(135deg, #2a5f9a, #7bb7e6 50%, #6aa3d8 100%);
  box-shadow: 0 16px 32px rgba(4, 10, 16, 0.35);
  overflow: hidden;
}

.user-hero-Moedes.has-profile-bg {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.55)),
    var(--user-hero-bg);
  background-size: cover;
  background-position: var(--user-hero-position, center);
}

.user-hero-Moedes::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 60px),
    radial-gradient(400px 180px at 60% 30%, rgba(255, 255, 255, 0.12), transparent 70%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.user-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 140px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.user-avatar-frame {
  width: 128px;
  height: 128px;
  border-radius: 4px;
  border: none;
  background: transparent;
  overflow: hidden;
}

.user-avatar-frame--plain {
  border-color: transparent;
}

.user-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-center--Moedes .user-avatar-lg {
  border-radius: 4px;
  border: none;
}

.user-hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(15, 24, 34, 0.72), rgba(14, 20, 26, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 96px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.user-hero-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
  padding-right: min(240px, 32vw);
}

.user-hero-meta {
  display: grid;
  gap: 4px;
}

.user-hero-bio {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.user-hero-bio p {
  margin: 0;
}

.user-hero-bio--empty {
  color: rgba(255, 255, 255, 0.5);
}

.user-hero-details {
  margin-top: 6px;
}

.user-hero-panel .user-info-item {
  background: rgba(15, 23, 32, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
  padding: 6px 8px;
  font-size: 11px;
}

.user-handle-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-handle {
  font-size: 24px;
  font-weight: 700;
  color: #2fb5ff;
  text-shadow: 0 2px 6px rgba(7, 14, 22, 0.5);
}

.user-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #9fe0ff;
  border: 1px solid rgba(63, 163, 214, 0.5);
  background: rgba(18, 90, 130, 0.4);
  margin-left: 6px;
}

.user-handle-row .user-level-badge {
  margin-left: 0;
}

.user-level-badge--small {
  padding: 1px 5px;
  font-size: 10px;
}

.user-verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #d9ffe2;
  border: 1px solid rgba(111, 217, 138, 0.6);
  background: rgba(45, 92, 58, 0.4);
}

.user-meta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #dfe7ec;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 25, 32, 0.6);
}

.user-role {
  font-size: 12px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

.user-role--admin {
  color: #f1c16f;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(241, 193, 111, 0.6);
  background: rgba(84, 62, 28, 0.35);
}

.user-role--verified {
  color: #8fd45a;
}

.user-role--banned {
  color: #ff6b6b;
}

.user-hero-brand {
  font-size: 66px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d6d6d6;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

.user-hero-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-hero-action {
    min-height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(24, 34, 44, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d7e3ea;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
  }

.user-hero-action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .user-hero-action--icon {
    width: 34px;
    height: 34px;
    padding: 0;
  }

.user-hero-action:hover {
  border-color: rgba(111, 217, 138, 0.6);
  background: rgba(111, 217, 138, 0.12);
  transform: translateY(-1px);
}

.user-hero-action--primary {
    border-color: rgba(111, 217, 138, 0.6);
    color: #e9fff0;
    background: rgba(58, 102, 72, 0.5);
  }

.user-hero-action--ghost {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(20, 26, 32, 0.6);
    color: #d7e3ea;
  }

.user-hero-action--danger {
    border-color: rgba(255, 138, 138, 0.55);
    color: #ffe8e8;
  background: rgba(120, 40, 40, 0.35);
}

.user-hero-tabs {
  position: relative;
  z-index: 1;
  margin-top: -18px;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  padding: 0 32px;

  border-top: 0;
}

.user-hero-tabs .tab-list {
  background: linear-gradient(180deg, #2b2b2b, #1f1f1f);
  border: 1px solid rgba(0, 0, 0, 0.6);
  padding: 0;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}

.user-hero-tabs .tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: #d7d7d7;
  font-size: 12px;
}

.user-hero-tabs .tab-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-hero-tabs .tab-btn.is-active {
  background: linear-gradient(180deg, #3a3a3a, #2a2a2a);
  color: #ffffff;
}

.user-profile-shell {
  border-radius: 4px;
  border: 1px solid #0f0f0f;
  background: linear-gradient(180deg, #1b1b1b, #161616);
  padding: 16px;
}

.user-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.user-profile-left,
.user-profile-right {
  display: grid;
  gap: 16px;
}

.user-block {
  border-radius: 4px;
  border: 1px solid #232323;
  background: linear-gradient(180deg, #1f1f1f, #181818);
  padding: 14px 16px;
  min-height: 0;
}

.user-profile-details-block {
  border: 0;
  background: transparent;
  padding: 0;
}

.user-block-head {
  font-size: 13px;
  color: #7fd2e1;
  margin-bottom: 12px;
  font-weight: 600;
}

.user-block-body {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 56px;
}

.user-block-body--start {
  align-items: flex-start;
  justify-content: flex-start;
}

.user-profile-details-block .user-block-body {
  width: 100%;
}

.user-profile-details-block .user-profile-details {
  width: 100%;
}

.user-profile-details-block .user-info-key {
  flex: 0 0 auto;
  margin-right: 10px;
}

.user-profile-details-block .user-info-value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.user-profile-details-block .user-info-value,
.user-profile-details-block .user-info-value a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.user-info-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.user-info-icon {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-info-icon--glyph {
    width: 14px;
    height: 14px;
    font-size: 10px;
  line-height: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  color: #dfe7ec;
  display: inline-flex;
  align-items: center;
    justify-content: center;
    padding: 0;
}

.user-info-icon--image {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: inline-block;
}

.user-info-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(111, 178, 255, 0.5);
  background: rgba(28, 62, 92, 0.5);
  color: #bfe2ff;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.user-profile-socials {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.user-profile-social-link {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: none;
}

.user-profile-social-link:hover {
  transform: none;
}

.user-profile-social-link::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 4px;
  background: #ffffff;
  opacity: 0.9;
  pointer-events: none;
}

.user-profile-social-link img {
  position: relative;
}


.user-verify-body {
  display: grid;
  gap: 10px;
}

.user-verify-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #b7c3ca;
}

.user-verify-line .user-cta {
  margin-left: auto;
}

.user-verify-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2b2b2b;
  color: #cbd6dc;
}

.user-verify-status--approved {
  color: #0b1a06;
  background: rgba(134, 201, 87, 0.9);
  border-color: rgba(134, 201, 87, 0.8);
}

.user-verify-status--pending {
  color: #1e1a09;
  background: rgba(255, 189, 92, 0.9);
  border-color: rgba(255, 189, 92, 0.8);
}

.user-verify-status--rejected {
  color: #2c0f0f;
  background: rgba(255, 138, 138, 0.9);
  border-color: rgba(255, 138, 138, 0.8);
}

.user-verify-hint {
  margin: 0;
  color: #b7c3ca;
  font-size: 12px;
  line-height: 1.6;
}

.user-verify-note {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(12, 16, 20, 0.6);
  color: #c6d3da;
  font-size: 12px;
  line-height: 1.4;
}

.user-verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-bio {
  color: #cbd6dc;
  line-height: 1.6;
  font-size: 13px;
  margin: 0;
  white-space: normal;
}

.user-bio p {
  margin: 0 0 8px;
}

.user-bio p:last-child {
  margin-bottom: 0;
}

.user-bio blockquote {
  margin: 8px 0;
  padding: 6px 10px;
  border-left: 2px solid #6fd98a;
  background: rgba(20, 24, 26, 0.6);
  border-radius: 4px;
}

.user-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid #1f2c33;
  background: linear-gradient(180deg, #2a5f7c, #1f455a);
  color: #e8f6ff;
  font-size: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.user-cta--accent {
  background: linear-gradient(180deg, #86c957, #5aa53a);
  border-color: #3f7a29;
  color: #0b1a06;
}

.user-cta--accent:hover {
  filter: brightness(1.05);
}

.user-cta--accent.is-submitting,
.user-cta--accent:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.user-comments {
  padding: 16px;
}

.user-comments-toolbar {
  display: flex;
  justify-content: center;
  margin: 12px 0 16px;
}

.user-comments-toolbar .user-cta--accent {
  padding: 6px 16px;
  border-radius: 4px;
  background: linear-gradient(180deg, #9ac35b, #7aa33d);
  border-color: #5f7d32;
  color: #0e1a08;
  font-weight: 600;
}

.user-comments .user-block-head {
  font-size: 14px;
  color: #a9c6d3;
  letter-spacing: 0.2px;
}

.user-comment-form-wrap {
  margin-bottom: 14px;
}

.user-comment-form {
  display: grid;
  gap: 10px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 12px;
  background: #2a2a2a;
}

.user-comment-form[hidden] {
  display: none;
}

.user-comment-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #cbd6dc;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.user-comment-form-avatar img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: block;
}

.user-comment-form-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-comment-form-title span:last-child {
  color: #9aa6ac;
}

.user-comment-form-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #aab4b9;
}

.user-comment-form-toolbar .format-btn {
  font-family: inherit;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  background: #1b1b1b;
  color: #e0e6ea;
  cursor: pointer;
}

.user-comment-form-toolbar .format-btn:hover {
  border-color: rgba(111, 217, 138, 0.5);
  color: #eafff1;
}

.user-comment-help-trigger {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #1b1b1b;
  color: #cbd6dc;
  padding: 2px 6px;
  font-size: 12px;
  cursor: pointer;
}

.user-comment-help-trigger:hover {
  border-color: rgba(111, 217, 138, 0.5);
  color: #eafff1;
}

.user-comment-help-body {
  margin-top: 8px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #aab4b9;
}

.help-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 8, 0.7);
  z-index: 9999;
}

.help-modal.is-open {
  display: flex;
}

.help-modal__panel {
  width: min(560px, 100%);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #1a1a1a;
  padding: 12px 14px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.help-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #e6edf2;
}

.help-modal__close {
  width: 24px;
  height: 24px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #111;
  color: #cbd6dc;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.help-modal__close:hover {
  border-color: rgba(111, 217, 138, 0.5);
  color: #eafff1;
}

.help-modal .user-comment-help-body {
  margin-top: 0;
}

/* ====================
   全局可访问性增强
   ==================== */

/* 键盘焦点可见性 - 全局默认样式 */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 按钮焦点样式 */
button:focus-visible,
.btn:focus-visible,
.auth-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(111, 217, 138, 0.2);
}

/* 表单元素焦点样式 */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

/* 链接焦点样式 */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 导航链接特殊焦点样式 */
.nav-link:focus-visible,
.home-nav-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* 卡片和交互区域焦点样式 */
.wall-link:focus-visible,
.wall-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 减弱动画支持 (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* 保留opacity变化但移除transform */
  .hero-item:hover,
  .sitemap-card:hover,
  .home-btn--primary:hover,
  .home-btn--ghost:hover {
    transform: none;
  }

  /* 移除滚动条动画 */
  *::-webkit-scrollbar-track,
  *::-webkit-scrollbar-thumb {
    transition: none;
  }

  /* 禁用所有@keyframes动画 */
  .home-announcement-card::after,
  .wall-card::after {
    animation: none;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  :root {
    --muted: #b5c1ca;
    --text: #ffffff;
  }

  /* 增强边框对比度 */
  .wall-card,
  .panel,
  .hero-block,
  input,
  select,
  textarea,
  button {
    border-width: 2px;
  }

  /* 增强焦点指示器 */
  *:focus-visible {
    outline-width: 3px;
    outline-offset: 3px;
  }

  /* 增强按钮对比度 */
  .btn.primary {
    background: #5fc778;
    color: #000000;
  }

  /* 增强链接对比度 */
  a {
    text-decoration: underline;
  }
}

/* 强制颜色模式支持 (Windows高对比度模式) */
@media (forced-colors: active) {
  *:focus-visible {
    outline: 2px solid;
  }

  .btn,
  .auth-btn,
  input,
  select,
  textarea {
    border: 1px solid;
  }
}

/* 性能优先：全站移除动画/过渡与渐进模糊 */
html {
  scroll-behavior: auto;
}

*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
}

.single-preview img.is-progressive,
.single-preview img.is-progressive.is-loaded {
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}


