/* ===== 成长日志 —— 星语暖心屋子模块 ===== */

/* 页面容器 */
.gl-page {
  background: #F5F2EE;
  min-height: calc(100vh - 60px);
}
.gl-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 60px);
}

/* ===== 二级主题导航 ===== */
.gl-hero-banner {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(180,220,180,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(200,220,255,0.2) 0%, transparent 45%),
    linear-gradient(160deg, #F8FBF8 0%, #F2F8F0 30%, #EEF5EC 55%, #E8F0E5 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(120,180,120,0.1);
}
.gl-hero-banner .particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.gl-hero-banner .particles span {
  position: absolute;
  display: block;
  width: 4px; height: 4px;
  background: rgba(120,180,120,0.25);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}
.gl-hero-banner .particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.gl-hero-banner .particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 9s; width: 3px; height: 3px; }
.gl-hero-banner .particles span:nth-child(3) { left: 40%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.gl-hero-banner .particles span:nth-child(4) { left: 55%; top: 70%; animation-delay: 0.5s; animation-duration: 8s; width: 5px; height: 5px; background: rgba(107,158,240,0.2); }
.gl-hero-banner .particles span:nth-child(5) { left: 70%; top: 25%; animation-delay: 3s; animation-duration: 10s; }
.gl-hero-banner .particles span:nth-child(6) { left: 85%; top: 55%; animation-delay: 1.5s; animation-duration: 7s; width: 3px; height: 3px; background: rgba(120,180,120,0.18); }
.gl-hero-banner .particles span:nth-child(7) { left: 15%; top: 80%; animation-delay: 4s; animation-duration: 9s; }
.gl-hero-banner .particles span:nth-child(8) { left: 90%; top: 15%; animation-delay: 2.5s; animation-duration: 8s; width: 4px; height: 4px; background: rgba(107,158,240,0.15); }

/* ===== 主布局 ===== */
.gl-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  padding: 20px 0 40px;
  box-sizing: border-box;
}

/* ====== 左侧列 ~62% ====== */
.gl-left-column {
  flex: 0 0 62%;
  min-height: 0;
}

/* ====== 左侧主视觉大图 ====== */
.gl-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-height: 520px;
}

.gl-hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.gl-visual:hover .gl-hero-img {
  transform: scale(1.03);
}
.gl-visual .visual-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.2) 20%,
      transparent 35%,
      transparent 65%,
      rgba(0,0,0,0.4) 80%,
      rgba(0,0,0,0.55) 100%
    );
}
.gl-visual .visual-overlay > * {
  pointer-events: auto;
}
.gl-visual .visual-title-area {
  position: absolute;
  top: 20px;
  left: 20px;
  white-space: nowrap;
}
.gl-visual .vh-title {
  font-family: 'STKaiti', 'KaiTi', 'FangSong', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 30px rgba(120,180,120,0.15);
  white-space: nowrap;
}
.gl-visual .vh-title-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #7CB87C, rgba(124,184,124,0.3), transparent);
  border-radius: 2px;
  margin-bottom: 10px;
}
.gl-visual .vh-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  letter-spacing: 2px;
}
.gl-visual .visual-message-area {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}
.gl-visual .vh-message {
  background: rgba(20,30,20,0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 14px;
  padding: 18px 22px;
  border-left: 4px solid #7CB87C;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}
.gl-visual .vh-message p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.gl-visual .vh-message p::after {
  content: none !important;
  display: none !important;
}
.gl-visual .vh-title::after {
  content: none !important;
  display: none !important;
}

/* ====== 全宽照片墙 ====== */
.photo-wall-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 24px;
  background: linear-gradient(180deg, #FAF8F5 0%, #F5F2ED 100%);
  padding: 40px 0 48px;
  position: relative;
}
.photo-wall-full::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,184,124,0.2), transparent);
}

