/**
 * App-Style CSS — 完全对齐 Flutter App 设计系统
 * 所有 Web 页面共享此文件
 * 对应 App 配色: accent=#E8734A warm=#E8A855 sage=#3A9D7C teal=#2D8A8A
 */

/* ===== CSS 变量 ===== */
:root {
  /* 暖色系主调 */
  --bg: #faf8f5;
  --bg-s: #f3f0eb;
  --card: #fff;
  --fg: #2c2520;
  --fg-s: #5a524a;
  --muted: #9a918a;
  --muted-l: #c4beb6;
  /* 品牌色 */
  --accent: #e8734a;
  --accent-soft: #fdf0eb;
  --warm: #e8a855;
  --warm-soft: #fef6e8;
  --sage: #3a9d7c;
  --sage-soft: #e8f5ef;
  --teal: #2d8a8a;
  --teal-soft: #e5f3f3;
  --coral: #e8735d;
  --coral-soft: #fceeeb;
  --purple: #8a64b4;
  --purple-soft: #f3edf9;
  /* 边框/阴影 */
  --border: #ebe7e2;
  --border-l: #f0ece7;
  --overlay: rgba(44, 37, 32, 0.45);
  --shadow-xs: 0 1px 2px rgba(44, 37, 32, 0.03);
  --shadow-sm: 0 1px 3px rgba(44, 37, 32, 0.05);
  --shadow-md: 0 4px 16px rgba(44, 37, 32, 0.08);
  --shadow-lg: 0 8px 32px rgba(44, 37, 32, 0.12);
  --shadow-accent: 0 3px 12px rgba(232, 115, 74, 0.35);
  /* 导航栏 */
  --nav-bg: #1a1a2e;
  --nav-active: #e8734a;
  --nav-inactive: #8e8e93;
  /* 圆角 */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 9999px;
}

/* ===== 暗色主题 ===== */
[data-theme="dark"] {
  --bg: #1a1816;
  --bg-s: #242220;
  --card: #2a2826;
  --fg: #f5f0eb;
  --fg-s: #c7c0b8;
  --muted: #8a827a;
  --muted-l: #5a5652;
  --accent: #f08a62;
  --accent-soft: #3a3028;
  --warm: #f0b865;
  --warm-soft: #2e2820;
  --sage: #4db88c;
  --sage-soft: #1e3028;
  --teal: #4db8b8;
  --teal-soft: #1e3030;
  --coral: #f07868;
  --coral-soft: #302420;
  --purple: #a080c8;
  --purple-soft: #282038;
  --border: #3a3632;
  --border-l: #302c28;
  --overlay: rgba(0, 0, 0, 0.6);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 3px 12px rgba(240, 138, 98, 0.3);
}

/* ===== 基础重置 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  transition: background 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== 排版 ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
}

.t-title    { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; }
.t-subtitle  { font-size: 16px; font-weight: 700; }
.t-body      { font-size: 14px; color: var(--fg-s); line-height: 1.6; }
.t-caption   { font-size: 12px; color: var(--muted); }
.t-small     { font-size: 10px; color: var(--muted); }
.t-accent    { color: var(--accent); }
.t-sage      { color: var(--sage); }
.t-center    { text-align: center; }
.t-bold      { font-weight: 700; }
.t-nowrap    { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-clamp-1   { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.t-clamp-2   { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-clamp-3   { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 布局工具 ===== */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }

