:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --muted: #64748b;
  --text: #0f172a;
  --primary: #22c55e;
  --primary-ink: #ffffff;
  --border: #e2e8f0;
  --accent: #3b82f6;
  --warn: #f97316;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-ink);
  font-weight: 700
}

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

.brand-text {
  font-weight: 600
}

.actions {
  display: flex;
  gap: 8px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  background: transparent;
  cursor: pointer
}

.btn.primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: transparent
}

.btn.ghost {
  background: transparent
}

.btn.sm {
  padding: 8px 10px;
  font-size: 14px
}

.btn:active {
  transform: translateY(1px)
}

.hero {
  padding: 44px 0 12px;
  border-bottom: 1px solid var(--border)
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px
}

.hero h1 {
  font-size: 28px;
  margin: 0 0 8px
}

.hero p {
  margin: 0;
  color: var(--muted)
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border)
}

.section h2 {
  margin: 0 0 12px;
  font-size: 20px
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px
}

.legend {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  border: 1px solid var(--border)
}

.dot.live {
  background: var(--accent)
}

.dot.meeting {
  background: var(--warn)
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.social-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

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

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon.douyin {
  background: #0b0b0b;
  border-color: #121212
}

.social-icon.wechatChannels {
  background: #0f1b12;
  border-color: #143019
}

.social-icon.tencentMeeting {
  background: #0f172a;
  border-color: #1f2a44
}

.logo-svg {
  width: 28px;
  height: 28px;
  display: block
}

.social-title {
  font-weight: 600
}

.social-meta {
  color: var(--muted);
  font-size: 14px
}

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

.social-actions .btn {
  flex: 1
}

.id-row {
  display: flex;
  align-items: center;
  gap: 8px
}

.id-value {
  font-weight: 600
}

.week-controls {
  display: flex;
  gap: 8px;
  margin: 10px 0 18px;
  flex-wrap: wrap
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start
}

.day-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.day-column.today {
  border-color: var(--primary);
  background: rgba(34, 197, 94, 0.05);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600
}

.empty {
  color: var(--muted);
  font-size: 14px
}

.session {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, .02)
}

.session-title {
  font-weight: 600
}

.session-title {
  font-size: 16px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.session-meta {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 22px
}

.session-time-plat {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.meeting-id {
  font-size: 13px;
  color: var(--accent);
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 4px;
}

.session-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px
}

.session-actions .btn {
  width: 100%;
  white-space: nowrap
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px
}

.badge.live {
  background: rgba(96, 165, 250, .14)
}

.badge.meeting {
  background: rgba(249, 115, 22, .14)
}

.badge .dot {
  margin: 0
}

.inline-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px
}

.btn.sm {
  height: 32px;
  line-height: 30px;
  padding: 0 12px
}

@media (max-width:960px) {
  .week-grid {
    gap: 14px
  }
}

.site-footer {
  padding: 20px 0
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px
}

@media (max-width:960px) {
  .social-grid {
    grid-template-columns: 1fr 1fr
  }

  .week-grid {
    grid-template-columns: 1fr 1fr 1fr
  }
}

@media (max-width:640px) {
  .hero {
    padding: 24px 0
  }

  .header-inner {
    height: 56px
  }

  .social-grid {
    grid-template-columns: 1fr
  }

  .week-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:420px) {
  .week-grid {
    grid-template-columns: 1fr
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow);
}

.modal h3 {
  margin-top: 0;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}