/* 标题区域 */
.pwf-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 20px;
}
.pwf-title {
  font-family: 'STKaiti', 'KaiTi', 'FangSong', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #4A4036;
  margin: 0 0 8px;
  letter-spacing: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.pwf-subtitle {
  font-size: 1rem;
  color: #A09890;
  margin: 0;
  letter-spacing: 4px;
}

/* 照片网格 - 错落排版 */
.pwf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px;
}

.pwf-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pwf-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.pwf-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  z-index: 10;
}
.pwf-item:hover img {
  transform: scale(1.08);
}

/* 悬停标签 */
.pwf-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.pwf-item:hover .pwf-overlay {
  opacity: 1;
}

/* 错落布局定义 */
.pwf-beach   { grid-column: 1 / 3; grid-row: 1 / 3; }
.pwf-pet     { grid-column: 3 / 4; grid-row: 1 / 3; }
.pwf-reading { grid-column: 4 / 5; grid-row: 1 / 3; }
.pwf-gift    { grid-column: 1 / 2; grid-row: 3 / 4; }
.pwf-birthday{ grid-column: 2 / 4; grid-row: 3 / 5; }
.pwf-autumn  { grid-column: 4 / 5; grid-row: 3 / 5; }
.pwf-dinner  { grid-column: 1 / 2; grid-row: 4 / 5; }
.pwf-driving { grid-column: 1 / 3; grid-row: 5 / 6; }
.pwf-camping { grid-column: 3 / 5; grid-row: 5 / 7; }
.pwf-kite    { grid-column: 1 / 3; grid-row: 6 / 7; }
.pwf-bike    { grid-column: 1 / 3; grid-row: 7 / 8; }
.pwf-paint   { grid-column: 3 / 5; grid-row: 7 / 8; }
.pwf-snow    { grid-column: 1 / 2; grid-row: 8 / 10; }
.pwf-garden  { grid-column: 2 / 4; grid-row: 8 / 9; }
.pwf-music   { grid-column: 2 / 4; grid-row: 9 / 10; }
.pwf-graduation { grid-column: 4 / 5; grid-row: 8 / 10; }

/* ====== 右侧功能面板 ~38% ====== */
.gl-sidebar {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 4px;
}
.gl-sidebar::-webkit-scrollbar {
  width: 4px;
}
.gl-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
}

/* ===== 功能标签 ===== */
.func-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.func-tab {
  flex: 1;
  min-width: 70px;
  padding: 10px 6px;
  border: none;
  border-radius: 10px;
  background: #EDEAE5;
  color: #8A8078;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.func-tab.active {
  background: linear-gradient(135deg, #7CB87C, #5DA05D);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124,184,124,0.3);
}
.func-tab:hover:not(.active) {
  background: #E5E0DA;
}

/* ===== 功能面板 ===== */
.func-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}
.func-panel.active {
  display: flex;
}

/* ===== 数据卡片 ===== */
.data-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FDFCFA 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.03),
    0 0 0 1px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.data-card:hover {
  box-shadow:
    0 2px 6px rgba(0,0,0,0.05),
    0 8px 24px rgba(0,0,0,0.05),
    0 0 0 1px rgba(124,184,124,0.08);
  transform: translateY(-2px);
}
.dc-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4A4036;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dc-icon { font-size: 1.2rem; }
.dc-desc {
  font-size: 0.82rem;
  color: #A09890;
  margin: 0 0 16px;
}

/* ===== 报告周期切换 ===== */
.report-period-switch {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.period-btn {
  flex: 1;
  padding: 10px 6px;
  border: 2px solid #E8E5E0;
  border-radius: 10px;
  background: #FFFCF8;
  color: #5A554E;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.period-btn.active {
  border-color: #7CB87C;
  background: linear-gradient(135deg, #F0F8F0, #E5F2E5);
  color: #3D7A3D;
  animation: periodPulse 2.5s ease-in-out infinite;
  transform: scale(1.02);
}
@keyframes periodPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,184,124,0.25); }
  50% { box-shadow: 0 0 0 4px rgba(124,184,124,0.1); }
}
.period-btn:hover:not(.active) {
  border-color: #D0CCC5;
  transform: scale(1.01);
}