.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.px-12 { padding-left: 12px; padding-right: 12px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-20 { padding-left: 20px; padding-right: 20px; }
.py-8 { padding-top: 8px; padding-bottom: 8px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.pt-4 { padding-top: 4px; }
.pt-8 { padding-top: 8px; }
.pt-12 { padding-top: 12px; }
.pt-16 { padding-top: 16px; }
.pb-8 { padding-bottom: 8px; }
.pb-16 { padding-bottom: 16px; }
.pb-24 { padding-bottom: 24px; }
.pb-safe { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.w-full { width: 100%; }
.min-w-0 { min-width: 0; }

.hidden { display: none !important; }

.overflow-x { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.overflow-x::-webkit-scrollbar { display: none; }

/* ===== 页面容器 ===== */
.page-container {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

.page-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.page-scroll::-webkit-scrollbar { display: none; }

/* ===== 导航栏 (AppBar) ===== */
.appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--border-l);
  transition: background 0.3s, box-shadow 0.2s;
}
.appbar.scrolled { box-shadow: var(--shadow-md); }

.appbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  min-height: 48px;
}

.appbar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.appbar-back {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--fg);
  transition: all 0.15s;
  flex-shrink: 0;
  margin-right: 8px;
}
.appbar-back:active { background: var(--bg-s); transform: scale(0.92); }
.appbar-back:empty { display: none; }

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

.appbar-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg);
  transition: all 0.15s;
  position: relative;
  flex-shrink: 0;
}
.appbar-btn:active { transform: scale(0.92); }
.appbar-btn .badge-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--card);
}

/* ===== 底部导航 ===== */
.nav-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: var(--nav-bg);
  display: flex;
  align-items: stretch;
  z-index: 60;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  color: var(--nav-inactive);
  transition: color 0.15s;
  user-select: none;
  text-decoration: none;
  padding: 4px 0;
}
.nav-item.active { color: var(--nav-active); }
.nav-item i { font-size: 22px; }
.nav-item span { font-size: 10px; font-weight: 600; }

.nav-publish {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 0;
}
.nav-publish-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  margin-top: -14px;
  box-shadow: 0 4px 16px rgba(232, 115, 74, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-publish:active .nav-publish-icon { transform: scale(0.9); box-shadow: 0 2px 8px rgba(232, 115, 74, 0.3); }
.nav-publish span { font-size: 10px; color: var(--nav-inactive); font-weight: 600; }

/* ===== 卡片 ===== */
.card {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, box-shadow 0.15s;
  border: 1px solid var(--border-l);
}
.card:active { box-shadow: var(--shadow-xs); }

.card-flat {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--border-l);
}

.card-clickable {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card-clickable:active {
  transform: scale(0.97);
  border-color: var(--accent);
}

.card-section {
  padding: 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border-l);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  border: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--warm));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { box-shadow: 0 6px 18px rgba(232, 115, 74, 0.4); }

.btn-accent  { background: var(--accent); color: #fff; }
.btn-warm    { background: var(--warm); color: #fff; }
.btn-sage    { background: var(--sage); color: #fff; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: var(--bg-s);
  color: var(--fg);
}

.btn-sm  { padding: 6px 14px; font-size: 12px; border-radius: 20px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; border-radius: var(--r-md); }
.btn-block { width: 100%; }

.btn-danger { background: var(--coral); color: #fff; }

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  padding: 0;
  font-size: 18px;
}

/* ===== 表单 ===== */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg-s);
}

.form-label .required { color: var(--coral); margin-left: 2px; }

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition: border 0.15s, box-shadow 0.15s;
  font-family: inherit;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-input::placeholder { color: var(--muted-l); }

.form-input-filled {
  background: var(--bg-s);
  border: none;
}
.form-input-filled:focus {
  background: var(--card);
  border: 1.5px solid var(--accent);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a918a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.input-icon {
  position: relative;
}
.input-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
  pointer-events: none;
}
.input-icon .form-input { padding-left: 46px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--coral); margin-top: 4px; }

