.hero,.card{background:linear-gradient(145deg,var(--card2),var(--card));border:1px solid #254035;border-radius:24px;padding:18px;box-shadow:0 14px 35px #0005}
.now{display:flex;justify-content:space-between;gap:14px;align-items:end}
.subject{font-size:27px;font-weight:800}
.time{font-size:13px;color:var(--accent);font-weight:700}
.next{margin-top:14px;padding-top:14px;border-top:1px solid #2b4338}
.quick{background:#11231b;border:1px solid #243c31;color:white;border-radius:18px;padding:13px 5px;text-align:center;font-size:12px}
.quick b{display:block;font-size:20px;margin-bottom:4px}
.item{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #24372f}
.dot{width:9px;height:9px;border-radius:50%;background:var(--accent)}
.item .main{flex:1}
.item b{display:block}
.item small{color:var(--muted)}
.smart-countdown{margin-top:8px;font-size:14px;font-weight:800;color:var(--accent)}
.class-progress-wrap{height:7px;background:#24372f;border-radius:99px;overflow:hidden;margin-top:12px}
.class-progress-bar{height:100%;width:0;background:var(--accent);transition:width .6s ease}
.next-countdown{margin-top:5px;font-size:13px;font-weight:750;color:var(--accent)}
.item.live-class{border-color:#3b765d;background:rgba(105,229,165,.06)}
.item.live-class .dot{box-shadow:0 0 0 6px rgba(105,229,165,.10)}
.news-loading{color:var(--muted)}
.news-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.news-type{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:850;color:var(--accent);text-transform:uppercase;letter-spacing:.04em}
.news-time{font-size:12px;color:var(--muted);white-space:nowrap}
.news-title{font-size:20px;font-weight:850;margin-top:8px}
.news-body{margin-top:7px;white-space:pre-wrap;line-height:1.45}
.news-history{margin-top:12px;padding:0;overflow:hidden}
.news-history .news-row{padding:16px;border-bottom:1px solid var(--line)}
.news-history .news-row:last-child{border-bottom:0}
.news-empty{padding:4px 0;color:var(--muted)}
.pin-row{display:flex;align-items:center;gap:10px;margin-top:14px}
.pin-row input{width:auto}
.news-pinned{font-size:12px;font-weight:850;color:#ffbd59}
.news-live-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block}
.notice{border-left:3px solid var(--warn);padding-left:12px}
.push-card{width:100%;margin:18px 0 8px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px;border:1px solid #29483a;border-radius:18px;background:#102019}
.push-card>div:first-child{font-size:26px}
.push-copy{min-width:0}
.push-copy b{display:block;margin-bottom:4px;font-size:15px}
.push-copy small{display:block;line-height:1.35;overflow-wrap:break-word;color:var(--muted)}
.push-btn{border:0;border-radius:14px;padding:11px 14px;background:var(--accent);font-weight:800;color:#07110d;white-space:nowrap;min-width:78px}
.push-btn:disabled{opacity:.55}
.updates-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 2px 12px}
.updates-head h2{margin:0;font-size:18px}
.updates-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.updates-actions button{border:0;background:none;color:var(--accent);font-weight:800;padding:8px 6px}
.change-badge{display:inline-block;margin-top:5px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;background:#3e3518;color:#ffd86b}
.cancelled-class{opacity:.72;text-decoration:line-through}
.override-note{color:#ffd86b;font-size:11px;margin-top:4px}

/* CR Card premium styles */
.cr-card {
  background: linear-gradient(145deg, rgba(37, 64, 53, 0.4), rgba(16, 32, 25, 0.6));
  border: 1px solid rgba(105, 229, 165, 0.15);
  border-radius: 20px;
  padding: 16px;
  margin: 16px 0;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.cr-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(105, 229, 165, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cr-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.cr-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.cr-avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1c3327;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  border: 2px solid var(--accent);
}
.cr-info {
  flex: 1;
  min-width: 0;
}
.cr-badge {
  display: inline-block;
  font-size: 10px;
  background: rgba(105, 229, 165, 0.12);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.cr-name {
  font-size: 18px;
  font-weight: 850;
  color: #fff;
  margin: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cr-meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.cr-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #000;
  font-weight: 800;
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  margin-top: 8px;
}
.cr-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