/* ===== 图表 ===== */
.chart-wrap {
  position: relative;
  margin: 12px 0;
}
.trend-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #E8E5E0;
}
.ts-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.ts-label { color: #8A8078; }
.ts-value { font-weight: 600; color: #4A4036; }
.ts-value.happy { color: #F5A623; }
.ts-value.good { color: #4CAF50; }

/* ===== 沟通节点 ===== */
.comm-nodes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comm-node {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.comm-node::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: -12px;
  width: 2px;
  background: linear-gradient(to bottom, #7CB87C, transparent);
}
.comm-node:last-child::before {
  display: none;
}
.cn-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E0E0E0;
  flex-shrink: 0;
  margin-top: 3px;
}
.cn-dot.active {
  background: linear-gradient(135deg, #7CB87C, #5DA05D);
  box-shadow: 0 0 8px rgba(124,184,124,0.3);
}
.cn-content { flex: 1; }
.cn-text {
  font-size: 0.88rem;
  color: #4A4036;
  line-height: 1.5;
}
.cn-time {
  font-size: 0.75rem;
  color: #B0A8A0;
  margin-top: 4px;
}

/* ===== 心愿进度 ===== */
.wish-progress {
  margin-bottom: 14px;
}
.wp-item { margin-bottom: 4px; }
.wp-bar {
  width: 100%;
  height: 10px;
  background: #F0EBE5;
  border-radius: 5px;
  overflow: hidden;
}
.wp-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #7CB87C, #A0D89E);
  transition: width 0.6s ease;
}
.wp-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8A8078;
  margin-top: 6px;
}
.wp-pct { font-weight: 600; color: #5DA05D; }
.wish-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #F8FBF8, #F2F8F0);
  border-radius: 10px;
  font-size: 0.82rem;
}
.wd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wd-dot.done { background: #7CB87C; }
.wd-dot.plan { background: #FFB74D; }
.wd-dot.wait { background: #E0E0E0; }
.wd-text { flex: 1; color: #4A4036; }
.wd-status { font-size: 0.72rem; color: #8A8078; }

/* ===== 寄语交换 ===== */
.msg-exchange {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.me-item {
  padding: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.me-item.parent {
  background: linear-gradient(135deg, #FFF8F0, #FFF0E5);
  border-left: 3px solid #F0A060;
}
.me-item.child {
  background: linear-gradient(135deg, #F0F8FF, #E8F4FD);
  border-left: 3px solid #7EB8E0;
}
.me-item-from {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8A8078;
  margin-bottom: 4px;
}
.me-item-text { color: #4A4036; }
.me-item-time {
  font-size: 0.72rem;
  color: #B0A8A0;
  margin-top: 4px;
}

/* ===== 导出 ===== */
.export-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.parent-only-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #8A8078;
  cursor: pointer;
  white-space: nowrap;
}
.parent-only-check input {
  accent-color: #7CB87C;
}

/* ===== 亲子共创 ===== */
.create-type-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.create-type-btn {
  flex: 1;
  padding: 8px 4px;
  border: 2px solid #E8E5E0;
  border-radius: 10px;
  background: #FFFCF8;
  color: #5A554E;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.create-type-btn.active {
  border-color: #7CB87C;
  background: linear-gradient(135deg, #F0F8F0, #E5F2E5);
  color: #3D7A3D;
}
.create-type-btn:hover:not(.active) {
  border-color: #D0CCC5;
}

/* 照片上传区 */
.photo-upload-zone {
  border: 2px dashed #D0CCC5;
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #FDFCFA;
}
.photo-upload-zone:hover {
  border-color: #7CB87C;
  background: #F8FBF8;
}
.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  opacity: 0.6;
}
.photo-upload-zone p {
  margin: 0;
  font-size: 0.88rem;
  color: #5A554E;
}
.upload-hint {
  font-size: 0.75rem !important;
  color: #B0A8A0 !important;
  margin-top: 4px;
}

/* 里程碑提示 */
.milestone-hint {
  font-size: 0.78rem;
  color: #7CB87C;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 共创列表 */
.co-create-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cc-item {
  background: linear-gradient(135deg, #F8FBF8, #F2F8F0);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(124,184,124,0.1);
}
.cc-item.milestone {
  background: linear-gradient(135deg, #FFF8E0, #FFF0C0);
  border-color: rgba(255,193,7,0.15);
}
.cc-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cc-item-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}
.cc-item-type.photo { background: #E3F2FD; color: #1976D2; }
.cc-item-type.text { background: #F3E5F5; color: #7B1FA2; }
.cc-item-type.milestone { background: #FFF3E0; color: #E65100; }
.cc-item-date {
  font-size: 0.75rem;
  color: #B0A8A0;
}
.cc-item-content {
  font-size: 0.88rem;
  color: #4A4036;
  line-height: 1.5;
}
.cc-item-photo {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 8px;
  max-height: 200px;
  object-fit: cover;
}

/* ===== AI成长建议 ===== */
.advice-loading {
  text-align: center;
  padding: 20px;
  color: #8A8078;
}
.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E8E5E0;
  border-top-color: #7CB87C;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.advice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.advice-item {
  background: linear-gradient(135deg, #F8FBF8, #F0F8EE);
  border-radius: 14px;
  padding: 16px;
  border-left: 4px solid #7CB87C;
  animation: adviceFadeIn 0.5s ease;
}
.advice-item:nth-child(2) { animation-delay: 0.1s; border-left-color: #7EB8E0; }
.advice-item:nth-child(3) { animation-delay: 0.2s; border-left-color: #FFB74D; }
@keyframes adviceFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.advice-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3D7A3D;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.advice-item-text {
  font-size: 0.85rem;
  color: #4A4036;
  line-height: 1.7;
}
.advice-item-basis {
  margin-top: 8px;
  font-size: 0.72rem;
  color: #B0A8A0;
  font-style: italic;
}

.advice-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ah-item {
  background: linear-gradient(135deg, #FDFCFA, #F8F5F0);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.03);
}
.ah-date {
  font-size: 0.72rem;
  color: #B0A8A0;
  margin-bottom: 6px;
}
.ah-text {
  font-size: 0.82rem;
  color: #5A554E;
  line-height: 1.5;
}

/* ===== 复用按钮 ===== */
.pcc-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px 14px;
  border: 2px solid #E8E5E0;
  border-radius: 12px;
  background: #FDFCFA;
  color: #4A4036;
  font-size: 0.88rem;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.3s;
}
.pcc-textarea:focus {
  outline: none;
  border-color: #7CB87C;
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(124,184,124,0.1);
}
.pcc-textarea::placeholder { color: #C0B8B0; }

.wish-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #E8E5E0;
  border-radius: 12px;
  background: #FDFCFA;
  color: #4A4036;
  font-size: 0.88rem;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.3s;
}
.wish-input:focus {
  outline: none;
  border-color: #7CB87C;
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(124,184,124,0.1);
}

.optimize-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7CB87C, #5DA05D);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.optimize-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,184,124,0.3);
}
.optimize-btn:active {
  transform: translateY(0);
}

.pcc-btn-primary {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #7CB87C, #5DA05D);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.pcc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124,184,124,0.25);
}
.pcc-btn-secondary {
  padding: 10px 18px;
  border: 2px solid #E8E5E0;
  border-radius: 10px;
  background: #FDFCFA;
  color: #5A554E;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.pcc-btn-secondary:hover {
  border-color: #7CB87C;
  background: #F0F8F0;
}

.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: #B0A8A0;
  margin-top: 4px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .gl-main {
    flex-direction: column;
  }
  .gl-left-column {
    flex: 1;
    width: 100%;
  }
  .gl-visual {
    min-height: 380px;
    width: 100%;
  }
  .gl-illus-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .gl-sidebar {
    flex: 1;
    width: 100%;
    max-height: none;
  }
  .pwf-title {
    font-size: 2rem;
    letter-spacing: 6px;
  }
  .pwf-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 130px;
    gap: 6px;
    padding: 0 10px;
  }
  .pwf-beach   { grid-column: 1 / 3; grid-row: 1 / 3; }
  .pwf-pet     { grid-column: 3 / 4; grid-row: 1 / 2; }
  .pwf-reading { grid-column: 3 / 4; grid-row: 2 / 3; }
  .pwf-gift    { grid-column: 1 / 2; grid-row: 3 / 4; }
  .pwf-birthday{ grid-column: 2 / 4; grid-row: 3 / 5; }
  .pwf-autumn  { grid-column: 1 / 2; grid-row: 4 / 5; }
  .pwf-dinner  { grid-column: 1 / 2; grid-row: 5 / 6; }
  .pwf-driving { grid-column: 2 / 3; grid-row: 5 / 6; }
  .pwf-camping { grid-column: 1 / 3; grid-row: 6 / 7; }
  .pwf-kite    { grid-column: 3 / 4; grid-row: 5 / 7; }
  .pwf-bike    { grid-column: 1 / 3; grid-row: 7 / 8; }
  .pwf-paint   { grid-column: 3 / 4; grid-row: 7 / 8; }
  .pwf-snow    { grid-column: 1 / 2; grid-row: 8 / 9; }
  .pwf-garden  { grid-column: 2 / 4; grid-row: 8 / 9; }
  .pwf-music   { grid-column: 1 / 2; grid-row: 9 / 10; }
  .pwf-graduation { grid-column: 2 / 4; grid-row: 9 / 10; }
}
@media (max-width: 640px) {
  .gl-container {
    padding: 0 10px;
  }
  .pwf-title {
    font-size: 1.6rem;
    letter-spacing: 4px;
  }
  .pwf-subtitle {
    font-size: 0.85rem;
  }
  .pwf-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 5px;
    padding: 0 8px;
  }
  .pwf-beach   { grid-column: 1 / 3; grid-row: 1 / 3; }
  .pwf-pet     { grid-column: 1 / 2; grid-row: 3 / 4; }
  .pwf-reading { grid-column: 2 / 3; grid-row: 3 / 4; }
  .pwf-gift    { grid-column: 1 / 2; grid-row: 4 / 5; }
  .pwf-birthday{ grid-column: 2 / 3; grid-row: 4 / 6; }
  .pwf-autumn  { grid-column: 1 / 2; grid-row: 5 / 6; }
  .pwf-dinner  { grid-column: 1 / 2; grid-row: 6 / 7; }
  .pwf-driving { grid-column: 1 / 3; grid-row: 7 / 8; }
  .pwf-camping { grid-column: 1 / 3; grid-row: 8 / 10; }
  .pwf-kite    { grid-column: 1 / 3; grid-row: 10 / 11; }
  .pwf-bike    { grid-column: 1 / 3; grid-row: 11 / 12; }
  .pwf-paint   { grid-column: 1 / 3; grid-row: 12 / 13; }
  .pwf-snow    { grid-column: 1 / 3; grid-row: 13 / 14; }
  .pwf-garden  { grid-column: 1 / 3; grid-row: 14 / 15; }
  .pwf-music   { grid-column: 1 / 3; grid-row: 15 / 16; }
  .pwf-graduation { grid-column: 1 / 3; grid-row: 16 / 17; }
  .export-area {
    flex-direction: column;
    align-items: stretch;
  }
}