/* ===== 头像 ===== */
.avatar {
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  position: relative;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-xs  { width: 24px; height: 24px; font-size: 10px; }
.avatar-sm  { width: 32px; height: 32px; font-size: 13px; }
.avatar-md  { width: 40px; height: 40px; font-size: 16px; }
.avatar-lg  { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl  { width: 80px; height: 80px; font-size: 28px; border-radius: 20px; }

.avatar-border {
  border: 2px solid var(--warm);
  box-shadow: 0 0 0 2px var(--card);
}

/* ===== 徽章/标签 ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-sage   { background: var(--sage-soft); color: var(--sage); }
.badge-teal   { background: var(--teal-soft); color: var(--teal); }
.badge-coral  { background: var(--coral-soft); color: var(--coral); }
.badge-purple { background: var(--purple-soft); color: var(--purple); }

.badge-pill {
  border-radius: var(--r-full);
  padding: 3px 12px;
  font-size: 11px;
}

/* 等级徽章 */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(58, 157, 124, 0.1);
  color: var(--sage);
}

/* ===== 头衔徽章动画 ===== */
.title-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

@keyframes title-glow-anim {
  0%, 100% { box-shadow: 0 0 4px 1px rgba(232, 168, 85, 0.3); filter: brightness(1); }
  50%      { box-shadow: 0 0 16px 4px rgba(232, 168, 85, 0.5); filter: brightness(1.1); }
}
@keyframes title-shine-anim {
  from { left: -100%; }
  to   { left: 200%; }
}
@keyframes title-fire-anim {
  0%   { box-shadow: 0 0 5px #ff6b00, 0 0 10px #ff0, 0 0 20px #ff6b00; }
  50%  { box-shadow: 0 0 10px #ff0, 0 0 25px #ff6b00, 0 0 40px #f00; }
  100% { box-shadow: 0 0 5px #ff6b00, 0 0 10px #ff0, 0 0 20px #ff6b00; }
}

.title-badge.glow  { animation: title-glow-anim 2s ease-in-out infinite; }
.title-badge.shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: title-shine-anim 2s ease-in-out infinite;
  pointer-events: none;
}
.title-badge.fire  { animation: title-fire-anim 1s ease-in-out infinite; }

/* ===== 分区标题 ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 16px 10px;
}
.section-header::before {
  content: '';
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-title { font-size: 16px; font-weight: 700; color: var(--fg); }

/* ===== 情绪角落 6宫格 ===== */
.emotion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 0 16px 16px;
}

.emotion-card {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  border: 1px solid var(--border-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.emotion-card:active {
  transform: scale(0.96);
  border-color: var(--accent);
}

.emotion-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s;
}
.emotion-card:hover .emotion-card-icon {
  transform: scale(1.1) rotate(-3deg);
}

.emotion-card-label { font-size: 12px; font-weight: 700; color: var(--fg); }
.emotion-card-desc  { font-size: 10px; color: var(--muted); }

/* 各卡片颜色 */
.em-stranger .emotion-card-icon { background: rgba(45, 138, 138, 0.12); color: var(--teal); }
.em-comfort  .emotion-card-icon { background: rgba(232, 115, 74, 0.12); color: var(--accent); }
.em-quiz     .emotion-card-icon { background: rgba(138, 100, 180, 0.12); color: var(--purple); }
.em-tree     .emotion-card-icon { background: rgba(80, 120, 200, 0.12); color: #5078c8; }
.em-heal     .emotion-card-icon { background: rgba(58, 157, 124, 0.12); color: var(--sage); }
.em-sad      .emotion-card-icon { background: rgba(232, 115, 93, 0.12); color: var(--coral); }

/* ===== TOP5 横向滚动卡片 ===== */
.top5-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 16px 16px;
  -webkit-overflow-scrolling: touch;
}
.top5-scroll::-webkit-scrollbar { display: none; }

.top5-card {
  flex: 0 0 140px;
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid var(--border-l);
  display: flex;
  flex-direction: column;
}
.top5-card:active { transform: scale(0.97); }

.top5-cover {
  width: 100%;
  height: 80px;
  overflow: hidden;
}
.top5-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.top5-card:hover .top5-cover img { transform: scale(1.03); }

.top5-cover-placeholder {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0.15;
  background: var(--accent-soft);
}

.top5-info {
  padding: 10px 8px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.top5-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.4;
  flex: 1;
  margin-bottom: 6px;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.top5-heat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.top5-heat i { color: var(--accent); }

/* ===== 经验/排行榜 ===== */
.leader-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-s);
  border-radius: var(--r-md);
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.leader-item:last-child { margin-bottom: 0; }
.leader-item:active { transform: scale(0.98); }

.leader-rank {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.leader-rank.r1 { background: linear-gradient(135deg, #f5a623, #f7c873); color: #fff; }
.leader-rank.r2 { background: linear-gradient(135deg, #a0a4b0, #c8ccd4); color: #fff; }
.leader-rank.r3 { background: linear-gradient(135deg, #c4906a, #d4a884); color: #fff; }
.leader-rank.rn { background: var(--border); color: var(--muted); }

.leader-info { flex: 1; min-width: 0; }
.leader-name { font-size: 13px; font-weight: 700; color: var(--fg); }
.leader-sub  { font-size: 10px; color: var(--sage); font-weight: 600; margin-top: 1px; }
.leader-val  { font-size: 13px; font-weight: 700; color: var(--accent); }

/* ===== 水平标签/分类 ===== */
.tag-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 16px;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.tag-row::-webkit-scrollbar { display: none; }

.tag-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 16px;
  border-radius: var(--r-full);
  background: var(--bg-s);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.tag-item:active { transform: scale(0.95); }
.tag-item.active {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  box-shadow: var(--shadow-accent);
}

/* ===== 帖子瀑布流 ===== */
.waterfall {
  padding: 12px 10px 20px;
  column-count: 2;
  column-gap: 10px;
}

.post-card {
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
  position: relative;
}
.post-card:active { transform: scale(0.97); }

.post-card-image {
  position: relative;
  overflow: hidden;
}
.post-card-image img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.03));
  pointer-events: none;
}

.post-card-body {
  padding: 10px 11px 11px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-text {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  word-break: break-all;
  color: var(--fg);
}
.post-card.no-image .post-card-body {
  padding: 16px 14px;
  min-height: 140px;
  position: relative;
  z-index: 1;
}
.post-card.no-image .post-card-text {
  -webkit-line-clamp: 6;
  font-size: 13.5px;
  line-height: 1.6;
}

/* 纯文字装饰 */
.post-deco {
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.post-deco-icon {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0.6;
}
.post-deco-dots {
  position: absolute;
  bottom: 8px;
  left: 12px;
  display: flex;
  gap: 4px;
  opacity: 0.3;
}
.post-deco-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

/* 帖子底部 */
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.post-card-user {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.post-card-username {
  font-size: 11px;
  color: var(--muted);
  margin-left: 6px;
  max-width: calc(100% - 30px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card-like {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.post-card-like:active { transform: scale(0.9); }
.post-card-like.liked { color: var(--coral); }
.post-card-like.liked i { animation: heartBeat 0.4s ease; }

@keyframes heartBeat {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* 置顶标签 */
.post-top-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(232, 115, 74, 0.4);
}

/* ===== 帖子详情页 ===== */
.post-detail-card {
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-detail-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--warm-soft), var(--card));
}

.post-detail-body {
  padding: 16px;
}
.post-detail-body .post-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--fg);
}
.post-detail-body .post-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-s);
  word-break: break-all;
}

.post-detail-images {
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.post-detail-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.post-detail-images.single img {
  aspect-ratio: auto;
  max-height: 300px;
  object-fit: contain;
  grid-column: 1 / -1;
}

.post-detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--border-l);
  border-bottom: 1px solid var(--border-l);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.15s;
}
.action-btn:active { transform: scale(0.9); }
.action-btn.active { color: var(--accent); }
.action-btn i { font-size: 18px; }

/* ===== 评论区 ===== */
.comment-section { padding: 0; }
.comment-list { padding: 8px 16px; }

.comment-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-l);
}
.comment-item:last-child { border-bottom: none; }

.comment-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-user-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.comment-username { font-size: 13px; font-weight: 600; color: var(--fg); }
.comment-time { font-size: 11px; color: var(--muted); }

.comment-content {
  font-size: 14px;
  color: var(--fg-s);
  line-height: 1.6;
  word-break: break-all;
}

.comment-reply-to {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.comment-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.comment-action {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}
.comment-action:active { color: var(--accent); }

.comment-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border-top: 1px solid var(--border-l);
}
.comment-input {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-s);
  border: none;
  border-radius: var(--r-full);
  font-size: 14px;
  color: var(--fg);
  outline: none;
  font-family: inherit;
}
.comment-input::placeholder { color: var(--muted); }
.comment-input:focus { background: var(--bg); }

.comment-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.15s;
}
.comment-send:active { transform: scale(0.9); }

/* ===== 图片查看器 ===== */
.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.image-viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  padding-top: max(12px, env(safe-area-inset-top));
  color: #fff;
}
.image-viewer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.image-viewer-count { font-size: 14px; opacity: 0.7; }

.image-viewer-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-viewer-body img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== 私信聊天页 ===== */
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border-l);
  position: sticky;
  top: 0;
  z-index: 50;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-all;
}

