#story_notifications-panel .panel-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

#story_notifications-summary {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

#story_notifications-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.story-note-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  padding: 32px 0;
}

.story-note-item {
  position: relative;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 4px #00000008;
  cursor: pointer;
  transition: border-color 0.15s;
}

.story-note-item.unread {
  border-left: 3px solid #0ea5a3;
}

.story-note-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.story-note-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
  margin-top: 1px;
}

.story-note-body {
  flex: 1;
  min-width: 0;
}

.story-note-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.story-note-head-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.story-note-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, color 0.15s;
}

.story-note-item:hover .story-note-delete-btn {
  opacity: 1;
  pointer-events: auto;
}

.story-note-delete-btn:hover {
  color: #ef4444;
}

.story-note-msg {
  color: #1e293b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.story-note-time {
  color: #94a3b8;
  font-size: 10px;
  white-space: nowrap;
}

.story-note-progress {
  margin-top: 6px;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.story-note-progress > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #06b6d4);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.story-note-progress-label {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
  text-align: right;
}

#story_notifications-footer {
  justify-content: center;
  gap: 10px;
}

#story_notifications-clear-all-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.story-note-load-more {
  text-align: center;
  color: #94a3b8;
  font-size: 11px;
  padding: 8px 0;
}
