body {
  background: #FFF0F5;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 10px 0 calc(60px + env(safe-area-inset-bottom)) 0;
  box-sizing: border-box;
}

.page-title {
  width: 85%;
  text-align: center;
  padding: 15px 0 10px;
}

.title-text {
  font-size: 18px;
  font-weight: bold;
  color: #FF6B81;
  display: block;
}

.title-desc {
  font-size: 14px;
  color: #999;
  margin-top: 3px;
  display: block;
}

.hundred-card {
  width: 85%;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 14px 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(255, 107, 129, 0.15);
}

.hundred-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.hundred-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hundred-icon {
  font-size: 14px;
}

.hundred-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.hundred-progress {
  font-size: 11px;
  color: #999;
}

.hundred-more {
  font-size: 13px;
  color: #FF6B81;
  cursor: pointer;
}

.hundred-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hundred-preview-item {
  width: calc((100% - 16px) / 3);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(255, 107, 129, 0.08);
  box-sizing: border-box;
}

.hundred-preview-item.completed {
  background: linear-gradient(135deg, #FFE4E8 0%, #FFD0D6 100%);
  box-shadow: 0 2px 6px rgba(255, 107, 129, 0.15);
}

.hundred-preview-num {
  font-size: 11px;
  color: #FFB6C1;
  font-weight: bold;
}

.hundred-preview-item.completed .hundred-preview-num {
  color: #FF6B81;
}

.hundred-preview-title {
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hundred-preview-item.completed .hundred-preview-title {
  color: #FF6B81;
}

.hundred-preview-btn {
  margin-top: 2px;
  padding: 2px 6px;
  background: linear-gradient(135deg, #FF6B81 0%, #FFB6C1 100%);
  border-radius: 6px;
  font-size: 9px;
  color: #fff;
  cursor: pointer;
}

.hundred-preview-btn.view {
  background: rgba(255, 107, 129, 0.2);
  color: #FF6B81;
}

.progress-section {
  width: 85%;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 15px 12px;
  box-shadow: 0 4px 12px rgba(255, 107, 129, 0.15);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.progress-title {
  font-size: 15px;
  font-weight: bold;
  color: #FF6B81;
}

.progress-count {
  font-size: 13px;
  color: #FFB6C1;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6B81 0%, #FFB6C1 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-percent {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  display: block;
}

.content-card {
  width: 85%;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(255, 107, 129, 0.15);
}

.first-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.first-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  cursor: pointer;
}

.first-item.left {
  justify-content: flex-start;
}

.first-item.right {
  justify-content: flex-end;
}

.first-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
}

.first-item.right .first-user {
  order: 2;
}

.first-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #FFB6C1;
  object-fit: cover;
}

.first-name {
  font-size: 11px;
  color: #666;
  margin-top: 3px;
  max-width: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.first-content {
  max-width: 75%;
  background: linear-gradient(135deg, #FFF5F7 0%, #FFE8EC 100%);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(255, 107, 129, 0.1);
  position: relative;
  margin: 0 4px;
  word-wrap: break-word;
  word-break: break-all;
}

.first-item.left .first-content::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 5px solid #FFF5F7;
}

.first-item.right .first-content::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #FFE8EC;
}

.first-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.first-title {
  font-size: 15px;
  font-weight: bold;
  color: #FF6B81;
}

.first-date {
  font-size: 11px;
  color: #999;
}

.first-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 4px;
}

.first-actions {
  display: flex;
  gap: 6px;
}

.edit-btn {
  font-size: 10px;
  color: #FF6B81;
  cursor: pointer;
}

.delete-btn {
  font-size: 10px;
  color: #FF6B81;
  cursor: pointer;
}

.empty-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

.empty-icon {
  font-size: 40px;
}

.empty-text {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.empty-desc {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.add-btn {
  position: fixed;
  bottom: 100px;
  right: calc(7.5% + 5px);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FF6B81 0%, #FFB6C1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 107, 129, 0.4);
  cursor: pointer;
}

.guest-tip {
  background: rgba(255, 107, 129, 0.15);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: #FF6B81;
  text-align: center;
  margin-top: 10px;
}

.things-grid {
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.thing-card {
  width: calc((100% - 16px) / 3);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(255, 107, 129, 0.08);
  box-sizing: border-box;
}

.thing-completed {
  background: linear-gradient(135deg, #FFE4E8 0%, #FFD0D6 100%);
  box-shadow: 0 2px 6px rgba(255, 107, 129, 0.15);
}

.thing-num {
  font-size: 11px;
  color: #FFB6C1;
  font-weight: bold;
}

.thing-completed .thing-num {
  color: #FF6B81;
}

.thing-title {
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thing-completed .thing-title {
  color: #FF6B81;
}

.thing-btn {
  margin-top: 2px;
  padding: 2px 6px;
  background: linear-gradient(135deg, #FF6B81 0%, #FFB6C1 100%);
  border-radius: 6px;
  font-size: 9px;
  color: #fff;
  cursor: pointer;
}

.thing-btn-view {
  background: rgba(255, 107, 129, 0.2);
}

.thing-btn-view .thing-btn-text {
  color: #FF6B81;
}

.thing-btn-text {
  font-size: 9px;
  color: #fff;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-user {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #FFB6C1;
  object-fit: cover;
}

.detail-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.detail-title {
  font-size: 16px;
  font-weight: bold;
  color: #FF6B81;
}

.detail-date {
  font-size: 13px;
  color: #999;
}

.detail-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.detail-images {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.detail-img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.thing-header {
  text-align: center;
  padding: 15px 0 10px;
}

.thing-index {
  font-size: 14px;
  color: #FFB6C1;
  font-weight: bold;
  display: block;
}

.thing-title-large {
  font-size: 16px;
  font-weight: bold;
  color: #FF6B81;
  display: block;
  margin-top: 4px;
}

.form-section {
  width: 85%;
  margin: 0 auto;
}

.form-textarea {
  width: 100%;
  min-height: 80px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  outline: none;
  resize: none;
  border: none;
  line-height: 1.6;
}

.form-picker {
  height: 36px;
  line-height: 36px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
}

.submit-section {
  width: 85%;
  margin: 15px auto 0;
}

.submit-btn {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #FF6B81 0%, #FFB6C1 100%);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
}