.chat-bubble-mine {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble-other {
  align-self: flex-start;
  background: var(--bg-s);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border-top: 1px solid var(--border-l);
}

.chat-input {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-s);
  border: none;
  border-radius: var(--r-full);
  font-size: 14px;
  color: var(--fg);
  outline: none;
  font-family: inherit;
}
.chat-input::placeholder { color: var(--muted); }

/* ===== 会话列表 ===== */
.session-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.session-item:hover { background: var(--bg-s); }
.session-item:active { background: var(--accent-soft); }

.session-info { flex: 1; min-width: 0; }
.session-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.session-preview { font-size: 12px; color: var(--muted); margin-top: 2px; }
.session-time { font-size: 11px; color: var(--muted); }

.session-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 个人中心 ===== */
.profile-cover {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-cover-gradient {
  height: 200px;
  background: linear-gradient(135deg, var(--accent), var(--warm));
}
.profile-cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.35));
}

.profile-info {
  margin-top: -50px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.profile-avatar-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.profile-name { font-size: 20px; font-weight: 800; color: var(--fg); }
.profile-username { font-size: 12px; color: var(--muted); }

.profile-bio {
  margin-top: 10px;
  padding: 12px;
  background: var(--bg-s);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--fg-s);
  line-height: 1.5;
}

