* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f4f4f4;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.app {
  max-width: 430px;
  margin: auto;
  min-height: 100vh;
  background: white;
}

.banner {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.content {
  padding: 22px;
}

.shopTag {
  display: inline-block;
  background: black;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 16px;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
}

.desc {
  margin-top: 10px;
  color: #666;
  line-height: 1.6;
}

.buttonGroup {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.buttonGroup button {
  flex: 1;
  border: none;
  background: black;
  color: white;
  padding: 15px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.poster {
  margin-top: 26px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.poster img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
}

.posterText {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: white;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

textarea {
  width: 100%;
  height: 180px;
  margin-top: 24px;
  border: none;
  background: #fafafa;
  border-radius: 22px;
  padding: 22px;
  resize: none;
  font-size: 16px;
  line-height: 1.8;
  outline: none;
}

/* ========================================== */
/* 分享区域 */
/* ========================================== */
.shareSection {
  margin-top: 24px;
}

.shareLabel {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-bottom: 12px;
}

.platformGrid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platformBtn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s, opacity 0.15s;
}

.platformBtn:active {
  transform: scale(0.97);
  opacity: 0.85;
}

.platformIcon {
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  flex-shrink: 0;
}

.platformName {
  font-size: 17px;
  font-weight: 700;
}

.platformDesc {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.7;
}

/* 抖音按钮 */
.platformBtn.douyin {
  background: #111;
  color: white;
}

/* 小红书按钮 */
.platformBtn.xiaohongshu {
  background: #fe2c55;
  color: white;
}

/* 系统分享按钮 */
.platformBtn.system {
  background: #f0f0f0;
  color: #333;
}

.tips {
  margin-top: 16px;
  text-align: center;
  color: #999;
  font-size: 13px;
  line-height: 1.6;
}

/* ========================================== */
/* Toast 提示 */
/* ========================================== */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