.profile-stats {
  display: flex;
  margin-top: 16px;
}
.profile-stat {
  flex: 1;
  text-align: center;
  cursor: pointer;
  padding: 8px 0;
}
.profile-stat-num { font-size: 18px; font-weight: 800; color: var(--fg); }
.profile-stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* 积分+等级行 */
.profile-points-row {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  margin-top: 8px;
  background: rgba(232, 168, 85, 0.1);
  border-radius: var(--r-md);
  gap: 6px;
}
.profile-points-row i { color: var(--warm); font-size: 16px; }
.profile-points { font-size: 13px; font-weight: 600; color: var(--warm); }
.profile-level { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--sage); }

/* Tab 标签栏 */
.tab-bar {
  display: flex;
  background: var(--card);
  border-bottom: 1px solid var(--border-l);
  position: sticky;
  top: 48px;
  z-index: 40;
}
.tab-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
}
.tab-item.active { color: var(--fg); font-weight: 700; }
.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
}

/* ===== 设置列表 ===== */
.settings-list { padding: 12px 16px; }

.settings-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  transition: all 0.15s;
}
.settings-item:active { opacity: 0.7; }
.settings-item + .settings-item { border-top: 1px solid var(--border-l); }

.settings-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg-s);
  flex-shrink: 0;
  margin-right: 14px;
}

.settings-item-label { flex: 1; font-size: 15px; color: var(--fg); }
.settings-item-arrow { color: var(--muted); font-size: 14px; }

.settings-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 20px 0 8px;
  text-transform: uppercase;
}
.settings-section-title:first-child { padding-top: 4px; }

/* ===== 弹窗/遮罩 ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
  backdrop-filter: blur(4px);
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* 底部弹出 */
.sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  padding: 22px 20px 36px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 101;
  max-height: 80vh;
  overflow-y: auto;
}
.overlay.show .sheet { transform: translateY(0); }

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: 0 auto 14px;
}

.sheet-title { font-size: 16px; font-weight: 800; text-align: center; margin-bottom: 18px; }

.sheet-option {
  display: flex;
  align-items: center;
  background: var(--bg-s);
  border-radius: var(--r-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 10px;
}
.sheet-option:active { transform: scale(0.98); }
.sheet-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  margin-right: 14px;
  flex-shrink: 0;
}
.sheet-option-text { flex: 1; }
.sheet-option-title { font-size: 15px; font-weight: 800; color: var(--fg); }
.sheet-option-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 居中弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(4px);
}

.modal-panel {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), background 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  max-height: 80vh;
}
.modal-overlay.show .modal-panel { transform: translateY(0); }

.modal-handle { padding: 10px 0 6px; display: flex; justify-content: center; flex-shrink: 0; }
.modal-handle span {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  display: block;
}

.modal-header {
  padding: 8px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-l);
}
.modal-header h3 { font-size: 17px; font-weight: 800; }

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-s);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.15s;
}
.modal-close:active { transform: scale(0.9); background: var(--accent-soft); color: var(--accent); }

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px 24px;
  -webkit-overflow-scrolling: touch;
}
.modal-body::-webkit-scrollbar { display: none; }

/* 居中弹窗 */
.dialog-center {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dialog-center .modal-backdrop { position: absolute; }
.dialog-center .modal-panel {
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  max-height: 70vh;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  margin: 0;
}
.dialog-center .modal-panel.show { transform: scale(1); opacity: 1; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--fg);
  color: var(--bg);
  padding: 10px 24px;
  border-radius: 12px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Flash 消息 ===== */
.flash-message {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  margin-bottom: 16px;
}
.flash-success { background: var(--sage-soft); color: var(--sage); }
.flash-error   { background: var(--coral-soft); color: var(--coral); }
.flash-info    { background: var(--accent-soft); color: var(--accent); }

/* ===== 空状态 ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state i { font-size: 36px; opacity: 0.3; display: block; margin-bottom: 10px; }
.empty-state h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--fg); }
.empty-state p { font-size: 12px; }

/* ===== 加载 ===== */
.loading-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 性别标签 ===== */
.gender-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  font-size: 10px;
  font-weight: 600;
}
.gender-male   { background: rgba(66, 133, 244, 0.1); color: #4285f4; }
.gender-female { background: rgba(234, 67, 53, 0.1); color: #ea4335; }

/* ===== 公告列表 ===== */
.announcement-item {
  background: var(--bg-s);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid transparent;
  transition: all 0.15s;
  margin-bottom: 12px;
}
.announcement-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.announcement-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.announcement-title { font-size: 14px; font-weight: 700; flex: 1; }
.announcement-time { font-size: 11px; color: var(--muted); }
.announcement-content { font-size: 13px; color: var(--fg-s); line-height: 1.7; }

/* ===== 匹配中动画 ===== */
.matching-ring-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  position: relative;
}
.matching-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--sage);
  opacity: 0;
  animation: ringPulse 2s ease-out infinite;
}
.matching-ring:nth-child(2) { animation-delay: 0.6s; }
.matching-ring:nth-child(3) { animation-delay: 1.2s; }

@keyframes ringPulse {
  0% { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===== 响应式 ===== */
@media (min-width: 480px) {
  .emotion-grid { grid-template-columns: repeat(3, 1fr); }
  .top5-card { flex: 0 0 160px; }
}

@media (min-width: 768px) {
  .page-container,
  .page-scroll {
    max-width: 600px;
    margin: 0 auto;
  }
  .nav-bottom {
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 16px 16px 0 0;
  }
  .appbar {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .page-container,
  .page-scroll {
    max-width: 640px;
  }
  .nav-bottom { max-width: 640px; }
  .appbar { max-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
